]> git.pld-linux.org Git - packages/Xarchiver.git/blob - Xarchiver.spec
- locale fix; release 2
[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:        2
9 License:        GPL
10 Group:          X11/Applications
11 Source0:        http://dl.sourceforge.net/xarchiver/xarchiver-%{version}.tar.bz2
12 # Source0-md5:  2bc7f06403cc6582dd4a8029ec9d038d
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 mv -f po/nb{_NO,}.po
43 mv -f po/pt{_PT,}.po
44 sed -e 's/nb_NO/nb/;s/pt_PT/pt/' -i po/LINGUAS
45
46 %build
47 %{__intltoolize}
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 rm -f $RPM_BUILD_ROOT%{_docdir}/xarchiver/{AUTHORS,ChangeLog,COPYING,NEWS,README,TODO}
63
64 %find_lang xarchiver
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %update_desktop_database_post
71 %update_icon_cache hicolor
72
73 %postun
74 %update_desktop_database_postun
75 %update_icon_cache hicolor
76
77 %files -f xarchiver.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog README TODO
80 %attr(755,root,root) %{_bindir}/xarchiver
81 %attr(755,root,root) %{_libdir}/thunar-archive-plugin/*.tap
82 %dir %{_docdir}/xarchiver
83 %docdir %{_docdir}/xarchiver
84 %{_docdir}/xarchiver/html
85 %{_iconsdir}/hicolor/*/apps/*
86 %{_pixmapsdir}/xarchiver
87 %{_desktopdir}/*.desktop
This page took 0.037298 seconds and 4 git commands to generate.