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