modernize specfile

Update to 1.5.0 release
This commit is contained in:
Andrew Bauer 2020-07-28 08:03:11 -05:00
parent 603bc445f6
commit c879fbf134
3 changed files with 17 additions and 17 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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,25 +47,24 @@ 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}
%cmake_install
rm -f %{buildroot}%{_libdir}/lib*.la
%ldconfig_scriptlets -n libchromaprint
%files -n libchromaprint
%doc NEWS.txt README.md
%license LICENSE.md
@ -79,8 +77,9 @@ rm -f %{buildroot}%{_libdir}/lib*.la
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.5.0-1
- modernize specfile
- Update to 1.5.0 release
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (chromaprint-1.4.2.tar.gz) = 69449adf1c95c1395a5545d36877afe95b409d045357cc675e9ac58aee2955b3a9a245f37805192804a9b7fddc792b9e9289bf6448fa3393131048d28e06d7e2
SHA512 (chromaprint-1.5.0.tar.gz) = 25ab3f7834581a8204ac09614fef6036c801f5f8b7b72a864701ca0de8082b2458a2bd7c075d53451581d770898576411cdcfb23ce609bc82f9d9b395cc1a129