]> git.pld-linux.org Git - packages/cabextract.git/blobdiff - cabextract.spec
- updated to 1.4
[packages/cabextract.git] / cabextract.spec
index fb2b7cd86b5a2ac13cb0393d5f6a277ca3c095c9..327dbc8402ba73292d327486f78cf631ca8a158d 100644 (file)
@@ -1,17 +1,17 @@
 Summary:       A program to extract Microsoft Cabinet files
 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
 Name:          cabextract
-Version:       0.6
-Release:       2
-License:       GPL
+Version:       1.4
+Release:       1
+License:       GPL v2+
 Group:         Applications/Archiving
 Group:         Applications/Archiving
-Source0:       http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
-Patch0:                %{name}-configure.patch
-Patch1:                %{name}-segv.patch
-URL:           http://www.kyz.uklinux.net/cabextract.php3
-BuildRequires: autoconf
+Source0:       http://www.cabextract.org.uk/%{name}-%{version}.tar.gz
+# Source0-md5: 79f41f568cf1a3ac105e0687e8bfb7c0
+URL:           http://www.cabextract.org.uk/
+BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: libmspack-devel >= 0.3alpha
+Requires:      libmspack >= 0.3alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -19,34 +19,37 @@ 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.
 
 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.
 dystrybucji swojego oprogramowania i rzeczy typu Windows Font Pack.
-cabextract mo¿e takie pliki rozpakowaæ.
+cabextract może takie pliki rozpakować.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 
 %build
-rm -f missing
-%{__libtoolize}
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %{__automake}
-%configure
+%configure \
+       --with-external-libmspack
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make}
 
 %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)
 
 %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.096616 seconds and 4 git commands to generate.