2023-03-25 23:49:31 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 9
|
2023-03-25 23:52:48 +00:00
|
|
|
%bcond_with ffmpeg
|
2022-04-21 13:00:01 +00:00
|
|
|
%else
|
2023-08-06 13:57:49 +00:00
|
|
|
%bcond ffmpeg %{?with_bootstrap:0}%{!?with_bootstrap:1}
|
2022-04-21 13:00:01 +00:00
|
|
|
%endif
|
2023-08-06 13:21:15 +00:00
|
|
|
# Globing of libraries is against the packging guidelines
|
|
|
|
%global sover 1
|
|
|
|
|
2022-04-21 13:00:01 +00:00
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
Name: chromaprint
|
2021-12-23 13:25:13 +00:00
|
|
|
Version: 1.5.1
|
2023-08-06 13:57:49 +00:00
|
|
|
Release: 13%{?dist}
|
2011-12-08 11:43:00 +00:00
|
|
|
Summary: Library implementing the AcoustID fingerprinting
|
|
|
|
|
2018-01-04 18:22:27 +00:00
|
|
|
License: GPLv2+
|
2018-01-04 13:26:28 +00:00
|
|
|
URL: http://www.acoustid.org/chromaprint
|
|
|
|
Source: https://github.com/acoustid/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2023-08-06 13:21:15 +00:00
|
|
|
Patch1: https://github.com/acoustid/chromaprint/commit/8ccad6937177b1b92e40ab8f4447ea27bac009a7.patch
|
2022-04-21 13:00:01 +00:00
|
|
|
|
2023-03-14 21:23:27 +00:00
|
|
|
BuildRequires: cmake
|
2018-07-09 17:06:43 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2011-12-08 11:43:00 +00:00
|
|
|
BuildRequires: fftw-devel >= 3
|
2023-03-14 21:23:27 +00:00
|
|
|
BuildRequires: ninja-build
|
2011-12-08 11:43:00 +00:00
|
|
|
|
|
|
|
%description
|
2022-04-21 13:00:01 +00:00
|
|
|
Chromaprint library is the core component of the AcoustID project. It's a
|
|
|
|
client-side library that implements a custom algorithm for extracting
|
2011-12-08 11:43:00 +00:00
|
|
|
fingerprints from raw audio sources.
|
|
|
|
|
2012-02-07 12:11:00 +00:00
|
|
|
The library exposes a simple C API. The documentation for the C API can be
|
|
|
|
found in the main header file.
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2018-01-04 18:22:27 +00:00
|
|
|
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
%package -n libchromaprint
|
|
|
|
Summary: Library implementing the AcoustID fingerprinting
|
2012-02-07 14:43:06 +00:00
|
|
|
Obsoletes: python-chromaprint < 0.6-3
|
2011-12-08 11:43:00 +00:00
|
|
|
|
|
|
|
%description -n libchromaprint
|
2022-04-21 13:00:01 +00:00
|
|
|
Chromaprint library is the core component of the AcoustID project. It's a
|
|
|
|
client-side library that implements a custom algorithm for extracting
|
2011-12-08 11:43:00 +00:00
|
|
|
fingerprints from raw audio sources.
|
|
|
|
|
2012-02-07 12:11:00 +00:00
|
|
|
The library exposes a simple C API. The documentation for the C API can be
|
|
|
|
found in the main header file.
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2018-01-04 18:22:27 +00:00
|
|
|
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
%package -n libchromaprint-devel
|
2022-04-21 13:00:01 +00:00
|
|
|
Summary: Headers for developing programs that will use %{name}
|
2011-12-08 11:43:00 +00:00
|
|
|
Requires: libchromaprint%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libchromaprint-devel
|
|
|
|
This package contains the headers that programmers will need to develop
|
2022-04-21 13:00:01 +00:00
|
|
|
applications which will use %{name}.
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2018-01-04 18:22:27 +00:00
|
|
|
The library exposes a simple C API. The documentation for the C API can be
|
|
|
|
found in the main header file.
|
|
|
|
|
2022-04-21 13:00:01 +00:00
|
|
|
%if %{with ffmpeg}
|
|
|
|
%package tools
|
|
|
|
Summary: Chromaprint audio fingerprinting tools
|
|
|
|
BuildRequires: ffmpeg-free-devel
|
|
|
|
Requires: libchromaprint%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
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.
|
|
|
|
|
|
|
|
This is a set of Chromaprint tools related to acoustic fingerprinting
|
|
|
|
featuring fpcalc an standalone AcoustID tool used by Picard.
|
|
|
|
|
|
|
|
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
|
|
|
|
%endif
|
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
%prep
|
2022-04-21 13:00:01 +00:00
|
|
|
%autosetup -p1
|
2012-02-07 12:11:00 +00:00
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
%build
|
2023-08-06 13:21:15 +00:00
|
|
|
# examples and cli tools require ffmpeg, so turn off; test depend of external artifact so turn off.
|
2023-03-14 21:23:27 +00:00
|
|
|
%cmake -GNinja \
|
2020-07-28 13:03:11 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBUILD_TESTS=OFF \
|
2022-04-21 13:00:01 +00:00
|
|
|
-DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2020-07-28 13:03:11 +00:00
|
|
|
%cmake_build
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2012-02-07 12:11:00 +00:00
|
|
|
%install
|
2020-07-28 13:03:11 +00:00
|
|
|
%cmake_install
|
2011-12-08 11:43:00 +00:00
|
|
|
|
2020-07-28 13:03:11 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/lib*.la
|
2011-12-08 11:43:00 +00:00
|
|
|
|
|
|
|
%files -n libchromaprint
|
2018-01-04 13:26:28 +00:00
|
|
|
%doc NEWS.txt README.md
|
|
|
|
%license LICENSE.md
|
2023-08-06 13:21:15 +00:00
|
|
|
%{_libdir}/lib*.so.%{sover}*
|
2011-12-08 11:43:00 +00:00
|
|
|
|
|
|
|
%files -n libchromaprint-devel
|
|
|
|
%{_includedir}/chromaprint.h
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2022-04-21 13:00:01 +00:00
|
|
|
%if %{with ffmpeg}
|
|
|
|
%files tools
|
|
|
|
%{_bindir}/fpcalc
|
|
|
|
%endif
|
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
%changelog
|
2023-08-06 13:57:49 +00:00
|
|
|
* Sun Aug 06 2023 Richard Shaw <hobbes1069@gmail.com> - 1.5.1-13
|
|
|
|
- Rebuild post bootstrap build for ffmpeg/codec2.
|
|
|
|
|
2023-08-06 13:21:15 +00:00
|
|
|
* Sun Aug 06 2023 Richard Shaw <hobbes1069@gmail.com> - 1.5.1-12
|
|
|
|
- Rebuild without ffmpeg to break circular dependency with ffmpeg/codec2.
|
|
|
|
- Add %%sover to prevent accidental soname bumps.
|
|
|
|
|
2023-07-19 15:38:02 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-03-25 23:24:38 +00:00
|
|
|
* Sat Mar 25 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.5.1-10
|
|
|
|
- Switch off bootstrap mode
|
|
|
|
- Simplify bootstrap mode logic
|
|
|
|
|
2023-03-14 22:50:43 +00:00
|
|
|
* Tue Mar 14 2023 Sérgio Basto <sergio@serjux.com> - 1.5.1-9_bootstrap
|
|
|
|
- Add a bootstrap package as suggests in
|
|
|
|
https://github.com/acoustid/chromaprint/issues/129#issuecomment-1468612507
|
2023-03-14 21:23:27 +00:00
|
|
|
- Change to Ninja build
|
2023-03-14 22:50:43 +00:00
|
|
|
|
2023-03-12 06:42:52 +00:00
|
|
|
* Sun Mar 12 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.5.1-8
|
|
|
|
- Rebuild for ffmpeg 6.0
|
|
|
|
|
2023-01-18 23:50:02 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-22 22:47:38 +00:00
|
|
|
* Tue Nov 22 2022 Sérgio Basto <sergio@serjux.com> - 1.5.1-6
|
|
|
|
- Backport oficial ffmpeg 5 support
|
|
|
|
|
2022-08-29 23:06:00 +00:00
|
|
|
* Mon Aug 29 2022 Neal Gompa <ngompa@fedoraproject.org> - 1.5.1-5
|
|
|
|
- Rebuild for ffmpeg 5.1 (#2121070)
|
|
|
|
|
2022-07-20 22:54:11 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-04-21 13:00:01 +00:00
|
|
|
* Thu Apr 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 1.5.1-3
|
|
|
|
- Build tools on F36+ with ffmpeg-free
|
|
|
|
- Clean out extra whitespace in the spec file
|
|
|
|
|
2022-01-19 23:11:42 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-23 13:25:13 +00:00
|
|
|
* Thu Dec 23 2021 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.5.1-1
|
|
|
|
- Update to 1.5.1 release
|
|
|
|
|
2021-07-21 19:26:07 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 01:56:37 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 13:03:11 +00:00
|
|
|
* Tue Jul 28 2020 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.5.0-1
|
|
|
|
- modernize specfile
|
|
|
|
- Update to 1.5.0 release
|
2020-07-27 13:56:55 +00:00
|
|
|
|
2020-01-28 14:00:08 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 20:14:02 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 15:34:07 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-23 08:27:28 +00:00
|
|
|
* Wed Jan 23 2019 Björn Esser <besser82@fedoraproject.org> - 1.4.2-4
|
|
|
|
- Append curdir to CMake invokation. (#1668512)
|
|
|
|
|
2018-07-12 21:46:10 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 04:54:31 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-04 13:26:28 +00:00
|
|
|
* 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
|
2018-01-04 18:22:27 +00:00
|
|
|
- binary licenses should be GPLv2+ because linking with fftw (which uses GPLv2+)
|
2018-01-04 13:26:28 +00:00
|
|
|
|
2017-08-02 18:46:41 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 04:48:06 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-15 21:25:15 +00:00
|
|
|
* 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
|
|
|
|
|
2017-02-10 07:28:59 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 17:39:19 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 02:38:17 +00:00
|
|
|
* 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
|
|
|
|
|
2015-05-02 10:57:19 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2-2
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-03-17 18:18:01 +00:00
|
|
|
* Tue Mar 17 2015 Ismael Olea <ismael@olea.org> - 1.2-1
|
|
|
|
- update to 1.2
|
|
|
|
|
2014-08-16 00:09:29 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-07 04:42:04 +00:00
|
|
|
* 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
|
|
|
|
|
2013-11-23 18:34:37 +00:00
|
|
|
* Sat Nov 23 2013 Ismael Olea <ismael@olea.org> - 1.1-1
|
|
|
|
- update to 1.1
|
|
|
|
- CHANGES.txt file removed in upstream
|
|
|
|
|
2013-09-16 19:45:56 +00:00
|
|
|
* Mon Sep 16 2013 Ismael Olea <ismael@olea.org> - 1.0-1
|
|
|
|
- update to 1.0
|
|
|
|
|
2013-08-03 04:53:06 +00:00
|
|
|
* 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
|
|
|
|
|
2013-02-13 18:29:31 +00:00
|
|
|
* 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
|
|
|
|
|
2012-09-06 15:36:05 +00:00
|
|
|
* Thu Sep 6 2012 Ismael Olea <ismael@olea.org> - 0.7-1
|
|
|
|
- update to 0.7
|
|
|
|
|
2012-07-18 18:58:27 +00:00
|
|
|
* 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
|
|
|
|
|
2012-02-07 14:43:06 +00:00
|
|
|
* Tue Feb 7 2012 Ismael Olea <ismael@olea.org> - 0.6-4
|
|
|
|
- moved the obsoletes python-chromaprint to libchromaprint
|
|
|
|
|
2012-02-07 12:11:00 +00:00
|
|
|
* Mon Feb 6 2012 Ismael Olea <ismael@olea.org> - 0.6-3
|
|
|
|
- cosmetic SPEC changes
|
|
|
|
- obsoleting python-chromaprint (see #786946)
|
|
|
|
|
2012-01-12 23:21:38 +00:00
|
|
|
* 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
|
|
|
|
|
2011-12-27 19:47:58 +00:00
|
|
|
* Tue Dec 27 2011 Ismael Olea <ismael@olea.org> - 0.6-1
|
|
|
|
- update to 0.6
|
|
|
|
- python bindings removed
|
|
|
|
- python not a requirment now
|
|
|
|
|
2011-12-08 11:43:00 +00:00
|
|
|
* 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
|
|
|
|
|
2015-03-17 18:18:01 +00:00
|
|
|
* Fri Nov 18 2011 Ismael Olea <ismael@olea.org> - 0.5-2
|
2011-12-08 11:43:00 +00:00
|
|
|
- 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
|