]> git.pld-linux.org Git - packages/cabextract.git/blob - cabextract.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/cabextract.git] / cabextract.spec
1 Summary:        A program to extract Microsoft Cabinet files
2 Summary(pl):    Program do rozpakowywania plików MS Cabinet
3 Name:           cabextract
4 Version:        0.6
5 Release:        2
6 License:        GPL
7 Group:          Applications/Archiving
8 Source0:        http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-configure.patch
10 Patch1:         %{name}-segv.patch
11 URL:            http://www.kyz.uklinux.net/cabextract.php3
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Cabinet (.CAB) files are a form of archive, which Microsoft use to
19 distribute their software, and things like Windows Font Packs. The
20 cabextract program simply unpacks such files.
21
22 %description -l pl
23 Pliki Cabinet (.CAB) s± rodzajem archiwum, który Miscrosoft u¿ywa do
24 dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
25 cabextract mo¿e takie pliki rozpakowaæ.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30 %patch1 -p1
31
32 %build
33 rm -f missing
34 %{__libtoolize}
35 %{__aclocal}
36 %{__autoconf}
37 %{__automake}
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc AUTHORS NEWS README TODO
51 %attr(755,root,root) %{_bindir}/*
52 %{_mandir}/man1/*
This page took 1.059537 seconds and 4 git commands to generate.