代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/zip 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: zip
Version: 3.0
Release: 25
Summary: A compression and file packaging/archive utility
License: Info-ZIP
URL: http://www.info-zip.org/Zip.html
Source0: http://downloads.sourceforge.net/infozip/zip30.tar.gz
# Patch1 to patch6 get from fedora
Patch1: zip-3.0-exec-shield.patch
Patch2: zip-3.0-currdir.patch
Patch3: zip-3.0-time.patch
Patch4: man.patch
Patch5: zip-3.0-format-security.patch
Patch6: zipnote.patch
Patch6000: CVE-2018-13410.patch
BuildRequires: bzip2-devel gcc
Requires: unzip
%description
The zip program is a compression and file packaging utility. Zip has one
compression method and can also store files without compression.
Zip automatically chooses the better of the two for each file. Compression
ratios of 2:1 to 3:1 are common for text files.
%package help
Summary: Documents and manuals related to zip
BuildArch: noarch
%description help
This package contains the documents and manuals related to zip.
%prep
%autosetup -n zip30 -p1
%build
%make_build -f unix/Makefile prefix=%{_prefix} "CFLAGS_NOOPT=-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
%make_install -f unix/Makefile prefix=%{buildroot}%{_prefix} MANDIR=%{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root)
%doc README CHANGES TODO WHATSNEW WHERE README.CR
%doc proginfo/algorith.txt
%license LICENSE
%{_bindir}/zip*
%files help
%{_mandir}/man1/zip*
%changelog
* Fri Feb 14 2020 chengquan <chengquan3@huawei.com> - 3.0-25
- Add gcc BuildRequire
* Tue Sep 3 2019 dongjian <dongjian13@huawei.com> - 3.0-24
- Rebuild and modify the description
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。