]> git.pld-linux.org Git - packages/cabextract.git/blobdiff - cabextract.spec
- updated URL
[packages/cabextract.git] / cabextract.spec
index df86649548a0e52ec2f865e54f3f05fa7131f0a2..b2f8ad5bb54a704be2e6364caf09b02250accec8 100644 (file)
@@ -1,16 +1,18 @@
 Summary:       A program to extract Microsoft Cabinet files
 Summary(pl):   Program do rozpakowywania plików MS Cabinet
 Name:          cabextract
-Version:       1.1
-Release:       3
+Version:       1.2
+Release:       1
 License:       GPL
 Group:         Applications/Archiving
 Source0:       http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: f4b729c0be7d288660f4fc167de199a1
-URL:           http://www.kyz.uklinux.net/cabextract.php3
+# Source0-md5: dc421a690648b503265c82ade84e143e
+Patch0:                %{name}-libmspack.patch
+URL:           http://www.kyz.uklinux.net/cabextract.php
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: libmspack-devel >= 0.0.20060920alpha
+Requires:      libmspack >= 0.0.20060920alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,10 +27,10 @@ cabextract mo
 
 %prep
 %setup -q
+%patch0 -p1
+rm -rf mspack
 
 %build
-cp -f /usr/share/automake/config.sub .
-%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -42,14 +44,14 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -D doc/ja/cabextract.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1
+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
+%doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
-%lang(ja) %{_mandir}/ja/man1*
+%lang(ja) %{_mandir}/ja/man1/*
This page took 0.06995 seconds and 4 git commands to generate.