From 19fc0647fdcbbc2a9fdb335e5187552fc89d5374 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 5 Jan 2024 20:04:55 +0100 Subject: [PATCH] update to 3.0 [release 3.0-1mamba;Thu Jan 14 2010] --- README.md | 4 ++++ zip.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 zip.spec diff --git a/README.md b/README.md index 21c8d59..935d7e9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # zip +The zip program is a compression and file packaging utility. +Zip is analogous to a combination of the UNIX tar and compress commands and is compatible with PKZIP. +Install the zip package if you need to compress files using the zip program. + diff --git a/zip.spec b/zip.spec new file mode 100644 index 0000000..a34d10f --- /dev/null +++ b/zip.spec @@ -0,0 +1,64 @@ +%define majver %(echo %version | cut -d. -f1) +%define minver %(echo %version | cut -d. -f2) + +Name: zip +Version: 3.0 +Release: 1mamba +Summary: A file compression and packaging utility compatible with PKZIP +Group: Applications/Archiving +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.info-zip.org/pub/infozip/ +Source: http://downloads.sourceforge.net/project/infozip/Zip3.x%28latest%29/%{version}/zip%{majver}%{minver}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The zip program is a compression and file packaging utility. +Zip is analogous to a combination of the UNIX tar and compress commands and is compatible with PKZIP. +Install the zip package if you need to compress files using the zip program. + +%prep +%setup -n %{name}%{majver}%{minver} + +%build +#CFLAGS="%{optflags}" \ +make -f unix/Makefile zips CC=%{_host}-gcc + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +make -f unix/Makefile zips CC=%{_host}-gcc install \ + prefix=%{buildroot}%{_prefix} \ + MANDIR=%{buildroot}%{_mandir}/man1 + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/zip +%{_bindir}/zipcloak +%{_bindir}/zipnote +%{_bindir}/zipsplit +%{_mandir}/man1/zip*.* +%doc BUGS CHANGES LICENSE README TODO WHATSNEW WHERE + +%changelog +* Thu Jan 14 2010 Davide Madrisan 3.0-1mamba +- update to 3.0 + +* Mon May 21 2007 Silvan Calarco 2.32-1mamba +- update to 2.32 +- group entry fixed + +* Mon Nov 08 2004 Davide Madrisan 2.3-2qilnx +- security fix QSA-2004-052 (CAN-2004-1010) +- added qilinux patch, specfiles updated + +* Thu Apr 17 2003 Alessandro Ramazzina 2.3-1qilnx +- creation of zip package