]> git.pld-linux.org Git - packages/cabextract.git/blob - cabextract.spec
- man install bugfix
[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:        1.1
5 Release:        4
6 License:        GPL
7 Group:          Applications/Archiving
8 Source0:        http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  f4b729c0be7d288660f4fc167de199a1
10 Patch0:         %{name}-libmspack.patch
11 URL:            http://www.kyz.uklinux.net/cabextract.php3
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  libmspack-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Cabinet (.CAB) files are a form of archive, which Microsoft use to
20 distribute their software, and things like Windows Font Packs. The
21 cabextract program simply unpacks such files.
22
23 %description -l pl
24 Pliki Cabinet (.CAB) s± rodzajem archiwum, który Microsoft u¿ywa do
25 dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
26 cabextract mo¿e takie pliki rozpakowaæ.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 rm -rf mspack
32
33 %build
34 cp -f /usr/share/automake/config.sub .
35 %{__libtoolize}
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS NEWS README TODO
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man1/*
59 %lang(ja) %{_mandir}/ja/man1/*
This page took 0.07789 seconds and 3 git commands to generate.