| 1 | Summary: A file compression and packaging utility compatible with PKZIP
|
|---|
| 2 | Name: zip
|
|---|
| 3 | Version: 3.0
|
|---|
| 4 | Release: 7%{?dist}
|
|---|
| 5 | License: BSD
|
|---|
| 6 | Group: Applications/Archiving
|
|---|
| 7 | URL: http://www.info-zip.org/Zip.html
|
|---|
| 8 | Vendor: bww bitwise works GmbH
|
|---|
| 9 |
|
|---|
| 10 | %scm_source svn http://svn.netlabs.org/repos/ports/zip/trunk 2274
|
|---|
| 11 |
|
|---|
| 12 | %description
|
|---|
| 13 | The zip program is a compression and file packaging utility. Zip is
|
|---|
| 14 | analogous to a combination of the UNIX tar and compress commands and
|
|---|
| 15 | is compatible with PKZIP (a compression and file packaging utility for
|
|---|
| 16 | MS-DOS systems).
|
|---|
| 17 |
|
|---|
| 18 | Install the zip package if you need to compress files using the zip
|
|---|
| 19 | program.
|
|---|
| 20 |
|
|---|
| 21 | %debug_package
|
|---|
| 22 |
|
|---|
| 23 | %prep
|
|---|
| 24 | %scm_setup
|
|---|
| 25 |
|
|---|
| 26 | %build
|
|---|
| 27 | export CFLAGS="$RPM_OPT_FLAGS"
|
|---|
| 28 | make -f os2/Makefile.os2 prefix=%{_prefix} klibc %{?_smp_mflags}
|
|---|
| 29 |
|
|---|
| 30 | %install
|
|---|
| 31 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 32 | mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|---|
| 33 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|---|
| 34 |
|
|---|
| 35 | make -f os2/Makefile.os2 prefix=$RPM_BUILD_ROOT%{_prefix} \
|
|---|
| 36 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
|
|---|
| 37 |
|
|---|
| 38 | %clean
|
|---|
| 39 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 40 |
|
|---|
| 41 | %files
|
|---|
| 42 | %defattr(-,root,root,-)
|
|---|
| 43 | %doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR
|
|---|
| 44 | %doc proginfo/algorith.txt
|
|---|
| 45 | %{_bindir}/zipnote.exe
|
|---|
| 46 | %{_bindir}/zipsplit.exe
|
|---|
| 47 | %{_bindir}/zip.exe
|
|---|
| 48 | %{_bindir}/zipcloak.exe
|
|---|
| 49 | %{_mandir}/man1/zip.1*
|
|---|
| 50 | %{_mandir}/man1/zipcloak.1*
|
|---|
| 51 | %{_mandir}/man1/zipnote.1*
|
|---|
| 52 | %{_mandir}/man1/zipsplit.1*
|
|---|
| 53 |
|
|---|
| 54 | %changelog
|
|---|
| 55 | * Tue Feb 19 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.0-7
|
|---|
| 56 | - use new scm_source and scm_setup macro
|
|---|
| 57 | - fix wildcard and current dir processing. Ticket #179
|
|---|
| 58 |
|
|---|
| 59 | * Wed Jul 24 2013 yd
|
|---|
| 60 | - r659, added support for archive bit clearing by Alex Taylor. Ticket:21.
|
|---|
| 61 |
|
|---|
| 62 | * Fri Mar 29 2013 yd
|
|---|
| 63 | - r614 r615, restore default behaviour for symlink storage. Ticket:18.
|
|---|