File: cabextract.spec

package info (click to toggle)
cabextract 1.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 932 kB
  • ctags: 966
  • sloc: ansic: 6,138; sh: 457; perl: 275; makefile: 68
file content (37 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Summary: A program to extract Microsoft Cabinet files
Name: cabextract
Version: 1.2
Release: 1
License: GPL
Group: Applications/Archiving
Source: http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
URL: http://www.kyz.uklinux.net/cabextract.php
Vendor: Stuart Caie
Packager: Stuart Caie <kyzer@4u.net>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr

%description
Cabinet (.CAB) files are a form of archive, which Microsoft use to
distribute their software, and things like Windows Font Packs. The
cabextract program unpacks these files.

%prep
%setup

%build
CFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{prefix}
make

%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall

%clean
[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(0644, root, root, 0755)
%doc AUTHORS ChangeLog NEWS README
%attr(0755, root, root) %{_bindir}/cabextract
%{_mandir}/man1/cabextract.1*