]> git.pld-linux.org Git - packages/Xarchiver.git/blobdiff - Xarchiver.spec
- up to 0.5.4.23
[packages/Xarchiver.git] / Xarchiver.spec
index 594d3662932e07fd70c047860b050ebe3e525577..1722221e9e0adc1a52caad7ae0e4434241d034e1 100644 (file)
@@ -1,22 +1,21 @@
-#
+
 %define                xfce_version    4.4.0
-#
-Summary:       Xarchiver - a GTK+2 frontend to popular compression formats
-Summary(pl.UTF-8):     Xarchiver - nakładka GTK+2 na popularne formaty kompresji
+Summary:       Xarchiver - a GTK+3 frontend to popular compression formats
+Summary(pl.UTF-8):     Xarchiver - nakładka GTK+3 na popularne formaty kompresji
 Name:          Xarchiver
-Version:       0.5.2
-Release:       4
+Version:       0.5.4.23
+Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://downloads.sourceforge.net/xarchiver/xarchiver-%{version}.tar.bz2
-# Source0-md5: 2bc7f06403cc6582dd4a8029ec9d038d
+Source0:       https://github.com/ib/xarchiver/archive/%{version}/xarchiver-%{version}.tar.gz
+# Source0-md5: bfdace2b113417e1bc77ef304280d103
 Patch0:                %{name}-desktop.patch
-URL:           http://xarchiver.xfce.org/
+URL:           https://github.com/ib/xarchiver/wiki
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.8.20
-BuildRequires: intltool
+BuildRequires: gettext-tools
+BuildRequires: gtk+3-devel >= 3.10
+BuildRequires: intltool >= 0.40.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.311
@@ -27,13 +26,13 @@ Requires(post,postun):      hicolor-icon-theme
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Xarchiver is a GTK+2 frontend to 7z, zip, rar, tar, bzip2, gzip, arj
+Xarchiver is a GTK+3 frontend to 7z, zip, rar, tar, bzip2, gzip, arj
 and rpm (open and extract only). Xarchiver allows to create, add,
 extract and delete files in the above formats. 7z, zip, rar and arj
 password protected archives are supported.
 
 %description -l pl.UTF-8
-Xarchiver to nakładka GTK+2 na 7z, zip, rar, tar, bzip2, gzip, arj i
+Xarchiver to nakładka GTK+3 na 7z, zip, rar, tar, bzip2, gzip, arj i
 rpm (tylko otwieranie i rozpakowywanie). Xarchiver umożliwia
 tworzenie, dodawanie, rozpakowywanie oraz usuwanie plików w powyższych
 formatach. Obsługuje również archiwa 7z, zip, rar i arj zabezpieczone
@@ -42,11 +41,11 @@ hasłem.
 %prep
 %setup -q -n xarchiver-%{version}
 %patch0 -p1
-mv -f po/nb{_NO,}.po
 mv -f po/pt{_PT,}.po
-sed -e 's/nb_NO/nb/;s/pt_PT/pt/' -i po/LINGUAS
+sed -e 's/pt_PT/pt/' -i po/LINGUAS
 
 %build
+mkdir m4
 %{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
@@ -58,11 +57,10 @@ sed -e 's/nb_NO/nb/;s/pt_PT/pt/' -i po/LINGUAS
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_docdir}/xarchiver/{AUTHORS,ChangeLog,COPYING,NEWS,README,TODO}
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/xarchiver/{ChangeLog,COPYING,README}
 
 %find_lang xarchiver
 
@@ -79,12 +77,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f xarchiver.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
+%doc ChangeLog README
 %attr(755,root,root) %{_bindir}/xarchiver
-%attr(755,root,root) %{_libdir}/thunar-archive-plugin/*.tap
-%dir %{_docdir}/xarchiver
+%attr(755,root,root) %{_libexecdir}/thunar-archive-plugin/*.tap
 %docdir %{_docdir}/xarchiver
-%{_docdir}/xarchiver/html
-%{_iconsdir}/hicolor/*/apps/*
+%{_docdir}/xarchiver
+%{_iconsdir}/hicolor/*/apps/xarchiver.png
+%{_iconsdir}/hicolor/scalable/apps/xarchiver.svg
 %{_pixmapsdir}/xarchiver
 %{_desktopdir}/*.desktop
+%{_mandir}/man1/xarchiver.1*
This page took 0.048161 seconds and 4 git commands to generate.