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 Patch0: poppler-0.39.patch
21 URL: http://ruby-gnome2.sourceforge.jp/
22 BuildRequires: atk-devel >= 1:1.12.0
23 BuildRequires: cairo-devel >= 1.10.0
24 BuildRequires: cairo-gobject-devel >= 1.12.10
25 BuildRequires: gdk-pixbuf2-devel >= 2
26 BuildRequires: glib2-devel >= 1:2.16.0
27 BuildRequires: gobject-introspection-devel >= 1.35.4
28 BuildRequires: gstreamer-devel >= 0.10.35
29 BuildRequires: gtk+2-devel >= 2:2.12.0
30 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.2}
31 BuildRequires: gtksourceview2-devel >= 2
32 BuildRequires: librsvg-devel >= 2.8
33 BuildRequires: pango-devel >= 1:1.14.0
34 BuildRequires: pkgconfig
35 BuildRequires: poppler-glib-devel >= 0.12.0
36 BuildRequires: rpm-rubyprov
37 BuildRequires: rpmbuild(macros) >= 1.277
38 BuildRequires: ruby-devel >= 1.9
39 %{?with_gtk3:BuildRequires: ruby-devel >= 1.9.2}
40 BuildRequires: ruby-pkg-config
41 BuildRequires: ruby-rcairo-devel
42 BuildRequires: ruby-rubygems
43 BuildRequires: sed >= 4.0
44 BuildRequires: vte0-devel >= 0.12.1
45 %{?with_vte3:BuildRequires: vte2.90-devel >= 0.32.2}
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 GNOME 2 libraries for Ruby.
51 %description -l pl.UTF-8
52 Biblioteki GNOME 2 dla języka Ruby.
54 %package -n ruby-glib2
55 Summary: Ruby/Glib2 - Ruby binding of GLib 2.x
56 Summary(pl.UTF-8): Ruby/Glib2 - wiązanie języka Ruby do biblioteki GLib 2.x
57 Group: Development/Languages
58 Requires: glib2 >= 1:2.16.0
60 Obsoletes: ruby-gnome2
61 Obsoletes: ruby-goocanvas < 2.2.1
63 %description -n ruby-glib2
64 Ruby/Glib2 is a Ruby binding of GLib 2.x.
66 %description -n ruby-glib2 -l pl.UTF-8
67 Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x.
69 %package -n ruby-glib2-devel
70 Summary: Header files for Ruby/GLib2 library
71 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GLib2
72 Group: Development/Libraries
73 Requires: glib2-devel >= 1:2.16.0
74 Requires: ruby-devel >= 1.9
75 Requires: ruby-glib2 = %{version}-%{release}
76 Obsoletes: ruby-gnome2-devel
77 Obsoletes: ruby-goocanvas-devel < 2.2.1
79 %description -n ruby-glib2-devel
80 Header files for Ruby/GLib2 library.
82 %description -n ruby-glib2-devel -l pl.UTF-8
83 Pliki nagłówkowe biblioteki Ruby/GLib2.
85 %package -n ruby-gobject-introspection
86 Summary: Ruby/GObjectIntrospection - Ruby binding of GObject Introspection
87 Summary(pl.UTF-8): Ruby/GObjectIntrospection - wiązania języka Ruby do biblioteki GObject Introspection
88 Group: Development/Languages
89 Requires: gobject-introspection >= 1.35.4
90 Requires: ruby-glib2 = %{version}-%{release}
92 %description -n ruby-gobject-introspection
93 Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
95 %description -n ruby-gobject-introspection -l pl.UTF-8
96 Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
97 GObject Introspection.
99 %package -n ruby-gobject-introspection-devel
100 Summary: Header files for Ruby/GObjectIntrospection library
101 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection
102 Group: Development/Languages
103 Requires: ruby-glib2-devel = %{version}-%{release}
104 Requires: ruby-gobject-introspection = %{version}-%{release}
106 %description -n ruby-gobject-introspection-devel
107 Header files for Ruby/GObjectIntrospection library.
109 %description -n ruby-gobject-introspection-devel -l pl.UTF-8
110 Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection.
112 %package -n ruby-gio2
113 Summary: Ruby/GIO2 - Ruby binding of GIO 2.x library
114 Summary(pl.UTF-8): Ruby/GIO2 - wiązanie języka Ruby do biblioteki GIO 2.x
115 Group: Development/Languages
116 Requires: glib2 >= 1:2.16.0
117 Requires: ruby-gobject-introspection = %{version}-%{release}
119 %description -n ruby-gio2
120 Ruby/GIO2 is a Ruby binding of GIO 2.x library.
122 %description -n ruby-gio2 -l pl.UTF-8
123 Ruby/GIO2 to wiązanie języka Ruby do biblioteki GIO 2.x.
126 Summary: Ruby/ATK - Ruby binding of ATK
127 Summary(pl.UTF-8): Ruby/ATK - wiązanie języka Ruby do biblioteki ATK
128 Group: Development/Languages
129 Requires: atk >= 1:1.12.0
130 Requires: ruby-glib2 = %{version}-%{release}
132 %description -n ruby-atk
133 Ruby/ATK is a Ruby binding of ATK.
135 %description -n ruby-atk -l pl.UTF-8
136 Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
138 %package -n ruby-atk-devel
139 Summary: Header files for Ruby/ATK library
140 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/ATK
141 Group: Development/Libraries
142 Requires: atk-devel >= 1:1.12.0
143 Requires: ruby-atk = %{version}-%{release}
144 Requires: ruby-glib2-devel = %{version}-%{release}
146 %description -n ruby-atk-devel
147 Header files for Ruby/ATK library.
149 %description -n ruby-atk-devel -l pl.UTF-8
150 Pliki nagłówkowe biblioteki Ruby/ATK.
152 %package -n ruby-cairo-gobject
153 Summary: Ruby/CairoGObject - Ruby binding of cairo-gobject library
154 Summary(pl.UTF-8): Ruby/CairoGObject - wiązania języka Ruby do biblioteki cairo-gobject
155 Group: Development/Languages
156 Requires: cairo-gobject >= 1.12.10
157 Requires: ruby-glib2 = %{version}-%{release}
158 Requires: ruby-rcairo
160 %description -n ruby-cairo-gobject
161 Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
163 %description -n ruby-cairo-gobject -l pl.UTF-8
164 Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
166 %package -n ruby-pango
167 Summary: Ruby/Pango - Ruby binding of pango 1.x
168 Summary(pl.UTF-8): Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x
169 Group: Development/Languages
170 Requires: cairo >= 1.10.0
171 Requires: pango >= 1:1.14.0
172 Requires: ruby-glib2 = %{version}-%{release}
173 Requires: ruby-rcairo
175 %description -n ruby-pango
176 Ruby/Pango is a Ruby binding of pango 1.x.
178 %description -n ruby-pango -l pl.UTF-8
179 Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
181 %package -n ruby-pango-devel
182 Summary: Header files for Ruby/Pango library
183 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Pango
184 Group: Development/Libraries
185 Requires: cairo-devel >= 1.10.0
186 Requires: pango-devel >= 1:1.14.0
187 Requires: ruby-glib2-devel = %{version}-%{release}
188 Requires: ruby-pango = %{version}-%{release}
190 %description -n ruby-pango-devel
191 Header files for Ruby/Pango library.
193 %description -n ruby-pango-devel -l pl.UTF-8
194 Pliki nagłówkowe biblioteki Ruby/Pango.
196 %package -n ruby-gdk_pixbuf2
197 Summary: Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x
198 Summary(pl.UTF-8): Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x
199 Group: Development/Languages
200 Requires: gdk-pixbuf2 >= 2
201 Requires: ruby-glib2 = %{version}-%{release}
203 %description -n ruby-gdk_pixbuf2
204 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
206 %description -n ruby-gdk_pixbuf2 -l pl.UTF-8
207 Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
209 %package -n ruby-gdk_pixbuf2-devel
210 Summary: Header files for Ruby/GdkPixbuf2 library
211 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2
212 Group: Development/Libraries
213 Requires: gdk-pixbuf2-devel >= 2
214 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
215 Requires: ruby-glib2-devel = %{version}-%{release}
217 %description -n ruby-gdk_pixbuf2-devel
218 Header files for Ruby/GdkPixbuf2 library.
220 %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
221 Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
223 %package -n ruby-gtk2
224 Summary: Ruby/GTK2 - Ruby binding of GTK+ 2.x
225 Summary(pl.UTF-8): Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x
226 Group: Development/Languages
227 Requires: gtk+2 >= 2:2.12.0
228 Requires: ruby-atk = %{version}-%{release}
229 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
230 Requires: ruby-glib2 = %{version}-%{release}
231 Requires: ruby-pango = %{version}-%{release}
233 %description -n ruby-gtk2
234 Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
236 %description -n ruby-gtk2 -l pl.UTF-8
237 Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
239 %package -n ruby-gtk2-devel
240 Summary: Header files for Ruby/GTK2 library
241 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK2
242 Group: Development/Libraries
243 Requires: gtk+2-devel >= 2:2.12.0
244 Requires: ruby-atk-devel = %{version}-%{release}
245 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
246 Requires: ruby-glib2-devel = %{version}-%{release}
247 Requires: ruby-gtk2 = %{version}-%{release}
248 Requires: ruby-pango-devel = %{version}-%{release}
250 %description -n ruby-gtk2-devel
251 Header files for Ruby/GTK2 library.
253 %description -n ruby-gtk2-devel -l pl.UTF-8
254 Pliki nagłówkowe biblioteki Ruby/GTK2.
256 %package -n ruby-clutter
257 Summary: Ruby/Clutter - Ruby binding of Clutter library
258 Summary(pl.UTF-8): Ruby/Clutter - wiązanie języka Ruby do biblioteki Clutter
259 Group: Development/Languages
260 Requires: clutter >= 1.16.4
261 Requires: ruby-cairo-gobject = %{version}-%{release}
262 Requires: ruby-gobject-introspection = %{version}-%{release}
264 %description -n ruby-clutter
265 Ruby/Clutter is a Ruby binding of Clutter library.
267 %description -n ruby-clutter -l pl.UTF-8
268 Ruby/Clutter to wiązanie języka Ruby do biblioteki Clutter.
270 %package -n ruby-clutter-gstreamer
271 Summary: Ruby/ClutterGStreamer - Ruby binding of Clutter-GStreamer library
272 Summary(pl.UTF-8): Ruby/ClutterGStreamer - wiązanie języka Ruby do biblioteki Clutter-GStreamer
273 Group: Development/Languages
274 Requires: clutter-gst >= 2.0.10
275 Requires: ruby-clutter = %{version}-%{release}
276 Requires: ruby-gstreamer = %{version}-%{release}
278 %description -n ruby-clutter-gstreamer
279 Ruby/ClutterGStreamer is a Ruby binding of Clutter-GStreamer library.
281 %description -n ruby-clutter-gstreamer -l pl.UTF-8
282 Ruby/ClutterGStreamer to wiązanie języka Ruby do biblioteki
285 %package -n ruby-gstreamer
286 Summary: Ruby/GStreamer - Ruby binding of GStreamer
287 Summary(pl.UTF-8): Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer
288 Group: Development/Languages
289 Requires: gstreamer >= 0.10.35
290 Requires: gstreamer-plugins-base >= 0.10.35
291 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
292 Requires: ruby-glib2 = %{version}-%{release}
293 Requires: ruby-pango = %{version}-%{release}
295 %description -n ruby-gstreamer
296 Ruby/GStreamer is a Ruby binding of GStreamer.
298 %description -n ruby-gstreamer -l pl.UTF-8
299 Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
301 %package -n ruby-gstreamer-devel
302 Summary: Header files for Ruby/GStreamer library
303 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GStreamer
304 Group: Development/Libraries
305 Requires: gstreamer-devel >= 0.10.35
306 Requires: gstreamer-plugins-base-devel >= 0.10.35
307 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
308 Requires: ruby-glib2-devel = %{version}-%{release}
309 Requires: ruby-pango-devel = %{version}-%{release}
311 %description -n ruby-gstreamer-devel
312 Header files for Ruby/GStreamer library.
314 %description -n ruby-gstreamer-devel -l pl.UTF-8
315 Pliki nagłówkowe biblioteki Ruby/GStreamer.
317 %package -n ruby-gtksourceview2
318 Summary: Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x
319 Summary(pl.UTF-8): Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x
320 Group: Development/Languages
321 Requires: gtksourceview2 >= 2.0.0
322 Requires: ruby-gtk2 = %{version}-%{release}
324 %description -n ruby-gtksourceview2
325 Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
327 %description -n ruby-gtksourceview2 -l pl.UTF-8
328 Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
331 %package -n ruby-gtksourceview2-devel
332 Summary: Header files for Ruby/GtkSourceView2 library
333 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView2
334 Group: Development/Libraries
335 Requires: gtksourceview2-devel >= 2.0.0
336 Requires: ruby-gtk2-devel = %{version}-%{release}
337 Requires: ruby-gtksourceview2 = %{version}-%{release}
339 %description -n ruby-gtksourceview2-devel
340 Header files for Ruby/GtkSourceView2 library.
342 %description -n ruby-gtksourceview2-devel -l pl.UTF-8
343 Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
345 %package -n ruby-poppler
346 Summary: Ruby/Poppler - Ruby binding of poppler-glib
347 Summary(pl.UTF-8): Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib
348 Group: Development/Languages
349 Requires: poppler-glib >= 0.12.0
350 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
351 Requires: ruby-glib2 = %{version}-%{release}
352 Requires: ruby-gtk2 = %{version}-%{release}
354 %description -n ruby-poppler
355 Ruby/Poppler is a Ruby binding of poppler-glib.
357 %description -n ruby-poppler -l pl.UTF-8
358 Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
360 %package -n ruby-poppler-devel
361 Summary: Header files for Ruby/Poppler library
362 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Poppler
363 Group: Development/Libraries
364 Requires: poppler-glib-devel >= 0.12.0
365 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
366 Requires: ruby-glib2-devel = %{version}-%{release}
367 Requires: ruby-gtk2-devel = %{version}-%{release}
369 %description -n ruby-poppler-devel
370 Header files for Ruby/Poppler library.
372 %description -n ruby-poppler-devel -l pl.UTF-8
373 Pliki nagłówkowe biblioteki Ruby/Poppler.
375 %package -n ruby-rsvg2
376 Summary: Ruby/RSVG - Ruby binding of librsvg
377 Summary(pl.UTF-8): Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg
378 Group: Development/Languages
379 Requires: librsvg >= 2.8
380 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
381 Requires: ruby-glib2 = %{version}-%{release}
382 Requires: ruby-rcairo
384 %description -n ruby-rsvg2
385 Ruby/RSVG is a Ruby binding of librsvg.
387 %description -n ruby-rsvg2 -l pl.UTF-8
388 Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
390 %package -n ruby-rsvg2-devel
391 Summary: Header files for Ruby/RSVG library
392 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/RSVG
393 Group: Development/Libraries
394 Requires: librsvg-devel >= 2.8
395 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
396 Requires: ruby-glib2-devel = %{version}-%{release}
398 %description -n ruby-rsvg2-devel
399 Header files for Ruby/RSVG library.
401 %description -n ruby-rsvg2-devel -l pl.UTF-8
402 Pliki nagłówkowe biblioteki Ruby/RSVG.
405 Summary: Ruby/VTE - Ruby binding of VTE
406 Summary(pl.UTF-8): Ruby/VTE - wiązanie języka Ruby do biblioteki VTE
407 Group: Development/Languages
408 Requires: ruby-gtk2 = %{version}-%{release}
409 Requires: vte0 >= 0.12.1
411 %description -n ruby-vte
412 Ruby/VTE is a Ruby binding of VTE.
414 %description -n ruby-vte -l pl.UTF-8
415 Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
417 %package -n ruby-vte-devel
418 Summary: Header files for Ruby/VTE library
419 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE
420 Group: Development/Libraries
421 Requires: ruby-gtk2-devel = %{version}-%{release}
422 Requires: ruby-vte = %{version}-%{release}
423 Requires: vte0-devel >= 0.12.1
425 %description -n ruby-vte-devel
426 Header files for Ruby/VTE library.
428 %description -n ruby-vte-devel -l pl.UTF-8
429 Pliki nagłówkowe biblioteki Ruby/VTE.
431 %package -n ruby-webkit-gtk2
432 Summary: Ruby/WebKitGTK2 - Ruby binding of WebKitGTK+ (GTK+ 2.x based) library
433 Summary(pl.UTF-8): Ruby/WebKitGTK2 - wiązanie języka Ruby do biblioteki WebKitGTK+ (dla GTK+ 2.x)
434 Group: Development/Languages
435 Requires: gtk-webkit >= 2.2.3
436 Requires: ruby-gobject-introspection = %{version}-%{release}
437 Requires: ruby-gtk2 = %{version}-%{release}
439 %description -n ruby-webkit-gtk2
440 Ruby/WebKitGTK2 is a Ruby binding of WebKitGTK+ library (based on GTK+
443 %description -n ruby-webkit-gtk2 -l pl.UTF-8
444 Ruby/WebKitGTK2 to wiązanie języka Ruby do biblioteki WebKitGTK+
445 (opartej na GTK+ 2.x).
447 %package -n ruby-gtk3
448 Summary: Ruby/GTK3 - Ruby binding of GTK+ 3.x
449 Summary(pl.UTF-8): Ruby/GTK3 - wiązanie języka Ruby do bibliotek GTK+ 3.x
450 Group: Development/Languages
451 Requires: gtk+3 >= 3.4.2
452 Requires: ruby >= 1.9.2
453 Requires: ruby-atk = %{version}-%{release}
454 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
455 Requires: ruby-glib2 = %{version}-%{release}
456 Requires: ruby-pango = %{version}-%{release}
458 %description -n ruby-gtk3
459 Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
461 %description -n ruby-gtk3 -l pl.UTF-8
462 Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
464 %package -n ruby-gtk3-devel
465 Summary: Header files for Ruby/GTK3 library
466 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK3
467 Group: Development/Libraries
468 Requires: gtk+3-devel >= 3.4.2
469 Requires: ruby-atk-devel = %{version}-%{release}
470 Requires: ruby-devel >= 1.9.2
471 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
472 Requires: ruby-glib2-devel = %{version}-%{release}
473 Requires: ruby-gtk3 = %{version}-%{release}
474 Requires: ruby-pango-devel = %{version}-%{release}
476 %description -n ruby-gtk3-devel
477 Header files for Ruby/GTK3 library.
479 %description -n ruby-gtk3-devel -l pl.UTF-8
480 Pliki nagłówkowe biblioteki Ruby/GTK3.
482 %package -n ruby-clutter-gtk
483 Summary: Ruby/ClutterGTK - Ruby binding of Clutter-GTK library
484 Summary(pl.UTF-8): Ruby/ClutterGTK - wiązanie języka Ruby do biblioteki Clutter-GTK
485 Group: Development/Languages
486 Requires: clutter-gtk >= 1.4.4
487 Requires: ruby-clutter = %{version}-%{release}
488 Requires: ruby-gtk3 = %{version}-%{release}
490 %description -n ruby-clutter-gtk
491 Ruby/ClutterGTK is a Ruby binding of Clutter-GTK library.
493 %description -n ruby-clutter-gtk -l pl.UTF-8
494 Ruby/ClutterGTK to wiązanie języka Ruby do biblioteki Clutter-GTK.
496 %package -n ruby-gtksourceview3
497 Summary: Ruby/GtkSourceView3 - Ruby binding of gtksourceview 3.x
498 Summary(pl.UTF-8): Ruby/GtkSourceView3 - wiązanie języka Ruby do biblioteki gtksourceview 3.x
499 Group: Development/Languages
500 Requires: gtksourceview3 >= 3.4.2
501 Requires: ruby-gtk3 = %{version}-%{release}
503 %description -n ruby-gtksourceview3
504 Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
506 %description -n ruby-gtksourceview3 -l pl.UTF-8
507 Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
510 %package -n ruby-gtksourceview3-devel
511 Summary: Header files for Ruby/GtkSourceView3 library
512 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView3
513 Group: Development/Libraries
514 Requires: gtksourceview3-devel >= 3.4.2
515 Requires: ruby-gtk3-devel = %{version}-%{release}
516 Requires: ruby-gtksourceview3 = %{version}-%{release}
518 %description -n ruby-gtksourceview3-devel
519 Header files for Ruby/GtkSourceView3 library.
521 %description -n ruby-gtksourceview3-devel -l pl.UTF-8
522 Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
524 %package -n ruby-vte3
525 Summary: Ruby/VTE3 - Ruby binding of VTE on GTK+ 3.x
526 Summary(pl.UTF-8): Ruby/VTE3 - wiązanie języka Ruby do biblioteki VTE na GTK+ 3.x
527 Group: Development/Languages
528 Requires: ruby-gtk3 = %{version}-%{release}
529 Requires: vte >= 0.32.2
531 %description -n ruby-vte3
532 Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
534 %description -n ruby-vte3 -l pl.UTF-8
535 Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
538 %package -n ruby-vte3-devel
539 Summary: Header files for Ruby/VTE3 library
540 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE3
541 Group: Development/Libraries
542 Requires: ruby-gtk3-devel = %{version}-%{release}
543 Requires: ruby-vte3 = %{version}-%{release}
544 Requires: vte-devel >= 0.32.2
546 %description -n ruby-vte3-devel
547 Header files for Ruby/VTE3 library.
549 %description -n ruby-vte3-devel -l pl.UTF-8
550 Pliki nagłówkowe biblioteki Ruby/VTE3.
552 %package -n ruby-webkit-gtk
553 Summary: Ruby/WebKitGTK - Ruby binding of WebKitGTK+ (GTK+ 3.x based) library
554 Summary(pl.UTF-8): Ruby/WebKitGTK - wiązanie języka Ruby do biblioteki WebKitGTK+ (dla GTK+ 3.x)
555 Group: Development/Languages
556 Requires: gtk-webkit3 >= 2.2.3
557 Requires: ruby-gobject-introspection = %{version}-%{release}
558 Requires: ruby-gtk3 = %{version}-%{release}
560 %description -n ruby-webkit-gtk
561 Ruby/WebKitGTK is a Ruby binding of WebKitGTK+ library (based on GTK+
564 %description -n ruby-webkit-gtk -l pl.UTF-8
565 Ruby/WebKitGTK to wiązanie języka Ruby do biblioteki WebKitGTK+
566 (opartej na GTK+ 3.x).
569 Summary: Ruby-GNOME2 ri documentation
570 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie ri
575 Ruby-GNOME2 ri documentation.
577 %description doc-ri -l pl.UTF-8
578 Dokumentacja dla Ruby-GNOME2 w formacie ri.
581 Summary: Ruby-GNOME2 HTML documentation
582 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie HTML
585 %description doc-html
586 Ruby-GNOME2 HTML documentation.
588 %description doc-html -l pl.UTF-8
589 Dokumentacja dla Ruby-GNOME2 w formacie HTML.
592 Summary: Ruby-GNOME2 examples
593 Summary(pl.UTF-8): Przykłady do Ruby-GNOME2
594 Group: Development/Libraries
596 %description examples
597 Ruby-GNOME2 examples.
599 %description examples -l pl.UTF-8
600 Przykłady do Ruby-GNOME2.
603 %setup -q -n %{name}-all-%{version}
605 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
607 cp -p glib2/README.md README.glib2.md
608 cp -p glib2/TODO TODO.glib2
609 cp -p gdk3/README.md README.gdk3.md
610 cp -p gtk3/README.md README.gtk3.md
613 # echo */extconf.rb | xargs -l1 dirname
623 gobject-introspection
646 --enable-glib-experimental \
651 exclude="-x \.(so|o|gif|png|jpg|ri|xpm|pdf|gresource)$ -x rdoc -x ri -x test"
653 rdoc -o rdoc $exclude
654 rdoc --ri -o ri $exclude
655 rm ri/{cache.ri,created.rid}
659 rm -rf $RPM_BUILD_ROOT
660 install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir}} \
661 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
664 DESTDIR=$RPM_BUILD_ROOT \
665 RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
666 sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \
667 pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \
668 RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
670 # omitted by make install
671 cp -pr clutter/lib/{clutter,clutter.rb} $RPM_BUILD_ROOT%{ruby_rubylibdir}
672 cp -p clutter-gstreamer/lib/clutter-gst.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
673 cp -p webkit-gtk2/lib/webkit-gtk2.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
675 cp -p clutter-gtk/lib/clutter-gtk.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
676 cp -p webkit-gtk/lib/webkit-gtk.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
679 cp -a clutter/sample \
680 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter
682 cp -a clutter-gstreamer/sample \
683 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter-gstreamer
685 cp -a gdk_pixbuf2/sample \
686 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
689 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
691 cp -a gstreamer/sample \
692 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
695 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
697 cp -a gtksourceview2/sample \
698 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
701 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
703 cp -a poppler/sample \
704 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
707 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
710 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
712 cp -a webkit-gtk2/sample \
713 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/webkit-gtk2
716 cp -a clutter-gtk/sample \
717 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/clutter-gtk
720 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk3
722 %if %{with gtksourceview3}
723 cp -a gtksourceview3/sample \
724 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview3
729 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte3
732 cp -a webkit-gtk/sample \
733 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/webkit-gtk
737 install -d $RPM_BUILD_ROOT%{ruby_ridir}
738 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
739 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Math,Object,REXML,RbConfig,Test*,page-*}
741 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{ClutterGtk*,Goo*,WebKitGtk,WebKitGtkTestUtils,clutter-gtk,gdk3,gtk3,gtksourceview3,webkit-gtk}
744 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/vte3
749 rm -rf $RPM_BUILD_ROOT
752 %defattr(644,root,root,755)
753 %doc AUTHORS NEWS README.md README.glib2.md TODO.glib2
754 %attr(755,root,root) %{ruby_archdir}/glib2.so
755 %{ruby_rubylibdir}/glib-mkenums.rb
756 %{ruby_rubylibdir}/glib2.rb
757 %{ruby_rubylibdir}/gnome2-raketask.rb
758 %dir %{ruby_rubylibdir}/gnome2
759 %{ruby_rubylibdir}/gnome2/rake
760 %{ruby_rubylibdir}/mkmf-gnome2.rb
761 %{ruby_rubylibdir}/glib2
763 %files -n ruby-glib2-devel
764 %defattr(644,root,root,755)
765 %{ruby_archdir}/glib-enum-types.h
766 %{ruby_archdir}/rbgcompat.h
767 %{ruby_archdir}/rbglib.h
768 %{ruby_archdir}/rbglib2conversions.h
769 %{ruby_archdir}/rbglibdeprecated.h
770 %{ruby_archdir}/rbgobject.h
771 %{ruby_archdir}/rbgutil.h
772 %{ruby_archdir}/rbgutil_list.h
773 %{ruby_archdir}/rbgutildeprecated.h
774 %{_pkgconfigdir}/ruby-glib2.pc
776 %files -n ruby-gobject-introspection
777 %defattr(644,root,root,755)
778 %doc gobject-introspection/README.md
779 %attr(755,root,root) %{ruby_archdir}/gobject_introspection.so
780 %{ruby_rubylibdir}/gobject-introspection.rb
781 %{ruby_rubylibdir}/gobject-introspection
783 %files -n ruby-gobject-introspection-devel
784 %defattr(644,root,root,755)
785 %{ruby_archdir}/rb-gobject-introspection.h
786 %{_pkgconfigdir}/ruby-gobject-introspection.pc
789 %defattr(644,root,root,755)
791 %attr(755,root,root) %{ruby_archdir}/gio2.so
792 %{ruby_rubylibdir}/gio2.rb
793 %{ruby_rubylibdir}/gio2
794 %{_pkgconfigdir}/ruby-gio2.pc
797 %defattr(644,root,root,755)
799 %attr(755,root,root) %{ruby_archdir}/atk.so
800 %{ruby_rubylibdir}/atk.rb
802 %files -n ruby-atk-devel
803 %defattr(644,root,root,755)
804 %{ruby_archdir}/rbatk.h
805 %{ruby_archdir}/rbatkversion.h
806 %{_pkgconfigdir}/ruby-atk.pc
808 %files -n ruby-cairo-gobject
809 %defattr(644,root,root,755)
810 %doc cairo-gobject/README.md
811 %attr(755,root,root) %{ruby_archdir}/cairo_gobject.so
812 %{ruby_rubylibdir}/cairo-gobject.rb
815 %defattr(644,root,root,755)
817 %attr(755,root,root) %{ruby_archdir}/pango.so
818 %{ruby_rubylibdir}/pango.rb
820 %files -n ruby-pango-devel
821 %defattr(644,root,root,755)
822 %{ruby_archdir}/rbpango.h
823 %{ruby_archdir}/rbpangoconversions.h
824 %{_pkgconfigdir}/ruby-pango.pc
826 %files -n ruby-gdk_pixbuf2
827 %defattr(644,root,root,755)
828 %doc gdk_pixbuf2/README
829 %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so
830 %{ruby_rubylibdir}/gdk_pixbuf2.rb
832 %files -n ruby-gdk_pixbuf2-devel
833 %defattr(644,root,root,755)
834 %{ruby_archdir}/rbgdk-pixbuf.h
835 %{ruby_archdir}/rbgdk-pixbuf2conversions.h
836 %{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
839 %defattr(644,root,root,755)
841 %attr(755,root,root) %{ruby_archdir}/gtk2.so
842 %{ruby_rubylibdir}/gtk2.rb
843 %{ruby_rubylibdir}/gtk2
845 %files -n ruby-gtk2-devel
846 %defattr(644,root,root,755)
847 %{ruby_archdir}/rbgdk.h
848 %{ruby_archdir}/rbgdkconversions.h
849 %{ruby_archdir}/rbgtk.h
850 %{ruby_archdir}/rbgtkconversions.h
851 %{ruby_archdir}/rbgtkmacros.h
852 %{_pkgconfigdir}/ruby-gtk2.pc
854 %files -n ruby-clutter
855 %defattr(644,root,root,755)
856 %doc clutter/README.md
857 %{ruby_rubylibdir}/clutter.rb
858 %{ruby_rubylibdir}/clutter
860 %files -n ruby-clutter-gstreamer
861 %defattr(644,root,root,755)
862 %doc clutter-gstreamer/README.md
863 %{ruby_rubylibdir}/clutter-gst.rb
865 %files -n ruby-gstreamer
866 %defattr(644,root,root,755)
867 %doc gstreamer/README.md
868 %attr(755,root,root) %{ruby_archdir}/gstreamer.so
869 %{ruby_rubylibdir}/gst.rb
870 %{ruby_rubylibdir}/gst
871 %{ruby_rubylibdir}/gstreamer.rb
873 %files -n ruby-gstreamer-devel
874 %defattr(644,root,root,755)
875 %{_pkgconfigdir}/ruby-gstreamer.pc
877 %files -n ruby-gtksourceview2
878 %defattr(644,root,root,755)
879 %doc gtksourceview2/README
880 %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so
881 %{ruby_rubylibdir}/gtksourceview2.rb
883 %files -n ruby-gtksourceview2-devel
884 %defattr(644,root,root,755)
885 %{_pkgconfigdir}/ruby-gtksourceview2.pc
887 %files -n ruby-poppler
888 %defattr(644,root,root,755)
890 %attr(755,root,root) %{ruby_archdir}/poppler.so
891 %{ruby_rubylibdir}/poppler.rb
893 %files -n ruby-poppler-devel
894 %defattr(644,root,root,755)
895 %{_pkgconfigdir}/ruby-poppler.pc
898 %defattr(644,root,root,755)
900 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
901 %{ruby_rubylibdir}/rsvg2.rb
903 %files -n ruby-rsvg2-devel
904 %defattr(644,root,root,755)
905 %{_pkgconfigdir}/ruby-rsvg2.pc
908 %defattr(644,root,root,755)
910 %attr(755,root,root) %{ruby_archdir}/vte.so
911 %{ruby_rubylibdir}/vte.rb
912 %{ruby_rubylibdir}/vte
914 %files -n ruby-vte-devel
915 %defattr(644,root,root,755)
916 %{_pkgconfigdir}/ruby-vte.pc
918 %files -n ruby-webkit-gtk2
919 %defattr(644,root,root,755)
920 %doc webkit-gtk2/README.md
921 %{ruby_rubylibdir}/webkit-gtk2.rb
925 %defattr(644,root,root,755)
926 %doc README.gdk3.md README.gtk3.md
927 %attr(755,root,root) %{ruby_archdir}/gtk3.so
928 %{ruby_rubylibdir}/gtk3.rb
929 %{ruby_rubylibdir}/gtk3
931 %files -n ruby-gtk3-devel
932 %defattr(644,root,root,755)
933 %{_pkgconfigdir}/ruby-gtk3.pc
935 %files -n ruby-clutter-gtk
936 %defattr(644,root,root,755)
937 %doc clutter-gtk/README.md
938 %{ruby_rubylibdir}/clutter-gtk.rb
940 %if %{with gtksourceview3}
941 %files -n ruby-gtksourceview3
942 %defattr(644,root,root,755)
943 %doc gtksourceview3/README.md
944 %attr(755,root,root) %{ruby_archdir}/gtksourceview3.so
945 %{ruby_rubylibdir}/gtksourceview3.rb
946 %{ruby_rubylibdir}/gtksourceview3
948 %files -n ruby-gtksourceview3-devel
949 %defattr(644,root,root,755)
950 %{_pkgconfigdir}/ruby-gtksourceview3.pc
955 %defattr(644,root,root,755)
957 %attr(755,root,root) %{ruby_archdir}/vte3.so
958 %{ruby_rubylibdir}/vte3.rb
959 %{ruby_rubylibdir}/vte3
961 %files -n ruby-vte3-devel
962 %defattr(644,root,root,755)
963 %{_pkgconfigdir}/ruby-vte3.pc
966 %files -n ruby-webkit-gtk
967 %defattr(644,root,root,755)
968 %doc webkit-gtk/README.md
969 %{ruby_rubylibdir}/webkit-gtk.rb
974 %defattr(644,root,root,755)
978 %defattr(644,root,root,755)
980 %{ruby_ridir}/AlphaDemo
981 %{ruby_ridir}/AssistantRunner
984 %{ruby_ridir}/CairoGObject
986 %{ruby_ridir}/Clutter
987 %{ruby_ridir}/ClutterGst
989 %{ruby_ridir}/DestWindow
990 %{ruby_ridir}/DraggableWidget
993 %{ruby_ridir}/GObjectIntrospection
995 %{ruby_ridir}/Gesture
996 %{ruby_ridir}/GestureProcessor
997 %{ruby_ridir}/GesturedWidget
1001 %{ruby_ridir}/GtkSource
1002 %{ruby_ridir}/Inspector
1003 %{ruby_ridir}/Layout
1004 %{ruby_ridir}/MultiTerm
1005 %{ruby_ridir}/MyButton
1006 %{ruby_ridir}/MyButton2
1007 %{ruby_ridir}/MyGtkPlug
1008 %{ruby_ridir}/MyGtkSocket
1012 %{ruby_ridir}/Poppler
1014 %{ruby_ridir}/SrcWindow
1015 %{ruby_ridir}/StatusIconSample
1016 %{ruby_ridir}/VideoApp
1018 %{ruby_ridir}/WebKitGtk2
1020 %{ruby_ridir}/cairo-gobject
1021 %{ruby_ridir}/clutter
1022 %{ruby_ridir}/clutter-gstreamer
1023 %{ruby_ridir}/gdk_pixbuf2
1026 %{ruby_ridir}/gobject-introspection
1027 %{ruby_ridir}/gstreamer
1029 %{ruby_ridir}/gtksourceview2
1031 %{ruby_ridir}/poppler
1034 %{ruby_ridir}/webkit-gtk2
1036 %{ruby_ridir}/ClutterGtk
1037 %{ruby_ridir}/WebKitGtk
1038 %{ruby_ridir}/clutter-gtk
1041 %{ruby_ridir}/gtksourceview3
1045 %{ruby_ridir}/webkit-gtk
1050 %defattr(644,root,root,755)
1051 %{_examplesdir}/%{name}-%{version}