]> git.pld-linux.org Git - packages/cabextract.git/blobdiff - cabextract.spec
- updated to 1.11
[packages/cabextract.git] / cabextract.spec
index e37988dcd7c710d0bd45bc5f6b87f8dec19afcc4..be113cfe0b294e6cbbe0d18ec8fa13e235bfff56 100644 (file)
@@ -1,18 +1,17 @@
 Summary:       A program to extract Microsoft Cabinet files
-Summary(pl.UTF-8):   Program do rozpakowywania plików MS Cabinet
+Summary(pl.UTF-8):     Program do rozpakowywania plików MS Cabinet
 Name:          cabextract
-Version:       1.2
+Version:       1.11
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/Archiving
-Source0:       http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: dc421a690648b503265c82ade84e143e
-Patch0:                %{name}-libmspack.patch
-URL:           http://www.kyz.uklinux.net/cabextract.php
+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: libmspack-devel >= 0.0.20060920alpha
-Requires:      libmspack >= 0.0.20060920alpha
+BuildRequires: libmspack-devel >= 0.8alpha-5
+Requires:      libmspack >= 0.8alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,17 +26,19 @@ cabextract może takie pliki rozpakować.
 
 %prep
 %setup -q
-%patch0 -p1
-rm -rf mspack
 
 %build
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       CPPFLAGS="%{rpmcppflags} -I/usr/include/libmspack" \
+       --with-external-libmspack
 %{__make}
 
+%{__make} check
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -52,6 +53,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%lang(ja) %{_mandir}/ja/man1/*
+%attr(755,root,root) %{_bindir}/cabextract
+%{_mandir}/man1/cabextract.1*
+%lang(ja) %{_mandir}/ja/man1/cabextract.1*
This page took 0.043662 seconds and 4 git commands to generate.