]>
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 | |
5 | Release: 1 | |
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} | |
103 | Suggests: engrampa | |
104 | Obsoletes: mate-file-manager-sendto | |
105 | ||
127716fc | 106 | %description -n caja-extension-sendto |
b9c8e2c2 JP |
107 | Caja sendto provides a Caja context menu for sending files via other |
108 | desktop applications. It's a fork of nautilus-sendto from GNOME. | |
109 | ||
127716fc | 110 | %description -n caja-extension-sendto -l pl.UTF-8 |
b9c8e2c2 JP |
111 | Caja sendto dostarcza menu kontekstowe dla zarządcy plików Caja do |
112 | wysyłania plików poprzez inne aplikacje biurkowe. Jest to odgałęzienie | |
113 | programu nautilus-sendto z GNOME. | |
114 | ||
127716fc JP |
115 | %package -n caja-extension-sendto-burn |
116 | Summary: caja-extension-sendto CD/DVD Creator plugin | |
117 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla kreatora CD/DVD | |
b9c8e2c2 JP |
118 | Requires: %{name}-sendto = %{version}-%{release} |
119 | Requires: brasero | |
120 | Obsoletes: mate-file-manager-sendto-burn | |
121 | ||
127716fc JP |
122 | %description -n caja-extension-sendto-burn |
123 | A caja-extension-sendto plugin for sending files to CD/DVD Creator | |
b9c8e2c2 JP |
124 | (Brasero). |
125 | ||
127716fc | 126 | %description -n caja-extension-sendto-burn -l pl.UTF-8 |
b9c8e2c2 JP |
127 | Wtyczka mate-file-manager-sendto do wysyłania plików do kreatora |
128 | CD/DVD (Brasero). | |
129 | ||
127716fc JP |
130 | %package -n caja-extension-sendto-emailclient |
131 | Summary: caja-extension-sendto e-mail client plugin | |
132 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla klienta poczty elektronicznej | |
b9c8e2c2 JP |
133 | Requires: %{name}-sendto = %{version}-%{release} |
134 | Obsoletes: mate-file-manager-sendto-emailclient | |
135 | ||
127716fc JP |
136 | %description -n caja-extension-sendto-emailclient |
137 | A caja-extension-sendto plugin for sending files via e-mail client. | |
b9c8e2c2 JP |
138 | Supported e-mail clients are: Evolution 2.0 through 3.0, Balsa, |
139 | Thunderbird/Icedove, Seamonkey/Iceape, Sylpheed/Claws Mail, Anjal. | |
140 | ||
127716fc JP |
141 | %description -n caja-extension-sendto-emailclient -l pl.UTF-8 |
142 | Wtyczka caja-extension-sendto do wysyłania plików poprzez klienta | |
b9c8e2c2 JP |
143 | poczty elektronicznej. Obsługiwane są: Evolution 2.0 do 3.0, Balsa, |
144 | Thunderbird/Icedove, Seamonkey/Iceape, Sylpheed/Claws Mail, Anjal. | |
145 | ||
127716fc JP |
146 | %package -n caja-extension-sendto-gajim |
147 | Summary: caja-extension-sendto Gajim plugin | |
148 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla Gajima | |
b9c8e2c2 JP |
149 | Requires: %{name}-sendto = %{version}-%{release} |
150 | Requires: dbus >= 1.0.2 | |
151 | Requires: gajim >= 0.10.1 | |
152 | Obsoletes: mate-file-manager-sendto-gajim | |
153 | ||
127716fc JP |
154 | %description -n caja-extension-sendto-gajim |
155 | A caja-extension-sendto plugin for sending files via Gajim. | |
b9c8e2c2 | 156 | |
127716fc | 157 | %description -n caja-extension-sendto-gajim -l pl.UTF-8 |
b9c8e2c2 JP |
158 | Wtyczka caja-extension-sentdo do wysyłania plików poprzez Gajima. |
159 | ||
127716fc JP |
160 | %package -n caja-extension-sendto-pidgin |
161 | Summary: caja-extension-sendto Pidgin plugin | |
162 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla Pidgina | |
b9c8e2c2 JP |
163 | Requires: %{name}-sendto = %{version}-%{release} |
164 | Requires: pidgin >= 2.0 | |
165 | Obsoletes: mate-file-manager-sendto-pidgin | |
166 | ||
127716fc JP |
167 | %description -n caja-extension-sendto-pidgin |
168 | A caja-extension-sendto plugin for sending files via Pidgin. | |
b9c8e2c2 | 169 | |
127716fc | 170 | %description -n caja-extension-sendto-pidgin -l pl.UTF-8 |
b9c8e2c2 JP |
171 | Wtyczka caja-extension-sentdo do wysyłania plików poprzez Pidgina. |
172 | ||
127716fc JP |
173 | %package -n caja-extension-sendto-upnp |
174 | Summary: caja-extension-sendto UPnP media server plugin | |
175 | Summary(pl.UTF-8): Wtyczka caja-extension-sendto dla serwera multimediów UPnP | |
b9c8e2c2 JP |
176 | Requires: %{name}-sendto = %{version}-%{release} |
177 | Requires: gupnp-tools | |
178 | Obsoletes: mate-file-manager-sendto-upnp | |
179 | ||
127716fc JP |
180 | %description -n caja-extension-sendto-upnp |
181 | A caja-extension-sendto plugin for sending files to UPnP media | |
b9c8e2c2 JP |
182 | server. |
183 | ||
127716fc JP |
184 | %description -n caja-extension-sendto-upnp -l pl.UTF-8 |
185 | Wtyczka caja-extension-sendto do wysyłania plików do serwera | |
b9c8e2c2 JP |
186 | multimediów UPnP. |
187 | ||
127716fc | 188 | %package -n caja-extension-sendto-devel |
b9c8e2c2 JP |
189 | Summary: Header files for caja-sendto extensions |
190 | Summary(pl.UTF-8): Pliki nagłówkowe dla rozszerzeń caja-sendto | |
191 | Group: Development/Libraries | |
192 | # doesn't require base | |
193 | Requires: glib2-devel >= 1:2.26.0 | |
194 | Requires: gtk+2-devel >= 2:2.18 | |
195 | Obsoletes: mate-file-manager-sendto-devel | |
196 | ||
127716fc | 197 | %description -n caja-extension-sendto-devel |
b9c8e2c2 JP |
198 | Header files for caja-sendto extensions. |
199 | ||
127716fc | 200 | %description -n caja-extension-sendto-devel -l pl.UTF-8 |
b9c8e2c2 JP |
201 | Pliki nagłówkowe dla rozszerzeń caja-sendto. |
202 | ||
127716fc | 203 | %package -n caja-extension-sendto-apidocs |
b9c8e2c2 JP |
204 | Summary: caja-sendto API documentation |
205 | Summary(pl.UTF-8): Dokumentacja API caja-sendto | |
206 | Group: Documentation | |
207 | Requires: gtk-doc-common | |
208 | Obsoletes: mate-file-manager-sendto-apidocs | |
209 | ||
127716fc | 210 | %description -n caja-extension-sendto-apidocs |
b9c8e2c2 JP |
211 | caja-sendto API documentation. |
212 | ||
127716fc | 213 | %description -n caja-extension-sendto-apidocs -l pl.UTF-8 |
b9c8e2c2 JP |
214 | Dokumentacja API caja-sendto. |
215 | ||
127716fc | 216 | %package -n caja-extension-share |
b9c8e2c2 JP |
217 | Summary: Share extension for Caja (MATE file manager) |
218 | Summary(pl.UTF-8): Rozszerzenie share dla zarządcy plików Caja ze środowiska MATE | |
219 | Requires: %{name} = %{version}-%{release} | |
220 | Requires: samba-client | |
221 | Obsoletes: mate-file-manager-extension-share | |
222 | ||
127716fc | 223 | %description -n caja-extension-share |
b9c8e2c2 JP |
224 | mate-file-manager share extension allows you to quickly share a folder |
225 | from the MATE Caja file manager without requiring root access. It uses | |
226 | Samba, so your folders can be accessed by any operating system. | |
227 | ||
127716fc | 228 | %description -n caja-extension-share -l pl.UTF-8 |
b9c8e2c2 JP |
229 | Rozszerzenie share dla mate-file-managera pozwala szybko udostępnić |
230 | folder z poziomu zarządcy plików Caja (ze środowiska MATE) bez dostępu | |
231 | do uprawnień administratora. Wykorzystuje Sambę, więc foldery są | |
232 | dostępne z dowolnego systemu operacyjnego. | |
233 | ||
234 | ||
235 | %prep | |
236 | %setup -q | |
237 | ||
238 | %build | |
239 | %{__gtkdocize} | |
240 | %{__intltoolize} | |
241 | %{__libtoolize} | |
242 | %{__aclocal} | |
243 | %{__autoconf} | |
244 | %{__autoheader} | |
245 | %{__automake} | |
246 | %configure \ | |
247 | --disable-schemas-compile \ | |
248 | --disable-silent-rules \ | |
249 | --disable-static \ | |
250 | --enable-gtk-doc \ | |
251 | --enable-gksu \ | |
252 | --enable-image-converter \ | |
253 | --enable-open-terminal \ | |
254 | --enable-sendto \ | |
255 | --enable-share \ | |
256 | --with-html-dir=%{_gtkdocdir} | |
257 | ||
258 | %{__make} | |
259 | ||
260 | %install | |
261 | rm -rf $RPM_BUILD_ROOT | |
262 | ||
263 | %{__make} install \ | |
264 | DESTDIR=$RPM_BUILD_ROOT | |
265 | ||
266 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la | |
267 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/caja-sendto/plugins/*.la | |
268 | ||
269 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cmn | |
270 | ||
271 | # mate < 1.5 did not exist in PLD, avoid dependency on mate-conf | |
272 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/caja-open-terminal.convert | |
273 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/caja-sendto-convert | |
274 | ||
275 | %find_lang caja-extensions | |
276 | ||
277 | %clean | |
278 | rm -rf $RPM_BUILD_ROOT | |
279 | ||
127716fc | 280 | %post -n caja-extension-gksu |
b9c8e2c2 JP |
281 | %glib_compile_schemas |
282 | ||
127716fc | 283 | %postun -n caja-extension-gksu |
b9c8e2c2 JP |
284 | %glib_compile_schemas |
285 | ||
127716fc | 286 | %post -n caja-extension-open-terminal |
b9c8e2c2 JP |
287 | %glib_compile_schemas |
288 | ||
127716fc | 289 | %postun -n caja-extension-open-terminal |
b9c8e2c2 JP |
290 | %glib_compile_schemas |
291 | ||
127716fc | 292 | %post -n caja-extension-sendto |
b9c8e2c2 JP |
293 | %glib_compile_schemas |
294 | ||
127716fc | 295 | %postun -n caja-extension-sendto |
b9c8e2c2 JP |
296 | %glib_compile_schemas |
297 | ||
298 | %files -f caja-extensions.lang | |
299 | %defattr(644,root,root,755) | |
300 | %doc AUTHORS ChangeLog NEWS README | |
301 | %dir %{_datadir}/caja-extensions | |
302 | ||
127716fc | 303 | %files -n caja-extension-gksu |
b9c8e2c2 JP |
304 | %defattr(644,root,root,755) |
305 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-gksu.so | |
306 | ||
127716fc | 307 | %files -n caja-extension-image-converter |
b9c8e2c2 JP |
308 | %defattr(644,root,root,755) |
309 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-image-converter.so | |
310 | %{_datadir}/caja-extensions/caja-image-resize.ui | |
311 | %{_datadir}/caja-extensions/caja-image-rotate.ui | |
312 | ||
127716fc | 313 | %files -n caja-extension-open-terminal |
b9c8e2c2 JP |
314 | %defattr(644,root,root,755) |
315 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-open-terminal.so | |
316 | %{_datadir}/glib-2.0/schemas/org.mate.caja-open-terminal.gschema.xml | |
317 | ||
127716fc | 318 | %files -n caja-extension-sendto |
b9c8e2c2 JP |
319 | %defattr(644,root,root,755) |
320 | %attr(755,root,root) %{_bindir}/caja-sendto | |
321 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-sendto.so | |
322 | %dir %{_libdir}/caja-sendto | |
323 | %dir %{_libdir}/caja-sendto/plugins | |
324 | %attr(755,root,root) | |
325 | %{_libdir}/caja-sendto/plugins/libnstremovable_devices.so | |
326 | %{_datadir}/glib-2.0/schemas/org.mate.Caja.Sendto.gschema.xml | |
327 | %{_datadir}/caja-extensions/caja-sendto.ui | |
328 | %{_mandir}/man1/caja-sendto.1* | |
329 | ||
127716fc | 330 | %files -n caja-extension-sendto-burn |
b9c8e2c2 JP |
331 | %defattr(644,root,root,755) |
332 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstburn.so | |
333 | ||
127716fc | 334 | %files -n caja-extension-sendto-emailclient |
b9c8e2c2 JP |
335 | %defattr(644,root,root,755) |
336 | %attr(755,root,root) | |
337 | %{_libdir}/caja-sendto/plugins/libnstemailclient.so | |
338 | ||
127716fc | 339 | %files -n caja-extension-sendto-gajim |
b9c8e2c2 JP |
340 | %defattr(644,root,root,755) |
341 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstgajim.so | |
342 | ||
127716fc | 343 | %files -n caja-extension-sendto-pidgin |
b9c8e2c2 JP |
344 | %defattr(644,root,root,755) |
345 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstpidgin.so | |
346 | ||
127716fc | 347 | %files -n caja-extension-sendto-upnp |
b9c8e2c2 JP |
348 | %defattr(644,root,root,755) |
349 | %attr(755,root,root) %{_libdir}/caja-sendto/plugins/libnstupnp.so | |
350 | ||
127716fc | 351 | %files -n caja-extension-sendto-devel |
b9c8e2c2 JP |
352 | %defattr(644,root,root,755) |
353 | %{_includedir}/caja-sendto | |
354 | %{_pkgconfigdir}/caja-sendto.pc | |
355 | ||
127716fc | 356 | %files -n caja-extension-sendto-apidocs |
b9c8e2c2 JP |
357 | %defattr(644,root,root,755) |
358 | %{_gtkdocdir}/caja-sendto | |
359 | ||
127716fc | 360 | %files -n caja-extension-share |
b9c8e2c2 JP |
361 | %defattr(644,root,root,755) |
362 | %attr(755,root,root) %{_libdir}/caja/extensions-2.0/libcaja-share.so | |
363 | %{_datadir}/caja-extensions/share-dialog.ui |