]> git.pld-linux.org Git - packages/Xarchiver.git/blame - Xarchiver.spec
- updated to 0.5.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
AG
7Version: 0.5.2
8Release: 1
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}
d010bf6e
MB
42
43%build
03c9f12e 44%{__intltoolize}
d010bf6e
MB
45%{__libtoolize}
46%{__aclocal}
47%{__autoconf}
48%{__autoheader}
49%{__automake}
50%configure
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
64b6cdcb
MB
59rm -f $RPM_BUILD_ROOT%{_docdir}/xarchiver/{AUTHORS,ChangeLog,COPYING,NEWS,README,TODO}
60
d010bf6e
MB
61%find_lang xarchiver
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%post
67%update_desktop_database_post
2561653a 68%update_icon_cache hicolor
d010bf6e
MB
69
70%postun
71%update_desktop_database_postun
2561653a 72%update_icon_cache hicolor
d010bf6e
MB
73
74%files -f xarchiver.lang
75%defattr(644,root,root,755)
2561653a 76%doc AUTHORS ChangeLog README TODO
d010bf6e
MB
77%attr(755,root,root) %{_bindir}/xarchiver
78%attr(755,root,root) %{_libdir}/thunar-archive-plugin/*.tap
883be17f 79%dir %{_docdir}/xarchiver
64b6cdcb
MB
80%docdir %{_docdir}/xarchiver
81%{_docdir}/xarchiver/html
63234e2f 82%{_iconsdir}/hicolor/*/apps/*
2561653a 83%{_pixmapsdir}/xarchiver
d010bf6e 84%{_desktopdir}/*.desktop
This page took 0.10828 seconds and 4 git commands to generate.