]> git.pld-linux.org Git - packages/cabextract.git/blob - cabextract.spec
- updated to 1.11
[packages/cabextract.git] / cabextract.spec
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.11
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Archiving
8 Source0:        https://www.cabextract.org.uk/%{name}-%{version}.tar.gz
9 # Source0-md5:  3f678e8cb815f26d73e9413913b20505
10 URL:            https://www.cabextract.org.uk/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  libmspack-devel >= 0.8alpha-5
14 Requires:       libmspack >= 0.8alpha
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         CPPFLAGS="%{rpmcppflags} -I/usr/include/libmspack" \
37         --with-external-libmspack
38 %{__make}
39
40 %{__make} check
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog NEWS README TODO
56 %attr(755,root,root) %{_bindir}/cabextract
57 %{_mandir}/man1/cabextract.1*
58 %lang(ja) %{_mandir}/ja/man1/cabextract.1*
This page took 0.17055 seconds and 3 git commands to generate.