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