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: clutter-devel >= 1.12.0
25 %{?with_gtk3:BuildRequires: clutter-gtk-devel >= 1.2.0}
26 BuildRequires: gdk-pixbuf2-devel >= 2
27 BuildRequires: glib2-devel >= 1:2.16.0
28 BuildRequires: gobject-introspection-devel >= 1.35.4
29 BuildRequires: gstreamer-devel >= 0.10.35
30 BuildRequires: gstreamer-plugins-base-devel >= 0.10.35
31 BuildRequires: gtk+2-devel >= 2:2.12.0
32 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.2}
33 BuildRequires: gtk-webkit-devel >= 1.8.1
34 %{?with_gtk3:BuildRequires: gtk-webkit3-devel >= 1.8.1}
35 BuildRequires: gtksourceview2-devel >= 2
36 %{?with_gtk3:BuildRequires: gtksourceview3-devel >= 3.4.2}
37 BuildRequires: librsvg-devel >= 2.8
38 BuildRequires: pango-devel >= 1:1.14.0
39 BuildRequires: pkgconfig
40 BuildRequires: poppler-glib-devel >= 0.12.0
41 BuildRequires: rpm-rubyprov
42 BuildRequires: rpmbuild(macros) >= 1.277
43 BuildRequires: ruby-devel >= 1.9
44 %{?with_gtk3:BuildRequires: ruby-devel >= 1.9.2}
45 BuildRequires: ruby-pkg-config
46 BuildRequires: ruby-rcairo-devel
47 BuildRequires: ruby-rubygems
48 BuildRequires: sed >= 4.0
49 #%{?with_gtk3:BuildRequires: vte-devel >= 0.32.2}
50 BuildRequires: vte0-devel >= 0.12.1
51 %{?with_vte3:BuildRequires: vte2.90-devel >= 0.32.2}
52 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 GNOME 2 libraries for Ruby.
57 %description -l pl.UTF-8
58 Biblioteki GNOME 2 dla języka Ruby.
60 %package -n ruby-glib2
61 Summary: Ruby/Glib2 - Ruby binding of GLib 2.x
62 Summary(pl.UTF-8): Ruby/Glib2 - wiązanie języka Ruby do biblioteki GLib 2.x
63 Group: Development/Languages
64 Requires: glib2 >= 1:2.16.0
66 Obsoletes: ruby-gnome2
67 Obsoletes: ruby-goocanvas < 2.2.1
69 %description -n ruby-glib2
70 Ruby/Glib2 is a Ruby binding of GLib 2.x.
72 %description -n ruby-glib2 -l pl.UTF-8
73 Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x.
75 %package -n ruby-glib2-devel
76 Summary: Header files for Ruby/GLib2 library
77 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GLib2
78 Group: Development/Libraries
79 Requires: glib2-devel >= 1:2.16.0
80 Requires: ruby-devel >= 1.9
81 Requires: ruby-glib2 = %{version}-%{release}
82 Obsoletes: ruby-gnome2-devel
83 Obsoletes: ruby-goocanvas-devel < 2.2.1
85 %description -n ruby-glib2-devel
86 Header files for Ruby/GLib2 library.
88 %description -n ruby-glib2-devel -l pl.UTF-8
89 Pliki nagłówkowe biblioteki Ruby/GLib2.
91 %package -n ruby-gobject-introspection
92 Summary: Ruby/GObjectIntrospection - Ruby binding of GObject Introspection
93 Summary(pl.UTF-8): Ruby/GObjectIntrospection - wiązania języka Ruby do biblioteki GObject Introspection
94 Group: Development/Languages
95 Requires: gobject-introspection >= 1.35.4
96 Requires: ruby-glib2 = %{version}-%{release}
98 %description -n ruby-gobject-introspection
99 Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
101 %description -n ruby-gobject-introspection -l pl.UTF-8
102 Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
103 GObject Introspection.
105 %package -n ruby-gobject-introspection-devel
106 Summary: Header files for Ruby/GObjectIntrospection library
107 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection
108 Group: Development/Languages
109 Requires: ruby-glib2-devel = %{version}-%{release}
110 Requires: ruby-gobject-introspection = %{version}-%{release}
112 %description -n ruby-gobject-introspection-devel
113 Header files for Ruby/GObjectIntrospection library.
115 %description -n ruby-gobject-introspection-devel -l pl.UTF-8
116 Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection.
118 %package -n ruby-gio2
119 Summary: Ruby/GIO2 - Ruby binding of GIO 2.x library
120 Summary(pl.UTF-8): Ruby/GIO2 - wiązanie języka Ruby do biblioteki GIO 2.x
121 Group: Development/Languages
122 Requires: glib2 >= 1:2.16.0
123 Requires: ruby-gobject-introspection = %{version}-%{release}
125 %description -n ruby-gio2
126 Ruby/GIO2 is a Ruby binding of GIO 2.x library.
128 %description -n ruby-gio2 -l pl.UTF-8
129 Ruby/GIO2 to wiązanie języka Ruby do biblioteki GIO 2.x.
132 Summary: Ruby/ATK - Ruby binding of ATK
133 Summary(pl.UTF-8): Ruby/ATK - wiązanie języka Ruby do biblioteki ATK
134 Group: Development/Languages
135 Requires: atk >= 1:1.12.0
136 Requires: ruby-glib2 = %{version}-%{release}
138 %description -n ruby-atk
139 Ruby/ATK is a Ruby binding of ATK.
141 %description -n ruby-atk -l pl.UTF-8
142 Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
144 %package -n ruby-atk-devel
145 Summary: Header files for Ruby/ATK library
146 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/ATK
147 Group: Development/Libraries
148 Requires: atk-devel >= 1:1.12.0
149 Requires: ruby-atk = %{version}-%{release}
150 Requires: ruby-glib2-devel = %{version}-%{release}
152 %description -n ruby-atk-devel
153 Header files for Ruby/ATK library.
155 %description -n ruby-atk-devel -l pl.UTF-8
156 Pliki nagłówkowe biblioteki Ruby/ATK.
158 %package -n ruby-cairo-gobject
159 Summary: Ruby/CairoGObject - Ruby binding of cairo-gobject library
160 Summary(pl.UTF-8): Ruby/CairoGObject - wiązania języka Ruby do biblioteki cairo-gobject
161 Group: Development/Languages
162 Requires: cairo-gobject >= 1.12.10
163 Requires: ruby-glib2 = %{version}-%{release}
164 Requires: ruby-rcairo
166 %description -n ruby-cairo-gobject
167 Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
169 %description -n ruby-cairo-gobject -l pl.UTF-8
170 Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
172 %package -n ruby-pango
173 Summary: Ruby/Pango - Ruby binding of pango 1.x
174 Summary(pl.UTF-8): Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x
175 Group: Development/Languages
176 Requires: cairo >= 1.10.0
177 Requires: pango >= 1:1.14.0
178 Requires: ruby-glib2 = %{version}-%{release}
179 Requires: ruby-rcairo
181 %description -n ruby-pango
182 Ruby/Pango is a Ruby binding of pango 1.x.
184 %description -n ruby-pango -l pl.UTF-8
185 Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
187 %package -n ruby-pango-devel
188 Summary: Header files for Ruby/Pango library
189 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Pango
190 Group: Development/Libraries
191 Requires: cairo-devel >= 1.10.0
192 Requires: pango-devel >= 1:1.14.0
193 Requires: ruby-glib2-devel = %{version}-%{release}
194 Requires: ruby-pango = %{version}-%{release}
196 %description -n ruby-pango-devel
197 Header files for Ruby/Pango library.
199 %description -n ruby-pango-devel -l pl.UTF-8
200 Pliki nagłówkowe biblioteki Ruby/Pango.
202 %package -n ruby-gdk_pixbuf2
203 Summary: Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x
204 Summary(pl.UTF-8): Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x
205 Group: Development/Languages
206 Requires: gdk-pixbuf2 >= 2
207 Requires: ruby-glib2 = %{version}-%{release}
209 %description -n ruby-gdk_pixbuf2
210 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
212 %description -n ruby-gdk_pixbuf2 -l pl.UTF-8
213 Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
215 %package -n ruby-gdk_pixbuf2-devel
216 Summary: Header files for Ruby/GdkPixbuf2 library
217 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2
218 Group: Development/Libraries
219 Requires: gdk-pixbuf2-devel >= 2
220 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
221 Requires: ruby-glib2-devel = %{version}-%{release}
223 %description -n ruby-gdk_pixbuf2-devel
224 Header files for Ruby/GdkPixbuf2 library.
226 %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
227 Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
229 %package -n ruby-gtk2
230 Summary: Ruby/GTK2 - Ruby binding of GTK+ 2.x
231 Summary(pl.UTF-8): Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x
232 Group: Development/Languages
233 Requires: gtk+2 >= 2:2.12.0
234 Requires: ruby-atk = %{version}-%{release}
235 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
236 Requires: ruby-glib2 = %{version}-%{release}
237 Requires: ruby-pango = %{version}-%{release}
239 %description -n ruby-gtk2
240 Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
242 %description -n ruby-gtk2 -l pl.UTF-8
243 Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
245 %package -n ruby-gtk2-devel
246 Summary: Header files for Ruby/GTK2 library
247 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK2
248 Group: Development/Libraries
249 Requires: gtk+2-devel >= 2:2.12.0
250 Requires: ruby-atk-devel = %{version}-%{release}
251 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
252 Requires: ruby-glib2-devel = %{version}-%{release}
253 Requires: ruby-gtk2 = %{version}-%{release}
254 Requires: ruby-pango-devel = %{version}-%{release}
256 %description -n ruby-gtk2-devel
257 Header files for Ruby/GTK2 library.
259 %description -n ruby-gtk2-devel -l pl.UTF-8
260 Pliki nagłówkowe biblioteki Ruby/GTK2.
262 %package -n ruby-clutter
263 Summary: Ruby/Clutter - Ruby binding of Clutter library
264 Summary(pl.UTF-8): Ruby/Clutter - wiązanie języka Ruby do biblioteki Clutter
265 Group: Development/Languages
266 Requires: clutter >= 1.16.4
267 Requires: ruby-cairo-gobject = %{version}-%{release}
268 Requires: ruby-gobject-introspection = %{version}-%{release}
270 %description -n ruby-clutter
271 Ruby/Clutter is a Ruby binding of Clutter library.
273 %description -n ruby-clutter -l pl.UTF-8
274 Ruby/Clutter to wiązanie języka Ruby do biblioteki Clutter.
276 %package -n ruby-clutter-gstreamer
277 Summary: Ruby/ClutterGStreamer - Ruby binding of Clutter-GStreamer library
278 Summary(pl.UTF-8): Ruby/ClutterGStreamer - wiązanie języka Ruby do biblioteki Clutter-GStreamer
279 Group: Development/Languages
280 Requires: clutter-gst >= 2.0.10
281 Requires: ruby-clutter = %{version}-%{release}
282 Requires: ruby-gstreamer = %{version}-%{release}
284 %description -n ruby-clutter-gstreamer
285 Ruby/ClutterGStreamer is a Ruby binding of Clutter-GStreamer library.
287 %description -n ruby-clutter-gstreamer -l pl.UTF-8
288 Ruby/ClutterGStreamer to wiązanie języka Ruby do biblioteki
291 %package -n ruby-gstreamer
292 Summary: Ruby/GStreamer - Ruby binding of GStreamer
293 Summary(pl.UTF-8): Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer
294 Group: Development/Languages
295 Requires: gstreamer >= 0.10.35
296 Requires: gstreamer-plugins-base >= 0.10.35
297 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
298 Requires: ruby-glib2 = %{version}-%{release}
299 Requires: ruby-pango = %{version}-%{release}
301 %description -n ruby-gstreamer
302 Ruby/GStreamer is a Ruby binding of GStreamer.
304 %description -n ruby-gstreamer -l pl.UTF-8
305 Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
307 %package -n ruby-gstreamer-devel
308 Summary: Header files for Ruby/GStreamer library
309 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GStreamer
310 Group: Development/Libraries
311 Requires: gstreamer-devel >= 0.10.35
312 Requires: gstreamer-plugins-base-devel >= 0.10.35
313 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
314 Requires: ruby-glib2-devel = %{version}-%{release}
315 Requires: ruby-pango-devel = %{version}-%{release}
317 %description -n ruby-gstreamer-devel
318 Header files for Ruby/GStreamer library.
320 %description -n ruby-gstreamer-devel -l pl.UTF-8
321 Pliki nagłówkowe biblioteki Ruby/GStreamer.
323 %package -n ruby-gtksourceview2
324 Summary: Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x
325 Summary(pl.UTF-8): Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x
326 Group: Development/Languages
327 Requires: gtksourceview2 >= 2.0.0
328 Requires: ruby-gtk2 = %{version}-%{release}
330 %description -n ruby-gtksourceview2
331 Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
333 %description -n ruby-gtksourceview2 -l pl.UTF-8
334 Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
337 %package -n ruby-gtksourceview2-devel
338 Summary: Header files for Ruby/GtkSourceView2 library
339 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView2
340 Group: Development/Libraries
341 Requires: gtksourceview2-devel >= 2.0.0
342 Requires: ruby-gtk2-devel = %{version}-%{release}
343 Requires: ruby-gtksourceview2 = %{version}-%{release}
345 %description -n ruby-gtksourceview2-devel
346 Header files for Ruby/GtkSourceView2 library.
348 %description -n ruby-gtksourceview2-devel -l pl.UTF-8
349 Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
351 %package -n ruby-poppler
352 Summary: Ruby/Poppler - Ruby binding of poppler-glib
353 Summary(pl.UTF-8): Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib
354 Group: Development/Languages
355 Requires: poppler-glib >= 0.12.0
356 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
357 Requires: ruby-glib2 = %{version}-%{release}
358 Requires: ruby-gtk2 = %{version}-%{release}
360 %description -n ruby-poppler
361 Ruby/Poppler is a Ruby binding of poppler-glib.
363 %description -n ruby-poppler -l pl.UTF-8
364 Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
366 %package -n ruby-poppler-devel
367 Summary: Header files for Ruby/Poppler library
368 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Poppler
369 Group: Development/Libraries
370 Requires: poppler-glib-devel >= 0.12.0
371 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
372 Requires: ruby-glib2-devel = %{version}-%{release}
373 Requires: ruby-gtk2-devel = %{version}-%{release}
375 %description -n ruby-poppler-devel
376 Header files for Ruby/Poppler library.
378 %description -n ruby-poppler-devel -l pl.UTF-8
379 Pliki nagłówkowe biblioteki Ruby/Poppler.
381 %package -n ruby-rsvg2
382 Summary: Ruby/RSVG - Ruby binding of librsvg
383 Summary(pl.UTF-8): Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg
384 Group: Development/Languages
385 Requires: librsvg >= 2.8
386 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
387 Requires: ruby-glib2 = %{version}-%{release}
388 Requires: ruby-rcairo
390 %description -n ruby-rsvg2
391 Ruby/RSVG is a Ruby binding of librsvg.
393 %description -n ruby-rsvg2 -l pl.UTF-8
394 Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
396 %package -n ruby-rsvg2-devel
397 Summary: Header files for Ruby/RSVG library
398 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/RSVG
399 Group: Development/Libraries
400 Requires: librsvg-devel >= 2.8
401 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
402 Requires: ruby-glib2-devel = %{version}-%{release}
404 %description -n ruby-rsvg2-devel
405 Header files for Ruby/RSVG library.
407 %description -n ruby-rsvg2-devel -l pl.UTF-8
408 Pliki nagłówkowe biblioteki Ruby/RSVG.
411 Summary: Ruby/VTE - Ruby binding of VTE
412 Summary(pl.UTF-8): Ruby/VTE - wiązanie języka Ruby do biblioteki VTE
413 Group: Development/Languages
414 Requires: ruby-gtk2 = %{version}-%{release}
415 Requires: vte0 >= 0.12.1
417 %description -n ruby-vte
418 Ruby/VTE is a Ruby binding of VTE.
420 %description -n ruby-vte -l pl.UTF-8
421 Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
423 %package -n ruby-vte-devel
424 Summary: Header files for Ruby/VTE library
425 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE
426 Group: Development/Libraries
427 Requires: ruby-gtk2-devel = %{version}-%{release}
428 Requires: ruby-vte = %{version}-%{release}
429 Requires: vte0-devel >= 0.12.1
431 %description -n ruby-vte-devel
432 Header files for Ruby/VTE library.
434 %description -n ruby-vte-devel -l pl.UTF-8
435 Pliki nagłówkowe biblioteki Ruby/VTE.
437 %package -n ruby-webkit-gtk2
438 Summary: Ruby/WebKitGTK2 - Ruby binding of WebKitGTK+ (GTK+ 2.x based) library
439 Summary(pl.UTF-8): Ruby/WebKitGTK2 - wiązanie języka Ruby do biblioteki WebKitGTK+ (dla GTK+ 2.x)
440 Group: Development/Languages
441 Requires: gtk-webkit >= 2.2.3
442 Requires: ruby-gobject-introspection = %{version}-%{release}
443 Requires: ruby-gtk2 = %{version}-%{release}
445 %description -n ruby-webkit-gtk2
446 Ruby/WebKitGTK2 is a Ruby binding of WebKitGTK+ library (based on GTK+
449 %description -n ruby-webkit-gtk2 -l pl.UTF-8
450 Ruby/WebKitGTK2 to wiązanie języka Ruby do biblioteki WebKitGTK+
451 (opartej na GTK+ 2.x).
453 %package -n ruby-gtk3
454 Summary: Ruby/GTK3 - Ruby binding of GTK+ 3.x
455 Summary(pl.UTF-8): Ruby/GTK3 - wiązanie języka Ruby do bibliotek GTK+ 3.x
456 Group: Development/Languages
457 Requires: gtk+3 >= 3.4.2
458 Requires: ruby >= 1.9.2
459 Requires: ruby-atk = %{version}-%{release}
460 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
461 Requires: ruby-glib2 = %{version}-%{release}
462 Requires: ruby-pango = %{version}-%{release}
464 %description -n ruby-gtk3
465 Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
467 %description -n ruby-gtk3 -l pl.UTF-8
468 Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
470 %package -n ruby-gtk3-devel
471 Summary: Header files for Ruby/GTK3 library
472 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK3
473 Group: Development/Libraries
474 Requires: gtk+3-devel >= 3.4.2
475 Requires: ruby-atk-devel = %{version}-%{release}
476 Requires: ruby-devel >= 1.9.2
477 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
478 Requires: ruby-glib2-devel = %{version}-%{release}
479 Requires: ruby-gtk3 = %{version}-%{release}
480 Requires: ruby-pango-devel = %{version}-%{release}
482 %description -n ruby-gtk3-devel
483 Header files for Ruby/GTK3 library.
485 %description -n ruby-gtk3-devel -l pl.UTF-8
486 Pliki nagłówkowe biblioteki Ruby/GTK3.
488 %package -n ruby-clutter-gtk
489 Summary: Ruby/ClutterGTK - Ruby binding of Clutter-GTK library
490 Summary(pl.UTF-8): Ruby/ClutterGTK - wiązanie języka Ruby do biblioteki Clutter-GTK
491 Group: Development/Languages
492 Requires: clutter-gtk >= 1.4.4
493 Requires: ruby-clutter = %{version}-%{release}
494 Requires: ruby-gtk3 = %{version}-%{release}
496 %description -n ruby-clutter-gtk
497 Ruby/ClutterGTK is a Ruby binding of Clutter-GTK library.
499 %description -n ruby-clutter-gtk -l pl.UTF-8
500 Ruby/ClutterGTK to wiązanie języka Ruby do biblioteki Clutter-GTK.
502 %package -n ruby-gtksourceview3
503 Summary: Ruby/GtkSourceView3 - Ruby binding of gtksourceview 3.x
504 Summary(pl.UTF-8): Ruby/GtkSourceView3 - wiązanie języka Ruby do biblioteki gtksourceview 3.x
505 Group: Development/Languages
506 Requires: gtksourceview3 >= 3.4.2
507 Requires: ruby-gtk3 = %{version}-%{release}
509 %description -n ruby-gtksourceview3
510 Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
512 %description -n ruby-gtksourceview3 -l pl.UTF-8
513 Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
516 %package -n ruby-gtksourceview3-devel
517 Summary: Header files for Ruby/GtkSourceView3 library
518 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView3
519 Group: Development/Libraries
520 Requires: gtksourceview3-devel >= 3.4.2
521 Requires: ruby-gtk3-devel = %{version}-%{release}
522 Requires: ruby-gtksourceview3 = %{version}-%{release}
524 %description -n ruby-gtksourceview3-devel
525 Header files for Ruby/GtkSourceView3 library.
527 %description -n ruby-gtksourceview3-devel -l pl.UTF-8
528 Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
530 %package -n ruby-vte3
531 Summary: Ruby/VTE3 - Ruby binding of VTE on GTK+ 3.x
532 Summary(pl.UTF-8): Ruby/VTE3 - wiązanie języka Ruby do biblioteki VTE na GTK+ 3.x
533 Group: Development/Languages
534 Requires: ruby-gtk3 = %{version}-%{release}
535 Requires: vte >= 0.32.2
537 %description -n ruby-vte3
538 Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
540 %description -n ruby-vte3 -l pl.UTF-8
541 Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
544 %package -n ruby-vte3-devel
545 Summary: Header files for Ruby/VTE3 library
546 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE3
547 Group: Development/Libraries
548 Requires: ruby-gtk3-devel = %{version}-%{release}
549 Requires: ruby-vte3 = %{version}-%{release}
550 Requires: vte-devel >= 0.32.2
552 %description -n ruby-vte3-devel
553 Header files for Ruby/VTE3 library.
555 %description -n ruby-vte3-devel -l pl.UTF-8
556 Pliki nagłówkowe biblioteki Ruby/VTE3.
558 %package -n ruby-webkit-gtk
559 Summary: Ruby/WebKitGTK - Ruby binding of WebKitGTK+ (GTK+ 3.x based) library
560 Summary(pl.UTF-8): Ruby/WebKitGTK - wiązanie języka Ruby do biblioteki WebKitGTK+ (dla GTK+ 3.x)
561 Group: Development/Languages
562 Requires: gtk-webkit3 >= 2.2.3
563 Requires: ruby-gobject-introspection = %{version}-%{release}
564 Requires: ruby-gtk3 = %{version}-%{release}
566 %description -n ruby-webkit-gtk
567 Ruby/WebKitGTK is a Ruby binding of WebKitGTK+ library (based on GTK+
570 %description -n ruby-webkit-gtk -l pl.UTF-8
571 Ruby/WebKitGTK to wiązanie języka Ruby do biblioteki WebKitGTK+
572 (opartej na GTK+ 3.x).
575 Summary: Ruby-GNOME2 ri documentation
576 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie ri
581 Ruby-GNOME2 ri documentation.
583 %description doc-ri -l pl.UTF-8
584 Dokumentacja dla Ruby-GNOME2 w formacie ri.
587 Summary: Ruby-GNOME2 HTML documentation
588 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie HTML
591 %description doc-html
592 Ruby-GNOME2 HTML documentation.
594 %description doc-html -l pl.UTF-8
595 Dokumentacja dla Ruby-GNOME2 w formacie HTML.
598 Summary: Ruby-GNOME2 examples
599 Summary(pl.UTF-8): Przykłady do Ruby-GNOME2
600 Group: Development/Libraries
602 %description examples
603 Ruby-GNOME2 examples.
605 %description examples -l pl.UTF-8
606 Przykłady do Ruby-GNOME2.
609 %setup -q -n %{name}-all-%{version}
610 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
612 cp -p glib2/README.md README.glib2.md
613 cp -p glib2/TODO TODO.glib2
614 cp -p gdk3/README.md README.gdk3.md
615 cp -p gtk3/README.md README.gtk3.md
618 # echo */extconf.rb | xargs -l1 dirname
628 gobject-introspection
651 --enable-glib-experimental \
656 exclude="-x \.(so|o|gif|png|jpg|ri|xpm|pdf|gresource)$ -x rdoc -x ri"
658 rdoc -o rdoc $exclude
659 rdoc --ri -o ri $exclude
660 rm ri/{cache.ri,created.rid}
664 rm -rf $RPM_BUILD_ROOT
665 install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir}} \
666 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
669 DESTDIR=$RPM_BUILD_ROOT \
670 RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
671 sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \
672 pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \
673 RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
675 # omitted by make install
676 cp -pr clutter/lib/{clutter,clutter.rb} $RPM_BUILD_ROOT%{ruby_rubylibdir}
677 cp -p clutter-gstreamer/lib/clutter-gst.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
678 cp -p webkit-gtk2/lib/webkit-gtk2.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
680 cp -p clutter-gtk/lib/clutter-gtk.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
681 cp -p webkit-gtk/lib/webkit-gtk.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
684 cp -a clutter/sample \
685 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter
687 cp -a clutter-gstreamer/sample \
688 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter-gstreamer
690 cp -a gdk_pixbuf2/sample \
691 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
694 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
696 cp -a gstreamer/sample \
697 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
700 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
702 cp -a gtksourceview2/sample \
703 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
706 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
708 cp -a poppler/sample \
709 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
712 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
715 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
717 cp -a webkit-gtk2/sample \
718 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/webkit-gtk2
721 cp -a clutter-gtk/sample \
722 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter-gtk
725 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk3
727 %if %{with gtksourceview3}
728 cp -a gtksourceview3/sample \
729 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview3
734 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte3
737 cp -a webkit-gtk/sample \
738 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/webkit-gtk
742 install -d $RPM_BUILD_ROOT%{ruby_ridir}
743 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
744 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Math,Object,REXML,RbConfig,Test*,page-*}
746 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{ClutterGtk*,Goo*,WebKitGtk,WebKitGtkTestUtils,clutter-gtk,gdk3,gtk3,gtksourceview3,webkit-gtk}
749 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/vte3
754 rm -rf $RPM_BUILD_ROOT
757 %defattr(644,root,root,755)
758 %doc AUTHORS NEWS README.md README.glib2.md TODO.glib2
759 %attr(755,root,root) %{ruby_archdir}/glib2.so
760 %{ruby_rubylibdir}/glib-mkenums.rb
761 %{ruby_rubylibdir}/glib2.rb
762 %{ruby_rubylibdir}/gnome2-raketask.rb
763 %dir %{ruby_rubylibdir}/gnome2
764 %{ruby_rubylibdir}/gnome2/rake
765 %{ruby_rubylibdir}/mkmf-gnome2.rb
766 %{ruby_rubylibdir}/glib2
768 %files -n ruby-glib2-devel
769 %defattr(644,root,root,755)
770 %{ruby_archdir}/glib-enum-types.h
771 %{ruby_archdir}/rbgcompat.h
772 %{ruby_archdir}/rbglib.h
773 %{ruby_archdir}/rbglib2conversions.h
774 %{ruby_archdir}/rbglibdeprecated.h
775 %{ruby_archdir}/rbgobject.h
776 %{ruby_archdir}/rbgutil.h
777 %{ruby_archdir}/rbgutil_list.h
778 %{ruby_archdir}/rbgutildeprecated.h
779 %{_pkgconfigdir}/ruby-glib2.pc
781 %files -n ruby-gobject-introspection
782 %defattr(644,root,root,755)
783 %doc gobject-introspection/README.md
784 %attr(755,root,root) %{ruby_archdir}/gobject_introspection.so
785 %{ruby_rubylibdir}/gobject-introspection.rb
786 %{ruby_rubylibdir}/gobject-introspection
788 %files -n ruby-gobject-introspection-devel
789 %defattr(644,root,root,755)
790 %{ruby_archdir}/rb-gobject-introspection.h
791 %{_pkgconfigdir}/ruby-gobject-introspection.pc
794 %defattr(644,root,root,755)
796 %attr(755,root,root) %{ruby_archdir}/gio2.so
797 %{ruby_rubylibdir}/gio2.rb
798 %{ruby_rubylibdir}/gio2
799 %{_pkgconfigdir}/ruby-gio2.pc
802 %defattr(644,root,root,755)
804 %attr(755,root,root) %{ruby_archdir}/atk.so
805 %{ruby_rubylibdir}/atk.rb
807 %files -n ruby-atk-devel
808 %defattr(644,root,root,755)
809 %{ruby_archdir}/rbatk.h
810 %{ruby_archdir}/rbatkversion.h
811 %{_pkgconfigdir}/ruby-atk.pc
813 %files -n ruby-cairo-gobject
814 %defattr(644,root,root,755)
815 %doc cairo-gobject/README.md
816 %attr(755,root,root) %{ruby_archdir}/cairo_gobject.so
817 %{ruby_rubylibdir}/cairo-gobject.rb
820 %defattr(644,root,root,755)
822 %attr(755,root,root) %{ruby_archdir}/pango.so
823 %{ruby_rubylibdir}/pango.rb
825 %files -n ruby-pango-devel
826 %defattr(644,root,root,755)
827 %{ruby_archdir}/rbpango.h
828 %{ruby_archdir}/rbpangoconversions.h
829 %{_pkgconfigdir}/ruby-pango.pc
831 %files -n ruby-gdk_pixbuf2
832 %defattr(644,root,root,755)
833 %doc gdk_pixbuf2/README
834 %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so
835 %{ruby_rubylibdir}/gdk_pixbuf2.rb
837 %files -n ruby-gdk_pixbuf2-devel
838 %defattr(644,root,root,755)
839 %{ruby_archdir}/rbgdk-pixbuf.h
840 %{ruby_archdir}/rbgdk-pixbuf2conversions.h
841 %{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
844 %defattr(644,root,root,755)
846 %attr(755,root,root) %{ruby_archdir}/gtk2.so
847 %{ruby_rubylibdir}/gtk2.rb
848 %{ruby_rubylibdir}/gtk2
850 %files -n ruby-gtk2-devel
851 %defattr(644,root,root,755)
852 %{ruby_archdir}/rbgdk.h
853 %{ruby_archdir}/rbgdkconversions.h
854 %{ruby_archdir}/rbgtk.h
855 %{ruby_archdir}/rbgtkconversions.h
856 %{ruby_archdir}/rbgtkmacros.h
857 %{_pkgconfigdir}/ruby-gtk2.pc
859 %files -n ruby-clutter
860 %defattr(644,root,root,755)
861 %doc clutter/README.md
862 %{ruby_rubylibdir}/clutter.rb
863 %{ruby_rubylibdir}/clutter
865 %files -n ruby-clutter-gstreamer
866 %defattr(644,root,root,755)
867 %doc clutter-gstreamer/README.md
868 %{ruby_rubylibdir}/clutter-gst.rb
870 %files -n ruby-gstreamer
871 %defattr(644,root,root,755)
872 %doc gstreamer/README.md
873 %attr(755,root,root) %{ruby_archdir}/gstreamer.so
874 %{ruby_rubylibdir}/gst.rb
875 %{ruby_rubylibdir}/gst
876 %{ruby_rubylibdir}/gstreamer.rb
878 %files -n ruby-gstreamer-devel
879 %defattr(644,root,root,755)
880 %{_pkgconfigdir}/ruby-gstreamer.pc
882 %files -n ruby-gtksourceview2
883 %defattr(644,root,root,755)
884 %doc gtksourceview2/README
885 %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so
886 %{ruby_rubylibdir}/gtksourceview2.rb
888 %files -n ruby-gtksourceview2-devel
889 %defattr(644,root,root,755)
890 %{_pkgconfigdir}/ruby-gtksourceview2.pc
892 %files -n ruby-poppler
893 %defattr(644,root,root,755)
895 %attr(755,root,root) %{ruby_archdir}/poppler.so
896 %{ruby_rubylibdir}/poppler.rb
898 %files -n ruby-poppler-devel
899 %defattr(644,root,root,755)
900 %{_pkgconfigdir}/ruby-poppler.pc
903 %defattr(644,root,root,755)
905 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
906 %{ruby_rubylibdir}/rsvg2.rb
908 %files -n ruby-rsvg2-devel
909 %defattr(644,root,root,755)
910 %{_pkgconfigdir}/ruby-rsvg2.pc
913 %defattr(644,root,root,755)
915 %attr(755,root,root) %{ruby_archdir}/vte.so
916 %{ruby_rubylibdir}/vte.rb
917 %{ruby_rubylibdir}/vte
919 %files -n ruby-vte-devel
920 %defattr(644,root,root,755)
921 %{_pkgconfigdir}/ruby-vte.pc
923 %files -n ruby-webkit-gtk2
924 %defattr(644,root,root,755)
925 %doc webkit-gtk2/README.md
926 %{ruby_rubylibdir}/webkit-gtk2.rb
930 %defattr(644,root,root,755)
931 %doc README.gdk3.md README.gtk3.md
932 %attr(755,root,root) %{ruby_archdir}/gtk3.so
933 %{ruby_rubylibdir}/gtk3.rb
934 %{ruby_rubylibdir}/gtk3
936 %files -n ruby-gtk3-devel
937 %defattr(644,root,root,755)
938 %{_pkgconfigdir}/ruby-gtk3.pc
940 %files -n ruby-clutter-gtk
941 %defattr(644,root,root,755)
942 %doc clutter-gtk/README.md
943 %{ruby_rubylibdir}/clutter-gtk.rb
945 %if %{with gtksourceview3}
946 %files -n ruby-gtksourceview3
947 %defattr(644,root,root,755)
948 %doc gtksourceview3/README.md
949 %attr(755,root,root) %{ruby_archdir}/gtksourceview3.so
950 %{ruby_rubylibdir}/gtksourceview3.rb
951 %{ruby_rubylibdir}/gtksourceview3
953 %files -n ruby-gtksourceview3-devel
954 %defattr(644,root,root,755)
955 %{_pkgconfigdir}/ruby-gtksourceview3.pc
960 %defattr(644,root,root,755)
962 %attr(755,root,root) %{ruby_archdir}/vte3.so
963 %{ruby_rubylibdir}/vte3.rb
964 %{ruby_rubylibdir}/vte3
966 %files -n ruby-vte3-devel
967 %defattr(644,root,root,755)
968 %{_pkgconfigdir}/ruby-vte3.pc
971 %files -n ruby-webkit-gtk
972 %defattr(644,root,root,755)
973 %doc webkit-gtk/README.md
974 %{ruby_rubylibdir}/webkit-gtk.rb
979 %defattr(644,root,root,755)
983 %defattr(644,root,root,755)
985 %{ruby_ridir}/AlphaDemo
986 %{ruby_ridir}/AssistantRunner
988 %{ruby_ridir}/AtkTestUtils
989 %{ruby_ridir}/ButtonBoxSample
990 %{ruby_ridir}/ButtonSample
992 %{ruby_ridir}/CairoGObject
993 %{ruby_ridir}/CairoGObjectTestUtils
995 %{ruby_ridir}/CheckButtonSample
996 %{ruby_ridir}/Clutter
997 %{ruby_ridir}/ClutterBlurEffectTest
998 #%{ruby_ridir}/ClutterBrightnessContrastEffectTest
999 %{ruby_ridir}/ClutterCanvasTest
1000 %{ruby_ridir}/ClutterColorTest
1001 #%{ruby_ridir}/ClutterColorizeEffectTest
1002 %{ruby_ridir}/ClutterDesaturateEffectTest
1003 %{ruby_ridir}/ClutterGStreamerTestUtils
1004 %{ruby_ridir}/ClutterGst
1005 %{ruby_ridir}/ClutterPageTurnEffect
1006 %{ruby_ridir}/ClutterShaderEffect
1007 %{ruby_ridir}/ClutterTestUtils
1008 %{ruby_ridir}/ColorSelectionSample
1010 %{ruby_ridir}/DestWindow
1011 %{ruby_ridir}/DialogSample
1012 %{ruby_ridir}/DraggableWidget
1013 %{ruby_ridir}/EntrySample
1014 %{ruby_ridir}/FileSelectionSample
1015 %{ruby_ridir}/FontSelectionSample
1017 %{ruby_ridir}/GLibTestUtils
1018 %{ruby_ridir}/GNOME2
1019 %{ruby_ridir}/GObjectIntrospection
1020 %{ruby_ridir}/GObjectIntrospectionTestUtils
1021 %{ruby_ridir}/GammaCurveSample
1023 %{ruby_ridir}/GdkTestUtils
1024 %{ruby_ridir}/Gesture
1025 %{ruby_ridir}/GestureProcessor
1026 %{ruby_ridir}/GesturedWidget
1028 %{ruby_ridir}/GioTestUtils
1031 %{ruby_ridir}/GtkSource
1032 %{ruby_ridir}/GtkTestUtils
1033 %{ruby_ridir}/Inspector
1034 %{ruby_ridir}/LabelSample
1035 %{ruby_ridir}/Layout
1036 %{ruby_ridir}/LayoutSample
1037 %{ruby_ridir}/MenuSample
1038 %{ruby_ridir}/MultiTerm
1039 %{ruby_ridir}/MyButton
1040 %{ruby_ridir}/MyButton2
1041 %{ruby_ridir}/MyGtkPlug
1042 %{ruby_ridir}/MyGtkSocket
1043 %{ruby_ridir}/NotebookSample
1046 %{ruby_ridir}/PangoTestUtils
1047 %{ruby_ridir}/PixmapSample
1049 %{ruby_ridir}/Poppler
1050 %{ruby_ridir}/PopplerTestUtils
1051 #%{ruby_ridir}/Print
1052 %{ruby_ridir}/ProgressBarSample
1054 %{ruby_ridir}/RadioButtonSample
1055 %{ruby_ridir}/RangeSample
1056 %{ruby_ridir}/ReparentSample
1057 %{ruby_ridir}/RulerSample
1058 %{ruby_ridir}/Sample
1059 %{ruby_ridir}/SampleClass
1060 %{ruby_ridir}/SampleDialog
1061 %{ruby_ridir}/SampleWindow
1062 %{ruby_ridir}/SavedPositionSample
1063 %{ruby_ridir}/ScrolledWindowSample
1064 %{ruby_ridir}/ShapeSampleBasic
1065 %{ruby_ridir}/ShapeSampleModeller
1066 %{ruby_ridir}/ShapeSampleRings
1067 %{ruby_ridir}/ShapeSampleSheets
1068 %{ruby_ridir}/ShapesSample
1069 %{ruby_ridir}/SpinButtonSample
1070 %{ruby_ridir}/SrcWindow
1071 %{ruby_ridir}/StatusIconSample
1072 %{ruby_ridir}/StatusbarSample
1073 %{ruby_ridir}/ToggleButtonSample
1074 %{ruby_ridir}/ToolbarSample
1075 %{ruby_ridir}/TooltipsSample
1076 %{ruby_ridir}/VideoApp
1078 %{ruby_ridir}/WMHintsSample
1079 %{ruby_ridir}/WebKitGtk2
1080 %{ruby_ridir}/WebKitGtk2TestUtils
1081 #%{ruby_ridir}/Window
1083 %{ruby_ridir}/cairo-gobject
1084 %{ruby_ridir}/clutter
1085 %{ruby_ridir}/clutter-gstreamer
1086 %{ruby_ridir}/gdk_pixbuf2
1089 %{ruby_ridir}/gobject-introspection
1090 %{ruby_ridir}/gstreamer
1092 %{ruby_ridir}/gtksourceview2
1094 %{ruby_ridir}/poppler
1097 %{ruby_ridir}/webkit-gtk2
1099 %{ruby_ridir}/ClutterGtk
1100 %{ruby_ridir}/ClutterGtkEmbedTest
1101 %{ruby_ridir}/ClutterGtkTestUtils
1102 %{ruby_ridir}/WebKitGtk
1103 %{ruby_ridir}/WebKitGtkTestUtils
1104 %{ruby_ridir}/clutter-gtk
1107 %{ruby_ridir}/gtksourceview3
1111 %{ruby_ridir}/webkit-gtk
1116 %defattr(644,root,root,755)
1117 %{_examplesdir}/%{name}-%{version}