]> git.pld-linux.org Git - packages/Xarchiver.git/blob - Xarchiver.spec
- rel 3
[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.5.2
8 Release:        3
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        http://dl.sourceforge.net/xarchiver/xarchiver-%{version}.tar.bz2
12 # Source0-md5:  2bc7f06403cc6582dd4a8029ec9d038d
13 Patch0:         %{name}-desktop.patch
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:  intltool
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+2
25 Requires(post,postun):  hicolor-icon-theme
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Xarchiver is a GTK+2 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+2 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/nb{_NO,}.po
45 mv -f po/pt{_PT,}.po
46 sed -e 's/nb_NO/nb/;s/pt_PT/pt/' -i po/LINGUAS
47
48 %build
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
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 rm -f $RPM_BUILD_ROOT%{_docdir}/xarchiver/{AUTHORS,ChangeLog,COPYING,NEWS,README,TODO}
65
66 %find_lang xarchiver
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %update_desktop_database_post
73 %update_icon_cache hicolor
74
75 %postun
76 %update_desktop_database_postun
77 %update_icon_cache hicolor
78
79 %files -f xarchiver.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README TODO
82 %attr(755,root,root) %{_bindir}/xarchiver
83 %attr(755,root,root) %{_libdir}/thunar-archive-plugin/*.tap
84 %dir %{_docdir}/xarchiver
85 %docdir %{_docdir}/xarchiver
86 %{_docdir}/xarchiver/html
87 %{_iconsdir}/hicolor/*/apps/*
88 %{_pixmapsdir}/xarchiver
89 %{_desktopdir}/*.desktop
This page took 0.065744 seconds and 4 git commands to generate.