]> git.pld-linux.org Git - packages/cabextract.git/blobdiff - cabextract.spec
- updated to 1.11
[packages/cabextract.git] / cabextract.spec
index d5e532f8b301bb24d4acfaea8cefc335ddfe4906..be113cfe0b294e6cbbe0d18ec8fa13e235bfff56 100644 (file)
@@ -1,13 +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.5
+Version:       1.11
 Release:       1
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/Archiving
 Group:         Applications/Archiving
-Source0:       http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
-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: libmspack-devel >= 0.8alpha-5
+Requires:      libmspack >= 0.8alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -15,30 +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.
 
 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
 
 %build
 
 %prep
 %setup -q
 
 %build
+%{__aclocal}
 %{__autoconf}
 %{__autoconf}
-%configure
+%{__autoheader}
+%{__automake}
+%configure \
+       CPPFLAGS="%{rpmcppflags} -I/usr/include/libmspack" \
+       --with-external-libmspack
 %{__make}
 
 %{__make}
 
+%{__make} check
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR="$RPM_BUILD_ROOT"
 
 
-gzip -9nf AUTHORS NEWS README TODO
+%{__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 *.gz
-%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.257393 seconds and 4 git commands to generate.