source: spec/trunk/SPECS/unzip.spec@ 150

Last change on this file since 150 was 140, checked in by Yuri Dario, 15 years ago

spec: zip&unzip build update.

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