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