]> git.pld-linux.org Git - packages/Xarchiver.git/blame_incremental - Xarchiver.spec
- updated to 0.5.4.14
[packages/Xarchiver.git] / Xarchiver.spec
... / ...
CommitLineData
1
2%define xfce_version 4.4.0
3Summary: Xarchiver - a GTK+2 frontend to popular compression formats
4Summary(pl.UTF-8): Xarchiver - nakładka GTK+2 na popularne formaty kompresji
5Name: Xarchiver
6Version: 0.5.4.14
7Release: 1
8License: GPL
9Group: X11/Applications
10Source0: https://github.com/ib/xarchiver/archive/%{version}/xarchiver-%{version}.tar.gz
11# Source0-md5: 70e60118c59fe647f620b07f83907fc9
12Patch0: %{name}-desktop.patch
13URL: https://github.com/ib/xarchiver/wiki
14BuildRequires: autoconf >= 2.50
15BuildRequires: automake
16BuildRequires: gettext-tools
17BuildRequires: gtk+2-devel >= 2:2.8.20
18BuildRequires: intltool
19BuildRequires: libtool
20BuildRequires: pkgconfig
21BuildRequires: rpmbuild(macros) >= 1.311
22BuildRequires: xfce4-dev-tools >= %{xfce_version}
23Requires(post,postun): desktop-file-utils
24Requires(post,postun): gtk-update-icon-cache
25Requires(post,postun): hicolor-icon-theme
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Xarchiver is a GTK+2 frontend to 7z, zip, rar, tar, bzip2, gzip, arj
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
34%description -l pl.UTF-8
35Xarchiver to nakładka GTK+2 na 7z, zip, rar, tar, bzip2, gzip, arj i
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.
40
41%prep
42%setup -q -n xarchiver-%{version}
43%patch0 -p1
44mv -f po/pt{_PT,}.po
45sed -e 's/pt_PT/pt/' -i po/LINGUAS
46
47%build
48%{__intltoolize}
49%{__libtoolize}
50%{__aclocal}
51%{__autoconf}
52%{__autoheader}
53%{__automake}
54%configure
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%{__rm} $RPM_BUILD_ROOT%{_docdir}/xarchiver/{ChangeLog,COPYING,README}
63
64%find_lang xarchiver
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post
70%update_desktop_database_post
71%update_icon_cache hicolor
72
73%postun
74%update_desktop_database_postun
75%update_icon_cache hicolor
76
77%files -f xarchiver.lang
78%defattr(644,root,root,755)
79%doc ChangeLog README
80%attr(755,root,root) %{_bindir}/xarchiver
81%attr(755,root,root) %{_libexecdir}/thunar-archive-plugin/*.tap
82%docdir %{_docdir}/xarchiver
83%{_docdir}/xarchiver
84%{_iconsdir}/hicolor/*/apps/xarchiver.png
85%{_iconsdir}/hicolor/scalable/apps/xarchiver.svg
86%{_pixmapsdir}/xarchiver
87%{_desktopdir}/*.desktop
88%{_mandir}/man1/xarchiver.1*
This page took 0.050896 seconds and 4 git commands to generate.