Release: 1.1.7
[captive.git] / src / install / acquire / cabextract / cabextract.spec
1 Summary: a program to extract Microsoft Cabinet files
2 Name: cabextract
3 Version: 0.6
4 Release: 1
5 Group: Applications/Archiving
6 Copyright: GPL
7 Source: http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
8 URL: http://www.kyz.uklinux.net/cabextract.php3
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
10 Prefix: /usr
11
12 %description
13 Cabinet (.CAB) files are a form of archive, which Microsoft use to
14 distribute their software, and things like Windows Font Packs. The
15 cabextract program simply unpacks such files.
16
17 %prep
18 %setup
19
20 %build
21 CFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{prefix}
22 make
23
24 %install
25 rm -rf ${RPM_BUILD_ROOT}
26 %makeinstall
27
28 %clean
29 rm -rf ${RPM_BUILD_ROOT}
30
31 %files
32 %defattr(0644, root, root, 0755)
33 %doc AUTHORS ChangeLog NEWS README
34 %attr(0755, root, root) %{_bindir}/cabextract
35 %{_mandir}/man1/cabextract.1*