]>
Commit | Line | Data |
---|---|---|
e0c64f84 JB |
1 | Summary: Caja file manager extension to launch programs through the popup menu of selected files |
2 | Summary(pl.UTF-8): Rozszerzenie zarządcy plików Caja do uruchamiania programów poprzez menu dla wybranych plików | |
3 | Name: caja-actions | |
4 | Version: 1.26.0 | |
5 | Release: 1 | |
6 | License: GPL v2+ (code), FDL v1.3+ (help) | |
7 | Group: X11/Applications | |
8 | Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: bc708b6f077008bf93a7442e800e2ee4 | |
10 | URL: https://wiki.mate-desktop.org/mate-desktop/components/caja-actions/ | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: caja-devel >= 1.17.1 | |
14 | BuildRequires: gettext-tools >= 0.19.8 | |
15 | BuildRequires: glib2-devel >= 1:2.32.1 | |
16 | BuildRequires: gtk+3-devel >= 3.10 | |
17 | BuildRequires: libgtop-devel >= 1:2.23.1 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: libuuid-devel | |
20 | BuildRequires: libxml2-devel >= 1:2.6 | |
21 | BuildRequires: mate-common | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: rpmbuild(macros) >= 1.596 | |
24 | BuildRequires: tar >= 1:1.22 | |
25 | BuildRequires: xorg-lib-libICE-devel | |
26 | BuildRequires: xorg-lib-libSM-devel >= 1.0 | |
27 | BuildRequires: xz | |
28 | BuildRequires: yelp-tools | |
29 | Requires(post,postun): gtk-update-icon-cache | |
30 | Requires: caja >= 1.17.1 | |
31 | Requires: glib2 >= 1:2.32.1 | |
32 | Requires: gtk+3 >= 3.10 | |
33 | Requires: hicolor-icon-theme | |
34 | Requires: libgtop >= 1:2.23.1 | |
35 | Requires: libxml2 >= 1:2.6 | |
36 | Requires: xorg-lib-libSM >= 1.0 | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | Caja-actions is an extension for Caja file manager which allows the | |
41 | user to add arbitrary program to be launched through the Caja file | |
42 | manager popup menu of selected files. | |
43 | ||
44 | %description -l pl.UTF-8 | |
45 | Caja-actions to rozszerzenie zarządcy plików Caja, pozwalające | |
46 | użytkownikowi dodawać dowolne programy do uruchamiania poprzez | |
47 | rozwijane menu dla wybranych plików w zarządcy plików. | |
48 | ||
49 | %package devel | |
50 | Summary: Caja-Actions extension interface | |
51 | Summary(pl.UTF-8): Interfejs rozszerzeń Caja-Actions | |
52 | Group: Development/Libraries | |
53 | Requires: glib2-devel >= 1:2.32.1 | |
54 | # doesn't require base | |
55 | ||
56 | %description devel | |
57 | Caja-Actions extension interface. | |
58 | ||
59 | %description devel -l pl.UTF-8 | |
60 | Interfejs rozszerzeń Caja-Actions. | |
61 | ||
62 | %prep | |
63 | %setup -q | |
64 | ||
65 | %build | |
66 | %{__libtoolize} | |
67 | %{__aclocal} -I m4 | |
68 | %{__autoconf} | |
69 | %{__autoheader} | |
70 | %{__automake} | |
71 | %configure \ | |
72 | --disable-silent-rules | |
73 | ||
74 | %{__make} | |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
82 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/libcaja-actions-*.la | |
83 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja-actions/libna-*.la | |
84 | ||
85 | # files packaged as %doc + HTML and PDF version of help | |
86 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/caja-actions | |
87 | ||
88 | # not supported by glibc (2.34) | |
89 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ie,ku_IQ} | |
7c85e3e2 | 90 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/help/{ie,ku_IQ} |
e0c64f84 JB |
91 | |
92 | # caja-actions gettext domain, caja-actions-config-tool help | |
93 | %find_lang %{name} --with-mate --all-name | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post | |
99 | %update_icon_cache hicolor | |
100 | ||
101 | %postun | |
102 | %update_icon_cache hicolor | |
103 | ||
104 | %files -f %{name}.lang | |
105 | %defattr(644,root,root,755) | |
106 | %doc AUTHORS NEWS README | |
107 | %attr(755,root,root) %{_bindir}/caja-actions-config-tool | |
108 | %attr(755,root,root) %{_bindir}/caja-actions-new | |
109 | %attr(755,root,root) %{_bindir}/caja-actions-print | |
110 | %attr(755,root,root) %{_bindir}/caja-actions-run | |
111 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-actions-menu.so | |
112 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-actions-tracker.so | |
113 | %dir %{_libdir}/caja-actions | |
114 | %attr(755,root,root) %{_libdir}/caja-actions/libna-core.so | |
115 | %attr(755,root,root) %{_libdir}/caja-actions/libna-io-desktop.so | |
116 | %if "%{_libexecdir}" != "%{_libdir}" | |
117 | %dir %{_libexecdir}/caja-actions | |
118 | %endif | |
119 | %attr(755,root,root) %{_libexecdir}/caja-actions/na-print-schemas | |
120 | %attr(755,root,root) %{_libexecdir}/caja-actions/na-set-conf | |
121 | %{_datadir}/caja-actions | |
122 | %{_desktopdir}/cact.desktop | |
123 | %{_iconsdir}/hicolor/*x*/apps/caja-actions.png | |
124 | %{_iconsdir}/hicolor/scalable/apps/caja-actions.svg | |
125 | ||
126 | %files devel | |
127 | %defattr(644,root,root,755) | |
128 | %{_includedir}/caja-actions |