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