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