]> git.pld-linux.org Git - packages/cabextract.git/blame - cabextract.spec
- rel 2
[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
c473c934 4Version: 1.2
a9d36c8e 5Release: 2
3851bcd8
JB
6License: GPL
7Group: Applications/Archiving
3851bcd8 8Source0: http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
c473c934 9# Source0-md5: dc421a690648b503265c82ade84e143e
4805649b 10Patch0: %{name}-libmspack.patch
8254ec1c 11URL: http://www.kyz.uklinux.net/cabextract.php
62bae840 12BuildRequires: autoconf >= 2.57
6576b531 13BuildRequires: automake
c473c934
JB
14BuildRequires: libmspack-devel >= 0.0.20060920alpha
15Requires: libmspack >= 0.0.20060920alpha
3851bcd8
JB
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
7b5136e2
JR
23%description -l pl.UTF-8
24Pliki Cabinet (.CAB) są rodzajem archiwum, który Microsoft używa do
3851bcd8 25dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
7b5136e2 26cabextract może takie pliki rozpakować.
3851bcd8
JB
27
28%prep
29%setup -q
4805649b
ER
30%patch0 -p1
31rm -rf mspack
3851bcd8
JB
32
33%build
66e0079d 34%{__aclocal}
1746523a 35%{__autoconf}
e997dced 36%{__autoheader}
6576b531 37%{__automake}
3851bcd8
JB
38%configure
39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
e997dced 43
e060140b
PG
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
3851bcd8 46
c27acdcf 47install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1
5d282c75 48
3851bcd8
JB
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
c473c934 54%doc AUTHORS ChangeLog NEWS README TODO
3851bcd8
JB
55%attr(755,root,root) %{_bindir}/*
56%{_mandir}/man1/*
c27acdcf 57%lang(ja) %{_mandir}/ja/man1/*
This page took 0.12609 seconds and 4 git commands to generate.