|
|
25cbb4 |
%global with_tests 0%{!?_without_tests:1}
|
|
|
25cbb4 |
|
|
|
25cbb4 |
Name: libzip
|
|
|
25cbb4 |
Version: 1.5.1
|
|
|
25cbb4 |
Release: 2%{?dist}
|
|
|
25cbb4 |
Summary: C library for reading, creating, and modifying zip archives
|
|
|
25cbb4 |
|
|
|
25cbb4 |
License: BSD
|
|
|
25cbb4 |
URL: https://libzip.org/
|
|
|
25cbb4 |
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
|
|
|
25cbb4 |
|
|
|
25cbb4 |
BuildRequires: gcc
|
|
|
25cbb4 |
BuildRequires: zlib-devel
|
|
|
25cbb4 |
BuildRequires: bzip2-devel
|
|
|
25cbb4 |
BuildRequires: openssl-devel
|
|
|
25cbb4 |
BuildRequires: cmake >= 3.0.2
|
|
|
25cbb4 |
# Needed to run the test suite
|
|
|
25cbb4 |
# find regress/ -type f | /usr/lib/rpm/perl.req
|
|
|
25cbb4 |
# find regress/ -type f | /usr/lib/rpm/perl.prov
|
|
|
25cbb4 |
BuildRequires: perl-interpreter
|
|
|
25cbb4 |
BuildRequires: perl(Cwd)
|
|
|
25cbb4 |
BuildRequires: perl(File::Copy)
|
|
|
25cbb4 |
BuildRequires: perl(File::Path)
|
|
|
25cbb4 |
BuildRequires: perl(Getopt::Long)
|
|
|
25cbb4 |
BuildRequires: perl(IPC::Open3)
|
|
|
25cbb4 |
BuildRequires: perl(Storable)
|
|
|
25cbb4 |
BuildRequires: perl(Symbol)
|
|
|
25cbb4 |
BuildRequires: perl(UNIVERSAL)
|
|
|
25cbb4 |
BuildRequires: perl(strict)
|
|
|
25cbb4 |
BuildRequires: perl(warnings)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%description
|
|
|
25cbb4 |
libzip is a C library for reading, creating, and modifying zip archives. Files
|
|
|
25cbb4 |
can be added from data buffers, files, or compressed data copied directly from
|
|
|
25cbb4 |
other zip archives. Changes made without closing the archive can be reverted.
|
|
|
25cbb4 |
The API is documented by man pages.
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%package devel
|
|
|
25cbb4 |
Summary: Development files for %{name}
|
|
|
25cbb4 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%description devel
|
|
|
25cbb4 |
The %{name}-devel package contains libraries and header files for
|
|
|
25cbb4 |
developing applications that use %{name}.
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%package tools
|
|
|
25cbb4 |
Summary: Command line tools from %{name}
|
|
|
25cbb4 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%description tools
|
|
|
25cbb4 |
The %{name}-tools package provides command line tools split off %{name}:
|
|
|
25cbb4 |
- zipcmp
|
|
|
25cbb4 |
- zipmerge
|
|
|
25cbb4 |
- ziptool
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%prep
|
|
|
25cbb4 |
%autosetup -p1
|
|
|
25cbb4 |
|
|
|
25cbb4 |
# unwanted in package documentation
|
|
|
25cbb4 |
rm INSTALL.md
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%build
|
|
|
25cbb4 |
%cmake .
|
|
|
25cbb4 |
|
|
|
25cbb4 |
make %{?_smp_mflags}
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%install
|
|
|
25cbb4 |
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%check
|
|
|
25cbb4 |
%if %{with_tests}
|
|
|
25cbb4 |
make check
|
|
|
25cbb4 |
%else
|
|
|
25cbb4 |
: Test suite disabled
|
|
|
25cbb4 |
%endif
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%ldconfig_scriptlets
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%files
|
|
|
25cbb4 |
%license LICENSE
|
|
|
25cbb4 |
%{_libdir}/libzip.so.5*
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%files tools
|
|
|
25cbb4 |
%{_bindir}/zipcmp
|
|
|
25cbb4 |
%{_bindir}/zipmerge
|
|
|
25cbb4 |
%{_bindir}/ziptool
|
|
|
25cbb4 |
%{_mandir}/man1/zip*
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%files devel
|
|
|
25cbb4 |
%doc AUTHORS THANKS *.md
|
|
|
25cbb4 |
%{_includedir}/zip.h
|
|
|
25cbb4 |
%{_includedir}/zipconf*.h
|
|
|
25cbb4 |
%{_libdir}/libzip.so
|
|
|
25cbb4 |
%{_libdir}/pkgconfig/libzip.pc
|
|
|
25cbb4 |
%{_mandir}/man3/libzip*
|
|
|
25cbb4 |
%{_mandir}/man3/zip*
|
|
|
25cbb4 |
%{_mandir}/man3/ZIP*
|
|
|
25cbb4 |
|
|
|
25cbb4 |
|
|
|
25cbb4 |
%changelog
|
|
|
25cbb4 |
* Wed May 15 2019 Joe Orton <jorton@redhat.com> - 1.5.1-2
|
|
|
25cbb4 |
- rebuild (#1695587)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Apr 11 2018 Remi Collet <remi@remirepo.net> - 1.5.1-1
|
|
|
25cbb4 |
- update to 1.5.1
|
|
|
25cbb4 |
- drop dependency on zlib-devel and bzip2-devel no more
|
|
|
25cbb4 |
referenced in libzip.pc
|
|
|
25cbb4 |
- drop rpath patch merged upstream
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Mar 15 2018 Remi Collet <remi@remirepo.net> - 1.5.0-2
|
|
|
25cbb4 |
- add dependency on zlib-devel and bzip2-devel #1556068
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Mon Mar 12 2018 Remi Collet <remi@remirepo.net> - 1.5.0-1
|
|
|
25cbb4 |
- update to 1.5.0
|
|
|
25cbb4 |
- use openssl for cryptography instead of bundled custom AES implementation
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Feb 20 2018 Remi Collet <remi@remirepo.net> - 1.4.0-5
|
|
|
25cbb4 |
- missing BR on C compiler
|
|
|
25cbb4 |
- use ldconfig_scriptlets
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Jan 5 2018 Remi Collet <remi@remirepo.net> - 1.4.0-3
|
|
|
25cbb4 |
- add upstream patch and drop multilib hack
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Jan 2 2018 Remi Collet <remi@remirepo.net> - 1.4.0-2
|
|
|
25cbb4 |
- re-add multilib hack #1529886
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Dec 30 2017 Remi Collet <remi@remirepo.net> - 1.4.0-1
|
|
|
25cbb4 |
- update to 1.4.0
|
|
|
25cbb4 |
- switch to cmake
|
|
|
25cbb4 |
- add upstream patch for lib64
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Mon Nov 20 2017 Remi Collet <remi@remirepo.net> - 1.3.2-1
|
|
|
25cbb4 |
- update to 1.3.2
|
|
|
25cbb4 |
- drop multilib header hack
|
|
|
25cbb4 |
- change URL to https://libzip.org/
|
|
|
25cbb4 |
- test suite now ok on all arch
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Sep 06 2017 Pavel Raiskup <praiskup@redhat.com> - 1.3.0-2
|
|
|
25cbb4 |
- use multilib-rpm-config for multilib hacks
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Mon Sep 4 2017 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
|
|
|
25cbb4 |
- update to 1.3.0
|
|
|
25cbb4 |
- add dependency on bzip2 library
|
|
|
25cbb4 |
- ignore 3 tests failing on 32-bit
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> - 1.2.0-1
|
|
|
25cbb4 |
- update to 1.2.0
|
|
|
25cbb4 |
- soname bump to 5
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> - 1.2.0-0
|
|
|
25cbb4 |
- update to 1.2.0
|
|
|
25cbb4 |
- soname bump to 5
|
|
|
25cbb4 |
- temporarily keep libzip.so.4
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat May 28 2016 Remi Collet <remi@fedoraproject.org> - 1.1.3-1
|
|
|
25cbb4 |
- update to 1.1.3
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Feb 20 2016 Remi Collet <remi@fedoraproject.org> - 1.1.2-1
|
|
|
25cbb4 |
- update to 1.1.2
|
|
|
25cbb4 |
- add BR on perl(Getopt::Long)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Feb 13 2016 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
|
|
|
25cbb4 |
- update to 1.1.1
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Jan 28 2016 Remi Collet <remi@fedoraproject.org> - 1.1-1
|
|
|
25cbb4 |
- update to 1.1
|
|
|
25cbb4 |
- new ziptool command
|
|
|
25cbb4 |
- add fix for undefined optopt in ziptool.c (upstream)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Dec 4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.1-3
|
|
|
25cbb4 |
- fix libzip-tools summary #1288424
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue May 5 2015 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
|
|
|
25cbb4 |
- update to 1.0.1
|
|
|
25cbb4 |
- soname bump from .2 to .4
|
|
|
25cbb4 |
- drop ziptorrent
|
|
|
25cbb4 |
- create "tools" sub package
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Mon Mar 23 2015 Rex Dieter <rdieter@fedoraproject.org> 0.11.2-5
|
|
|
25cbb4 |
- actually apply patch (using %%autosetup)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Mon Mar 23 2015 Rex Dieter <rdieter@fedoraproject.org> 0.11.2-4
|
|
|
25cbb4 |
- CVE-2015-2331: integer overflow when processing ZIP archives (#1204676,#1204677)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-3
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Dec 19 2013 Remi Collet <remi@fedoraproject.org> - 0.11.2-1
|
|
|
25cbb4 |
- update to 0.11.2
|
|
|
25cbb4 |
- run test during build
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Oct 24 2013 Remi Collet <remi@fedoraproject.org> - 0.11.1-3
|
|
|
25cbb4 |
- replace php patch with upstream one
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Aug 23 2013 Remi Collet <remi@fedoraproject.org> - 0.11.1-2
|
|
|
25cbb4 |
- include API-CHANGES and LICENSE in package doc
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Aug 21 2013 Remi Collet <remi@fedoraproject.org> - 0.11.1-1
|
|
|
25cbb4 |
- update to 0.11.1
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-7
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-6
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Mon Oct 15 2012 Remi Collet <remi@fedoraproject.org> - 0.10.1-5
|
|
|
25cbb4 |
- fix typo in multiarch (#866171)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Sep 05 2012 Rex Dieter <rdieter@fedoraproject.org> 0.10.1-4
|
|
|
25cbb4 |
- Warning about conflicting contexts for /usr/lib64/libzip/include/zipconf.h versus /usr/include/zipconf-64.h (#853954)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Jul 10 2012 Rex Dieter <rdieter@fedoraproject.org> 0.10.1-2
|
|
|
25cbb4 |
- spec cleanup, better multilib fix
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Mar 21 2012 Remi Collet <remi@fedoraproject.org> - 0.10.1-1
|
|
|
25cbb4 |
- update to 0.10.1 (security fix only)
|
|
|
25cbb4 |
- fixes for CVE-2012-1162 and CVE-2012-1163
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sun Mar 04 2012 Remi Collet <remi@fedoraproject.org> - 0.10-2
|
|
|
25cbb4 |
- try to fix ARM issue (#799684)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> - 0.10-1
|
|
|
25cbb4 |
- update to 0.10
|
|
|
25cbb4 |
- apply patch with changes from php bundled lib (thanks spot)
|
|
|
25cbb4 |
- handle multiarch headers (ex from MySQL)
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-4
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-3
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Feb 04 2010 Kalev Lember <kalev@smartlink.ee> - 0.9.3-2
|
|
|
25cbb4 |
- Cleaned up pkgconfig deps which are now automatically handled by RPM.
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Feb 04 2010 Kalev Lember <kalev@smartlink.ee> - 0.9.3-1
|
|
|
25cbb4 |
- Updated to libzip 0.9.3
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.9-4
|
|
|
25cbb4 |
- Use bzipped upstream tarball.
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
25cbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.9-1
|
|
|
25cbb4 |
- libzip-0.9
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Sat Feb 09 2008 Sebastian Vahl <fedora@deadbabylon.de> 0.8-5
|
|
|
25cbb4 |
- rebuild for new gcc-4.3
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Fri Jan 11 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8-4
|
|
|
25cbb4 |
- use better workaround for removing rpaths
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Tue Nov 20 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.8-3
|
|
|
25cbb4 |
- require pkgconfig in devel subpkg
|
|
|
25cbb4 |
- move api description to devel subpkg
|
|
|
25cbb4 |
- keep timestamps in %%install
|
|
|
25cbb4 |
- avoid lib64 rpaths
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Nov 15 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.8-2
|
|
|
25cbb4 |
- Change License to BSD
|
|
|
25cbb4 |
|
|
|
25cbb4 |
* Thu Nov 15 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.8-1
|
|
|
25cbb4 |
- Initial version for Fedora
|