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