]>
Commit | Line | Data |
---|---|---|
b9c8e2c2 JP |
1 | Summary: Extensions for Caja (MATE file manager) |
2 | Summary(pl.UTF-8): Rozszerzenia dla zarządcy plików Caja ze środowiska MATE | |
3 | Name: caja-extensions | |
4 | Version: 1.8.0 | |
96f0700b | 5 | Release: 5 |
b9c8e2c2 JP |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
8 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: bc56df2c6b0445b574040222b40813bd | |
10 | URL: http://mate-desktop.org/ | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: caja-devel >= 1.1.0 | |
14 | BuildRequires: dbus-devel >= 1.0.2 | |
15 | BuildRequires: dbus-glib-devel >= 0.60 | |
16 | BuildRequires: gettext-devel >= 0.10.40 | |
17 | BuildRequires: glib2-devel >= 1:2.14.0 | |
18 | BuildRequires: gtk-doc >= 1.9 | |
19 | BuildRequires: gupnp-devel >= 0.13 | |
20 | BuildRequires: intltool >= 0.35.0 | |
21 | BuildRequires: libtool >= 1:1.4.3 | |
22 | BuildRequires: mate-common | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: rpmbuild(macros) >= 1.592 | |
25 | BuildRequires: tar >= 1:1.22 | |
26 | BuildRequires: xz | |
27 | Requires: caja >= 1.1.0 | |
28 | Requires: glib2 >= 1:2.28.0 | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Extensions for Caja (MATE file manager). | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | Rozszerzenia dla zarządcy plików Caja ze środowiska MATE. | |
36 | ||
127716fc | 37 | %package -n caja-extension-gksu |
b9c8e2c2 JP |
38 | Summary: gksu extension for Caja (MATE file manager) |
39 | Summary(pl.UTF-8): Rozszerzenie gksu dla zarządcy plików Caja ze środowiska MATE | |
40 | Requires: gksu | |
41 | Requires(post,postun): glib2 >= 1:2.14.0 | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | Obsoletes: mate-file-manager-extension-gksu | |
44 | ||
127716fc | 45 | %description -n caja-extension-gksu |
b9c8e2c2 JP |
46 | gksu extension for Caja (MATE file manager). It's a fork of |
47 | nautilus-gksu extension. | |
48 | ||
127716fc | 49 | %description -n caja-extension-gksu -l pl.UTF-8 |
b9c8e2c2 JP |
50 | Rozszerzenie gksu dla zarządcy plików Caja ze środowiska MATE. Jest to |
51 | odgałęzienie rozszerzenia nautilus-gksu. | |
52 | ||
127716fc | 53 | %package -n caja-extension-image-converter |
b9c8e2c2 JP |
54 | Summary: Caja (MATE file manager) extension to mass resize or rotate images |
55 | Summary(pl.UTF-8): Rozszerzenie zarządcy plików Caja pozwalające masowo zmieniać rozmiar i obracać pliki graficzne | |
56 | Requires: %{name} = %{version}-%{release} | |
57 | Requires: ImageMagick | |
58 | Suggests: ImageMagick-coder-jpeg | |
59 | Suggests: ImageMagick-coder-jpeg2 | |
60 | Suggests: ImageMagick-coder-png | |
61 | Suggests: ImageMagick-coder-tiff | |
62 | Obsoletes: mate-file-manager-extension-image-converter | |
63 | ||
127716fc | 64 | %description -n caja-extension-image-converter |
b9c8e2c2 JP |
65 | The Caja-Image-Converter extension allows you to resize/rotate images |
66 | from Caja (MATE file manager). | |
67 | ||
68 | Caja-Image-Converter is a fork of Nautilus-Image-Converter. | |
69 | ||
127716fc | 70 | %description -n caja-extension-image-converter -l pl.UTF-8 |
b9c8e2c2 JP |
71 | Rozszerzenie Caja-Image-Converter pozwala na zmianę rozmiaru i |
72 | obracanie rozmiarów obrazów z poziomu zarządców plików Caja, | |
73 | przeznaczonego dla środowiska MATE. | |
74 | ||
75 | Caja-Image-Converter to odgałęzienie rozszerzenia | |
76 | Nautilus-Image-Converter. | |
77 | ||
127716fc | 78 | %package -n caja-extension-open-terminal |
b9c8e2c2 JP |
79 | Summary: open-terminal extension for Caja (MATE file manager) |
80 | Summary(pl.UTF-8): Rozszerzenie open-terminal dla zarządcy plików Caja ze środowiska MATE | |
81 | Requires(post,postun): glib2 >= 1:2.14.0 | |
82 | Requires: %{name} = %{version}-%{release} | |
83 | Requires: mate-terminal | |
84 | Obsoletes: mate-file-manager-extension-open-terminal | |
85 | ||
127716fc | 86 | %description -n caja-extension-open-terminal |
b9c8e2c2 JP |
87 | This is a proof-of-concept Caja extension which allows you to open a |
88 | terminal in arbitrary local folders. | |
89 | ||
90 | This is a fork of nautilus-open-terminal extension. | |
91 | ||
127716fc | 92 | %description -n caja-extension-open-terminal -l pl.UTF-8 |
b9c8e2c2 JP |
93 | Rozszerzenie zarządcy plików Caja, pozwalające na otwieranie terminala |
94 | w dowolnych folderach lokalnych. | |
95 | ||
96 | Jest to odgałęzienie rozszerzenia nautilus-open-terminal. | |
97 | ||
127716fc | 98 | %package -n caja-extension-sendto |
b9c8e2c2 JP |
99 | Summary: Caja context menu for sending files |
100 | Summary(pl.UTF-8): Menu kontekstowe zarządcy plików Caja do wysyłania plików | |
101 | Requires(post,postun): glib2 >= 1:2.26.0 | |
102 | Requires: %{name} = %{version}-%{release} | |
712a9dc7 ER |
103 | Suggests: caja-extension-sendto-burn |
104 | Suggests: caja-extension-sendto-emailclient | |
105 | Suggests: caja-extension-sendto-gajim | |
106 | Suggests: caja-extension-sendto-pidgin | |
107 | Suggests: caja-extension-sendto-upnp | |
b9c8e2c2 JP |
108 | Suggests: engrampa |
109 | Obsoletes: mate-file-manager-sendto | |
110 | ||
127716fc | 111 | %description -n caja-extension-sendto |
b9c8e2c2 JP |
112 | Caja sendto provides a Caja context menu for sending files via other |
113 | desktop applications. It's a fork of nautilus-sendto from GNOME. | |
114 | ||
127716fc | 115 | %description -n caja-extension-sendto -l pl.UTF-8 |
b9c8e2c2 JP |
116 | Caja sendto dostarcza menu kontekstowe dla zarządcy plików Caja do |
117 | wysyłania plików poprzez inne aplikacje biurkowe. Jest to odgałęzienie | |
118 | programu nautilus-sendto z GNOME. | |
119 | ||
127716fc JP |
120 | %package -n caja-extension-sendto-burn |
121 | Summary: caja-extension-sendto CD/DVD Creator plugin | |
122 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla kreatora CD/DVD | |
b9c8e2c2 | 123 | Requires: brasero |
712a9dc7 | 124 | Requires: caja-extension-sendto = %{version}-%{release} |
b9c8e2c2 JP |
125 | Obsoletes: mate-file-manager-sendto-burn |
126 | ||
127716fc JP |
127 | %description -n caja-extension-sendto-burn |
128 | A caja-extension-sendto plugin for sending files to CD/DVD Creator | |
b9c8e2c2 JP |
129 | (Brasero). |
130 | ||
127716fc | 131 | %description -n caja-extension-sendto-burn -l pl.UTF-8 |
b9c8e2c2 JP |
132 | Wtyczka mate-file-manager-sendto do wysyłania plików do kreatora |
133 | CD/DVD (Brasero). | |
134 | ||
127716fc JP |
135 | %package -n caja-extension-sendto-emailclient |
136 | Summary: caja-extension-sendto e-mail client plugin | |
137 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla klienta poczty elektronicznej | |
660e092f | 138 | Requires: caja-extension-sendto = %{version}-%{release} |
b9c8e2c2 JP |
139 | Obsoletes: mate-file-manager-sendto-emailclient |
140 | ||
127716fc JP |
141 | %description -n caja-extension-sendto-emailclient |
142 | A caja-extension-sendto plugin for sending files via e-mail client. | |
b9c8e2c2 JP |
143 | Supported e-mail clients are: Evolution 2.0 through 3.0, Balsa, |
144 | Thunderbird/Icedove, Seamonkey/Iceape, Sylpheed/Claws Mail, Anjal. | |
145 | ||
127716fc JP |
146 | %description -n caja-extension-sendto-emailclient -l pl.UTF-8 |
147 | Wtyczka caja-extension-sendto do wysyłania plików poprzez klienta | |
b9c8e2c2 JP |
148 | poczty elektronicznej. Obsługiwane są: Evolution 2.0 do 3.0, Balsa, |
149 | Thunderbird/Icedove, Seamonkey/Iceape, Sylpheed/Claws Mail, Anjal. | |
150 | ||
127716fc JP |
151 | %package -n caja-extension-sendto-gajim |
152 | Summary: caja-extension-sendto Gajim plugin | |
153 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla Gajima | |
660e092f | 154 | Requires: caja-extension-sendto = %{version}-%{release} |
b9c8e2c2 JP |
155 | Requires: dbus >= 1.0.2 |
156 | Requires: gajim >= 0.10.1 | |
157 | Obsoletes: mate-file-manager-sendto-gajim | |
158 | ||
127716fc JP |
159 | %description -n caja-extension-sendto-gajim |
160 | A caja-extension-sendto plugin for sending files via Gajim. | |
b9c8e2c2 | 161 | |
127716fc | 162 | %description -n caja-extension-sendto-gajim -l pl.UTF-8 |
b9c8e2c2 JP |
163 | Wtyczka caja-extension-sentdo do wysyłania plików poprzez Gajima. |
164 | ||
127716fc JP |
165 | %package -n caja-extension-sendto-pidgin |
166 | Summary: caja-extension-sendto Pidgin plugin | |
167 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla Pidgina | |
660e092f | 168 | Requires: caja-extension-sendto = %{version}-%{release} |
b9c8e2c2 JP |
169 | Requires: pidgin >= 2.0 |
170 | Obsoletes: mate-file-manager-sendto-pidgin | |
171 | ||
127716fc JP |
172 | %description -n caja-extension-sendto-pidgin |
173 | A caja-extension-sendto plugin for sending files via Pidgin. | |
b9c8e2c2 | 174 | |
127716fc | 175 | %description -n caja-extension-sendto-pidgin -l pl.UTF-8 |
b9c8e2c2 JP |
176 | Wtyczka caja-extension-sentdo do wysyłania plików poprzez Pidgina. |
177 | ||
127716fc JP |
178 | %package -n caja-extension-sendto-upnp |
179 | Summary: caja-extension-sendto UPnP media server plugin | |
180 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla serwera multimediów UPnP | |
660e092f | 181 | Requires: caja-extension-sendto = %{version}-%{release} |
b9c8e2c2 JP |
182 | Requires: gupnp-tools |
183 | Obsoletes: mate-file-manager-sendto-upnp | |
184 | ||
127716fc | 185 | %description -n caja-extension-sendto-upnp |
712a9dc7 | 186 | A caja-extension-sendto plugin for sending files to UPnP media server. |
b9c8e2c2 | 187 | |
127716fc JP |
188 | %description -n caja-extension-sendto-upnp -l pl.UTF-8 |
189 | Wtyczka caja-extension-sendto do wysyłania plików do serwera | |
b9c8e2c2 JP |
190 | multimediów UPnP. |
191 | ||
127716fc | 192 | %package -n caja-extension-sendto-devel |
b9c8e2c2 JP |
193 | Summary: Header files for caja-sendto extensions |
194 | Summary(pl.UTF-8): Pliki nagłówkowe dla rozszerzeń caja-sendto | |
195 | Group: Development/Libraries | |
196 | # doesn't require base | |
197 | Requires: glib2-devel >= 1:2.26.0 | |
198 | Requires: gtk+2-devel >= 2:2.18 | |
199 | Obsoletes: mate-file-manager-sendto-devel | |
200 | ||
127716fc | 201 | %description -n caja-extension-sendto-devel |
b9c8e2c2 JP |
202 | Header files for caja-sendto extensions. |
203 | ||
127716fc | 204 | %description -n caja-extension-sendto-devel -l pl.UTF-8 |
b9c8e2c2 JP |
205 | Pliki nagłówkowe dla rozszerzeń caja-sendto. |
206 | ||
127716fc | 207 | %package -n caja-extension-sendto-apidocs |
b9c8e2c2 JP |
208 | Summary: caja-sendto API documentation |
209 | Summary(pl.UTF-8): Dokumentacja API caja-sendto | |
210 | Group: Documentation | |
211 | Requires: gtk-doc-common | |
212 | Obsoletes: mate-file-manager-sendto-apidocs | |
96f0700b ER |
213 | %if "%{_rpmversion}" >= "5" |
214 | BuildArch: noarch | |
215 | %endif | |
b9c8e2c2 | 216 | |
127716fc | 217 | %description -n caja-extension-sendto-apidocs |
b9c8e2c2 JP |
218 | caja-sendto API documentation. |
219 | ||
127716fc | 220 | %description -n caja-extension-sendto-apidocs -l pl.UTF-8 |
b9c8e2c2 JP |
221 | Dokumentacja API caja-sendto. |
222 | ||
127716fc | 223 | %package -n caja-extension-share |
b9c8e2c2 JP |
224 | Summary: Share extension for Caja (MATE file manager) |
225 | Summary(pl.UTF-8): Rozszerzenie share dla zarządcy plików Caja ze środowiska MATE | |
226 | Requires: %{name} = %{version}-%{release} | |
227 | Requires: samba-client | |
228 | Obsoletes: mate-file-manager-extension-share | |
229 | ||
127716fc | 230 | %description -n caja-extension-share |
b9c8e2c2 JP |
231 | mate-file-manager share extension allows you to quickly share a folder |
232 | from the MATE Caja file manager without requiring root access. It uses | |
233 | Samba, so your folders can be accessed by any operating system. | |
234 | ||
127716fc | 235 | %description -n caja-extension-share -l pl.UTF-8 |
b9c8e2c2 JP |
236 | Rozszerzenie share dla mate-file-managera pozwala szybko udostępnić |
237 | folder z poziomu zarządcy plików Caja (ze środowiska MATE) bez dostępu | |
238 | do uprawnień administratora. Wykorzystuje Sambę, więc foldery są | |
239 | dostępne z dowolnego systemu operacyjnego. | |
240 | ||
241 | ||
242 | %prep | |
243 | %setup -q | |
244 | ||
245 | %build | |
246 | %{__gtkdocize} | |
247 | %{__intltoolize} | |
248 | %{__libtoolize} | |
249 | %{__aclocal} | |
250 | %{__autoconf} | |
251 | %{__autoheader} | |
252 | %{__automake} | |
253 | %configure \ | |
254 | --disable-schemas-compile \ | |
255 | --disable-silent-rules \ | |
256 | --disable-static \ | |
257 | --enable-gtk-doc \ | |
258 | --enable-gksu \ | |
259 | --enable-image-converter \ | |
260 | --enable-open-terminal \ | |
261 | --enable-sendto \ | |
262 | --enable-share \ | |
263 | --with-html-dir=%{_gtkdocdir} | |
264 | ||
265 | %{__make} | |
266 | ||
267 | %install | |
268 | rm -rf $RPM_BUILD_ROOT | |
269 | ||
270 | %{__make} install \ | |
271 | DESTDIR=$RPM_BUILD_ROOT | |
272 | ||
273 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la | |
274 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja-sendto/plugins/*.la | |
275 | ||
276 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cmn | |
277 | ||
278 | # mate < 1.5 did not exist in PLD, avoid dependency on mate-conf | |
279 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/caja-open-terminal.convert | |
280 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/caja-sendto-convert | |
281 | ||
282 | %find_lang caja-extensions | |
283 | ||
284 | %clean | |
285 | rm -rf $RPM_BUILD_ROOT | |
286 | ||
127716fc | 287 | %post -n caja-extension-gksu |
b9c8e2c2 JP |
288 | %glib_compile_schemas |
289 | ||
127716fc | 290 | %postun -n caja-extension-gksu |
b9c8e2c2 JP |
291 | %glib_compile_schemas |
292 | ||
127716fc | 293 | %post -n caja-extension-open-terminal |
b9c8e2c2 JP |
294 | %glib_compile_schemas |
295 | ||
127716fc | 296 | %postun -n caja-extension-open-terminal |
b9c8e2c2 JP |
297 | %glib_compile_schemas |
298 | ||
127716fc | 299 | %post -n caja-extension-sendto |
b9c8e2c2 JP |
300 | %glib_compile_schemas |
301 | ||
127716fc | 302 | %postun -n caja-extension-sendto |
b9c8e2c2 JP |
303 | %glib_compile_schemas |
304 | ||
305 | %files -f caja-extensions.lang | |
306 | %defattr(644,root,root,755) | |
307 | %doc AUTHORS ChangeLog NEWS README | |
308 | %dir %{_datadir}/caja-extensions | |
309 | ||
127716fc | 310 | %files -n caja-extension-gksu |
b9c8e2c2 JP |
311 | %defattr(644,root,root,755) |
312 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-gksu.so | |
313 | ||
127716fc | 314 | %files -n caja-extension-image-converter |
b9c8e2c2 JP |
315 | %defattr(644,root,root,755) |
316 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-image-converter.so | |
317 | %{_datadir}/caja-extensions/caja-image-resize.ui | |
318 | %{_datadir}/caja-extensions/caja-image-rotate.ui | |
319 | ||
127716fc | 320 | %files -n caja-extension-open-terminal |
b9c8e2c2 JP |
321 | %defattr(644,root,root,755) |
322 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-open-terminal.so | |
323 | %{_datadir}/glib-2.0/schemas/org.mate.caja-open-terminal.gschema.xml | |
324 | ||
127716fc | 325 | %files -n caja-extension-sendto |
b9c8e2c2 JP |
326 | %defattr(644,root,root,755) |
327 | %attr(755,root,root) %{_bindir}/caja-sendto | |
328 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-sendto.so | |
329 | %dir %{_libdir}/caja-sendto | |
330 | %dir %{_libdir}/caja-sendto/plugins | |
331 | %attr(755,root,root) | |
332 | %{_libdir}/caja-sendto/plugins/libnstremovable_devices.so | |
333 | %{_datadir}/glib-2.0/schemas/org.mate.Caja.Sendto.gschema.xml | |
334 | %{_datadir}/caja-extensions/caja-sendto.ui | |
335 | %{_mandir}/man1/caja-sendto.1* | |
336 | ||
127716fc | 337 | %files -n caja-extension-sendto-burn |
b9c8e2c2 JP |
338 | %defattr(644,root,root,755) |
339 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstburn.so | |
340 | ||
127716fc | 341 | %files -n caja-extension-sendto-emailclient |
b9c8e2c2 JP |
342 | %defattr(644,root,root,755) |
343 | %attr(755,root,root) | |
344 | %{_libdir}/caja-sendto/plugins/libnstemailclient.so | |
345 | ||
127716fc | 346 | %files -n caja-extension-sendto-gajim |
b9c8e2c2 JP |
347 | %defattr(644,root,root,755) |
348 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstgajim.so | |
349 | ||
127716fc | 350 | %files -n caja-extension-sendto-pidgin |
b9c8e2c2 JP |
351 | %defattr(644,root,root,755) |
352 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstpidgin.so | |
353 | ||
127716fc | 354 | %files -n caja-extension-sendto-upnp |
b9c8e2c2 JP |
355 | %defattr(644,root,root,755) |
356 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstupnp.so | |
357 | ||
127716fc | 358 | %files -n caja-extension-sendto-devel |
b9c8e2c2 JP |
359 | %defattr(644,root,root,755) |
360 | %{_includedir}/caja-sendto | |
361 | %{_pkgconfigdir}/caja-sendto.pc | |
362 | ||
127716fc | 363 | %files -n caja-extension-sendto-apidocs |
b9c8e2c2 JP |
364 | %defattr(644,root,root,755) |
365 | %{_gtkdocdir}/caja-sendto | |
366 | ||
127716fc | 367 | %files -n caja-extension-share |
b9c8e2c2 JP |
368 | %defattr(644,root,root,755) |
369 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-share.so | |
370 | %{_datadir}/caja-extensions/share-dialog.ui |