]>
Commit | Line | Data |
---|---|---|
1 | Summary: A program to extract Microsoft Cabinet files | |
2 | Summary(pl.UTF-8): Program do rozpakowywania plików MS Cabinet | |
3 | Name: cabextract | |
4 | Version: 1.6 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Applications/Archiving | |
8 | Source0: http://www.cabextract.org.uk/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: ee3ded0b1f84e5c6e3309bb36d701916 | |
10 | URL: http://www.cabextract.org.uk/ | |
11 | BuildRequires: autoconf >= 2.57 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libmspack-devel >= 0.5alpha | |
14 | Requires: libmspack >= 0.5alpha | |
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.UTF-8 | |
23 | Pliki Cabinet (.CAB) są rodzajem archiwum, który Microsoft 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 | ||
30 | %build | |
31 | %{__aclocal} | |
32 | %{__autoconf} | |
33 | %{__autoheader} | |
34 | %{__automake} | |
35 | %configure \ | |
36 | --with-external-libmspack | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1 | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS ChangeLog NEWS README TODO | |
53 | %attr(755,root,root) %{_bindir}/cabextract | |
54 | %{_mandir}/man1/cabextract.1* | |
55 | %lang(ja) %{_mandir}/ja/man1/cabextract.1* |