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