Modernize a spec file

This project is dead. There is a new upstream, but it does not have
usefull release archives
<https://github.com/richgel999/miniz/issues/86>.
epel9
Petr Písař 7 years ago
parent 2cbddcebed
commit 42f479a5d8

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* (fastlz|minilzo|zlib)");

@ -2,9 +2,8 @@
Name: miniz
Version: 1.15
Release: 8.%{miniz_revision}%{?dist}
Release: 9.%{miniz_revision}%{?dist}
Summary: Compression library implementing the zlib and Deflate
Group: System Environment/Libraries
License: Unlicense
URL: https://code.google.com/p/%{name}/
Source0: https://%{name}.googlecode.com/files/%{name}_v%(echo '%{version}' | tr -d .)_%{miniz_revision}.7z
@ -27,7 +26,6 @@ been tuned to be comparable to zlib's, and it also has a specialized real-time
compressor function designed to compare well against fastlz/minilzo.
%package devel
Group: Development/Libraries
Summary: Development files for the %{name} library
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gcc%{?_isa}
@ -73,9 +71,7 @@ ln -s %{soname} '%{buildroot}/%{_libdir}/lib%{name}.so'
install -d '%{buildroot}/%{_includedir}'
install -m 0644 %{name}.h '%{buildroot}/%{_includedir}'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%{_libdir}/%{soname}
@ -86,6 +82,9 @@ install -m 0644 %{name}.h '%{buildroot}/%{_includedir}'
%changelog
* Fri Mar 23 2018 Petr Pisar <ppisar@redhat.com> - 1.15-9.r4
- Modernize a spec file
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-8.r4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save