]> git.pld-linux.org Git - packages/cabextract.git/blame - cabextract.spec
- updated to 1.11
[packages/cabextract.git] / cabextract.spec
CommitLineData
3851bcd8 1Summary: A program to extract Microsoft Cabinet files
4fd36593 2Summary(pl.UTF-8): Program do rozpakowywania plików MS Cabinet
3851bcd8 3Name: cabextract
3cb160af
JB
4Version: 1.11
5Release: 1
93e42294 6License: GPL v2+
3851bcd8 7Group: Applications/Archiving
3cb160af
JB
8Source0: https://www.cabextract.org.uk/%{name}-%{version}.tar.gz
9# Source0-md5: 3f678e8cb815f26d73e9413913b20505
10URL: https://www.cabextract.org.uk/
62bae840 11BuildRequires: autoconf >= 2.57
6576b531 12BuildRequires: automake
5b351b43 13BuildRequires: libmspack-devel >= 0.8alpha-5
9bbde26a 14Requires: libmspack >= 0.8alpha
3851bcd8
JB
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Cabinet (.CAB) files are a form of archive, which Microsoft use to
19distribute their software, and things like Windows Font Packs. The
20cabextract program simply unpacks such files.
21
7b5136e2
JR
22%description -l pl.UTF-8
23Pliki Cabinet (.CAB) są rodzajem archiwum, który Microsoft używa do
3851bcd8 24dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
7b5136e2 25cabextract 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 \
5b351b43 36 CPPFLAGS="%{rpmcppflags} -I/usr/include/libmspack" \
0d8398a9 37 --with-external-libmspack
3851bcd8
JB
38%{__make}
39
43fb2664
AG
40%{__make} check
41
3851bcd8
JB
42%install
43rm -rf $RPM_BUILD_ROOT
e997dced 44
e060140b
PG
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
3851bcd8 47
c27acdcf 48install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1
5d282c75 49
3851bcd8
JB
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
c473c934 55%doc AUTHORS ChangeLog NEWS README TODO
93e42294
JB
56%attr(755,root,root) %{_bindir}/cabextract
57%{_mandir}/man1/cabextract.1*
58%lang(ja) %{_mandir}/ja/man1/cabextract.1*
This page took 0.085055 seconds and 4 git commands to generate.