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