12 Star 0 Fork 6

src-openEuler / chromaprint

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
chromaprint.spec 2.63 KB
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2022-01-25 16:33 . remove unuse files
Name: chromaprint
Version: 1.5.1
Release: 1
Summary: Library implementing the AcoustID fingerprinting
License: GPLv2+
URL: http://www.acoustid.org/chromaprint
Source0: https://github.com/acoustid/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ cmake fftw-devel >= 3
%description
Chromaprint is the core component of the AcoustID project. It's a client-side library that implements a
custom algorithm for extracting fingerprints from any audio source.
The library exposes a simple C API. The documentation for the C API can be found in chromaprint.h.
Note that the library only calculates audio fingerprints from the provided raw uncompressed audio data.
It does not deal with audio file formats in any way. Your application needs to find a way to decode audio
files (MP3, MP4, FLAC, etc.) and feed the uncompressed data to Chromaprint.
%package -n libchromaprint
Summary: Library implementing the AcoustID fingerprinting
Obsoletes: python-chromaprint < 0.6-3
%description -n libchromaprint
Chromaprint is the core component of the AcoustID project. It's a client-side library that implements a
custom algorithm for extracting fingerprints from any audio source.
The library exposes a simple C API. The documentation for the C API can be found in chromaprint.h.
Note that the library only calculates audio fingerprints from the provided raw uncompressed audio data.
It does not deal with audio file formats in any way. Your application needs to find a way to decode audio
files (MP3, MP4, FLAC, etc.) and feed the uncompressed data to Chromaprint.
%package -n libchromaprint-devel
Summary: Headers for developing programs that will use chromaprint
Requires: libchromaprint = %{version}-%{release}
%description -n libchromaprint-devel
This package contains header files for developing applications which use chromaprint.
The library exposes a simple C API. The documentation for the C API can be found in chromaprint.h.
%prep
%autosetup -n %{name}-%{version} -p1
%{cmake} -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_TOOLS=OFF
%build
%make_build
%install
%make_install
%delete_la
%post -n libchromaprint
/sbin/ldconfig
%postun -n libchromaprint
/sbin/ldconfig
%files -n libchromaprint
%doc LICENSE.md NEWS.txt README.md
%{_libdir}/lib*.so.*
%files -n libchromaprint-devel
%{_includedir}/chromaprint.h
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Jan 19 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.5.1-1
- Upgrade to version 1.5.1
* Tue Dec 3 2019 lingsheng <lingsheng@huawei.com> - 1.4.2-4
- Package init
1
https://gitee.com/src-openeuler/chromaprint.git
git@gitee.com:src-openeuler/chromaprint.git
src-openeuler
chromaprint
chromaprint
openEuler-22.03-LTS

搜索帮助