commit 06d588de8667ae18a46df63423781598e4b0a2fa
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Apr 23 11:28:38 2020 +0100
Update to 1.5.0
.gitignore | 1 +
chromaprint-tools.spec | 22 ++++++++++++++++------
sources | 2 +-
3 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 98d3648..ab66dd8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ chromaprint-1.1.tar.gz
chromaprint-1.2.tar.gz
/chromaprint-1.4.2.tar.gz
/chromaprint-1.4.3.tar.gz
+/chromaprint-1.5.0.tar.gz
diff --git a/chromaprint-tools.spec b/chromaprint-tools.spec
index 0d3fc40..69adb96 100644
--- a/chromaprint-tools.spec
+++ b/chromaprint-tools.spec
@@ -1,6 +1,6 @@
Name: chromaprint-tools
-Version: 1.4.3
-Release: 5%{?dist}
+Version: 1.5.0
+Release: 1%{?dist}
Summary: Chromaprint audio fingerprinting tools
License: GPLv2+
URL:
http://www.acoustid.org/chromaprint
@@ -9,6 +9,7 @@ Source:
https://github.com/acoustid/chromaprint/releases/download/v%{ver
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: fftw-devel >= 3
+BuildRequires: ninja-build
# examples requires ffmpeg
BuildRequires: ffmpeg-devel
@@ -27,15 +28,21 @@ featuring fpcalc an standalone AcoustID tool used by Picard.
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
%prep
-%setup -q -n chromaprint-v%{version}
+%autosetup -n chromaprint-v%{version}
%build
-%cmake3 -DBUILD_EXAMPLES=ON -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release
-DBUILD_TOOLS=ON
-%make_build
+mkdir -p build
+pushd build
+%cmake3 -GNinja \
+ -DBUILD_TESTS=OFF \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TOOLS=ON ..
+%ninja_build
+popd
%install
-%make_install
+%ninja_install -C build
# cleaning files managed in the chromaprint main package
rm -f %{buildroot}%{_includedir}/chromaprint.h
@@ -49,6 +56,9 @@ rm -f %{buildroot}%{_libdir}/lib*.so*
%{_bindir}/fpcalc
%changelog
+* Thu Apr 23 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.5.0-1
+- Update to 1.5.0
+
* Sat Feb 22 2020 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
1.4.3-5
- Rebuild for ffmpeg-4.3 git
diff --git a/sources b/sources
index 3c90b20..8d7143e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-20014ca19974de9657d91d331d11f936 chromaprint-1.4.3.tar.gz
+SHA512 (chromaprint-1.5.0.tar.gz) =
25ab3f7834581a8204ac09614fef6036c801f5f8b7b72a864701ca0de8082b2458a2bd7c075d53451581d770898576411cdcfb23ce609bc82f9d9b395cc1a129