]>
Commit | Line | Data |
---|---|---|
3851bcd8 | 1 | Summary: A program to extract Microsoft Cabinet files |
4fd36593 | 2 | Summary(pl.UTF-8): Program do rozpakowywania plików MS Cabinet |
3851bcd8 | 3 | Name: cabextract |
6b31e08b JB |
4 | Version: 1.6 |
5 | Release: 1 | |
93e42294 | 6 | License: GPL v2+ |
3851bcd8 | 7 | Group: Applications/Archiving |
ae8c56a3 | 8 | Source0: http://www.cabextract.org.uk/%{name}-%{version}.tar.gz |
6b31e08b | 9 | # Source0-md5: ee3ded0b1f84e5c6e3309bb36d701916 |
ae8c56a3 | 10 | URL: http://www.cabextract.org.uk/ |
62bae840 | 11 | BuildRequires: autoconf >= 2.57 |
6576b531 | 12 | BuildRequires: automake |
1f3877cb JB |
13 | BuildRequires: libmspack-devel >= 0.5alpha |
14 | Requires: libmspack >= 0.5alpha | |
3851bcd8 JB |
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 | ||
7b5136e2 JR |
22 | %description -l pl.UTF-8 |
23 | Pliki Cabinet (.CAB) są rodzajem archiwum, który Microsoft używa do | |
3851bcd8 | 24 | dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack. |
7b5136e2 | 25 | cabextract może takie pliki rozpakować. |
3851bcd8 JB |
26 | |
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
66e0079d | 31 | %{__aclocal} |
1746523a | 32 | %{__autoconf} |
e997dced | 33 | %{__autoheader} |
6576b531 | 34 | %{__automake} |
0d8398a9 | 35 | %configure \ |
36 | --with-external-libmspack | |
3851bcd8 JB |
37 | %{__make} |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
e997dced | 41 | |
e060140b PG |
42 | %{__make} install \ |
43 | DESTDIR=$RPM_BUILD_ROOT | |
3851bcd8 | 44 | |
c27acdcf | 45 | install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1 |
5d282c75 | 46 | |
3851bcd8 JB |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
c473c934 | 52 | %doc AUTHORS ChangeLog NEWS README TODO |
93e42294 JB |
53 | %attr(755,root,root) %{_bindir}/cabextract |
54 | %{_mandir}/man1/cabextract.1* | |
55 | %lang(ja) %{_mandir}/ja/man1/cabextract.1* |