]> git.pld-linux.org Git - packages/Xarchiver.git/blob - Xarchiver.spec
27728b1dd5c364454a6e31a1aa8ae53b514afa78
[packages/Xarchiver.git] / Xarchiver.spec
1 # $Revision: 1.6 $Date: 2007-01-23 18:08:41 $
2 #
3 %define         xfce_version    4.4.0
4 #
5 Summary:        Xarchiver - a GTK+2 frontend to popular compression formats
6 Summary(pl):    Xarchiver - nak³adka GTK+2 na popularne formaty kompresji
7 Name:           Xarchiver
8 Version:        0.4.6
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications
12 Source0:        http://dl.sourceforge.net/xarchiver/xarchiver-%{version}.tar.bz2
13 # Source0-md5:  9700305deef4e2b6878697bd18bd2dd9
14 URL:            http://xarchiver.xfce.org/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  gtk+2-devel >= 2:2.8.20
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
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 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 rm -f $RPM_BUILD_ROOT%{_docdir}/xarchiver/{AUTHORS,ChangeLog,COPYING,NEWS,README,TODO}
59
60 %find_lang xarchiver
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_desktop_database_post
67 %update_icon_cache hicolor
68
69 %postun
70 %update_desktop_database_postun
71 %update_icon_cache hicolor
72
73 %files -f xarchiver.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog README TODO
76 %attr(755,root,root) %{_bindir}/xarchiver
77 %attr(755,root,root) %{_libdir}/thunar-archive-plugin/*.tap
78 %dir %{_docdir}/xarchiver
79 %docdir %{_docdir}/xarchiver
80 %{_docdir}/xarchiver/html
81 %{_iconsdir}/hicolor/*/apps/*.png
82 %{_pixmapsdir}/xarchiver
83 %{_desktopdir}/*.desktop
This page took 0.046455 seconds and 2 git commands to generate.