!35 Update to 1.10.1
From: @lyn1001 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
35e8a33245
BIN
libzip-1.10.1.tar.xz
Normal file
BIN
libzip-1.10.1.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
32
libzip.spec
32
libzip.spec
@ -1,14 +1,12 @@
|
|||||||
Name: libzip
|
Name: libzip
|
||||||
Version: 1.9.2
|
Version: 1.10.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A C library for reading, creating, and modifying zip archives
|
Summary: A C library for reading, creating, and modifying zip archives
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://libzip.org/
|
URL: https://libzip.org/
|
||||||
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
|
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake
|
BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake xz-devel libzstd-devel cmake mandoc
|
||||||
BuildRequires: perl-interpreter perl(Cwd) perl(File::Copy) perl(File::Path) perl(Getopt::Long)
|
|
||||||
BuildRequires: perl(IPC::Open3) perl(Storable) perl(Symbol) perl(UNIVERSAL) perl(strict) perl(warnings)
|
|
||||||
|
|
||||||
Provides: libzip-tools = %{version}-%{release}
|
Provides: libzip-tools = %{version}-%{release}
|
||||||
Provides: libzip-tools%{?_isa} = %{version}-%{release}
|
Provides: libzip-tools%{?_isa} = %{version}-%{release}
|
||||||
@ -32,9 +30,24 @@ that use libcap.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
rm INSTALL.md
|
||||||
|
sed -e '/clone-fs-/d' -i regress/CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake .
|
%cmake \
|
||||||
|
-DENABLE_COMMONCRYPTO:BOOL=OFF \
|
||||||
|
-DENABLE_GNUTLS:BOOL=OFF \
|
||||||
|
-DENABLE_MBEDTLS:BOOL=OFF \
|
||||||
|
-DENABLE_OPENSSL:BOOL=ON \
|
||||||
|
-DENABLE_WINDOWS_CRYPTO:BOOL=OFF \
|
||||||
|
-DENABLE_BZIP2:BOOL=ON \
|
||||||
|
-DENABLE_LZMA:BOOL=ON \
|
||||||
|
-DENABLE_ZSTD:BOOL=ON \
|
||||||
|
-DBUILD_TOOLS:BOOL=ON \
|
||||||
|
-DBUILD_REGRESS:BOOL=ON \
|
||||||
|
-DBUILD_EXAMPLES:BOOL=OFF \
|
||||||
|
-DBUILD_DOC:BOOL=ON
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -52,11 +65,7 @@ make test
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/zip*
|
%{_bindir}/zip*
|
||||||
%{_libdir}/libzip.so.5*
|
%{_libdir}/libzip.so.5*
|
||||||
%{_libdir}/cmake/libzip/libzip-config-version.cmake
|
%{_libdir}/cmake/libzip/*
|
||||||
%{_libdir}/cmake/libzip/libzip-config.cmake
|
|
||||||
%{_libdir}/cmake/libzip/libzip-targets-noconfig.cmake
|
|
||||||
%{_libdir}/cmake/libzip/libzip-targets.cmake
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -72,6 +81,9 @@ make test
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 27 2023 liyanan <liyanan61@h-partners.com> - 1.10.1-1
|
||||||
|
- Update to 1.10.1
|
||||||
|
|
||||||
* Fri Jul 29 2022 liukuo <liukuo@kylinos.cn> - 1.9.2-1
|
* Fri Jul 29 2022 liukuo <liukuo@kylinos.cn> - 1.9.2-1
|
||||||
- Update to 1.9.2
|
- Update to 1.9.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user