代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。