]>
Commit | Line | Data |
---|---|---|
0897077d MB |
1 | # |
2 | %define srcname thunar-archive-plugin | |
3 | # | |
4 | Summary: Archive plugin for the Thunar file manager | |
292cbc83 | 5 | Summary(pl.UTF-8): Wtyczka archiwum dla zarządcy plików Thunar |
0897077d | 6 | Name: Thunar-archive-plugin |
497c2914 | 7 | Version: 0.2.4 |
0897077d MB |
8 | Release: 1 |
9 | License: GPL v2 | |
10 | Group: X11/Applications | |
11 | Source0: http://download.berlios.de/xfce-goodies/%{srcname}-%{version}.tar.bz2 | |
497c2914 | 12 | # Source0-md5: 4c389e6328af9322937af76382f0baec |
0897077d | 13 | URL: http://foo-projects.org/~benny/projects/thunar-archive-plugin/ |
497c2914 | 14 | BuildRequires: Thunar-devel >= 0.8.0 |
0897077d MB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: rpmbuild(macros) >= 1.311 | |
497c2914 | 20 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
2d873bfc | 21 | Requires(post,postun): gtk+2 |
0897077d | 22 | Requires(post,postun): hicolor-icon-theme |
497c2914 | 23 | Requires: Thunar >= 0.8.0 |
0897077d MB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | This plugin allows to create and extract archive files using the file | |
28 | context menus in the Thunar file manager. It provides a generic | |
29 | scripting interface for archive managers. | |
30 | ||
71fe5292 JR |
31 | %description -l pl.UTF-8 |
32 | Ta wtyczka umożliwia tworzenie i rozpakowywanie archiwów używając menu | |
33 | podręcznego pliku w zarządcy plików Thunar. Dostarcza ogólny interfejs | |
34 | dla zarządców archiwów. | |
0897077d MB |
35 | |
36 | %prep | |
37 | %setup -q -n %{srcname}-%{version} | |
38 | ||
39 | %build | |
40 | %{__libtoolize} | |
41 | %{__aclocal} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
44 | %{__autoconf} | |
45 | %configure \ | |
46 | --disable-static | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | rm -f $RPM_BUILD_ROOT%{_libdir}/thunarx-1/*.la | |
56 | ||
57 | %find_lang %{srcname} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %files -f %{srcname}.lang | |
69 | %defattr(644,root,root,755) | |
2d873bfc | 70 | %doc AUTHORS ChangeLog NEWS README THANKS scripts/template.tap |
0897077d MB |
71 | %attr(755,root,root) %{_libdir}/thunarx-1/* |
72 | %dir %{_libdir}/thunar-archive-plugin | |
73 | %attr(755,root,root) %{_libdir}/thunar-archive-plugin/*.tap | |
74 | %{_iconsdir}/hicolor/*/*/* |