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.
97 lines
2.2 KiB
97 lines
2.2 KiB
Name: minizip
|
|
Version: 2.8.3
|
|
Release: 2%{?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
|
|
|
|
BuildRequires: cmake gcc-c++ libbsd-devel zlib-devel bzip2-devel
|
|
Provides: bundled(aes-gladman)
|
|
Provides: bundled(sha1-gladman)
|
|
|
|
|
|
%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 . -DMZ_BUILD_TEST=ON
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
|
|
%check
|
|
make test
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
%files
|
|
%exclude %{_bindir}/%{name}
|
|
%exclude %{_libdir}/debug/usr/bin/%{name}-%{version}-%{release}.%{_arch}.debug
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
|
%files devel
|
|
%{_libdir}/%{name}.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_libdir}/cmake/%{name}
|
|
%{_includedir}/mz*.h
|
|
%{_includedir}/unzip.h
|
|
%{_includedir}/zip.h
|
|
|
|
%changelog
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Wed Jan 30 2019 Patrik Novotný <panovotn@redhat.com> 2.8.3-1
|
|
- Update to upstream version 2.8.3
|
|
|
|
* Thu Dec 06 2018 Patrik Novotný <panovotn@redhat.com> 2.8.1-1
|
|
- Update to upstream version 2.8.1
|
|
|
|
* Wed Nov 28 2018 Patrik Novotný <panovotn@redhat.com> 2.8.0-2
|
|
- Use absolute paths for install directories
|
|
|
|
* Wed Nov 28 2018 Patrik Novotný <panovotn@redhat.com> 2.8.0-1
|
|
- Update to upstream version 2.8.0
|
|
|
|
* Sun Oct 7 2018 Orion Poplawski <orion@nwra.com> 2.5.4-1
|
|
- Update to 2.5.4
|
|
|
|
* Thu Aug 30 2018 Patrik Novotný <panovotn@redhat.com> 2.5.0-2
|
|
- Provide bundled AES and SHA1 libraries
|
|
|
|
* 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
|