5 %bcond_without gtk3 # GTK+ 3.x based packages too
7 Summary: GNOME 2 libraries for Ruby
8 Summary(pl.UTF-8): Biblioteki GNOME 2 dla języka Ruby
13 Group: Development/Languages
14 Source0: http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz
15 # Source0-md5: 852a528f8e58ca2729dada994c938be0
16 Patch0: parse-error.patch
17 URL: http://ruby-gnome2.sourceforge.jp/
18 BuildRequires: atk-devel >= 1.0
19 BuildRequires: cairo-devel >= 1.10.0
20 BuildRequires: gdk-pixbuf2-devel >= 2
21 BuildRequires: glib2-devel >= 1:2.16.0
22 BuildRequires: gobject-introspection-devel >= 1.35.4
23 BuildRequires: goocanvas-devel >= 0.8
24 BuildRequires: gstreamer0.10-devel >= 0.10.35
25 BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.35
26 BuildRequires: gtk+2-devel >= 2:2.12.0
27 %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.2}
28 BuildRequires: gtksourceview2-devel >= 2
29 %{?with_gtk3:BuildRequires: gtksourceview3-devel >= 3}
30 BuildRequires: librsvg-devel >= 2.8
31 BuildRequires: pango-devel >= 1:1.0
32 BuildRequires: pkgconfig
33 BuildRequires: poppler-glib-devel >= 0.8.0
34 BuildRequires: rpmbuild(macros) >= 1.277
35 BuildRequires: ruby-devel >= 1.8.5
36 %{?with_gtk3:BuildRequires: ruby-devel >= 1.9.2}
37 BuildRequires: ruby-pkg-config
38 BuildRequires: ruby-rcairo-devel
39 BuildRequires: ruby-rubygems
40 BuildRequires: sed >= 4.0
41 BuildRequires: vte0-devel >= 0.12.1
42 %{?with_gtk3:BuildRequires: vte-devel >= 0.28}
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 GNOME 2 libraries for Ruby.
48 %description -l pl.UTF-8
49 Biblioteki GNOME 2 dla języka Ruby.
51 %package -n ruby-glib2
52 Summary: Ruby/Glib2, Ruby/GIO2 - Ruby bindings of GLib 2.x
53 Summary(pl.UTF-8): Ruby/Glib2, Ruby/GIO2 - wiązania języka Ruby do bibliotek GLib 2.x
54 Group: Development/Languages
55 Requires: glib2 >= 1:2.16.0
56 Requires: ruby >= 1.8.5
57 Obsoletes: ruby-gnome2
59 %description -n ruby-glib2
60 Ruby/Glib2 is a Ruby binding of GLib 2.x. Ruby/GIO2 is a Ruby binding
63 %description -n ruby-glib2 -l pl.UTF-8
64 Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x. Ruby/GIO2
65 to wiązanie języka Ruby do biblioteki gio 2.x.
67 %package -n ruby-glib2-devel
68 Summary: Header files for Ruby/GLib2 and Ruby/GIO2 libraries
69 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2
70 Group: Development/Libraries
71 Requires: glib2-devel >= 1:2.16.0
72 Requires: ruby-devel >= 1.8.5
73 Requires: ruby-glib2 = %{version}-%{release}
74 Obsoletes: ruby-gnome2-devel
76 %description -n ruby-glib2-devel
77 Header files for Ruby/GLib2 and Ruby/GIO2 libraries.
79 %description -n ruby-glib2-devel -l pl.UTF-8
80 Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2.
82 %package -n ruby-gobject-introspection
83 Summary: Ruby/GObjectIntrospection - Ruby binding of GObject Introspection
84 Summary(pl.UTF-8): Ruby/GObjectIntrospection - wiązania języka Ruby do biblioteki GObject Introspection
85 Group: Development/Languages
86 Requires: gobject-introspection >= 1.35.4
87 Requires: ruby-glib2 = %{version}-%{release}
89 %description -n ruby-gobject-introspection
90 Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
92 %description -n ruby-gobject-introspection -l pl.UTF-8
93 Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
94 GObject Introspection.
97 Summary: Ruby/ATK - Ruby binding of ATK
98 Summary(pl.UTF-8): Ruby/ATK - wiązanie języka Ruby do biblioteki ATK
99 Group: Development/Languages
101 Requires: ruby-glib2 = %{version}-%{release}
103 %description -n ruby-atk
104 Ruby/ATK is a Ruby binding of ATK.
106 %description -n ruby-atk -l pl.UTF-8
107 Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
109 %package -n ruby-atk-devel
110 Summary: Header files for Ruby/ATK library
111 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/ATK
112 Group: Development/Libraries
113 Requires: atk-devel >= 1.0
114 Requires: ruby-atk = %{version}-%{release}
115 Requires: ruby-glib2-devel = %{version}-%{release}
117 %description -n ruby-atk-devel
118 Header files for Ruby/ATK library.
120 %description -n ruby-atk-devel -l pl.UTF-8
121 Pliki nagłówkowe biblioteki Ruby/ATK.
123 %package -n ruby-cairo-gobject
124 Summary: Ruby/CairoGObject - Ruby binding of cairo-gobject library
125 Summary(pl.UTF-8): Ruby/CairoGObject - wiązania języka Ruby do biblioteki cairo-gobject
126 Group: Development/Languages
127 Requires: ruby-glib2 = %{version}-%{release}
128 Requires: ruby-rcairo
130 %description -n ruby-cairo-gobject
131 Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
133 %description -n ruby-cairo-gobject -l pl.UTF-8
134 Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
136 %package -n ruby-pango
137 Summary: Ruby/Pango - Ruby binding of pango 1.x
138 Summary(pl.UTF-8): Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x
139 Group: Development/Languages
140 Requires: cairo >= 1.10.0
141 Requires: pango >= 1:1.0
142 Requires: ruby-glib2 = %{version}-%{release}
143 Requires: ruby-rcairo
145 %description -n ruby-pango
146 Ruby/Pango is a Ruby binding of pango 1.x.
148 %description -n ruby-pango -l pl.UTF-8
149 Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
151 %package -n ruby-pango-devel
152 Summary: Header files for Ruby/Pango library
153 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Pango
154 Group: Development/Libraries
155 Requires: cairo-devel >= 1.10.0
156 Requires: pango-devel >= 1.0
157 Requires: ruby-glib2-devel = %{version}-%{release}
158 Requires: ruby-pango = %{version}-%{release}
160 %description -n ruby-pango-devel
161 Header files for Ruby/Pango library.
163 %description -n ruby-pango-devel -l pl.UTF-8
164 Pliki nagłówkowe biblioteki Ruby/Pango.
166 %package -n ruby-gdk_pixbuf2
167 Summary: Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x
168 Summary(pl.UTF-8): Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x
169 Group: Development/Languages
170 Requires: gdk-pixbuf2 >= 2
171 Requires: ruby-glib2 = %{version}-%{release}
173 %description -n ruby-gdk_pixbuf2
174 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
176 %description -n ruby-gdk_pixbuf2 -l pl.UTF-8
177 Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
179 %package -n ruby-gdk_pixbuf2-devel
180 Summary: Header files for Ruby/GdkPixbuf2 library
181 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2
182 Group: Development/Libraries
183 Requires: gdk-pixbuf2-devel >= 2
184 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
185 Requires: ruby-glib2-devel = %{version}-%{release}
187 %description -n ruby-gdk_pixbuf2-devel
188 Header files for Ruby/GdkPixbuf2 library.
190 %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
191 Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
193 %package -n ruby-gtk2
194 Summary: Ruby/GTK2 - Ruby binding of GTK+ 2.x
195 Summary(pl.UTF-8): Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x
196 Group: Development/Languages
197 Requires: gtk+2 >= 2:2.12.0
198 Requires: ruby-atk = %{version}-%{release}
199 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
200 Requires: ruby-glib2 = %{version}-%{release}
201 Requires: ruby-pango = %{version}-%{release}
203 %description -n ruby-gtk2
204 Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
206 %description -n ruby-gtk2 -l pl.UTF-8
207 Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
209 %package -n ruby-gtk2-devel
210 Summary: Header files for Ruby/GTK2 library
211 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK2
212 Group: Development/Libraries
213 Requires: gtk+2-devel >= 2:2.12.0
214 Requires: ruby-atk-devel = %{version}-%{release}
215 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
216 Requires: ruby-glib2-devel = %{version}-%{release}
217 Requires: ruby-gtk2 = %{version}-%{release}
218 Requires: ruby-pango-devel = %{version}-%{release}
220 %description -n ruby-gtk2-devel
221 Header files for Ruby/GTK2 library.
223 %description -n ruby-gtk2-devel -l pl.UTF-8
224 Pliki nagłówkowe biblioteki Ruby/GTK2.
226 %package -n ruby-goocanvas
227 Summary: Ruby/GooCanvas - Ruby binding of GooCanvas
228 Summary(pl.UTF-8): Ruby/GooCanvas - wiązanie języka Ruby do biblioteki GooCanvas
229 Group: Development/Languages
230 Requires: goocanvas >= 0.8
231 Requires: ruby-gtk2 = %{version}-%{release}
232 Requires: ruby-rcairo
234 %description -n ruby-goocanvas
235 Ruby/GooCanvas is a Ruby binding of GooCanvas.
237 %description -n ruby-goocanvas -l pl.UTF-8
238 Ruby/GooCanvas to wiązanie języka Ruby do biblioteki GooCanvas.
240 %package -n ruby-goocanvas-devel
241 Summary: Header files for Ruby/GooCanvas library
242 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GooCanvas
243 Group: Development/Libraries
244 Requires: goocanvas-devel >= 0.8
245 Requires: ruby-gtk2-devel = %{version}-%{release}
246 Requires: ruby-rcairo-devel
248 %description -n ruby-goocanvas-devel
249 Header files for Ruby/GooCanvas library.
251 %description -n ruby-goocanvas-devel -l pl.UTF-8
252 Pliki nagłówkowe biblioteki Ruby/GooCanvas.
254 %package -n ruby-gstreamer
255 Summary: Ruby/GStreamer - Ruby binding of GStreamer
256 Summary(pl.UTF-8): Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer
257 Group: Development/Languages
258 Requires: gstreamer0.10 >= 0.10.35
259 Requires: gstreamer0.10-plugins-base >= 0.10.35
260 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
261 Requires: ruby-glib2 = %{version}-%{release}
262 Requires: ruby-pango = %{version}-%{release}
264 %description -n ruby-gstreamer
265 Ruby/GStreamer is a Ruby binding of GStreamer.
267 %description -n ruby-gstreamer -l pl.UTF-8
268 Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
270 %package -n ruby-gstreamer-devel
271 Summary: Header files for Ruby/GStreamer library
272 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GStreamer
273 Group: Development/Libraries
274 Requires: gstreamer0.10-devel >= 0.10.35
275 Requires: gstreamer0.10-plugins-base-devel >= 0.10.35
276 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
277 Requires: ruby-glib2-devel = %{version}-%{release}
278 Requires: ruby-pango-devel = %{version}-%{release}
280 %description -n ruby-gstreamer-devel
281 Header files for Ruby/GStreamer library.
283 %description -n ruby-gstreamer-devel -l pl.UTF-8
284 Pliki nagłówkowe biblioteki Ruby/GStreamer.
286 %package -n ruby-gtksourceview2
287 Summary: Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x
288 Summary(pl.UTF-8): Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x
289 Group: Development/Languages
290 Requires: gtksourceview2 >= 2.0.0
291 Requires: ruby-gtk2 = %{version}-%{release}
293 %description -n ruby-gtksourceview2
294 Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
296 %description -n ruby-gtksourceview2 -l pl.UTF-8
297 Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
300 %package -n ruby-gtksourceview2-devel
301 Summary: Header files for Ruby/GtkSourceView2 library
302 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView2
303 Group: Development/Libraries
304 Requires: gtksourceview2-devel >= 2.0.0
305 Requires: ruby-gtk2-devel = %{version}-%{release}
306 Requires: ruby-gtksourceview2 = %{version}-%{release}
308 %description -n ruby-gtksourceview2-devel
309 Header files for Ruby/GtkSourceView2 library.
311 %description -n ruby-gtksourceview2-devel -l pl.UTF-8
312 Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
314 %package -n ruby-poppler
315 Summary: Ruby/Poppler - Ruby binding of poppler-glib
316 Summary(pl.UTF-8): Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib
317 Group: Development/Languages
318 Requires: poppler-glib >= 0.8.0
319 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
320 Requires: ruby-glib2 = %{version}-%{release}
321 Requires: ruby-gtk2 = %{version}-%{release}
323 %description -n ruby-poppler
324 Ruby/Poppler is a Ruby binding of poppler-glib.
326 %description -n ruby-poppler -l pl.UTF-8
327 Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
329 %package -n ruby-poppler-devel
330 Summary: Header files for Ruby/Poppler library
331 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Poppler
332 Group: Development/Libraries
333 Requires: poppler-glib-devel >= 0.8.0
334 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
335 Requires: ruby-glib2-devel = %{version}-%{release}
336 Requires: ruby-gtk2-devel = %{version}-%{release}
338 %description -n ruby-poppler-devel
339 Header files for Ruby/Poppler library.
341 %description -n ruby-poppler-devel -l pl.UTF-8
342 Pliki nagłówkowe biblioteki Ruby/Poppler.
344 %package -n ruby-rsvg2
345 Summary: Ruby/RSVG - Ruby binding of librsvg
346 Summary(pl.UTF-8): Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg
347 Group: Development/Languages
348 Requires: librsvg >= 2.8
349 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
350 Requires: ruby-glib2 = %{version}-%{release}
351 Requires: ruby-rcairo
353 %description -n ruby-rsvg2
354 Ruby/RSVG is a Ruby binding of librsvg.
356 %description -n ruby-rsvg2 -l pl.UTF-8
357 Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
359 %package -n ruby-rsvg2-devel
360 Summary: Header files for Ruby/RSVG library
361 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/RSVG
362 Group: Development/Libraries
363 Requires: librsvg-devel >= 2.8
364 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
365 Requires: ruby-glib2-devel = %{version}-%{release}
367 %description -n ruby-rsvg2-devel
368 Header files for Ruby/RSVG library.
370 %description -n ruby-rsvg2-devel -l pl.UTF-8
371 Pliki nagłówkowe biblioteki Ruby/RSVG.
374 Summary: Ruby/VTE - Ruby binding of VTE
375 Summary(pl.UTF-8): Ruby/VTE - wiązanie języka Ruby do biblioteki VTE
376 Group: Development/Languages
377 Requires: ruby-gtk2 = %{version}-%{release}
378 Requires: vte0 >= 0.12.1
380 %description -n ruby-vte
381 Ruby/VTE is a Ruby binding of VTE.
383 %description -n ruby-vte -l pl.UTF-8
384 Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
386 %package -n ruby-vte-devel
387 Summary: Header files for Ruby/VTE library
388 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE
389 Group: Development/Libraries
390 Requires: ruby-gtk2-devel = %{version}-%{release}
391 Requires: ruby-vte = %{version}-%{release}
392 Requires: vte0-devel >= 0.12.1
394 %description -n ruby-vte-devel
395 Header files for Ruby/VTE library.
397 %description -n ruby-vte-devel -l pl.UTF-8
398 Pliki nagłówkowe biblioteki Ruby/VTE.
400 %package -n ruby-gtk3
401 Summary: Ruby/GTK3 - Ruby binding of GTK+ 3.x
402 Summary(pl.UTF-8): Ruby/GTK3 - wiązanie języka Ruby do bibliotek GTK+ 3.x
403 Group: Development/Languages
404 Requires: gtk+3 >= 3.4.2
405 Requires: ruby >= 1.9.2
406 Requires: ruby-atk = %{version}-%{release}
407 Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
408 Requires: ruby-glib2 = %{version}-%{release}
409 Requires: ruby-pango = %{version}-%{release}
411 %description -n ruby-gtk3
412 Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
414 %description -n ruby-gtk3 -l pl.UTF-8
415 Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
417 %package -n ruby-gtk3-devel
418 Summary: Header files for Ruby/GTK3 library
419 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK3
420 Group: Development/Libraries
421 Requires: gtk+3-devel >= 3.4.2
422 Requires: ruby-atk-devel = %{version}-%{release}
423 Requires: ruby-devel >= 1.9.2
424 Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
425 Requires: ruby-glib2-devel = %{version}-%{release}
426 Requires: ruby-gtk3 = %{version}-%{release}
427 Requires: ruby-pango-devel = %{version}-%{release}
429 %description -n ruby-gtk3-devel
430 Header files for Ruby/GTK3 library.
432 %description -n ruby-gtk3-devel -l pl.UTF-8
433 Pliki nagłówkowe biblioteki Ruby/GTK3.
435 %package -n ruby-gtksourceview3
436 Summary: Ruby/GtkSourceView3 - Ruby binding of gtksourceview 3.x
437 Summary(pl.UTF-8): Ruby/GtkSourceView3 - wiązanie języka Ruby do biblioteki gtksourceview 3.x
438 Group: Development/Languages
439 Requires: gtksourceview3 >= 3
440 Requires: ruby-gtk3 = %{version}-%{release}
442 %description -n ruby-gtksourceview3
443 Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
445 %description -n ruby-gtksourceview3 -l pl.UTF-8
446 Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
449 %package -n ruby-gtksourceview3-devel
450 Summary: Header files for Ruby/GtkSourceView3 library
451 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView3
452 Group: Development/Libraries
453 Requires: gtksourceview3-devel >= 3
454 Requires: ruby-gtk3-devel = %{version}-%{release}
455 Requires: ruby-gtksourceview3 = %{version}-%{release}
457 %description -n ruby-gtksourceview3-devel
458 Header files for Ruby/GtkSourceView3 library.
460 %description -n ruby-gtksourceview3-devel -l pl.UTF-8
461 Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
463 %package -n ruby-vte3
464 Summary: Ruby/VTE3 - Ruby binding of VTE on GTK+ 3.x
465 Summary(pl.UTF-8): Ruby/VTE3 - wiązanie języka Ruby do biblioteki VTE na GTK+ 3.x
466 Group: Development/Languages
467 Requires: ruby-gtk3 = %{version}-%{release}
468 Requires: vte >= 0.28
470 %description -n ruby-vte3
471 Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
473 %description -n ruby-vte3 -l pl.UTF-8
474 Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
477 %package -n ruby-vte3-devel
478 Summary: Header files for Ruby/VTE3 library
479 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE3
480 Group: Development/Libraries
481 Requires: ruby-gtk3-devel = %{version}-%{release}
482 Requires: ruby-vte3 = %{version}-%{release}
483 Requires: vte-devel >= 0.28
485 %description -n ruby-vte3-devel
486 Header files for Ruby/VTE3 library.
488 %description -n ruby-vte3-devel -l pl.UTF-8
489 Pliki nagłówkowe biblioteki Ruby/VTE3.
492 Summary: Ruby-GNOME2 ri documentation
493 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie ri
498 Ruby-GNOME2 ri documentation.
500 %description doc-ri -l pl.UTF-8
501 Dokumentacja dla Ruby-GNOME2 w formacie ri.
504 Summary: Ruby-GNOME2 HTML documentation
505 Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie HTML
508 %description doc-html
509 Ruby-GNOME2 HTML documentation.
511 %description doc-html -l pl.UTF-8
512 Dokumentacja dla Ruby-GNOME2 w formacie HTML.
515 Summary: Ruby-GNOME2 examples
516 Summary(pl.UTF-8): Przykłady do Ruby-GNOME2
517 Group: Development/Libraries
519 %description examples
520 Ruby-GNOME2 examples.
522 %description examples -l pl.UTF-8
523 Przykłady do Ruby-GNOME2.
526 %setup -q -n %{name}-all-%{version}
527 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
530 cp -p glib2/README README.glib2
531 cp -p glib2/TODO TODO.glib2
532 cp -p gio2/README README.gio2
533 cp -p gio2/TODO TODO.gio2
534 cp -p gdk3/README.md README.gdk3.md
535 cp -p gtk3/README.md README.gtk3.md
538 # echo */extconf.rb | xargs -l1 dirname
546 gobject-introspection
565 --enable-glib-experimental \
573 rm -rf $RPM_BUILD_ROOT
574 install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir},%{ruby_ridir}} \
575 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
578 DESTDIR=$RPM_BUILD_ROOT \
579 RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
580 sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \
581 pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \
582 RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
584 cp -a gdk_pixbuf2/sample \
585 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
588 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
590 cp -a goocanvas/sample \
591 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/goocanvas
593 cp -a gstreamer/sample \
594 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
597 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
599 cp -a gtksourceview2/sample \
600 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
603 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
605 cp -a poppler/sample \
606 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
609 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
612 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
614 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
615 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Object,RbConfig,TC_*,Test*,page-*,rdoc,ri}
617 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{gdk3,gtk3,gtksourceview3,vte3}
619 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/{cache.ri,created.rid}
622 rm -rf $RPM_BUILD_ROOT
625 %defattr(644,root,root,755)
626 %doc AUTHORS NEWS README README.glib2 TODO.glib2 README.gio2 TODO.gio2
627 %attr(755,root,root) %{ruby_archdir}/gio2.so
628 %attr(755,root,root) %{ruby_archdir}/glib2.so
629 %{ruby_rubylibdir}/gio2.rb
630 %{ruby_rubylibdir}/glib-mkenums.rb
631 %{ruby_rubylibdir}/glib2.rb
632 %{ruby_rubylibdir}/gnome2-raketask.rb
633 # these files are expected to exist not only on Win32
634 %{ruby_rubylibdir}/gnome2-win32-binary-build-task.rb
635 %{ruby_rubylibdir}/gnome2-win32-binary-download-task.rb
636 %{ruby_rubylibdir}/mkmf-gnome2.rb
637 %{ruby_rubylibdir}/gio2
638 %{ruby_rubylibdir}/glib2
640 %files -n ruby-glib2-devel
641 %defattr(644,root,root,755)
642 %{ruby_archdir}/glib-enum-types.h
643 %{ruby_archdir}/rbgcompat.h
644 %{ruby_archdir}/rbgio2.h
645 %{ruby_archdir}/rbgio2conversions.h
646 %{ruby_archdir}/rbglib.h
647 %{ruby_archdir}/rbglib2conversions.h
648 %{ruby_archdir}/rbglibdeprecated.h
649 %{ruby_archdir}/rbgobject.h
650 %{ruby_archdir}/rbgutil.h
651 %{ruby_archdir}/rbgutil_list.h
652 %{ruby_archdir}/rbgutildeprecated.h
653 %{_pkgconfigdir}/ruby-gio2.pc
654 %{_pkgconfigdir}/ruby-glib2.pc
656 %files -n ruby-gobject-introspection
657 %defattr(644,root,root,755)
658 %doc gobject-introspection/README.md
659 %attr(755,root,root) %{ruby_archdir}/gobject_introspection.so
660 %{ruby_rubylibdir}/gobject-introspection.rb
661 %{ruby_rubylibdir}/gobject-introspection
664 %defattr(644,root,root,755)
666 %attr(755,root,root) %{ruby_archdir}/atk.so
667 %{ruby_rubylibdir}/atk.rb
669 %files -n ruby-atk-devel
670 %defattr(644,root,root,755)
671 %{ruby_archdir}/rbatk.h
672 %{ruby_archdir}/rbatkversion.h
673 %{_pkgconfigdir}/ruby-atk.pc
675 %files -n ruby-cairo-gobject
676 %defattr(644,root,root,755)
677 %doc cairo-gobject/README.md
678 %attr(755,root,root) %{ruby_archdir}/cairo_gobject.so
679 %{ruby_rubylibdir}/cairo-gobject.rb
682 %defattr(644,root,root,755)
684 %attr(755,root,root) %{ruby_archdir}/pango.so
685 %{ruby_rubylibdir}/pango.rb
687 %files -n ruby-pango-devel
688 %defattr(644,root,root,755)
689 %{ruby_archdir}/rbpango.h
690 %{ruby_archdir}/rbpangoconversions.h
691 %{ruby_archdir}/rbpangoversion.h
692 %{_pkgconfigdir}/ruby-pango.pc
694 %files -n ruby-gdk_pixbuf2
695 %defattr(644,root,root,755)
696 %doc gdk_pixbuf2/README
697 %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so
698 %{ruby_rubylibdir}/gdk_pixbuf2.rb
700 %files -n ruby-gdk_pixbuf2-devel
701 %defattr(644,root,root,755)
702 %{ruby_archdir}/rbgdk-pixbuf.h
703 %{ruby_archdir}/rbgdk-pixbuf2conversions.h
704 %{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
707 %defattr(644,root,root,755)
709 %attr(755,root,root) %{ruby_archdir}/gtk2.so
710 %{ruby_rubylibdir}/gtk2.rb
711 %{ruby_rubylibdir}/gtk2
713 %files -n ruby-gtk2-devel
714 %defattr(644,root,root,755)
715 %{ruby_archdir}/rbgdk.h
716 %{ruby_archdir}/rbgdkconversions.h
717 %{ruby_archdir}/rbgtk.h
718 %{ruby_archdir}/rbgtkconversions.h
719 %{ruby_archdir}/rbgtkmacros.h
720 %{_pkgconfigdir}/ruby-gtk2.pc
722 %files -n ruby-goocanvas
723 %defattr(644,root,root,755)
724 %doc goocanvas/README
725 %attr(755,root,root) %{ruby_archdir}/goocanvas.so
726 %{ruby_rubylibdir}/goocanvas.rb
728 %files -n ruby-goocanvas-devel
729 %defattr(644,root,root,755)
730 %{_pkgconfigdir}/ruby-goocanvas.pc
732 %files -n ruby-gstreamer
733 %defattr(644,root,root,755)
734 %doc gstreamer/README
735 %attr(755,root,root) %{ruby_archdir}/gstreamer.so
736 %{ruby_rubylibdir}/gst.rb
738 %files -n ruby-gstreamer-devel
739 %defattr(644,root,root,755)
740 %{_pkgconfigdir}/ruby-gstreamer.pc
742 %files -n ruby-gtksourceview2
743 %defattr(644,root,root,755)
744 %doc gtksourceview2/README
745 %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so
746 %{ruby_rubylibdir}/gtksourceview2.rb
748 %files -n ruby-gtksourceview2-devel
749 %defattr(644,root,root,755)
750 %{_pkgconfigdir}/ruby-gtksourceview2.pc
752 %files -n ruby-poppler
753 %defattr(644,root,root,755)
755 %attr(755,root,root) %{ruby_archdir}/poppler.so
756 %{ruby_rubylibdir}/poppler.rb
758 %files -n ruby-poppler-devel
759 %defattr(644,root,root,755)
760 %{_pkgconfigdir}/ruby-poppler.pc
763 %defattr(644,root,root,755)
765 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
766 %{ruby_rubylibdir}/rsvg2.rb
768 %files -n ruby-rsvg2-devel
769 %defattr(644,root,root,755)
770 %{_pkgconfigdir}/ruby-rsvg2.pc
773 %defattr(644,root,root,755)
775 %attr(755,root,root) %{ruby_archdir}/vte.so
776 %{ruby_rubylibdir}/vte.rb
777 %{ruby_rubylibdir}/vte
779 %files -n ruby-vte-devel
780 %defattr(644,root,root,755)
781 %{_pkgconfigdir}/ruby-vte.pc
785 %defattr(644,root,root,755)
786 %doc README.gdk3.md README.gtk3.md
787 %attr(755,root,root) %{ruby_archdir}/gdk3.so
788 %attr(755,root,root) %{ruby_archdir}/gtk3.so
789 %{ruby_rubylibdir}/gdk3.rb
790 %{ruby_rubylibdir}/gdk3
791 %{ruby_rubylibdir}/gtk3.rb
792 %{ruby_rubylibdir}/gtk3
794 %files -n ruby-gtk3-devel
795 %defattr(644,root,root,755)
796 %{ruby_archdir}/rbgdk3.h
797 %{ruby_archdir}/rbgdk3conversions.h
798 %{ruby_archdir}/rbgtk3.h
799 %{ruby_archdir}/rbgtk3conversions.h
800 %{_pkgconfigdir}/ruby-gdk3.pc
801 %{_pkgconfigdir}/ruby-gtk3.pc
803 %files -n ruby-gtksourceview3
804 %defattr(644,root,root,755)
805 %doc gtksourceview3/README
806 %attr(755,root,root) %{ruby_archdir}/gtksourceview3.so
807 %{ruby_rubylibdir}/gtksourceview3.rb
808 %{ruby_rubylibdir}/gtksourceview3
810 %files -n ruby-gtksourceview3-devel
811 %defattr(644,root,root,755)
812 %{_pkgconfigdir}/ruby-gtksourceview3.pc
815 %defattr(644,root,root,755)
817 %attr(755,root,root) %{ruby_archdir}/vte3.so
818 %{ruby_rubylibdir}/vte3.rb
819 %{ruby_rubylibdir}/vte3
821 %files -n ruby-vte3-devel
822 %defattr(644,root,root,755)
823 %{_pkgconfigdir}/ruby-vte3.pc
827 %defattr(644,root,root,755)
831 %defattr(644,root,root,755)
833 %{ruby_ridir}/AlphaDemo
834 %{ruby_ridir}/AssistantRunner
836 %{ruby_ridir}/ButtonBoxSample
837 %{ruby_ridir}/ButtonSample
839 %{ruby_ridir}/CairoGObject
840 %{ruby_ridir}/CairoGObjectTestUtils
842 %{ruby_ridir}/CanvasSampleArrowhead
843 %{ruby_ridir}/CanvasSampleFifteen
844 %{ruby_ridir}/CanvasSamplePrimitives
845 %{ruby_ridir}/CheckButtonSample
846 %{ruby_ridir}/ColorSelectionSample
848 %{ruby_ridir}/DestWindow
849 %{ruby_ridir}/DialogSample
850 %{ruby_ridir}/DraggableWidget
851 %{ruby_ridir}/EntrySample
852 %{ruby_ridir}/FileChooserSample
853 %{ruby_ridir}/FileSelectionSample
854 %{ruby_ridir}/FontSelectionSample
856 %{ruby_ridir}/GLibTestUtils
857 %{ruby_ridir}/GNOME2Package
858 %{ruby_ridir}/GNOME2Win32BinaryBuildTask
859 %{ruby_ridir}/GNOME2Win32BinaryDownloadTask
860 %{ruby_ridir}/GObjectIntrospection
861 %{ruby_ridir}/GObjectIntrospectionTestUtils
862 %{ruby_ridir}/GammaCurveSample
865 %{ruby_ridir}/Gesture
866 %{ruby_ridir}/GestureProcessor
867 %{ruby_ridir}/GesturedWidget
870 %{ruby_ridir}/GooCanvasSample
872 %{ruby_ridir}/GstTestUtils
874 %{ruby_ridir}/GtkSource
875 %{ruby_ridir}/GtkTestUtils
876 %{ruby_ridir}/Inspector
877 %{ruby_ridir}/LabelSample
879 %{ruby_ridir}/LayoutSample
880 %{ruby_ridir}/MediaInfo
881 %{ruby_ridir}/MediaInfoStream
882 %{ruby_ridir}/MediaInfoTrack
883 %{ruby_ridir}/MenuSample
884 %{ruby_ridir}/MultiTerm
885 %{ruby_ridir}/MyButton
886 %{ruby_ridir}/MyButton2
887 %{ruby_ridir}/MyGtkPlug
888 %{ruby_ridir}/MyGtkSocket
889 %{ruby_ridir}/NotebookSample
892 %{ruby_ridir}/PangoTestUtils
893 %{ruby_ridir}/PixmapSample
895 %{ruby_ridir}/Poppler
896 %{ruby_ridir}/PopplerTestUtils
898 %{ruby_ridir}/ProgressBarSample
900 %{ruby_ridir}/RadioButtonSample
901 %{ruby_ridir}/RangeSample
902 %{ruby_ridir}/ReparentSample
903 %{ruby_ridir}/RulerSample
905 %{ruby_ridir}/SampleClass
906 %{ruby_ridir}/SampleDialog
907 %{ruby_ridir}/SampleWindow
908 %{ruby_ridir}/SavedPositionSample
909 %{ruby_ridir}/ScrolledWindowSample
910 %{ruby_ridir}/ShapeSampleBasic
911 %{ruby_ridir}/ShapeSampleModeller
912 %{ruby_ridir}/ShapeSampleRings
913 %{ruby_ridir}/ShapeSampleSheets
914 %{ruby_ridir}/ShapesSample
915 %{ruby_ridir}/SpinButtonSample
916 %{ruby_ridir}/SrcWindow
917 %{ruby_ridir}/StatusIconSample
918 %{ruby_ridir}/StatusbarSample
919 %{ruby_ridir}/ToggleButtonSample
920 %{ruby_ridir}/ToolbarSample
921 %{ruby_ridir}/TooltipsSample
923 %{ruby_ridir}/WMHintsSample
926 %{ruby_ridir}/cairo-gobject
927 %{ruby_ridir}/gdk_pixbuf2
930 %{ruby_ridir}/gobject-introspection
931 %{ruby_ridir}/goocanvas
932 %{ruby_ridir}/gstreamer
934 %{ruby_ridir}/gtksourceview2
936 %{ruby_ridir}/poppler
942 %{ruby_ridir}/gtksourceview3
947 %defattr(644,root,root,755)
948 %{_examplesdir}/%{name}-%{version}