176 lines
5.8 KiB
RPMSpec
176 lines
5.8 KiB
RPMSpec
Name: chromaprint
|
|
Version: 1.4.2
|
|
Release: 2%{?dist}
|
|
Summary: Library implementing the AcoustID fingerprinting
|
|
|
|
Group: System Environment/Libraries
|
|
License: GPLv2+
|
|
URL: http://www.acoustid.org/chromaprint
|
|
Source: https://github.com/acoustid/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake
|
|
BuildRequires: fftw-devel >= 3
|
|
|
|
%description
|
|
Chromaprint library is the core component of the AcoustID project. It's a
|
|
client-side library that implements a custom algorithm for extracting
|
|
fingerprints from raw audio sources.
|
|
|
|
The library exposes a simple C API. The documentation for the C API can be
|
|
found in the main header file.
|
|
|
|
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
|
|
|
|
|
%package -n libchromaprint
|
|
Summary: Library implementing the AcoustID fingerprinting
|
|
Group: System Environment/Libraries
|
|
Obsoletes: python-chromaprint < 0.6-3
|
|
|
|
%description -n libchromaprint
|
|
Chromaprint library is the core component of the AcoustID project. It's a
|
|
client-side library that implements a custom algorithm for extracting
|
|
fingerprints from raw audio sources.
|
|
|
|
The library exposes a simple C API. The documentation for the C API can be
|
|
found in the main header file.
|
|
|
|
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
|
|
|
%package -n libchromaprint-devel
|
|
Summary: Headers for developing programs that will use %{name}
|
|
Group: Development/Libraries
|
|
Requires: libchromaprint%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n libchromaprint-devel
|
|
This package contains the headers that programmers will need to develop
|
|
applications which will use %{name}.
|
|
|
|
The library exposes a simple C API. The documentation for the C API can be
|
|
found in the main header file.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
# examples and cli tools equire ffmpeg, so turn off; test depend of external artifact so turn off.
|
|
%{cmake} -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_TOOLS=OFF
|
|
|
|
|
|
%build
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot}
|
|
rm -f %{buildroot}%{_libdir}/lib*.la
|
|
|
|
|
|
%post -n libchromaprint -p /sbin/ldconfig
|
|
|
|
%postun -n libchromaprint -p /sbin/ldconfig
|
|
|
|
%files -n libchromaprint
|
|
%doc NEWS.txt README.md
|
|
%license LICENSE.md
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files -n libchromaprint-devel
|
|
%{_includedir}/chromaprint.h
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jan 04 2018 smael Olea <ismael@olea.org> - 1.4.2
|
|
- upstream URL changed to github
|
|
- updating to 1.4.2
|
|
- renamed COPYING.txt LICENSE.md
|
|
- binary licenses should be GPLv2+ because linking with fftw (which uses GPLv2+)
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2-2
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
* Tue Mar 17 2015 Ismael Olea <ismael@olea.org> - 1.2-1
|
|
- update to 1.2
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Nov 23 2013 Ismael Olea <ismael@olea.org> - 1.1-1
|
|
- update to 1.1
|
|
- CHANGES.txt file removed in upstream
|
|
|
|
* Mon Sep 16 2013 Ismael Olea <ismael@olea.org> - 1.0-1
|
|
- update to 1.0
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Sep 6 2012 Ismael Olea <ismael@olea.org> - 0.7-1
|
|
- update to 0.7
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Tue Feb 7 2012 Ismael Olea <ismael@olea.org> - 0.6-4
|
|
- moved the obsoletes python-chromaprint to libchromaprint
|
|
|
|
* Mon Feb 6 2012 Ismael Olea <ismael@olea.org> - 0.6-3
|
|
- cosmetic SPEC changes
|
|
- obsoleting python-chromaprint (see #786946)
|
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Dec 27 2011 Ismael Olea <ismael@olea.org> - 0.6-1
|
|
- update to 0.6
|
|
- python bindings removed
|
|
- python not a requirment now
|
|
|
|
* Wed Dec 07 2011 Ismael Olea <ismael@olea.org> - 0.5-4
|
|
- minor spec enhancements
|
|
|
|
* Mon Dec 05 2011 Ismael Olea <ismael@olea.org> - 0.5-3
|
|
- Macro cleaning at spec
|
|
|
|
* Fri Nov 18 2011 Ismael Olea <ismael@olea.org> - 0.5-2
|
|
- first version for Fedora
|
|
|
|
* Thu Nov 10 2011 Ismael Olea <ismael@olea.org> - 0.5-1
|
|
- update to 0.5
|
|
- subpackage for fpcalc
|
|
|
|
* Sat Aug 06 2011 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
- 0.4-1
|
|
- Initial package
|