Compare commits

..

No commits in common. "4767af21ba62ec42c9f7f86f76f62415f89be1f6" and "7b8d53c8f3d296a456f1a387ef5ea914ef017b59" have entirely different histories.

4 changed files with 9 additions and 36 deletions

Binary file not shown.

BIN
libzip-1.5.1.tar.xz Normal file

Binary file not shown.

View File

@ -1,12 +1,14 @@
Name: libzip
Version: 1.10.1
Release: 2
Version: 1.5.1
Release: 3
Summary: A C library for reading, creating, and modifying zip archives
License: BSD-3-Clause
License: BSD
URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake xz-devel libzstd-devel cmake man-db
BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake
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%{?_isa} = %{version}-%{release}
@ -30,24 +32,9 @@ that use libcap.
%prep
%autosetup -n %{name}-%{version} -p1
rm INSTALL.md
sed -e '/clone-fs-/d' -i regress/CMakeLists.txt
%build
%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
%cmake .
make %{?_smp_mflags}
%install
@ -65,7 +52,6 @@ make test
%license LICENSE
%{_bindir}/zip*
%{_libdir}/libzip.so.5*
%{_libdir}/cmake/libzip/*
%files devel
%defattr(-,root,root)
@ -79,19 +65,6 @@ make test
%{_mandir}/man1/*1*
%{_mandir}/man3/*3*
%changelog
* Fri Mar 29 2024 lilong <lilong@kylinos.cn> - 1.10.1-2
- Replace mandoc dependency with man-db
* 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
- Update to 1.9.2
* Thu Apr 21 2022 Yangping <yangping69@h-partners.com> - 1.8.0-1
- Update to 1.8.0
* Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.1-3
- Package init

View File

@ -1,4 +1,4 @@
version_control: github
src_repo: nih-at/libzip
tag_prefix: ^(rel-|v)
seperator: "-"
tag_prefix: rel-
seperator: -