]> git.pld-linux.org Git - packages/cabextract.git/blobdiff - cabextract.spec
- updated to 1.11
[packages/cabextract.git] / cabextract.spec
index 4f8537c9ff2a0cf09592631c29068bd2414c4978..be113cfe0b294e6cbbe0d18ec8fa13e235bfff56 100644 (file)
@@ -1,16 +1,17 @@
 Summary:       A program to extract Microsoft Cabinet files
-Summary(pl):   Program do rozpakowywania plików MS Cabinet
+Summary(pl.UTF-8):     Program do rozpakowywania plików MS Cabinet
 Name:          cabextract
-Version:       0.6
+Version:       1.11
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/Archiving
-Source0:       http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
-Patch0:                %{name}-configure.patch
-URL:           http://www.kyz.uklinux.net/cabextract.php3
-BuildRequires: autoconf
+Source0:       https://www.cabextract.org.uk/%{name}-%{version}.tar.gz
+# Source0-md5: 3f678e8cb815f26d73e9413913b20505
+URL:           https://www.cabextract.org.uk/
+BuildRequires: autoconf >= 2.57
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: libmspack-devel >= 0.8alpha-5
+Requires:      libmspack >= 0.8alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -18,33 +19,40 @@ Cabinet (.CAB) files are a form of archive, which Microsoft use to
 distribute their software, and things like Windows Font Packs. The
 cabextract program simply unpacks such files.
 
-%description -l pl
-Pliki Cabinet (.CAB) s± rodzajem archiwum, który Miscrosoft u¿ywa do
+%description -l pl.UTF-8
+Pliki Cabinet (.CAB) są rodzajem archiwum, który Microsoft używa do
 dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
-cabextract mo¿e takie pliki rozpakowaæ.
+cabextract może takie pliki rozpakować.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-rm -f missing
-%{__libtoolize}
-aclocal
+%{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure
+%configure \
+       CPPFLAGS="%{rpmcppflags} -I/usr/include/libmspack" \
+       --with-external-libmspack
 %{__make}
 
+%{__make} check
+
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR="$RPM_BUILD_ROOT"
+
+%{__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
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/cabextract
+%{_mandir}/man1/cabextract.1*
+%lang(ja) %{_mandir}/ja/man1/cabextract.1*
This page took 0.077503 seconds and 4 git commands to generate.