]> git.pld-linux.org Git - packages/Xarchiver.git/blame - Xarchiver.spec
- up to 0.5.4.23
[packages/Xarchiver.git] / Xarchiver.spec
CommitLineData
8074d429 1
2561653a 2%define xfce_version 4.4.0
a1d235c2
KM
3Summary: Xarchiver - a GTK+3 frontend to popular compression formats
4Summary(pl.UTF-8): Xarchiver - nakładka GTK+3 na popularne formaty kompresji
d010bf6e 5Name: Xarchiver
fb2968d5 6Version: 0.5.4.23
ac462fed 7Release: 1
d010bf6e
MB
8License: GPL
9Group: X11/Applications
b366cb7b 10Source0: https://github.com/ib/xarchiver/archive/%{version}/xarchiver-%{version}.tar.gz
fb2968d5 11# Source0-md5: bfdace2b113417e1bc77ef304280d103
56b8cb95 12Patch0: %{name}-desktop.patch
4def0de7 13URL: https://github.com/ib/xarchiver/wiki
9593b4f9 14BuildRequires: autoconf >= 2.50
d010bf6e 15BuildRequires: automake
7f412493 16BuildRequires: gettext-tools
a1d235c2
KM
17BuildRequires: gtk+3-devel >= 3.10
18BuildRequires: intltool >= 0.40.0
d010bf6e 19BuildRequires: libtool
2561653a
MB
20BuildRequires: pkgconfig
21BuildRequires: rpmbuild(macros) >= 1.311
9593b4f9 22BuildRequires: xfce4-dev-tools >= %{xfce_version}
d010bf6e 23Requires(post,postun): desktop-file-utils
793f0521 24Requires(post,postun): gtk-update-icon-cache
2561653a 25Requires(post,postun): hicolor-icon-theme
d010bf6e
MB
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
a1d235c2 29Xarchiver is a GTK+3 frontend to 7z, zip, rar, tar, bzip2, gzip, arj
d010bf6e
MB
30and rpm (open and extract only). Xarchiver allows to create, add,
31extract and delete files in the above formats. 7z, zip, rar and arj
32password protected archives are supported.
33
a4cbac68 34%description -l pl.UTF-8
a1d235c2 35Xarchiver to nakładka GTK+3 na 7z, zip, rar, tar, bzip2, gzip, arj i
a4cbac68
JR
36rpm (tylko otwieranie i rozpakowywanie). Xarchiver umożliwia
37tworzenie, dodawanie, rozpakowywanie oraz usuwanie plików w powyższych
38formatach. Obsługuje również archiwa 7z, zip, rar i arj zabezpieczone
39hasłem.
d010bf6e
MB
40
41%prep
2561653a 42%setup -q -n xarchiver-%{version}
56b8cb95 43%patch0 -p1
9ce8db24 44mv -f po/pt{_PT,}.po
b366cb7b 45sed -e 's/pt_PT/pt/' -i po/LINGUAS
d010bf6e
MB
46
47%build
a1d235c2 48mkdir m4
03c9f12e 49%{__intltoolize}
d010bf6e
MB
50%{__libtoolize}
51%{__aclocal}
52%{__autoconf}
53%{__autoheader}
54%{__automake}
55%configure
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
d010bf6e
MB
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
b366cb7b 63%{__rm} $RPM_BUILD_ROOT%{_docdir}/xarchiver/{ChangeLog,COPYING,README}
64b6cdcb 64
d010bf6e
MB
65%find_lang xarchiver
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post
71%update_desktop_database_post
2561653a 72%update_icon_cache hicolor
d010bf6e
MB
73
74%postun
75%update_desktop_database_postun
2561653a 76%update_icon_cache hicolor
d010bf6e
MB
77
78%files -f xarchiver.lang
79%defattr(644,root,root,755)
b366cb7b 80%doc ChangeLog README
d010bf6e 81%attr(755,root,root) %{_bindir}/xarchiver
b366cb7b 82%attr(755,root,root) %{_libexecdir}/thunar-archive-plugin/*.tap
64b6cdcb 83%docdir %{_docdir}/xarchiver
b366cb7b 84%{_docdir}/xarchiver
8074d429
ER
85%{_iconsdir}/hicolor/*/apps/xarchiver.png
86%{_iconsdir}/hicolor/scalable/apps/xarchiver.svg
2561653a 87%{_pixmapsdir}/xarchiver
d010bf6e 88%{_desktopdir}/*.desktop
b366cb7b 89%{_mandir}/man1/xarchiver.1*
This page took 0.07789 seconds and 4 git commands to generate.