]> git.pld-linux.org Git - packages/cabextract.git/blobdiff - cabextract.spec
- updated to 1.11
[packages/cabextract.git] / cabextract.spec
index 05365cc2cab2255fe7348deca162c7eec3367ac3..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:       1.0
-Release:       2
-License:       GPL
+Version:       1.11
+Release:       1
+License:       GPL v2+
 Group:         Applications/Archiving
-Source0:       http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 8fde8ad86f7144943b7e4e5a2da7eddb
-URL:           http://www.kyz.uklinux.net/cabextract.php3
+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,35 +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 Microsoft 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
 
 %build
-cp -f /usr/share/automake/config.sub .
-%{__libtoolize}
 %{__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
 
+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.037453 seconds and 4 git commands to generate.