3 %bcond_without gtk3 # GTK+ 3.x based packages too
4 %bcond_without doc # don't build ri/rdoc
5 %bcond_with gtksourceview3 # GKTSourceView 3.x binding
6 %bcond_with vte3 # VTE 3.x binding
11 Summary: GNOME 2 libraries for Ruby
12 Summary(pl.UTF-8): Biblioteki GNOME 2 dla języka Ruby
17 Group: Development/Languages
18 Source0: http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz
19 # Source0-md5: f714b70ebb1093a540ff4bfe6c105c66
20 URL: http://ruby-gnome2.sourceforge.jp/
21 BuildRequires: atk-devel >= 1:1.12.0
22 BuildRequires: cairo-devel >= 1.10.0
23 BuildRequires: cairo-gobject-devel >= 1.12.10
24 BuildRequires: gdk-pixbuf2-devel >= 2
25 BuildRequires: glib2-devel >= 1:2.16.0
26 BuildRequires: gobject-introspection-devel >= 1.35.4
27 BuildRequires: gstreamer-devel >= 0.10.35
28 BuildRequires: gtk+2-devel >= 2:2.12.0
29 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.2}
30 BuildRequires: gtksourceview2-devel >= 2
31 BuildRequires: librsvg-devel >= 2.8
32 BuildRequires: pango-devel >= 1:1.14.0
33 BuildRequires: pkgconfig
34 BuildRequires: poppler-glib-devel >= 0.12.0
35 BuildRequires: rpm-rubyprov
36 BuildRequires: rpmbuild(macros) >= 1.277
37 BuildRequires: ruby-devel >= 1.9
38 %{?with_gtk3:BuildRequires: ruby-devel >= 1.9.2}
39 BuildRequires: ruby-pkg-config
40 BuildRequires: ruby-rcairo-devel
41 BuildRequires: ruby-rubygems
42 BuildRequires: sed >= 4.0
43 BuildRequires: vte0-devel >= 0.12.1
44 %{?with_vte3:BuildRequires: vte2.90-devel >= 0.32.2}
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 GNOME 2 libraries for Ruby.
50 %description -l pl.UTF-8
51 Biblioteki GNOME 2 dla języka Ruby.
53 %package -n ruby-glib2
54 Summary: Ruby/Glib2 - Ruby binding of GLib 2.x
55 Summary(pl.UTF-8): Ruby/Glib2 - wiązanie języka Ruby do biblioteki GLib 2.x
56 Group: Development/Languages
57 Requires: glib2 >= 1:2.16.0
59 Obsoletes: ruby-gnome2
60 Obsoletes: ruby-goocanvas < 2.2.1
62 %description -n ruby-glib2
63 Ruby/Glib2 is a Ruby binding of GLib 2.x.
65 %description -n ruby-glib2 -l pl.UTF-8
66 Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x.
68 %package -n ruby-glib2-devel
69 Summary: Header files for Ruby/GLib2 library
70 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GLib2
71 Group: Development/Libraries
72 Requires: glib2-devel >= 1:2.16.0
73 Requires: ruby-devel >= 1.9
74 Requires: ruby-glib2 = %{version}-%{release}
75 Obsoletes: ruby-gnome2-devel
76 Obsoletes: ruby-goocanvas-devel < 2.2.1
78 %description -n ruby-glib2-devel
79 Header files for Ruby/GLib2 library.
81 %description -n ruby-glib2-devel -l pl.UTF-8
82 Pliki nagłówkowe biblioteki Ruby/GLib2.
84 %package -n ruby-gobject-introspection
85 Summary: Ruby/GObjectIntrospection - Ruby binding of GObject Introspection
86 Summary(pl.UTF-8): Ruby/GObjectIntrospection - wiązania języka Ruby do biblioteki GObject Introspection
87 Group: Development/Languages
88 Requires: gobject-introspection >= 1.35.4
89 Requires: ruby-glib2 = %{version}-%{release}
91 %description -n ruby-gobject-introspection
92 Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
94 %description -n ruby-gobject-introspection -l pl.UTF-8
95 Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
96 GObject Introspection.
98 %package -n ruby-gobject-introspection-devel
99 Summary: Header files for Ruby/GObjectIntrospection library
100 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection
101 Group: Development/Languages
102 Requires: ruby-glib2-devel = %{version}-%{release}
103 Requires: ruby-gobject-introspection = %{version}-%{release}
105 %description -n ruby-gobject-introspection-devel
106 Header files for Ruby/GObjectIntrospection library.
108 %description -n ruby-gobject-introspection-devel -l pl.UTF-8
109 Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection.
111 %package -n ruby-gio2
112 Summary: Ruby/GIO2 - Ruby binding of GIO 2.x library
113 Summary(pl.UTF-8): Ruby/GIO2 - wiązanie języka Ruby do biblioteki GIO 2.x
114 Group: Development/Languages
115 Requires: glib2 >= 1:2.16.0
116 Requires: ruby-gobject-introspection = %{version}-%{release}
118 %description -n ruby-gio2
119 Ruby/GIO2 is a Ruby binding of GIO 2.x library.
121 %description -n ruby-gio2 -l pl.UTF-8
122 Ruby/GIO2 to wiązanie języka Ruby do biblioteki GIO 2.x.
125 Summary: Ruby/ATK - Ruby binding of ATK
126 Summary(pl.UTF-8): Ruby/ATK - wiązanie języka Ruby do biblioteki ATK
127 Group: Development/Languages
128 Requires: atk >= 1:1.12.0
129 Requires: ruby-glib2 = %{version}-%{release}
131 %description -n ruby-atk
132 Ruby/ATK is a Ruby binding of ATK.
134 %description -n ruby-atk -l pl.UTF-8
135 Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
137 %package -n ruby-atk-devel
138 Summary: Header files for Ruby/ATK library
139 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/ATK
140 Group: Development/Libraries
141 Requires: atk-devel >= 1:1.12.0
142 Requires: ruby-atk = %{version}-%{release}
143 Requires: ruby-glib2-devel = %{version}-%{release}
145 %description -n ruby-atk-devel
146 Header files for Ruby/ATK library.
148 %description -n ruby-atk-devel -l pl.UTF-8
149 Pliki nagłówkowe biblioteki Ruby/ATK.
151 %package -n ruby-cairo-gobject
152 Summary: Ruby/CairoGObject - Ruby binding of cairo-gobject library
153 Summary(pl.UTF-8): Ruby/CairoGObject - wiązania języka Ruby do biblioteki cairo-gobject
154 Group: Development/Languages
155 Requires: cairo-gobject >= 1.12.10
156 Requires: ruby-glib2 = %{version}-%{release}
157 Requires: ruby-rcairo
159 %description -n ruby-cairo-gobject
160 Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
162 %description -n ruby-cairo-gobject -l pl.UTF-8
163 Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
165 %package -n ruby-pango
166 Summary: Ruby/Pango - Ruby binding of pango 1.x
167 Summary(pl.UTF-8): Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x
168 Group: Development/Languages
169 Requires: cairo >= 1.10.0
170 Requires: pango >= 1:1.14.0
171 Requires: ruby-glib2 = %{version}-%{release}
172 Requires: ruby-rcairo
174 %description -n ruby-pango
175 Ruby/Pango is a Ruby binding of pango 1.x.
177 %description -n ruby-pango -l pl.UTF-8
178 Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
180 %package -n ruby-pango-devel
181 Summary: Header files for Ruby/Pango library
182 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Pango
183 Group: Development/Libraries
184 Requires: cairo-devel >= 1.10.0
185 Requires: pango-devel >= 1:1.14.0
186 Requires: ruby-glib2-devel = %{version}-%{release}
187 Requires: ruby-pango = %{version}-%{release}
189 %description -n ruby-pango-devel
190 Header files for Ruby/Pango library.
192 %description -n ruby-pango-devel -l pl.UTF-8
193 Pliki nagłówkowe biblioteki Ruby/Pango.
195 %package -n ruby-gdk_pixbuf2
196 Summary: Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x
197 Summary(pl.UTF-8): Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x
198 Group: Development/Languages
199 Requires: gdk-pixbuf2 >= 2
200 Requires: ruby-glib2 = %{version}-%{release}
202 %description -n ruby-gdk_pixbuf2
203 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
205 %description -n ruby-gdk_pixbuf2 -l pl.UTF-8
206 Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
208 %package -n ruby-gdk_pixbuf2-devel
209 Summary: Header files for Ruby/GdkPixbuf2 library
210 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2
211 Group: Development/Libraries
212 Requires: gdk-pixbuf2-devel >= 2
213 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
214 Requires: ruby-glib2-devel = %{version}-%{release}
216 %description -n ruby-gdk_pixbuf2-devel
217 Header files for Ruby/GdkPixbuf2 library.
219 %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
220 Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
222 %package -n ruby-gtk2
223 Summary: Ruby/GTK2 - Ruby binding of GTK+ 2.x
224 Summary(pl.UTF-8): Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x
225 Group: Development/Languages
226 Requires: gtk+2 >= 2:2.12.0
227 Requires: ruby-atk = %{version}-%{release}
228 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
229 Requires: ruby-glib2 = %{version}-%{release}
230 Requires: ruby-pango = %{version}-%{release}
232 %description -n ruby-gtk2
233 Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
235 %description -n ruby-gtk2 -l pl.UTF-8
236 Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
238 %package -n ruby-gtk2-devel
239 Summary: Header files for Ruby/GTK2 library
240 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK2
241 Group: Development/Libraries
242 Requires: gtk+2-devel >= 2:2.12.0
243 Requires: ruby-atk-devel = %{version}-%{release}
244 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
245 Requires: ruby-glib2-devel = %{version}-%{release}
246 Requires: ruby-gtk2 = %{version}-%{release}
247 Requires: ruby-pango-devel = %{version}-%{release}
249 %description -n ruby-gtk2-devel
250 Header files for Ruby/GTK2 library.
252 %description -n ruby-gtk2-devel -l pl.UTF-8
253 Pliki nagłówkowe biblioteki Ruby/GTK2.
255 %package -n ruby-clutter
256 Summary: Ruby/Clutter - Ruby binding of Clutter library
257 Summary(pl.UTF-8): Ruby/Clutter - wiązanie języka Ruby do biblioteki Clutter
258 Group: Development/Languages
259 Requires: clutter >= 1.16.4
260 Requires: ruby-cairo-gobject = %{version}-%{release}
261 Requires: ruby-gobject-introspection = %{version}-%{release}
263 %description -n ruby-clutter
264 Ruby/Clutter is a Ruby binding of Clutter library.
266 %description -n ruby-clutter -l pl.UTF-8
267 Ruby/Clutter to wiązanie języka Ruby do biblioteki Clutter.
269 %package -n ruby-clutter-gstreamer
270 Summary: Ruby/ClutterGStreamer - Ruby binding of Clutter-GStreamer library
271 Summary(pl.UTF-8): Ruby/ClutterGStreamer - wiązanie języka Ruby do biblioteki Clutter-GStreamer
272 Group: Development/Languages
273 Requires: clutter-gst >= 2.0.10
274 Requires: ruby-clutter = %{version}-%{release}
275 Requires: ruby-gstreamer = %{version}-%{release}
277 %description -n ruby-clutter-gstreamer
278 Ruby/ClutterGStreamer is a Ruby binding of Clutter-GStreamer library.
280 %description -n ruby-clutter-gstreamer -l pl.UTF-8
281 Ruby/ClutterGStreamer to wiązanie języka Ruby do biblioteki
284 %package -n ruby-gstreamer
285 Summary: Ruby/GStreamer - Ruby binding of GStreamer
286 Summary(pl.UTF-8): Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer
287 Group: Development/Languages
288 Requires: gstreamer >= 0.10.35
289 Requires: gstreamer-plugins-base >= 0.10.35
290 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
291 Requires: ruby-glib2 = %{version}-%{release}
292 Requires: ruby-pango = %{version}-%{release}
294 %description -n ruby-gstreamer
295 Ruby/GStreamer is a Ruby binding of GStreamer.
297 %description -n ruby-gstreamer -l pl.UTF-8
298 Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
300 %package -n ruby-gstreamer-devel
301 Summary: Header files for Ruby/GStreamer library
302 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GStreamer
303 Group: Development/Libraries
304 Requires: gstreamer-devel >= 0.10.35
305 Requires: gstreamer-plugins-base-devel >= 0.10.35
306 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
307 Requires: ruby-glib2-devel = %{version}-%{release}
308 Requires: ruby-pango-devel = %{version}-%{release}
310 %description -n ruby-gstreamer-devel
311 Header files for Ruby/GStreamer library.
313 %description -n ruby-gstreamer-devel -l pl.UTF-8
314 Pliki nagłówkowe biblioteki Ruby/GStreamer.
316 %package -n ruby-gtksourceview2
317 Summary: Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x
318 Summary(pl.UTF-8): Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x
319 Group: Development/Languages
320 Requires: gtksourceview2 >= 2.0.0
321 Requires: ruby-gtk2 = %{version}-%{release}
323 %description -n ruby-gtksourceview2
324 Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
326 %description -n ruby-gtksourceview2 -l pl.UTF-8
327 Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
330 %package -n ruby-gtksourceview2-devel
331 Summary: Header files for Ruby/GtkSourceView2 library
332 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView2
333 Group: Development/Libraries
334 Requires: gtksourceview2-devel >= 2.0.0
335 Requires: ruby-gtk2-devel = %{version}-%{release}
336 Requires: ruby-gtksourceview2 = %{version}-%{release}
338 %description -n ruby-gtksourceview2-devel
339 Header files for Ruby/GtkSourceView2 library.
341 %description -n ruby-gtksourceview2-devel -l pl.UTF-8
342 Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
344 %package -n ruby-poppler
345 Summary: Ruby/Poppler - Ruby binding of poppler-glib
346 Summary(pl.UTF-8): Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib
347 Group: Development/Languages
348 Requires: poppler-glib >= 0.12.0
349 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
350 Requires: ruby-glib2 = %{version}-%{release}
351 Requires: ruby-gtk2 = %{version}-%{release}
353 %description -n ruby-poppler
354 Ruby/Poppler is a Ruby binding of poppler-glib.
356 %description -n ruby-poppler -l pl.UTF-8
357 Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
359 %package -n ruby-poppler-devel
360 Summary: Header files for Ruby/Poppler library
361 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Poppler
362 Group: Development/Libraries
363 Requires: poppler-glib-devel >= 0.12.0
364 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
365 Requires: ruby-glib2-devel = %{version}-%{release}
366 Requires: ruby-gtk2-devel = %{version}-%{release}
368 %description -n ruby-poppler-devel
369 Header files for Ruby/Poppler library.
371 %description -n ruby-poppler-devel -l pl.UTF-8
372 Pliki nagłówkowe biblioteki Ruby/Poppler.
374 %package -n ruby-rsvg2
375 Summary: Ruby/RSVG - Ruby binding of librsvg
376 Summary(pl.UTF-8): Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg
377 Group: Development/Languages
378 Requires: librsvg >= 2.8
379 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
380 Requires: ruby-glib2 = %{version}-%{release}
381 Requires: ruby-rcairo
383 %description -n ruby-rsvg2
384 Ruby/RSVG is a Ruby binding of librsvg.
386 %description -n ruby-rsvg2 -l pl.UTF-8
387 Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
389 %package -n ruby-rsvg2-devel
390 Summary: Header files for Ruby/RSVG library
391 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/RSVG
392 Group: Development/Libraries
393 Requires: librsvg-devel >= 2.8
394 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
395 Requires: ruby-glib2-devel = %{version}-%{release}
397 %description -n ruby-rsvg2-devel
398 Header files for Ruby/RSVG library.
400 %description -n ruby-rsvg2-devel -l pl.UTF-8
401 Pliki nagłówkowe biblioteki Ruby/RSVG.
404 Summary: Ruby/VTE - Ruby binding of VTE
405 Summary(pl.UTF-8): Ruby/VTE - wiązanie języka Ruby do biblioteki VTE
406 Group: Development/Languages
407 Requires: ruby-gtk2 = %{version}-%{release}
408 Requires: vte0 >= 0.12.1
410 %description -n ruby-vte
411 Ruby/VTE is a Ruby binding of VTE.
413 %description -n ruby-vte -l pl.UTF-8
414 Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
416 %package -n ruby-vte-devel
417 Summary: Header files for Ruby/VTE library
418 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE
419 Group: Development/Libraries
420 Requires: ruby-gtk2-devel = %{version}-%{release}
421 Requires: ruby-vte = %{version}-%{release}
422 Requires: vte0-devel >= 0.12.1
424 %description -n ruby-vte-devel
425 Header files for Ruby/VTE library.
427 %description -n ruby-vte-devel -l pl.UTF-8
428 Pliki nagłówkowe biblioteki Ruby/VTE.
430 %package -n ruby-webkit-gtk2
431 Summary: Ruby/WebKitGTK2 - Ruby binding of WebKitGTK+ (GTK+ 2.x based) library
432 Summary(pl.UTF-8): Ruby/WebKitGTK2 - wiązanie języka Ruby do biblioteki WebKitGTK+ (dla GTK+ 2.x)
433 Group: Development/Languages
434 Requires: gtk-webkit >= 2.2.3
435 Requires: ruby-gobject-introspection = %{version}-%{release}
436 Requires: ruby-gtk2 = %{version}-%{release}
438 %description -n ruby-webkit-gtk2
439 Ruby/WebKitGTK2 is a Ruby binding of WebKitGTK+ library (based on GTK+
442 %description -n ruby-webkit-gtk2 -l pl.UTF-8
443 Ruby/WebKitGTK2 to wiązanie języka Ruby do biblioteki WebKitGTK+
444 (opartej na GTK+ 2.x).
446 %package -n ruby-gtk3
447 Summary: Ruby/GTK3 - Ruby binding of GTK+ 3.x
448 Summary(pl.UTF-8): Ruby/GTK3 - wiązanie języka Ruby do bibliotek GTK+ 3.x
449 Group: Development/Languages
450 Requires: gtk+3 >= 3.4.2
451 Requires: ruby >= 1.9.2
452 Requires: ruby-atk = %{version}-%{release}
453 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
454 Requires: ruby-glib2 = %{version}-%{release}
455 Requires: ruby-pango = %{version}-%{release}
457 %description -n ruby-gtk3
458 Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
460 %description -n ruby-gtk3 -l pl.UTF-8
461 Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
463 %package -n ruby-gtk3-devel
464 Summary: Header files for Ruby/GTK3 library
465 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK3
466 Group: Development/Libraries
467 Requires: gtk+3-devel >= 3.4.2
468 Requires: ruby-atk-devel = %{version}-%{release}
469 Requires: ruby-devel >= 1.9.2
470 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
471 Requires: ruby-glib2-devel = %{version}-%{release}
472 Requires: ruby-gtk3 = %{version}-%{release}
473 Requires: ruby-pango-devel = %{version}-%{release}
475 %description -n ruby-gtk3-devel
476 Header files for Ruby/GTK3 library.
478 %description -n ruby-gtk3-devel -l pl.UTF-8
479 Pliki nagłówkowe biblioteki Ruby/GTK3.
481 %package -n ruby-clutter-gtk
482 Summary: Ruby/ClutterGTK - Ruby binding of Clutter-GTK library
483 Summary(pl.UTF-8): Ruby/ClutterGTK - wiązanie języka Ruby do biblioteki Clutter-GTK
484 Group: Development/Languages
485 Requires: clutter-gtk >= 1.4.4
486 Requires: ruby-clutter = %{version}-%{release}
487 Requires: ruby-gtk3 = %{version}-%{release}
489 %description -n ruby-clutter-gtk
490 Ruby/ClutterGTK is a Ruby binding of Clutter-GTK library.
492 %description -n ruby-clutter-gtk -l pl.UTF-8
493 Ruby/ClutterGTK to wiązanie języka Ruby do biblioteki Clutter-GTK.
495 %package -n ruby-gtksourceview3
496 Summary: Ruby/GtkSourceView3 - Ruby binding of gtksourceview 3.x
497 Summary(pl.UTF-8): Ruby/GtkSourceView3 - wiązanie języka Ruby do biblioteki gtksourceview 3.x
498 Group: Development/Languages
499 Requires: gtksourceview3 >= 3.4.2
500 Requires: ruby-gtk3 = %{version}-%{release}
502 %description -n ruby-gtksourceview3
503 Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
505 %description -n ruby-gtksourceview3 -l pl.UTF-8
506 Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
509 %package -n ruby-gtksourceview3-devel
510 Summary: Header files for Ruby/GtkSourceView3 library
511 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView3
512 Group: Development/Libraries
513 Requires: gtksourceview3-devel >= 3.4.2
514 Requires: ruby-gtk3-devel = %{version}-%{release}
515 Requires: ruby-gtksourceview3 = %{version}-%{release}
517 %description -n ruby-gtksourceview3-devel
518 Header files for Ruby/GtkSourceView3 library.
520 %description -n ruby-gtksourceview3-devel -l pl.UTF-8
521 Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
523 %package -n ruby-vte3
524 Summary: Ruby/VTE3 - Ruby binding of VTE on GTK+ 3.x
525 Summary(pl.UTF-8): Ruby/VTE3 - wiązanie języka Ruby do biblioteki VTE na GTK+ 3.x
526 Group: Development/Languages
527 Requires: ruby-gtk3 = %{version}-%{release}
528 Requires: vte >= 0.32.2
530 %description -n ruby-vte3
531 Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
533 %description -n ruby-vte3 -l pl.UTF-8
534 Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
537 %package -n ruby-vte3-devel
538 Summary: Header files for Ruby/VTE3 library
539 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE3
540 Group: Development/Libraries
541 Requires: ruby-gtk3-devel = %{version}-%{release}
542 Requires: ruby-vte3 = %{version}-%{release}
543 Requires: vte-devel >= 0.32.2
545 %description -n ruby-vte3-devel
546 Header files for Ruby/VTE3 library.
548 %description -n ruby-vte3-devel -l pl.UTF-8
549 Pliki nagłówkowe biblioteki Ruby/VTE3.
551 %package -n ruby-webkit-gtk
552 Summary: Ruby/WebKitGTK - Ruby binding of WebKitGTK+ (GTK+ 3.x based) library
553 Summary(pl.UTF-8): Ruby/WebKitGTK - wiązanie języka Ruby do biblioteki WebKitGTK+ (dla GTK+ 3.x)
554 Group: Development/Languages
555 Requires: gtk-webkit3 >= 2.2.3
556 Requires: ruby-gobject-introspection = %{version}-%{release}
557 Requires: ruby-gtk3 = %{version}-%{release}
559 %description -n ruby-webkit-gtk
560 Ruby/WebKitGTK is a Ruby binding of WebKitGTK+ library (based on GTK+
563 %description -n ruby-webkit-gtk -l pl.UTF-8
564 Ruby/WebKitGTK to wiązanie języka Ruby do biblioteki WebKitGTK+
565 (opartej na GTK+ 3.x).
568 Summary: Ruby-GNOME2 ri documentation
569 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie ri
574 Ruby-GNOME2 ri documentation.
576 %description doc-ri -l pl.UTF-8
577 Dokumentacja dla Ruby-GNOME2 w formacie ri.
580 Summary: Ruby-GNOME2 HTML documentation
581 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie HTML
584 %description doc-html
585 Ruby-GNOME2 HTML documentation.
587 %description doc-html -l pl.UTF-8
588 Dokumentacja dla Ruby-GNOME2 w formacie HTML.
591 Summary: Ruby-GNOME2 examples
592 Summary(pl.UTF-8): Przykłady do Ruby-GNOME2
593 Group: Development/Libraries
595 %description examples
596 Ruby-GNOME2 examples.
598 %description examples -l pl.UTF-8
599 Przykłady do Ruby-GNOME2.
602 %setup -q -n %{name}-all-%{version}
603 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
605 cp -p glib2/README.md README.glib2.md
606 cp -p glib2/TODO TODO.glib2
607 cp -p gdk3/README.md README.gdk3.md
608 cp -p gtk3/README.md README.gtk3.md
611 # echo */extconf.rb | xargs -l1 dirname
621 gobject-introspection
644 --enable-glib-experimental \
649 exclude="-x \.(so|o|gif|png|jpg|ri|xpm|pdf|gresource)$ -x rdoc -x ri -x test"
651 rdoc -o rdoc $exclude
652 rdoc --ri -o ri $exclude
653 rm ri/{cache.ri,created.rid}
657 rm -rf $RPM_BUILD_ROOT
658 install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir}} \
659 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
662 DESTDIR=$RPM_BUILD_ROOT \
663 RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
664 sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \
665 pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \
666 RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
668 # omitted by make install
669 cp -pr clutter/lib/{clutter,clutter.rb} $RPM_BUILD_ROOT%{ruby_rubylibdir}
670 cp -p clutter-gstreamer/lib/clutter-gst.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
671 cp -p webkit-gtk2/lib/webkit-gtk2.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
673 cp -p clutter-gtk/lib/clutter-gtk.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
674 cp -p webkit-gtk/lib/webkit-gtk.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
677 cp -a clutter/sample \
678 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter
680 cp -a clutter-gstreamer/sample \
681 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter-gstreamer
683 cp -a gdk_pixbuf2/sample \
684 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
687 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
689 cp -a gstreamer/sample \
690 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
693 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
695 cp -a gtksourceview2/sample \
696 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
699 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
701 cp -a poppler/sample \
702 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
705 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
708 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
710 cp -a webkit-gtk2/sample \
711 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/webkit-gtk2
714 cp -a clutter-gtk/sample \
715 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter-gtk
718 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk3
720 %if %{with gtksourceview3}
721 cp -a gtksourceview3/sample \
722 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview3
727 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte3
730 cp -a webkit-gtk/sample \
731 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/webkit-gtk
735 install -d $RPM_BUILD_ROOT%{ruby_ridir}
736 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
737 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Math,Object,REXML,RbConfig,Test*,page-*}
739 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{ClutterGtk*,Goo*,WebKitGtk,WebKitGtkTestUtils,clutter-gtk,gdk3,gtk3,gtksourceview3,webkit-gtk}
742 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/vte3
747 rm -rf $RPM_BUILD_ROOT
750 %defattr(644,root,root,755)
751 %doc AUTHORS NEWS README.md README.glib2.md TODO.glib2
752 %attr(755,root,root) %{ruby_archdir}/glib2.so
753 %{ruby_rubylibdir}/glib-mkenums.rb
754 %{ruby_rubylibdir}/glib2.rb
755 %{ruby_rubylibdir}/gnome2-raketask.rb
756 %dir %{ruby_rubylibdir}/gnome2
757 %{ruby_rubylibdir}/gnome2/rake
758 %{ruby_rubylibdir}/mkmf-gnome2.rb
759 %{ruby_rubylibdir}/glib2
761 %files -n ruby-glib2-devel
762 %defattr(644,root,root,755)
763 %{ruby_archdir}/glib-enum-types.h
764 %{ruby_archdir}/rbgcompat.h
765 %{ruby_archdir}/rbglib.h
766 %{ruby_archdir}/rbglib2conversions.h
767 %{ruby_archdir}/rbglibdeprecated.h
768 %{ruby_archdir}/rbgobject.h
769 %{ruby_archdir}/rbgutil.h
770 %{ruby_archdir}/rbgutil_list.h
771 %{ruby_archdir}/rbgutildeprecated.h
772 %{_pkgconfigdir}/ruby-glib2.pc
774 %files -n ruby-gobject-introspection
775 %defattr(644,root,root,755)
776 %doc gobject-introspection/README.md
777 %attr(755,root,root) %{ruby_archdir}/gobject_introspection.so
778 %{ruby_rubylibdir}/gobject-introspection.rb
779 %{ruby_rubylibdir}/gobject-introspection
781 %files -n ruby-gobject-introspection-devel
782 %defattr(644,root,root,755)
783 %{ruby_archdir}/rb-gobject-introspection.h
784 %{_pkgconfigdir}/ruby-gobject-introspection.pc
787 %defattr(644,root,root,755)
789 %attr(755,root,root) %{ruby_archdir}/gio2.so
790 %{ruby_rubylibdir}/gio2.rb
791 %{ruby_rubylibdir}/gio2
792 %{_pkgconfigdir}/ruby-gio2.pc
795 %defattr(644,root,root,755)
797 %attr(755,root,root) %{ruby_archdir}/atk.so
798 %{ruby_rubylibdir}/atk.rb
800 %files -n ruby-atk-devel
801 %defattr(644,root,root,755)
802 %{ruby_archdir}/rbatk.h
803 %{ruby_archdir}/rbatkversion.h
804 %{_pkgconfigdir}/ruby-atk.pc
806 %files -n ruby-cairo-gobject
807 %defattr(644,root,root,755)
808 %doc cairo-gobject/README.md
809 %attr(755,root,root) %{ruby_archdir}/cairo_gobject.so
810 %{ruby_rubylibdir}/cairo-gobject.rb
813 %defattr(644,root,root,755)
815 %attr(755,root,root) %{ruby_archdir}/pango.so
816 %{ruby_rubylibdir}/pango.rb
818 %files -n ruby-pango-devel
819 %defattr(644,root,root,755)
820 %{ruby_archdir}/rbpango.h
821 %{ruby_archdir}/rbpangoconversions.h
822 %{_pkgconfigdir}/ruby-pango.pc
824 %files -n ruby-gdk_pixbuf2
825 %defattr(644,root,root,755)
826 %doc gdk_pixbuf2/README
827 %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so
828 %{ruby_rubylibdir}/gdk_pixbuf2.rb
830 %files -n ruby-gdk_pixbuf2-devel
831 %defattr(644,root,root,755)
832 %{ruby_archdir}/rbgdk-pixbuf.h
833 %{ruby_archdir}/rbgdk-pixbuf2conversions.h
834 %{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
837 %defattr(644,root,root,755)
839 %attr(755,root,root) %{ruby_archdir}/gtk2.so
840 %{ruby_rubylibdir}/gtk2.rb
841 %{ruby_rubylibdir}/gtk2
843 %files -n ruby-gtk2-devel
844 %defattr(644,root,root,755)
845 %{ruby_archdir}/rbgdk.h
846 %{ruby_archdir}/rbgdkconversions.h
847 %{ruby_archdir}/rbgtk.h
848 %{ruby_archdir}/rbgtkconversions.h
849 %{ruby_archdir}/rbgtkmacros.h
850 %{_pkgconfigdir}/ruby-gtk2.pc
852 %files -n ruby-clutter
853 %defattr(644,root,root,755)
854 %doc clutter/README.md
855 %{ruby_rubylibdir}/clutter.rb
856 %{ruby_rubylibdir}/clutter
858 %files -n ruby-clutter-gstreamer
859 %defattr(644,root,root,755)
860 %doc clutter-gstreamer/README.md
861 %{ruby_rubylibdir}/clutter-gst.rb
863 %files -n ruby-gstreamer
864 %defattr(644,root,root,755)
865 %doc gstreamer/README.md
866 %attr(755,root,root) %{ruby_archdir}/gstreamer.so
867 %{ruby_rubylibdir}/gst.rb
868 %{ruby_rubylibdir}/gst
869 %{ruby_rubylibdir}/gstreamer.rb
871 %files -n ruby-gstreamer-devel
872 %defattr(644,root,root,755)
873 %{_pkgconfigdir}/ruby-gstreamer.pc
875 %files -n ruby-gtksourceview2
876 %defattr(644,root,root,755)
877 %doc gtksourceview2/README
878 %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so
879 %{ruby_rubylibdir}/gtksourceview2.rb
881 %files -n ruby-gtksourceview2-devel
882 %defattr(644,root,root,755)
883 %{_pkgconfigdir}/ruby-gtksourceview2.pc
885 %files -n ruby-poppler
886 %defattr(644,root,root,755)
888 %attr(755,root,root) %{ruby_archdir}/poppler.so
889 %{ruby_rubylibdir}/poppler.rb
891 %files -n ruby-poppler-devel
892 %defattr(644,root,root,755)
893 %{_pkgconfigdir}/ruby-poppler.pc
896 %defattr(644,root,root,755)
898 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
899 %{ruby_rubylibdir}/rsvg2.rb
901 %files -n ruby-rsvg2-devel
902 %defattr(644,root,root,755)
903 %{_pkgconfigdir}/ruby-rsvg2.pc
906 %defattr(644,root,root,755)
908 %attr(755,root,root) %{ruby_archdir}/vte.so
909 %{ruby_rubylibdir}/vte.rb
910 %{ruby_rubylibdir}/vte
912 %files -n ruby-vte-devel
913 %defattr(644,root,root,755)
914 %{_pkgconfigdir}/ruby-vte.pc
916 %files -n ruby-webkit-gtk2
917 %defattr(644,root,root,755)
918 %doc webkit-gtk2/README.md
919 %{ruby_rubylibdir}/webkit-gtk2.rb
923 %defattr(644,root,root,755)
924 %doc README.gdk3.md README.gtk3.md
925 %attr(755,root,root) %{ruby_archdir}/gtk3.so
926 %{ruby_rubylibdir}/gtk3.rb
927 %{ruby_rubylibdir}/gtk3
929 %files -n ruby-gtk3-devel
930 %defattr(644,root,root,755)
931 %{_pkgconfigdir}/ruby-gtk3.pc
933 %files -n ruby-clutter-gtk
934 %defattr(644,root,root,755)
935 %doc clutter-gtk/README.md
936 %{ruby_rubylibdir}/clutter-gtk.rb
938 %if %{with gtksourceview3}
939 %files -n ruby-gtksourceview3
940 %defattr(644,root,root,755)
941 %doc gtksourceview3/README.md
942 %attr(755,root,root) %{ruby_archdir}/gtksourceview3.so
943 %{ruby_rubylibdir}/gtksourceview3.rb
944 %{ruby_rubylibdir}/gtksourceview3
946 %files -n ruby-gtksourceview3-devel
947 %defattr(644,root,root,755)
948 %{_pkgconfigdir}/ruby-gtksourceview3.pc
953 %defattr(644,root,root,755)
955 %attr(755,root,root) %{ruby_archdir}/vte3.so
956 %{ruby_rubylibdir}/vte3.rb
957 %{ruby_rubylibdir}/vte3
959 %files -n ruby-vte3-devel
960 %defattr(644,root,root,755)
961 %{_pkgconfigdir}/ruby-vte3.pc
964 %files -n ruby-webkit-gtk
965 %defattr(644,root,root,755)
966 %doc webkit-gtk/README.md
967 %{ruby_rubylibdir}/webkit-gtk.rb
972 %defattr(644,root,root,755)
976 %defattr(644,root,root,755)
978 %{ruby_ridir}/AlphaDemo
979 %{ruby_ridir}/AssistantRunner
982 %{ruby_ridir}/CairoGObject
984 %{ruby_ridir}/Clutter
985 %{ruby_ridir}/ClutterGst
987 %{ruby_ridir}/DestWindow
988 %{ruby_ridir}/DraggableWidget
991 %{ruby_ridir}/GObjectIntrospection
993 %{ruby_ridir}/Gesture
994 %{ruby_ridir}/GestureProcessor
995 %{ruby_ridir}/GesturedWidget
999 %{ruby_ridir}/GtkSource
1000 %{ruby_ridir}/Inspector
1001 %{ruby_ridir}/Layout
1002 %{ruby_ridir}/MultiTerm
1003 %{ruby_ridir}/MyButton
1004 %{ruby_ridir}/MyButton2
1005 %{ruby_ridir}/MyGtkPlug
1006 %{ruby_ridir}/MyGtkSocket
1010 %{ruby_ridir}/Poppler
1012 %{ruby_ridir}/SrcWindow
1013 %{ruby_ridir}/StatusIconSample
1014 %{ruby_ridir}/VideoApp
1016 %{ruby_ridir}/WebKitGtk2
1018 %{ruby_ridir}/cairo-gobject
1019 %{ruby_ridir}/clutter
1020 %{ruby_ridir}/clutter-gstreamer
1021 %{ruby_ridir}/gdk_pixbuf2
1024 %{ruby_ridir}/gobject-introspection
1025 %{ruby_ridir}/gstreamer
1027 %{ruby_ridir}/gtksourceview2
1029 %{ruby_ridir}/poppler
1032 %{ruby_ridir}/webkit-gtk2
1034 %{ruby_ridir}/ClutterGtk
1035 %{ruby_ridir}/WebKitGtk
1036 %{ruby_ridir}/clutter-gtk
1039 %{ruby_ridir}/gtksourceview3
1043 %{ruby_ridir}/webkit-gtk
1048 %defattr(644,root,root,755)
1049 %{_examplesdir}/%{name}-%{version}