Compare commits
No commits in common. "4767af21ba62ec42c9f7f86f76f62415f89be1f6" and "7b8d53c8f3d296a456f1a387ef5ea914ef017b59" have entirely different histories.
4767af21ba
...
7b8d53c8f3
Binary file not shown.
BIN
libzip-1.5.1.tar.xz
Normal file
BIN
libzip-1.5.1.tar.xz
Normal file
Binary file not shown.
41
libzip.spec
41
libzip.spec
@ -1,12 +1,14 @@
|
|||||||
Name: libzip
|
Name: libzip
|
||||||
Version: 1.10.1
|
Version: 1.5.1
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
||||||
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 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 = %{version}-%{release}
|
||||||
Provides: libzip-tools%{?_isa} = %{version}-%{release}
|
Provides: libzip-tools%{?_isa} = %{version}-%{release}
|
||||||
@ -30,24 +32,9 @@ 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
|
||||||
@ -65,7 +52,6 @@ make test
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/zip*
|
%{_bindir}/zip*
|
||||||
%{_libdir}/libzip.so.5*
|
%{_libdir}/libzip.so.5*
|
||||||
%{_libdir}/cmake/libzip/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -79,19 +65,6 @@ make test
|
|||||||
%{_mandir}/man1/*1*
|
%{_mandir}/man1/*1*
|
||||||
%{_mandir}/man3/*3*
|
%{_mandir}/man3/*3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.1-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: github
|
version_control: github
|
||||||
src_repo: nih-at/libzip
|
src_repo: nih-at/libzip
|
||||||
tag_prefix: ^(rel-|v)
|
tag_prefix: rel-
|
||||||
seperator: "-"
|
seperator: -
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user