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