代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-dde/minizip1.2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define anolis_release .0.2
Name: minizip1.2
Summary: Library for manipulation with .zip archives
Version: 1.2.11
Release: 24%{anolis_release}%{?dist}.1
License: zlib
URL: http://www.zlib.net/
Source: http://www.zlib.net/zlib-%{version}.tar.xz
# https://github.com/madler/zlib/pull/210
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
BuildRequires: autoconf, automake, libtool
BuildRequires: zlib-devel >= %{version}
BuildRequires: gcc
Provides: minizip-compat = %{version}-%{release}
%description
Minizip is a library for manipulation with files from .zip archives.
This package contains the old minizip API, as bundled with zlib.
%package devel
Summary: Development files for the minizip library
Requires: minizip1.2%{?_isa} = %{version}-%{release}
Requires: zlib-devel%{?_isa} >= %{version}
Conflicts: minizip-devel
Provides: minizip-compat-devel = %{version}-%{release}
%description devel
This package contains the libraries and header files needed for
developing applications which use the old minizip API.
%prep
%setup -q -n zlib-%{version}
%patch0 -p1 -b .fixuncrypt
%build
export CFLAGS="$RPM_OPT_FLAGS"
%ifarch ppc64
CFLAGS+=" -O3"
%endif
%ifarch aarch64
CFLAGS+=" -DARM_NEON -O3"
%endif
%ifarch s390 s390x
CFLAGS+=" -DDFLTCC"
%endif
export MKFLAGS=""
%ifarch s390 s390x
MKFLAGS+="OBJA=dfltcc.o PIC_OBJA=dfltcc.lo"
%endif
export LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now"
cd contrib/minizip
autoreconf --install
%configure --enable-static=no
%make_build
%install
%make_install -C contrib/minizip
# https://github.com/madler/zlib/pull/229
rm $RPM_BUILD_ROOT%_includedir/minizip/crypt.h
find $RPM_BUILD_ROOT -name '*.la' -delete
%files
%license README
%doc contrib/minizip/MiniZip64_info.txt contrib/minizip/MiniZip64_Changes.txt
%{_libdir}/libminizip.so.*
%files devel
%dir %{_includedir}/minizip
%{_includedir}/minizip/*.h
%{_libdir}/libminizip.so
%{_libdir}/pkgconfig/minizip.pc
%changelog
* Fri Jan 12 2024 yangxianzhao <yangxianzhao@uniontech.com> - 1.2.11-24.1.0.2
- rebuild for qt5-qtbase
* Wed Sep 20 2023 yangxianzhao <yangxianzhao@uniontech.com> - 1.2.11-24.1.0.1
- rebuild for qt5-qtbase-5.15.3
* Tue Feb 09 2021 Xue haolin <xuehaolin@uniontech.com> - 1.2.11-24.1
- Rebuild
* Wed Nov 6 2019 Tom Callaway <spot@fedoraproject.org> - 1.2.11-24
- add dist tag
* Wed Nov 6 2019 Tom Callaway <spot@fedoraproject.org> - 1.2.11-23
- add BR: gcc
* Tue Nov 5 2019 Tom Callaway <spot@fedoraproject.org> - 1.2.11-22
- rename to minizip1.2, add provides for minizip-compat naming
* Fri Nov 1 2019 Tom Callaway <spot@fedoraproject.org> - 1.2.11-21
- standalone minizip-compat package for epel8
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。