You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.4 KiB
67 lines
1.4 KiB
7 years ago
|
Name: minizip
|
||
|
Version: 2.5.0
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Minizip contrib in zlib with the latest bug fixes and advanced features
|
||
|
|
||
|
License: zlib
|
||
|
URL: https://github.com/nmoinvaz/%{name}
|
||
|
Source0: https://github.com/nmoinvaz/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||
|
|
||
|
# https://github.com/nmoinvaz/minizip/pull/297
|
||
|
Patch0: minizip-2.5.0-1_system-bzip2-linking.patch
|
||
|
BuildRequires: cmake gcc-c++ libbsd-devel zlib-devel bzip2-devel
|
||
|
|
||
|
|
||
|
%description
|
||
|
Minizip zlib contribution that includes:
|
||
|
* AES encryption
|
||
|
* I/O buffering
|
||
|
* PKWARE disk splitting
|
||
|
It also has the latest bug fixes that having been found all over the internet.
|
||
|
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
Requires: cmake zlib-devel
|
||
|
|
||
|
|
||
|
%description devel
|
||
|
Development files for %{name} library.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%autosetup
|
||
|
rm -rf lib/bzip2
|
||
|
|
||
|
|
||
|
%build
|
||
|
%cmake .
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
|
||
|
|
||
|
%ldconfig_scriptlets
|
||
|
|
||
|
|
||
|
%files
|
||
|
%license LICENSE
|
||
|
%doc README.md
|
||
|
%{_libdir}/lib%{name}.so.*
|
||
|
|
||
|
|
||
|
%files devel
|
||
|
%{_libdir}/lib%{name}.so
|
||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||
|
%{_libdir}/cmake/%{name}
|
||
|
%{_includedir}/mz*.h
|
||
|
|
||
|
%changelog
|
||
|
* Thu Aug 16 2018 Patrik Novotný <panovotn@redhat.com> 2.5.0-1
|
||
|
- Version update. Build againts system bzip2.
|
||
|
|
||
|
* Thu Aug 9 2018 Patrik Novotný <panovotn@redhat.com> 2.3.9-1
|
||
|
- Initial build
|