source: spec/trunk/SPECS/zip.spec@ 1010

Last change on this file since 1010 was 354, checked in by Yuri Dario, 12 years ago

spec: zip, r659, added support for archive bit clearing by Alex Taylor. Ticket:21.

File size: 1.6 KB
Line 
1Summary: A file compression and packaging utility compatible with PKZIP
2Name: zip
3Version: 3.0
4Release: 6%{?dist}
5License: BSD
6Group: Applications/Archiving
7Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
8URL: http://www.info-zip.org/Zip.html
9
10Patch0: zip-os2.diff
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14%description
15The zip program is a compression and file packaging utility. Zip is
16analogous to a combination of the UNIX tar and compress commands and
17is compatible with PKZIP (a compression and file packaging utility for
18MS-DOS systems).
19
20Install the zip package if you need to compress files using the zip
21program.
22
23%prep
24%setup -q -n zip30
25%patch0 -p1 -b .os2~
26
27%build
28export CFLAGS="$RPM_OPT_FLAGS"
29export MAKESHELL="/@unixroot/usr/bin/sh.exe"
30make -f os2/Makefile.os2 prefix=%{_prefix} klibc %{?_smp_mflags}
31
32%install
33export MAKESHELL="/@unixroot/usr/bin/sh.exe"
34rm -rf $RPM_BUILD_ROOT
35mkdir -p $RPM_BUILD_ROOT%{_bindir}
36mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
37
38make -f os2/Makefile.os2 prefix=$RPM_BUILD_ROOT%{_prefix} \
39 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(-,root,root,-)
46%doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR
47%doc proginfo/algorith.txt
48%{_bindir}/zipnote.exe
49%{_bindir}/zipsplit.exe
50%{_bindir}/zip.exe
51%{_bindir}/zipcloak.exe
52%{_mandir}/man1/zip.1*
53%{_mandir}/man1/zipcloak.1*
54%{_mandir}/man1/zipnote.1*
55%{_mandir}/man1/zipsplit.1*
56
57%changelog
58* Wed Jul 24 2013 yd
59- r659, added support for archive bit clearing by Alex Taylor. Ticket:21.
60
61* Fri Mar 29 2013 yd
62- r614 r615, restore default behaviour for symlink storage. Ticket:18.
Note: See TracBrowser for help on using the repository browser.