| Line | |
|---|
| 1 | Summary: A utility for unpacking zip files
|
|---|
| 2 | Name: unzip
|
|---|
| 3 | Version: 6.0
|
|---|
| 4 | Release: 4%{?dist}
|
|---|
| 5 | License: BSD
|
|---|
| 6 | Group: Applications/Archiving
|
|---|
| 7 | Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
|---|
| 8 |
|
|---|
| 9 | Patch0: unzip-os2.diff
|
|---|
| 10 |
|
|---|
| 11 | URL: http://www.info-zip.org/UnZip.html
|
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|---|
| 13 | BuildRequires: bzip2-devel
|
|---|
| 14 | Requires: bzip2
|
|---|
| 15 |
|
|---|
| 16 | %description
|
|---|
| 17 | The unzip utility is used to list, test, or extract files from a zip
|
|---|
| 18 | archive. Zip archives are commonly found on MS-DOS systems. The zip
|
|---|
| 19 | utility, included in the zip package, creates zip archives. Zip and
|
|---|
| 20 | unzip are both compatible with archives created by PKWARE(R)'s PKZIP
|
|---|
| 21 | for MS-DOS, but the programs' options and default behaviors do differ
|
|---|
| 22 | in some respects.
|
|---|
| 23 |
|
|---|
| 24 | Install the unzip package if you need to list, test or extract files from
|
|---|
| 25 | a zip archive.
|
|---|
| 26 |
|
|---|
| 27 | %prep
|
|---|
| 28 | %setup -q -n unzip60
|
|---|
| 29 | %patch0 -p1 -b .os2~
|
|---|
| 30 |
|
|---|
| 31 | %build
|
|---|
| 32 | make -f os2/Makefile.os2 CFLAGS="$RPM_OPT_FLAGS" klibc %{?_smp_mflags}
|
|---|
| 33 |
|
|---|
| 34 | %install
|
|---|
| 35 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 36 | make -f os2/Makefile.os2 prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 INSTALL="cp -p" install
|
|---|
| 37 |
|
|---|
| 38 | %clean
|
|---|
| 39 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 40 |
|
|---|
| 41 | %files
|
|---|
| 42 | %defattr(-,root,root)
|
|---|
| 43 | %doc README BUGS LICENSE
|
|---|
| 44 | %{_bindir}/*
|
|---|
| 45 | %{_mandir}/*/*
|
|---|
| 46 |
|
|---|
| 47 | %changelog
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.