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