]>
Commit | Line | Data |
---|---|---|
037de69b | 1 | Summary: Nautilus extension which adds customized command in Nautilus menu |
97651a7a | 2 | Summary(pl.UTF-8): Rozszerzenie dodające własne polecenia w menu Nautilusa |
037de69b | 3 | Name: nautilus-actions |
2f9cdffa | 4 | Version: 3.0.7 |
5 | Release: 1 | |
6 | License: GPL v2+ | |
037de69b | 7 | Group: X11/Applications |
2f9cdffa | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/nautilus-actions/3.0/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 40b3807e7ddc0926782d2d85e99e2fc4 | |
037de69b | 10 | Patch0: %{name}-desktop.patch |
2f9cdffa | 11 | Patch1: %{name}-toolbar.patch |
de4c7004 | 12 | URL: http://www.grumz.net/node/8/ |
422938d7 MB |
13 | BuildRequires: GConf2-devel >= 2.8.0 |
14 | BuildRequires: autoconf >= 2.53 | |
a4472153 | 15 | BuildRequires: automake |
72f65fc9 | 16 | BuildRequires: dbus-glib-devel |
35ecff9e | 17 | BuildRequires: gettext-devel |
422938d7 | 18 | BuildRequires: glib2-devel >= 1:2.16.0 |
422938d7 | 19 | BuildRequires: gnome-common |
2f9cdffa | 20 | BuildRequires: gtk+3-devel >= 3.0.0 |
422938d7 | 21 | BuildRequires: intltool >= 0.40.0 |
2f9cdffa | 22 | BuildRequires: libgtop-devel >= 1:2.23.1 |
35ecff9e | 23 | BuildRequires: libtool |
422938d7 | 24 | BuildRequires: libunique-devel |
c87369d5 | 25 | BuildRequires: libuuid-devel |
6b64aec0 | 26 | BuildRequires: libxml2-devel >= 1:2.6.26 |
2f9cdffa | 27 | BuildRequires: nautilus-devel >= 3.0.0 |
72f65fc9 | 28 | BuildRequires: pkgconfig |
6b64aec0 | 29 | BuildRequires: rpmbuild(macros) >= 1.311 |
72f65fc9 | 30 | BuildRequires: xorg-lib-libSM-devel |
d59b5839 | 31 | Requires(post,postun): gtk-update-icon-cache |
bfc88728 | 32 | Requires(post,postun): hicolor-icon-theme |
2f9cdffa | 33 | Requires: nautilus >= 3.0.0 |
037de69b | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
37 | Nautilus extension which allow to configure program to be launch on | |
38 | files selected into Nautilus interface. | |
39 | ||
5a184839 JR |
40 | %description -l pl.UTF-8 |
41 | Rozszerzenie pozwalające na skonfigurowanie programu uruchamianego na | |
138e471a | 42 | pliku wybranym w Nautilusie. |
43 | ||
72f65fc9 MB |
44 | %package devel |
45 | Summary: Header files for nautilus-actions | |
46 | Summary(pl.UTF-8): Pliki nagłówkowe nautilus-actions | |
47 | Group: X11/Development/Libraries | |
48 | Requires: GConf2-devel >= 2.8.0 | |
49 | Requires: glib2-devel >= 1:2.16.0 | |
50 | ||
51 | %description devel | |
52 | Header files for nautilus-actions. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe nautilus-actions. | |
56 | ||
037de69b | 57 | %prep |
58 | %setup -q | |
59 | %patch0 -p1 | |
72f65fc9 | 60 | %patch1 -p1 |
037de69b | 61 | |
62 | %build | |
7dec46ed | 63 | %{__intltoolize} |
422938d7 MB |
64 | %{__libtoolize} |
65 | %{__aclocal} -I m4 | |
35ecff9e | 66 | %{__autoconf} |
422938d7 | 67 | %{__autoheader} |
35ecff9e | 68 | %{__automake} |
de4c7004 | 69 | %configure \ |
422938d7 | 70 | --disable-schemas-install |
8718bc82 | 71 | |
037de69b | 72 | %{__make} |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
35ecff9e | 78 | DESTDIR=$RPM_BUILD_ROOT |
79 | ||
2f9cdffa | 80 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la |
81 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus-actions/*.la | |
037de69b | 82 | |
16df0bb7 | 83 | %find_lang %{name} |
84 | ||
037de69b | 85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
6b64aec0 | 88 | %post |
89 | %update_icon_cache hicolor | |
90 | ||
91 | %postun | |
92 | %update_icon_cache hicolor | |
93 | ||
16df0bb7 | 94 | %files -f %{name}.lang |
037de69b | 95 | %defattr(644,root,root,755) |
96 | %doc AUTHORS ChangeLog | |
72f65fc9 MB |
97 | %attr(755,root,root) %{_bindir}/nautilus-actions-config-tool |
98 | %attr(755,root,root) %{_bindir}/nautilus-actions-new | |
99 | %attr(755,root,root) %{_bindir}/nautilus-actions-run | |
100 | %attr(755,root,root) %{_bindir}/nautilus-actions-schemas | |
101 | %dir %{_libdir}/nautilus-actions | |
102 | %attr(755,root,root) %{_libdir}/nautilus-actions/libna-core.so | |
103 | %attr(755,root,root) %{_libdir}/nautilus-actions/libna-io-desktop.so | |
104 | %attr(755,root,root) %{_libdir}/nautilus-actions/libna-io-gconf.so | |
105 | %attr(755,root,root) %{_libdir}/nautilus-actions/libna-io-xml.so | |
35ecff9e | 106 | %{_datadir}/%{name} |
72f65fc9 MB |
107 | %{_desktopdir}/nact.desktop |
108 | %{_iconsdir}/hicolor/*/apps/*.png | |
109 | %{_iconsdir}/hicolor/*/apps/*.svg | |
2f9cdffa | 110 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-actions-menu.so |
111 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-actions-tracker.so | |
72f65fc9 MB |
112 | |
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
115 | %{_includedir}/nautilus-actions |