]> git.pld-linux.org Git - packages/ruby-gnome2.git/blob - ruby-gnome2.spec
- updated to 1.2.6
[packages/ruby-gnome2.git] / ruby-gnome2.spec
1 # TODO
2 # - update to 2.2.0
3 #
4 # Conditional build:
5 %bcond_without  gtk3            # GTK+ 3.x based packages too
6
7 Summary:        GNOME 2 libraries for Ruby
8 Summary(pl.UTF-8):      Biblioteki GNOME 2 dla języka Ruby
9 Name:           ruby-gnome2
10 Version:        1.2.6
11 Release:        1
12 License:        LGPL v2.1
13 Group:          Development/Languages
14 Source0:        http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz
15 # Source0-md5:  5ed08cab5ba94bc1f5f1478f2740279a
16 URL:            http://ruby-gnome2.sourceforge.jp/
17 BuildRequires:  atk-devel >= 1.0
18 BuildRequires:  cairo-devel >= 1.10.0
19 BuildRequires:  cairo-gobject-devel >= 1.12.10
20 #BuildRequires: clutter-devel >= 1.12.0
21 #%{?with_gtk3:BuildRequires:    clutter-gtk-devel >= 1.2.0}
22 BuildRequires:  gdk-pixbuf2-devel >= 2
23 BuildRequires:  glib2-devel >= 1:2.16.0
24 BuildRequires:  gobject-introspection-devel >= 1.35.4
25 BuildRequires:  goocanvas-devel >= 0.8
26 BuildRequires:  gstreamer0.10-devel >= 0.10.35
27 BuildRequires:  gstreamer0.10-plugins-base-devel >= 0.10.35
28 BuildRequires:  gtk+2-devel >= 2:2.12.0
29 %{?with_gtk3:BuildRequires:     gtk+3-devel >= 3.4.2}
30 BuildRequires:  gtksourceview2-devel >= 2
31 %{?with_gtk3:BuildRequires:     gtksourceview3-devel >= 3.4.2}
32 BuildRequires:  librsvg-devel >= 2.8
33 BuildRequires:  pango-devel >= 1:1.0
34 BuildRequires:  pkgconfig
35 BuildRequires:  poppler-glib-devel >= 0.8.0
36 BuildRequires:  rpmbuild(macros) >= 1.277
37 BuildRequires:  ruby-devel >= 1.8.5
38 %{?with_gtk3:BuildRequires:     ruby-devel >= 1.9.2}
39 BuildRequires:  ruby-pkg-config
40 BuildRequires:  ruby-rcairo-devel
41 BuildRequires:  ruby-rubygems
42 BuildRequires:  sed >= 4.0
43 BuildRequires:  vte0-devel >= 0.12.1
44 %{?with_gtk3:BuildRequires:     vte-devel >= 0.32.2}
45 #BuildRequires: gtk-webkit-devel >= 1.8.1
46 #%{?with_gtk3:BuildRequires:    gtk-webkit3-devel >= 1.8.1}
47 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
49 %description
50 GNOME 2 libraries for Ruby.
51
52 %description -l pl.UTF-8
53 Biblioteki GNOME 2 dla języka Ruby.
54
55 %package -n ruby-glib2
56 Summary:        Ruby/Glib2, Ruby/GIO2 - Ruby bindings of GLib 2.x
57 Summary(pl.UTF-8):      Ruby/Glib2, Ruby/GIO2 - wiązania języka Ruby do bibliotek GLib 2.x
58 Group:          Development/Languages
59 Requires:       glib2 >= 1:2.16.0
60 Requires:       ruby >= 1.8.5
61 Obsoletes:      ruby-gnome2
62
63 %description -n ruby-glib2
64 Ruby/Glib2 is a Ruby binding of GLib 2.x. Ruby/GIO2 is a Ruby binding
65 of gio 2.x.
66
67 %description -n ruby-glib2 -l pl.UTF-8
68 Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x. Ruby/GIO2
69 to wiązanie języka Ruby do biblioteki gio 2.x.
70
71 %package -n ruby-glib2-devel
72 Summary:        Header files for Ruby/GLib2 and Ruby/GIO2 libraries
73 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2
74 Group:          Development/Libraries
75 Requires:       glib2-devel >= 1:2.16.0
76 Requires:       ruby-devel >= 1.8.5
77 Requires:       ruby-glib2 = %{version}-%{release}
78 Obsoletes:      ruby-gnome2-devel
79
80 %description -n ruby-glib2-devel
81 Header files for Ruby/GLib2 and Ruby/GIO2 libraries.
82
83 %description -n ruby-glib2-devel -l pl.UTF-8
84 Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2.
85
86 %package -n ruby-gobject-introspection
87 Summary:        Ruby/GObjectIntrospection - Ruby binding of GObject Introspection
88 Summary(pl.UTF-8):      Ruby/GObjectIntrospection - wiązania języka Ruby do biblioteki GObject Introspection
89 Group:          Development/Languages
90 Requires:       gobject-introspection >= 1.35.4
91 Requires:       ruby-glib2 = %{version}-%{release}
92
93 %description -n ruby-gobject-introspection
94 Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
95
96 %description -n ruby-gobject-introspection -l pl.UTF-8
97 Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
98 GObject Introspection.
99
100 %package -n ruby-gobject-introspection-devel
101 Summary:        Header files for Ruby/GObjectIntrospection library
102 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection
103 Group:          Development/Languages
104 Requires:       ruby-glib2-devel = %{version}-%{release}
105 Requires:       ruby-gobject-introspection = %{version}-%{release}
106
107 %description -n ruby-gobject-introspection-devel
108 Header files for Ruby/GObjectIntrospection library.
109
110 %description -n ruby-gobject-introspection-devel -l pl.UTF-8
111 Pliki nagłówkowe biblioteki Ruby/GObjectIntrospection.
112
113 %package -n ruby-atk
114 Summary:        Ruby/ATK - Ruby binding of ATK
115 Summary(pl.UTF-8):      Ruby/ATK - wiązanie języka Ruby do biblioteki ATK
116 Group:          Development/Languages
117 Requires:       atk >= 1.0
118 Requires:       ruby-glib2 = %{version}-%{release}
119
120 %description -n ruby-atk
121 Ruby/ATK is a Ruby binding of ATK.
122
123 %description -n ruby-atk -l pl.UTF-8
124 Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
125
126 %package -n ruby-atk-devel
127 Summary:        Header files for Ruby/ATK library
128 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/ATK
129 Group:          Development/Libraries
130 Requires:       atk-devel >= 1.0
131 Requires:       ruby-atk = %{version}-%{release}
132 Requires:       ruby-glib2-devel = %{version}-%{release}
133
134 %description -n ruby-atk-devel
135 Header files for Ruby/ATK library.
136
137 %description -n ruby-atk-devel -l pl.UTF-8
138 Pliki nagłówkowe biblioteki Ruby/ATK.
139
140 %package -n ruby-cairo-gobject
141 Summary:        Ruby/CairoGObject - Ruby binding of cairo-gobject library
142 Summary(pl.UTF-8):      Ruby/CairoGObject - wiązania języka Ruby do biblioteki cairo-gobject
143 Group:          Development/Languages
144 Requires:       cairo-gobject >= 1.12.10
145 Requires:       ruby-glib2 = %{version}-%{release}
146 Requires:       ruby-rcairo
147
148 %description -n ruby-cairo-gobject
149 Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
150
151 %description -n ruby-cairo-gobject -l pl.UTF-8
152 Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
153
154 %package -n ruby-pango
155 Summary:        Ruby/Pango - Ruby binding of pango 1.x
156 Summary(pl.UTF-8):      Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x
157 Group:          Development/Languages
158 Requires:       cairo >= 1.10.0
159 Requires:       pango >= 1:1.0
160 Requires:       ruby-glib2 = %{version}-%{release}
161 Requires:       ruby-rcairo
162
163 %description -n ruby-pango
164 Ruby/Pango is a Ruby binding of pango 1.x.
165
166 %description -n ruby-pango -l pl.UTF-8
167 Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
168
169 %package -n ruby-pango-devel
170 Summary:        Header files for Ruby/Pango library
171 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/Pango
172 Group:          Development/Libraries
173 Requires:       cairo-devel >= 1.10.0
174 Requires:       pango-devel >= 1.0
175 Requires:       ruby-glib2-devel = %{version}-%{release}
176 Requires:       ruby-pango = %{version}-%{release}
177
178 %description -n ruby-pango-devel
179 Header files for Ruby/Pango library.
180
181 %description -n ruby-pango-devel -l pl.UTF-8
182 Pliki nagłówkowe biblioteki Ruby/Pango.
183
184 %package -n ruby-gdk_pixbuf2
185 Summary:        Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x
186 Summary(pl.UTF-8):      Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x
187 Group:          Development/Languages
188 Requires:       gdk-pixbuf2 >= 2
189 Requires:       ruby-glib2 = %{version}-%{release}
190
191 %description -n ruby-gdk_pixbuf2
192 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
193
194 %description -n ruby-gdk_pixbuf2 -l pl.UTF-8
195 Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
196
197 %package -n ruby-gdk_pixbuf2-devel
198 Summary:        Header files for Ruby/GdkPixbuf2 library
199 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2
200 Group:          Development/Libraries
201 Requires:       gdk-pixbuf2-devel >= 2
202 Requires:       ruby-gdk_pixbuf2 = %{version}-%{release}
203 Requires:       ruby-glib2-devel = %{version}-%{release}
204
205 %description -n ruby-gdk_pixbuf2-devel
206 Header files for Ruby/GdkPixbuf2 library.
207
208 %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
209 Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
210
211 %package -n ruby-gtk2
212 Summary:        Ruby/GTK2 - Ruby binding of GTK+ 2.x
213 Summary(pl.UTF-8):      Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x
214 Group:          Development/Languages
215 Requires:       gtk+2 >= 2:2.12.0
216 Requires:       ruby-atk = %{version}-%{release}
217 Requires:       ruby-gdk_pixbuf2 = %{version}-%{release}
218 Requires:       ruby-glib2 = %{version}-%{release}
219 Requires:       ruby-pango = %{version}-%{release}
220
221 %description -n ruby-gtk2
222 Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
223
224 %description -n ruby-gtk2 -l pl.UTF-8
225 Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
226
227 %package -n ruby-gtk2-devel
228 Summary:        Header files for Ruby/GTK2 library
229 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GTK2
230 Group:          Development/Libraries
231 Requires:       gtk+2-devel >= 2:2.12.0
232 Requires:       ruby-atk-devel = %{version}-%{release}
233 Requires:       ruby-gdk_pixbuf2-devel = %{version}-%{release}
234 Requires:       ruby-glib2-devel = %{version}-%{release}
235 Requires:       ruby-gtk2 = %{version}-%{release}
236 Requires:       ruby-pango-devel = %{version}-%{release}
237
238 %description -n ruby-gtk2-devel
239 Header files for Ruby/GTK2 library.
240
241 %description -n ruby-gtk2-devel -l pl.UTF-8
242 Pliki nagłówkowe biblioteki Ruby/GTK2.
243
244 %package -n ruby-goocanvas
245 Summary:        Ruby/GooCanvas - Ruby binding of GooCanvas
246 Summary(pl.UTF-8):      Ruby/GooCanvas - wiązanie języka Ruby do biblioteki GooCanvas
247 Group:          Development/Languages
248 Requires:       goocanvas >= 0.8
249 Requires:       ruby-gtk2 = %{version}-%{release}
250 Requires:       ruby-rcairo
251
252 %description -n ruby-goocanvas
253 Ruby/GooCanvas is a Ruby binding of GooCanvas.
254
255 %description -n ruby-goocanvas -l pl.UTF-8
256 Ruby/GooCanvas to wiązanie języka Ruby do biblioteki GooCanvas.
257
258 %package -n ruby-goocanvas-devel
259 Summary:        Header files for Ruby/GooCanvas library
260 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GooCanvas
261 Group:          Development/Libraries
262 Requires:       goocanvas-devel >= 0.8
263 Requires:       ruby-gtk2-devel = %{version}-%{release}
264 Requires:       ruby-rcairo-devel
265
266 %description -n ruby-goocanvas-devel
267 Header files for Ruby/GooCanvas library.
268
269 %description -n ruby-goocanvas-devel -l pl.UTF-8
270 Pliki nagłówkowe biblioteki Ruby/GooCanvas.
271
272 %package -n ruby-gstreamer
273 Summary:        Ruby/GStreamer - Ruby binding of GStreamer
274 Summary(pl.UTF-8):      Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer
275 Group:          Development/Languages
276 Requires:       gstreamer0.10 >= 0.10.35
277 Requires:       gstreamer0.10-plugins-base >= 0.10.35
278 Requires:       ruby-gdk_pixbuf2 = %{version}-%{release}
279 Requires:       ruby-glib2 = %{version}-%{release}
280 Requires:       ruby-pango = %{version}-%{release}
281
282 %description -n ruby-gstreamer
283 Ruby/GStreamer is a Ruby binding of GStreamer.
284
285 %description -n ruby-gstreamer -l pl.UTF-8
286 Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
287
288 %package -n ruby-gstreamer-devel
289 Summary:        Header files for Ruby/GStreamer library
290 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GStreamer
291 Group:          Development/Libraries
292 Requires:       gstreamer0.10-devel >= 0.10.35
293 Requires:       gstreamer0.10-plugins-base-devel >= 0.10.35
294 Requires:       ruby-gdk_pixbuf2-devel = %{version}-%{release}
295 Requires:       ruby-glib2-devel = %{version}-%{release}
296 Requires:       ruby-pango-devel = %{version}-%{release}
297
298 %description -n ruby-gstreamer-devel
299 Header files for Ruby/GStreamer library.
300
301 %description -n ruby-gstreamer-devel -l pl.UTF-8
302 Pliki nagłówkowe biblioteki Ruby/GStreamer.
303
304 %package -n ruby-gtksourceview2
305 Summary:        Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x
306 Summary(pl.UTF-8):      Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x
307 Group:          Development/Languages
308 Requires:       gtksourceview2 >= 2.0.0
309 Requires:       ruby-gtk2 = %{version}-%{release}
310
311 %description -n ruby-gtksourceview2
312 Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
313
314 %description -n ruby-gtksourceview2 -l pl.UTF-8
315 Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
316 gtksourceview 2.x.
317
318 %package -n ruby-gtksourceview2-devel
319 Summary:        Header files for Ruby/GtkSourceView2 library
320 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GtkSourceView2
321 Group:          Development/Libraries
322 Requires:       gtksourceview2-devel >= 2.0.0
323 Requires:       ruby-gtk2-devel = %{version}-%{release}
324 Requires:       ruby-gtksourceview2 = %{version}-%{release}
325
326 %description -n ruby-gtksourceview2-devel
327 Header files for Ruby/GtkSourceView2 library.
328
329 %description -n ruby-gtksourceview2-devel -l pl.UTF-8
330 Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
331
332 %package -n ruby-poppler
333 Summary:        Ruby/Poppler - Ruby binding of poppler-glib
334 Summary(pl.UTF-8):      Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib
335 Group:          Development/Languages
336 Requires:       poppler-glib >= 0.8.0
337 Requires:       ruby-gdk_pixbuf2 = %{version}-%{release}
338 Requires:       ruby-glib2 = %{version}-%{release}
339 Requires:       ruby-gtk2 = %{version}-%{release}
340
341 %description -n ruby-poppler
342 Ruby/Poppler is a Ruby binding of poppler-glib.
343
344 %description -n ruby-poppler -l pl.UTF-8
345 Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
346
347 %package -n ruby-poppler-devel
348 Summary:        Header files for Ruby/Poppler library
349 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/Poppler
350 Group:          Development/Libraries
351 Requires:       poppler-glib-devel >= 0.8.0
352 Requires:       ruby-gdk_pixbuf2-devel = %{version}-%{release}
353 Requires:       ruby-glib2-devel = %{version}-%{release}
354 Requires:       ruby-gtk2-devel = %{version}-%{release}
355
356 %description -n ruby-poppler-devel
357 Header files for Ruby/Poppler library.
358
359 %description -n ruby-poppler-devel -l pl.UTF-8
360 Pliki nagłówkowe biblioteki Ruby/Poppler.
361
362 %package -n ruby-rsvg2
363 Summary:        Ruby/RSVG - Ruby binding of librsvg
364 Summary(pl.UTF-8):      Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg
365 Group:          Development/Languages
366 Requires:       librsvg >= 2.8
367 Requires:       ruby-gdk_pixbuf2 = %{version}-%{release}
368 Requires:       ruby-glib2 = %{version}-%{release}
369 Requires:       ruby-rcairo
370
371 %description -n ruby-rsvg2
372 Ruby/RSVG is a Ruby binding of librsvg.
373
374 %description -n ruby-rsvg2 -l pl.UTF-8
375 Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
376
377 %package -n ruby-rsvg2-devel
378 Summary:        Header files for Ruby/RSVG library
379 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/RSVG
380 Group:          Development/Libraries
381 Requires:       librsvg-devel >= 2.8
382 Requires:       ruby-gdk_pixbuf2-devel = %{version}-%{release}
383 Requires:       ruby-glib2-devel = %{version}-%{release}
384
385 %description -n ruby-rsvg2-devel
386 Header files for Ruby/RSVG library.
387
388 %description -n ruby-rsvg2-devel -l pl.UTF-8
389 Pliki nagłówkowe biblioteki Ruby/RSVG.
390
391 %package -n ruby-vte
392 Summary:        Ruby/VTE - Ruby binding of VTE
393 Summary(pl.UTF-8):      Ruby/VTE - wiązanie języka Ruby do biblioteki VTE
394 Group:          Development/Languages
395 Requires:       ruby-gtk2 = %{version}-%{release}
396 Requires:       vte0 >= 0.12.1
397
398 %description -n ruby-vte
399 Ruby/VTE is a Ruby binding of VTE.
400
401 %description -n ruby-vte -l pl.UTF-8
402 Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
403
404 %package -n ruby-vte-devel
405 Summary:        Header files for Ruby/VTE library
406 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/VTE
407 Group:          Development/Libraries
408 Requires:       ruby-gtk2-devel = %{version}-%{release}
409 Requires:       ruby-vte = %{version}-%{release}
410 Requires:       vte0-devel >= 0.12.1
411
412 %description -n ruby-vte-devel
413 Header files for Ruby/VTE library.
414
415 %description -n ruby-vte-devel -l pl.UTF-8
416 Pliki nagłówkowe biblioteki Ruby/VTE.
417
418 %package -n ruby-gtk3
419 Summary:        Ruby/GTK3 - Ruby binding of GTK+ 3.x
420 Summary(pl.UTF-8):      Ruby/GTK3 - wiązanie języka Ruby do bibliotek GTK+ 3.x
421 Group:          Development/Languages
422 Requires:       gtk+3 >= 3.4.2
423 Requires:       ruby >= 1.9.2
424 Requires:       ruby-atk = %{version}-%{release}
425 Requires:       ruby-gdk_pixbuf2 = %{version}-%{release}
426 Requires:       ruby-glib2 = %{version}-%{release}
427 Requires:       ruby-pango = %{version}-%{release}
428
429 %description -n ruby-gtk3
430 Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
431
432 %description -n ruby-gtk3 -l pl.UTF-8
433 Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
434
435 %package -n ruby-gtk3-devel
436 Summary:        Header files for Ruby/GTK3 library
437 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GTK3
438 Group:          Development/Libraries
439 Requires:       gtk+3-devel >= 3.4.2
440 Requires:       ruby-atk-devel = %{version}-%{release}
441 Requires:       ruby-devel >= 1.9.2
442 Requires:       ruby-gdk_pixbuf2-devel = %{version}-%{release}
443 Requires:       ruby-glib2-devel = %{version}-%{release}
444 Requires:       ruby-gtk3 = %{version}-%{release}
445 Requires:       ruby-pango-devel = %{version}-%{release}
446
447 %description -n ruby-gtk3-devel
448 Header files for Ruby/GTK3 library.
449
450 %description -n ruby-gtk3-devel -l pl.UTF-8
451 Pliki nagłówkowe biblioteki Ruby/GTK3.
452
453 %package -n ruby-gtksourceview3
454 Summary:        Ruby/GtkSourceView3 - Ruby binding of gtksourceview 3.x
455 Summary(pl.UTF-8):      Ruby/GtkSourceView3 - wiązanie języka Ruby do biblioteki gtksourceview 3.x
456 Group:          Development/Languages
457 Requires:       gtksourceview3 >= 3.4.2
458 Requires:       ruby-gtk3 = %{version}-%{release}
459
460 %description -n ruby-gtksourceview3
461 Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
462
463 %description -n ruby-gtksourceview3 -l pl.UTF-8
464 Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
465 gtksourceview 3.x.
466
467 %package -n ruby-gtksourceview3-devel
468 Summary:        Header files for Ruby/GtkSourceView3 library
469 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/GtkSourceView3
470 Group:          Development/Libraries
471 Requires:       gtksourceview3-devel >= 3.4.2
472 Requires:       ruby-gtk3-devel = %{version}-%{release}
473 Requires:       ruby-gtksourceview3 = %{version}-%{release}
474
475 %description -n ruby-gtksourceview3-devel
476 Header files for Ruby/GtkSourceView3 library.
477
478 %description -n ruby-gtksourceview3-devel -l pl.UTF-8
479 Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
480
481 %package -n ruby-vte3
482 Summary:        Ruby/VTE3 - Ruby binding of VTE on GTK+ 3.x
483 Summary(pl.UTF-8):      Ruby/VTE3 - wiązanie języka Ruby do biblioteki VTE na GTK+ 3.x
484 Group:          Development/Languages
485 Requires:       ruby-gtk3 = %{version}-%{release}
486 Requires:       vte >= 0.32.2
487
488 %description -n ruby-vte3
489 Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
490
491 %description -n ruby-vte3 -l pl.UTF-8
492 Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
493 3.x.
494
495 %package -n ruby-vte3-devel
496 Summary:        Header files for Ruby/VTE3 library
497 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ruby/VTE3
498 Group:          Development/Libraries
499 Requires:       ruby-gtk3-devel = %{version}-%{release}
500 Requires:       ruby-vte3 = %{version}-%{release}
501 Requires:       vte-devel >= 0.32.2
502
503 %description -n ruby-vte3-devel
504 Header files for Ruby/VTE3 library.
505
506 %description -n ruby-vte3-devel -l pl.UTF-8
507 Pliki nagłówkowe biblioteki Ruby/VTE3.
508
509 %package doc-ri
510 Summary:        Ruby-GNOME2 ri documentation
511 Summary(pl.UTF-8):      Dokumentacja dla Ruby-GNOME2 w formacie ri
512 Group:          Documentation
513 Requires:       ruby
514
515 %description doc-ri
516 Ruby-GNOME2 ri documentation.
517
518 %description doc-ri -l pl.UTF-8
519 Dokumentacja dla Ruby-GNOME2 w formacie ri.
520
521 %package doc-html
522 Summary:        Ruby-GNOME2 HTML documentation
523 Summary(pl.UTF-8):      Dokumentacja dla Ruby-GNOME2 w formacie HTML
524 Group:          Documentation
525
526 %description doc-html
527 Ruby-GNOME2 HTML documentation.
528
529 %description doc-html -l pl.UTF-8
530 Dokumentacja dla Ruby-GNOME2 w formacie HTML.
531
532 %package examples
533 Summary:        Ruby-GNOME2 examples
534 Summary(pl.UTF-8):      Przykłady do Ruby-GNOME2
535 Group:          Development/Libraries
536
537 %description examples
538 Ruby-GNOME2 examples.
539
540 %description examples -l pl.UTF-8
541 Przykłady do Ruby-GNOME2.
542
543 %prep
544 %setup -q -n %{name}-all-%{version}
545 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
546
547 cp -p glib2/README README.glib2
548 cp -p glib2/TODO TODO.glib2
549 cp -p gio2/README README.gio2
550 cp -p gio2/TODO TODO.gio2
551 cp -p gdk3/README.md README.gdk3.md
552 cp -p gtk3/README.md README.gtk3.md
553
554 %build
555 # echo */extconf.rb | xargs -l1 dirname
556
557 comps="
558         atk
559         clutter
560         clutter-gtk
561         cairo-gobject
562         gdk_pixbuf2
563         gio2
564         glib2
565         gobject-introspection
566         goocanvas
567         gstreamer
568         gtk2
569         gtksourceview2
570         pango
571         poppler
572         rsvg2
573         vte
574         webkit-gtk2
575 %if %{with gtk3}
576         clutter-gtk
577         gdk3
578         gtk3
579         gtksourceview3
580         vte3
581         webkit-gtk
582 %endif
583 "
584
585 ruby extconf.rb \
586         --vendor \
587         --enable-glib-experimental \
588         $comps
589 %{__make}
590
591 rdoc -o rdoc
592 rdoc --ri -o ri
593
594 %install
595 rm -rf $RPM_BUILD_ROOT
596 install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir},%{ruby_ridir}} \
597         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
598
599 %{__make} install \
600         DESTDIR=$RPM_BUILD_ROOT \
601         RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
602         sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \
603         pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \
604         RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
605
606 cp -a gdk_pixbuf2/sample \
607         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
608
609 cp -a glib2/sample \
610         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
611
612 cp -a goocanvas/sample \
613         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/goocanvas
614
615 cp -a gstreamer/sample \
616         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
617
618 cp -a gtk2/sample \
619         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
620
621 cp -a gtksourceview2/sample \
622         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
623
624 cp -a pango/sample \
625         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
626
627 cp -a poppler/sample \
628         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
629
630 cp -a rsvg2/sample \
631         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
632
633 cp -a vte/sample \
634         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
635
636 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
637 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Math,Object,RbConfig,TC_*,Test*,page-*,rdoc,ri}
638 %if %{without gtk3}
639 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{ClutterGtk*,WebKitGtk,clutter-gtk,gdk3,gtk3,gtksourceview3,vte3,webkit-gtk}
640 %endif
641 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/{cache.ri,created.rid}
642
643 %clean
644 rm -rf $RPM_BUILD_ROOT
645
646 %files -n ruby-glib2
647 %defattr(644,root,root,755)
648 %doc AUTHORS NEWS README README.glib2 TODO.glib2 README.gio2 TODO.gio2
649 %attr(755,root,root) %{ruby_archdir}/gio2.so
650 %attr(755,root,root) %{ruby_archdir}/glib2.so
651 %{ruby_rubylibdir}/gio2.rb
652 %{ruby_rubylibdir}/glib-mkenums.rb
653 %{ruby_rubylibdir}/glib2.rb
654 %{ruby_rubylibdir}/gnome2-raketask.rb
655 # these files are expected to exist not only on Win32
656 %{ruby_rubylibdir}/gnome2-win32-binary-build-task.rb
657 %{ruby_rubylibdir}/gnome2-win32-binary-download-task.rb
658 %{ruby_rubylibdir}/mkmf-gnome2.rb
659 %{ruby_rubylibdir}/gio2
660 %{ruby_rubylibdir}/glib2
661
662 %files -n ruby-glib2-devel
663 %defattr(644,root,root,755)
664 %{ruby_archdir}/glib-enum-types.h
665 %{ruby_archdir}/rbgcompat.h
666 %{ruby_archdir}/rbgio2.h
667 %{ruby_archdir}/rbgio2conversions.h
668 %{ruby_archdir}/rbglib.h
669 %{ruby_archdir}/rbglib2conversions.h
670 %{ruby_archdir}/rbglibdeprecated.h
671 %{ruby_archdir}/rbgobject.h
672 %{ruby_archdir}/rbgutil.h
673 %{ruby_archdir}/rbgutil_list.h
674 %{ruby_archdir}/rbgutildeprecated.h
675 %{_pkgconfigdir}/ruby-gio2.pc
676 %{_pkgconfigdir}/ruby-glib2.pc
677
678 %files -n ruby-gobject-introspection
679 %defattr(644,root,root,755)
680 %doc gobject-introspection/README.md
681 %attr(755,root,root) %{ruby_archdir}/gobject_introspection.so
682 %{ruby_rubylibdir}/gobject-introspection.rb
683 %{ruby_rubylibdir}/gobject-introspection
684
685 %files -n ruby-gobject-introspection-devel
686 %defattr(644,root,root,755)
687 %{ruby_archdir}/rb-gobject-introspection.h
688 %{_pkgconfigdir}/ruby-gobject-introspection.pc
689
690 %files -n ruby-atk
691 %defattr(644,root,root,755)
692 %doc atk/README
693 %attr(755,root,root) %{ruby_archdir}/atk.so
694 %{ruby_rubylibdir}/atk.rb
695
696 %files -n ruby-atk-devel
697 %defattr(644,root,root,755)
698 %{ruby_archdir}/rbatk.h
699 %{ruby_archdir}/rbatkversion.h
700 %{_pkgconfigdir}/ruby-atk.pc
701
702 %files -n ruby-cairo-gobject
703 %defattr(644,root,root,755)
704 %doc cairo-gobject/README.md
705 %attr(755,root,root) %{ruby_archdir}/cairo_gobject.so
706 %{ruby_rubylibdir}/cairo-gobject.rb
707
708 %files -n ruby-pango
709 %defattr(644,root,root,755)
710 %doc pango/README
711 %attr(755,root,root) %{ruby_archdir}/pango.so
712 %{ruby_rubylibdir}/pango.rb
713
714 %files -n ruby-pango-devel
715 %defattr(644,root,root,755)
716 %{ruby_archdir}/rbpango.h
717 %{ruby_archdir}/rbpangoconversions.h
718 %{ruby_archdir}/rbpangoversion.h
719 %{_pkgconfigdir}/ruby-pango.pc
720
721 %files -n ruby-gdk_pixbuf2
722 %defattr(644,root,root,755)
723 %doc gdk_pixbuf2/README
724 %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so
725 %{ruby_rubylibdir}/gdk_pixbuf2.rb
726
727 %files -n ruby-gdk_pixbuf2-devel
728 %defattr(644,root,root,755)
729 %{ruby_archdir}/rbgdk-pixbuf.h
730 %{ruby_archdir}/rbgdk-pixbuf2conversions.h
731 %{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
732
733 %files -n ruby-gtk2
734 %defattr(644,root,root,755)
735 %doc gtk2/README
736 %attr(755,root,root) %{ruby_archdir}/gtk2.so
737 %{ruby_rubylibdir}/gtk2.rb
738 %{ruby_rubylibdir}/gtk2
739
740 %files -n ruby-gtk2-devel
741 %defattr(644,root,root,755)
742 %{ruby_archdir}/rbgdk.h
743 %{ruby_archdir}/rbgdkconversions.h
744 %{ruby_archdir}/rbgtk.h
745 %{ruby_archdir}/rbgtkconversions.h
746 %{ruby_archdir}/rbgtkmacros.h
747 %{_pkgconfigdir}/ruby-gtk2.pc
748
749 %files -n ruby-goocanvas
750 %defattr(644,root,root,755)
751 %doc goocanvas/README
752 %attr(755,root,root) %{ruby_archdir}/goocanvas.so
753 %{ruby_rubylibdir}/goocanvas.rb
754
755 %files -n ruby-goocanvas-devel
756 %defattr(644,root,root,755)
757 %{_pkgconfigdir}/ruby-goocanvas.pc
758
759 %files -n ruby-gstreamer
760 %defattr(644,root,root,755)
761 %doc gstreamer/README
762 %attr(755,root,root) %{ruby_archdir}/gstreamer.so
763 %{ruby_rubylibdir}/gst.rb
764
765 %files -n ruby-gstreamer-devel
766 %defattr(644,root,root,755)
767 %{_pkgconfigdir}/ruby-gstreamer.pc
768
769 %files -n ruby-gtksourceview2
770 %defattr(644,root,root,755)
771 %doc gtksourceview2/README
772 %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so
773 %{ruby_rubylibdir}/gtksourceview2.rb
774
775 %files -n ruby-gtksourceview2-devel
776 %defattr(644,root,root,755)
777 %{_pkgconfigdir}/ruby-gtksourceview2.pc
778
779 %files -n ruby-poppler
780 %defattr(644,root,root,755)
781 %doc poppler/README
782 %attr(755,root,root) %{ruby_archdir}/poppler.so
783 %{ruby_rubylibdir}/poppler.rb
784
785 %files -n ruby-poppler-devel
786 %defattr(644,root,root,755)
787 %{_pkgconfigdir}/ruby-poppler.pc
788
789 %files -n ruby-rsvg2
790 %defattr(644,root,root,755)
791 %doc rsvg2/README
792 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
793 %{ruby_rubylibdir}/rsvg2.rb
794
795 %files -n ruby-rsvg2-devel
796 %defattr(644,root,root,755)
797 %{_pkgconfigdir}/ruby-rsvg2.pc
798
799 %files -n ruby-vte
800 %defattr(644,root,root,755)
801 %doc vte/README
802 %attr(755,root,root) %{ruby_archdir}/vte.so
803 %{ruby_rubylibdir}/vte.rb
804 %{ruby_rubylibdir}/vte
805
806 %files -n ruby-vte-devel
807 %defattr(644,root,root,755)
808 %{_pkgconfigdir}/ruby-vte.pc
809
810 %if %{with gtk3}
811 %files -n ruby-gtk3
812 %defattr(644,root,root,755)
813 %doc README.gdk3.md README.gtk3.md
814 %attr(755,root,root) %{ruby_archdir}/gdk3.so
815 %attr(755,root,root) %{ruby_archdir}/gtk3.so
816 %{ruby_rubylibdir}/gdk3.rb
817 %{ruby_rubylibdir}/gdk3
818 %{ruby_rubylibdir}/gtk3.rb
819 %{ruby_rubylibdir}/gtk3
820
821 %files -n ruby-gtk3-devel
822 %defattr(644,root,root,755)
823 %{ruby_archdir}/rbgdk3.h
824 %{ruby_archdir}/rbgdk3conversions.h
825 %{ruby_archdir}/rbgtk3.h
826 %{ruby_archdir}/rbgtk3conversions.h
827 %{_pkgconfigdir}/ruby-gdk3.pc
828 %{_pkgconfigdir}/ruby-gtk3.pc
829
830 %files -n ruby-gtksourceview3
831 %defattr(644,root,root,755)
832 %doc gtksourceview3/README
833 %attr(755,root,root) %{ruby_archdir}/gtksourceview3.so
834 %{ruby_rubylibdir}/gtksourceview3.rb
835 %{ruby_rubylibdir}/gtksourceview3
836
837 %files -n ruby-gtksourceview3-devel
838 %defattr(644,root,root,755)
839 %{_pkgconfigdir}/ruby-gtksourceview3.pc
840
841 %files -n ruby-vte3
842 %defattr(644,root,root,755)
843 %doc vte3/README
844 %attr(755,root,root) %{ruby_archdir}/vte3.so
845 %{ruby_rubylibdir}/vte3.rb
846 %{ruby_rubylibdir}/vte3
847
848 %files -n ruby-vte3-devel
849 %defattr(644,root,root,755)
850 %{_pkgconfigdir}/ruby-vte3.pc
851 %endif
852
853 %files doc-html
854 %defattr(644,root,root,755)
855 %doc rdoc/*
856
857 %files doc-ri
858 %defattr(644,root,root,755)
859 %{ruby_ridir}/A
860 %{ruby_ridir}/AlphaDemo
861 %{ruby_ridir}/AssistantRunner
862 %{ruby_ridir}/Atk
863 %{ruby_ridir}/AtkTestUtils
864 %{ruby_ridir}/ButtonBoxSample
865 %{ruby_ridir}/ButtonSample
866 %{ruby_ridir}/Cairo
867 %{ruby_ridir}/CairoGObject
868 %{ruby_ridir}/CairoGObjectTestUtils
869 %{ruby_ridir}/Canvas
870 %{ruby_ridir}/CanvasSampleArrowhead
871 %{ruby_ridir}/CanvasSampleFifteen
872 %{ruby_ridir}/CanvasSamplePrimitives
873 %{ruby_ridir}/CheckButtonSample
874 %{ruby_ridir}/Clutter
875 %{ruby_ridir}/ClutterTestUtils
876 %{ruby_ridir}/ColorSelectionSample
877 %{ruby_ridir}/Demo
878 %{ruby_ridir}/DestWindow
879 %{ruby_ridir}/DialogSample
880 %{ruby_ridir}/DraggableWidget
881 %{ruby_ridir}/EntrySample
882 %{ruby_ridir}/FileChooserSample
883 %{ruby_ridir}/FileSelectionSample
884 %{ruby_ridir}/FontSelectionSample
885 %{ruby_ridir}/GLib
886 %{ruby_ridir}/GLibTestUtils
887 %{ruby_ridir}/GNOME2Package
888 %{ruby_ridir}/GNOME2Win32BinaryBuildTask
889 %{ruby_ridir}/GNOME2Win32BinaryDownloadTask
890 %{ruby_ridir}/GObjectIntrospection
891 %{ruby_ridir}/GObjectIntrospectionTestUtils
892 %{ruby_ridir}/GammaCurveSample
893 %{ruby_ridir}/Gdk
894 %{ruby_ridir}/GdkTestUtils
895 %{ruby_ridir}/GdkX11
896 %{ruby_ridir}/Gesture
897 %{ruby_ridir}/GestureProcessor
898 %{ruby_ridir}/GesturedWidget
899 %{ruby_ridir}/Gio
900 %{ruby_ridir}/Goo
901 %{ruby_ridir}/GooCanvasSample
902 %{ruby_ridir}/Gst
903 %{ruby_ridir}/GstTestUtils
904 %{ruby_ridir}/Gtk
905 %{ruby_ridir}/GtkSource
906 %{ruby_ridir}/GtkTestUtils
907 %{ruby_ridir}/Inspector
908 %{ruby_ridir}/LabelSample
909 %{ruby_ridir}/Layout
910 %{ruby_ridir}/LayoutSample
911 %{ruby_ridir}/MediaInfo
912 %{ruby_ridir}/MediaInfoStream
913 %{ruby_ridir}/MediaInfoTrack
914 %{ruby_ridir}/MenuSample
915 %{ruby_ridir}/MultiTerm
916 %{ruby_ridir}/MyButton
917 %{ruby_ridir}/MyButton2
918 %{ruby_ridir}/MyGtkPlug
919 %{ruby_ridir}/MyGtkSocket
920 %{ruby_ridir}/NotebookSample
921 %{ruby_ridir}/Pager
922 %{ruby_ridir}/Pango
923 %{ruby_ridir}/PangoTestUtils
924 %{ruby_ridir}/PixmapSample
925 %{ruby_ridir}/Pong
926 %{ruby_ridir}/Poppler
927 %{ruby_ridir}/PopplerTestUtils
928 %{ruby_ridir}/Print
929 %{ruby_ridir}/ProgressBarSample
930 %{ruby_ridir}/RSVG
931 %{ruby_ridir}/RadioButtonSample
932 %{ruby_ridir}/RangeSample
933 %{ruby_ridir}/ReparentSample
934 %{ruby_ridir}/RulerSample
935 %{ruby_ridir}/Sample
936 %{ruby_ridir}/SampleClass
937 %{ruby_ridir}/SampleDialog
938 %{ruby_ridir}/SampleWindow
939 %{ruby_ridir}/SavedPositionSample
940 %{ruby_ridir}/ScrolledWindowSample
941 %{ruby_ridir}/ShapeSampleBasic
942 %{ruby_ridir}/ShapeSampleModeller
943 %{ruby_ridir}/ShapeSampleRings
944 %{ruby_ridir}/ShapeSampleSheets
945 %{ruby_ridir}/ShapesSample
946 %{ruby_ridir}/SpinButtonSample
947 %{ruby_ridir}/SrcWindow
948 %{ruby_ridir}/StatusIconSample
949 %{ruby_ridir}/StatusbarSample
950 %{ruby_ridir}/ToggleButtonSample
951 %{ruby_ridir}/ToolbarSample
952 %{ruby_ridir}/TooltipsSample
953 %{ruby_ridir}/Vte
954 %{ruby_ridir}/WMHintsSample
955 %{ruby_ridir}/WebKitGtk2
956 %{ruby_ridir}/WebKitGtkTestUtils
957 %{ruby_ridir}/Window
958 %{ruby_ridir}/atk
959 %{ruby_ridir}/cairo-gobject
960 %{ruby_ridir}/clutter
961 %{ruby_ridir}/gdk_pixbuf2
962 %{ruby_ridir}/gio2
963 %{ruby_ridir}/glib2
964 %{ruby_ridir}/gobject-introspection
965 %{ruby_ridir}/goocanvas
966 %{ruby_ridir}/gstreamer
967 %{ruby_ridir}/gtk2
968 %{ruby_ridir}/gtksourceview2
969 %{ruby_ridir}/pango
970 %{ruby_ridir}/poppler
971 %{ruby_ridir}/rsvg2
972 %{ruby_ridir}/vte
973 %{ruby_ridir}/webkit-gtk2
974 %if %{with gtk3}
975 %{ruby_ridir}/ClutterGtk
976 %{ruby_ridir}/ClutterGtkTestUtils
977 %{ruby_ridir}/WebKitGtk
978 %{ruby_ridir}/clutter-gtk
979 %{ruby_ridir}/gdk3
980 %{ruby_ridir}/gtk3
981 %{ruby_ridir}/gtksourceview3
982 %{ruby_ridir}/vte3
983 %{ruby_ridir}/webkit-gtk
984 %endif
985
986 %files examples
987 %defattr(644,root,root,755)
988 %{_examplesdir}/%{name}-%{version}
This page took 0.535465 seconds and 4 git commands to generate.