Summary(pl): Program do rozpakowywania plików MS Cabinet
Name: cabextract
Version: 1.1
-Release: 1
+Release: 5
License: GPL
Group: Applications/Archiving
Source0: http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
# Source0-md5: f4b729c0be7d288660f4fc167de199a1
+Patch0: %{name}-libmspack.patch
URL: http://www.kyz.uklinux.net/cabextract.php3
BuildRequires: autoconf >= 2.57
BuildRequires: automake
+BuildRequires: libmspack-devel
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%patch0 -p1
+rm -rf mspack
%build
cp -f /usr/share/automake/config.sub .
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/cabextract.1
+
%clean
rm -rf $RPM_BUILD_ROOT
%doc AUTHORS NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
+%lang(ja) %{_mandir}/ja/man1/*