]> git.pld-linux.org Git - packages/cabextract.git/blame_incremental - cabextract.spec
- updated to 1.9
[packages/cabextract.git] / cabextract.spec
... / ...
CommitLineData
1Summary: A program to extract Microsoft Cabinet files
2Summary(pl.UTF-8): Program do rozpakowywania plików MS Cabinet
3Name: cabextract
4Version: 1.9
5Release: 1
6License: GPL v2+
7Group: Applications/Archiving
8Source0: http://www.cabextract.org.uk/%{name}-%{version}.tar.gz
9# Source0-md5: c38f4d1920dd4f597c707f16273ad480
10Patch0: %{name}-libmspack-headers-path.patch
11URL: http://www.cabextract.org.uk/
12BuildRequires: autoconf >= 2.57
13BuildRequires: automake
14BuildRequires: libmspack-devel >= 0.8alpha-5
15Requires: libmspack >= 0.8alpha
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Cabinet (.CAB) files are a form of archive, which Microsoft use to
20distribute their software, and things like Windows Font Packs. The
21cabextract program simply unpacks such files.
22
23%description -l pl.UTF-8
24Pliki Cabinet (.CAB) są rodzajem archiwum, który Microsoft używa do
25dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
26cabextract może takie pliki rozpakować.
27
28%prep
29%setup -q
30%patch0 -p1
31# make sure we use system libmspack
32%{__rm} -r mspack
33
34%build
35%{__aclocal}
36%{__autoconf}
37%{__autoheader}
38%{__automake}
39%configure \
40 CPPFLAGS="%{rpmcppflags} -I/usr/include/libmspack" \
41 --with-external-libmspack
42%{__make}
43
44%{__make} check
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc AUTHORS ChangeLog NEWS README TODO
60%attr(755,root,root) %{_bindir}/cabextract
61%{_mandir}/man1/cabextract.1*
62%lang(ja) %{_mandir}/ja/man1/cabextract.1*
This page took 0.137826 seconds and 4 git commands to generate.