From c879fbf1344ad465aa6537e0c04f783a1c083ed1 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Jul 28 2020 13:03:11 +0000 Subject: modernize specfile Update to 1.5.0 release --- diff --git a/.gitignore b/.gitignore index dcc4f6a..9b7a231 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /chromaprint-1.1.tar.gz /chromaprint-1.2.tar.gz /chromaprint-1.4.2.tar.gz +/chromaprint-1.5.0.tar.gz diff --git a/chromaprint.spec b/chromaprint.spec index 684b66b..23e5cc1 100644 --- a/chromaprint.spec +++ b/chromaprint.spec @@ -1,6 +1,6 @@ Name: chromaprint -Version: 1.4.2 -Release: 8%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: Library implementing the AcoustID fingerprinting License: GPLv2+ @@ -22,7 +22,6 @@ 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 Obsoletes: python-chromaprint < 0.6-3 @@ -48,24 +47,23 @@ 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 . - +%autosetup -n %{name}-v%{version} %build -make %{?_smp_mflags} +# examples and cli tools equire ffmpeg, so turn off; test depend of external artifact so turn off. +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DBUILD_TOOLS=OFF \ + . +%cmake_build %install -make install DESTDIR=%{buildroot} -rm -f %{buildroot}%{_libdir}/lib*.la +%cmake_install - -%ldconfig_scriptlets -n libchromaprint +rm -f %{buildroot}%{_libdir}/lib*.la %files -n libchromaprint %doc NEWS.txt README.md @@ -79,8 +77,9 @@ rm -f %{buildroot}%{_libdir}/lib*.la %{_libdir}/pkgconfig/*.pc %changelog -* Mon Jul 27 2020 Fedora Release Engineering - 1.4.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +* Tue Jul 28 2020 Andrew Bauer - 1.5.0-1 +- modernize specfile +- Update to 1.5.0 release * Tue Jan 28 2020 Fedora Release Engineering - 1.4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 003ad92..8d7143e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chromaprint-1.4.2.tar.gz) = 69449adf1c95c1395a5545d36877afe95b409d045357cc675e9ac58aee2955b3a9a245f37805192804a9b7fddc792b9e9289bf6448fa3393131048d28e06d7e2 +SHA512 (chromaprint-1.5.0.tar.gz) = 25ab3f7834581a8204ac09614fef6036c801f5f8b7b72a864701ca0de8082b2458a2bd7c075d53451581d770898576411cdcfb23ce609bc82f9d9b395cc1a129