代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/zlib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global __provides_exclude_from ^%{_libdir}/pkgconfig/minizip\\.pc$
Summary: A general purpose data compression/decompression library
Name: zlib
Version: 1.2.13
Release: 1%{?dist}
License: zlib and Boost
URL: https://www.zlib.net/
Source0: https://www.zlib.net/%{name}-%{version}.tar.xz
Patch3000: zlib-1.2.5-minizip-fixuncrypt.patch
Patch3001: zlib-1.2.11-covscan-issues-rhel9.patch
BuildRequires: make automake autoconf libtool
%description
The zlib library is a general purpose data compression library. The code is
thread safe, assuming that the standard library functions used are thread
safe, such as memory allocation routines. It provides in-memory compression
and decompression functions, including integrity checks of the uncompressed
data. This version of the library supports only one compression method
(deflation) but other algorithms may be added later with the same stream
interface.
%package static
Summary: Static libraries for zlib development
Requires: %{name}-devel = %{version}-%{release}
%description static
This package provides static libraries for zlib development.
%package devel
Summary: Header files and libraries for zlib development
Requires: %{name} = %{version}-%{release}
%description devel
This package provides header files and libraries for zlib development.
%package -n minizip-compat
Summary: Library for manipulation with .zip archives
Requires: %{name} = %{version}-%{release}
%description -n minizip-compat
Minizip is a library for manipulation with files from .zip archives.
%package -n minizip-compat-devel
Summary: Header files and libraries for minizip development
Requires: minizip-compat = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
Conflicts: minizip-devel
%description -n minizip-compat-devel
This package provides header files and libraries for minizip development.
%prep
%autosetup -p1
%build
./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
%make_build
cd contrib/minizip
autoreconf -fiv
%configure --enable-static=no
%make_build
%install
%make_install
%make_install -C contrib/minizip
rm -f %{buildroot}%{_libdir}/*.la
rm -f %{buildroot}%{_includedir}/minizip/crypt.h
%check
make test
%files
%license README
%doc ChangeLog FAQ doc/algorithm.txt test/example.c
%{_libdir}/libz.so.*
%{_mandir}/man3/zlib.3*
%files static
%{_libdir}/libz.a
%files devel
%{_includedir}/zlib.h
%{_includedir}/zconf.h
%{_libdir}/pkgconfig/zlib.pc
%{_libdir}/libz.so
%files -n minizip-compat
%license contrib/minizip/MiniZip64_info.txt
%doc contrib/minizip/MiniZip64_Changes.txt
%{_libdir}/libminizip.so.*
%files -n minizip-compat-devel
%dir %{_includedir}/minizip
%{_includedir}/minizip/*.h
%{_libdir}/pkgconfig/minizip.pc
%{_libdir}/libminizip.so
%changelog
* Thu Jun 08 2023 rockerzhu <rockerzhu@tencent.com> - 1.2.13-1
- Update to 1.2.13 to fix CVE-2022-37434.
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.2.12-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.2.12-2
- Rebuilt for OpenCloudOS Stream 23
* Tue Jul 12 2022 Xiaojie Chen <jackxjchen@tencent.com> - 1.2.12-1
- Initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。