]> git.pld-linux.org Git - packages/ruby-gnome2.git/blob - ruby-gnome2.spec
bd11fa6374f617cac81c8c3e31faa96d838ded4a
[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.1.9
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:  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)
44
45 %description
46 GNOME 2 libraries for Ruby.
47
48 %description -l pl.UTF-8
49 Biblioteki GNOME 2 dla języka Ruby.
50
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
58
59 %description -n ruby-glib2
60 Ruby/Glib2 is a Ruby binding of GLib 2.x. Ruby/GIO2 is a Ruby binding
61 of gio 2.x.
62
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.
66
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
75
76 %description -n ruby-glib2-devel
77 Header files for Ruby/GLib2 and Ruby/GIO2 libraries.
78
79 %description -n ruby-glib2-devel -l pl.UTF-8
80 Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2.
81
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}
88
89 %description -n ruby-gobject-introspection
90 Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
91
92 %description -n ruby-gobject-introspection -l pl.UTF-8
93 Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
94 GObject Introspection.
95
96 %package -n ruby-atk
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
100 Requires:       atk >= 1.0
101 Requires:       ruby-glib2 = %{version}-%{release}
102
103 %description -n ruby-atk
104 Ruby/ATK is a Ruby binding of ATK.
105
106 %description -n ruby-atk -l pl.UTF-8
107 Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
108
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}
116
117 %description -n ruby-atk-devel
118 Header files for Ruby/ATK library.
119
120 %description -n ruby-atk-devel -l pl.UTF-8
121 Pliki nagłówkowe biblioteki Ruby/ATK.
122
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
129
130 %description -n ruby-cairo-gobject
131 Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
132
133 %description -n ruby-cairo-gobject -l pl.UTF-8
134 Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
135
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
144
145 %description -n ruby-pango
146 Ruby/Pango is a Ruby binding of pango 1.x.
147
148 %description -n ruby-pango -l pl.UTF-8
149 Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
150
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}
159
160 %description -n ruby-pango-devel
161 Header files for Ruby/Pango library.
162
163 %description -n ruby-pango-devel -l pl.UTF-8
164 Pliki nagłówkowe biblioteki Ruby/Pango.
165
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}
172
173 %description -n ruby-gdk_pixbuf2
174 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
175
176 %description -n ruby-gdk_pixbuf2 -l pl.UTF-8
177 Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
178
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}
186
187 %description -n ruby-gdk_pixbuf2-devel
188 Header files for Ruby/GdkPixbuf2 library.
189
190 %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
191 Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
192
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}
202
203 %description -n ruby-gtk2
204 Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
205
206 %description -n ruby-gtk2 -l pl.UTF-8
207 Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
208
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}
219
220 %description -n ruby-gtk2-devel
221 Header files for Ruby/GTK2 library.
222
223 %description -n ruby-gtk2-devel -l pl.UTF-8
224 Pliki nagłówkowe biblioteki Ruby/GTK2.
225
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
233
234 %description -n ruby-goocanvas
235 Ruby/GooCanvas is a Ruby binding of GooCanvas.
236
237 %description -n ruby-goocanvas -l pl.UTF-8
238 Ruby/GooCanvas to wiązanie języka Ruby do biblioteki GooCanvas.
239
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
247
248 %description -n ruby-goocanvas-devel
249 Header files for Ruby/GooCanvas library.
250
251 %description -n ruby-goocanvas-devel -l pl.UTF-8
252 Pliki nagłówkowe biblioteki Ruby/GooCanvas.
253
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}
263
264 %description -n ruby-gstreamer
265 Ruby/GStreamer is a Ruby binding of GStreamer.
266
267 %description -n ruby-gstreamer -l pl.UTF-8
268 Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
269
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}
279
280 %description -n ruby-gstreamer-devel
281 Header files for Ruby/GStreamer library.
282
283 %description -n ruby-gstreamer-devel -l pl.UTF-8
284 Pliki nagłówkowe biblioteki Ruby/GStreamer.
285
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}
292
293 %description -n ruby-gtksourceview2
294 Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
295
296 %description -n ruby-gtksourceview2 -l pl.UTF-8
297 Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
298 gtksourceview 2.x.
299
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}
307
308 %description -n ruby-gtksourceview2-devel
309 Header files for Ruby/GtkSourceView2 library.
310
311 %description -n ruby-gtksourceview2-devel -l pl.UTF-8
312 Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
313
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}
322
323 %description -n ruby-poppler
324 Ruby/Poppler is a Ruby binding of poppler-glib.
325
326 %description -n ruby-poppler -l pl.UTF-8
327 Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
328
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}
337
338 %description -n ruby-poppler-devel
339 Header files for Ruby/Poppler library.
340
341 %description -n ruby-poppler-devel -l pl.UTF-8
342 Pliki nagłówkowe biblioteki Ruby/Poppler.
343
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
352
353 %description -n ruby-rsvg2
354 Ruby/RSVG is a Ruby binding of librsvg.
355
356 %description -n ruby-rsvg2 -l pl.UTF-8
357 Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
358
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}
366
367 %description -n ruby-rsvg2-devel
368 Header files for Ruby/RSVG library.
369
370 %description -n ruby-rsvg2-devel -l pl.UTF-8
371 Pliki nagłówkowe biblioteki Ruby/RSVG.
372
373 %package -n ruby-vte
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
379
380 %description -n ruby-vte
381 Ruby/VTE is a Ruby binding of VTE.
382
383 %description -n ruby-vte -l pl.UTF-8
384 Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
385
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
393
394 %description -n ruby-vte-devel
395 Header files for Ruby/VTE library.
396
397 %description -n ruby-vte-devel -l pl.UTF-8
398 Pliki nagłówkowe biblioteki Ruby/VTE.
399
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}
410
411 %description -n ruby-gtk3
412 Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
413
414 %description -n ruby-gtk3 -l pl.UTF-8
415 Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
416
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}
428
429 %description -n ruby-gtk3-devel
430 Header files for Ruby/GTK3 library.
431
432 %description -n ruby-gtk3-devel -l pl.UTF-8
433 Pliki nagłówkowe biblioteki Ruby/GTK3.
434
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}
441
442 %description -n ruby-gtksourceview3
443 Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
444
445 %description -n ruby-gtksourceview3 -l pl.UTF-8
446 Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
447 gtksourceview 3.x.
448
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}
456
457 %description -n ruby-gtksourceview3-devel
458 Header files for Ruby/GtkSourceView3 library.
459
460 %description -n ruby-gtksourceview3-devel -l pl.UTF-8
461 Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
462
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
469
470 %description -n ruby-vte3
471 Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
472
473 %description -n ruby-vte3 -l pl.UTF-8
474 Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
475 3.x.
476
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
484
485 %description -n ruby-vte3-devel
486 Header files for Ruby/VTE3 library.
487
488 %description -n ruby-vte3-devel -l pl.UTF-8
489 Pliki nagłówkowe biblioteki Ruby/VTE3.
490
491 %package doc-ri
492 Summary:        Ruby-GNOME2 ri documentation
493 Summary(pl.UTF-8):      Dokumentacja dla Ruby-GNOME2 w formacie ri
494 Group:          Documentation
495 Requires:       ruby
496
497 %description doc-ri
498 Ruby-GNOME2 ri documentation.
499
500 %description doc-ri -l pl.UTF-8
501 Dokumentacja dla Ruby-GNOME2 w formacie ri.
502
503 %package doc-html
504 Summary:        Ruby-GNOME2 HTML documentation
505 Summary(pl.UTF-8):      Dokumentacja dla Ruby-GNOME2 w formacie HTML
506 Group:          Documentation
507
508 %description doc-html
509 Ruby-GNOME2 HTML documentation.
510
511 %description doc-html -l pl.UTF-8
512 Dokumentacja dla Ruby-GNOME2 w formacie HTML.
513
514 %package examples
515 Summary:        Ruby-GNOME2 examples
516 Summary(pl.UTF-8):      Przykłady do Ruby-GNOME2
517 Group:          Development/Libraries
518
519 %description examples
520 Ruby-GNOME2 examples.
521
522 %description examples -l pl.UTF-8
523 Przykłady do Ruby-GNOME2.
524
525 %prep
526 %setup -q -n %{name}-all-%{version}
527 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
528 %patch0 -p1
529
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
536
537 %build
538 # echo */extconf.rb | xargs -l1 dirname
539
540 comps="
541         atk
542         cairo-gobject
543         gdk_pixbuf2
544         gio2
545         glib2
546         gobject-introspection
547         goocanvas
548         gstreamer
549         gtk2
550         gtksourceview2
551         pango
552         poppler
553         rsvg2
554         vte
555 %if %{with gtk3}
556         gdk3
557         gtk3
558         gtksourceview3
559         vte3
560 %endif
561 "
562
563 ruby extconf.rb \
564         --vendor \
565         --enable-glib-experimental \
566         $comps
567 %{__make}
568
569 rdoc -o rdoc
570 rdoc --ri -o ri
571
572 %install
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}
576
577 %{__make} install \
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}
583
584 cp -a gdk_pixbuf2/sample \
585         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
586
587 cp -a glib2/sample \
588         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
589
590 cp -a goocanvas/sample \
591         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/goocanvas
592
593 cp -a gstreamer/sample \
594         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
595
596 cp -a gtk2/sample \
597         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
598
599 cp -a gtksourceview2/sample \
600         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
601
602 cp -a pango/sample \
603         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
604
605 cp -a poppler/sample \
606         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
607
608 cp -a rsvg2/sample \
609         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
610
611 cp -a vte/sample \
612         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
613
614 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
615 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Object,RbConfig,TC_*,Test*,page-*,rdoc,ri}
616 %if %{without gtk3}
617 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{gdk3,gtk3,gtksourceview3,vte3}
618 %endif
619 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/{cache.ri,created.rid}
620
621 %clean
622 rm -rf $RPM_BUILD_ROOT
623
624 %files -n ruby-glib2
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
639
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
655
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
662
663 %files -n ruby-atk
664 %defattr(644,root,root,755)
665 %doc atk/README
666 %attr(755,root,root) %{ruby_archdir}/atk.so
667 %{ruby_rubylibdir}/atk.rb
668
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
674
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
680
681 %files -n ruby-pango
682 %defattr(644,root,root,755)
683 %doc pango/README
684 %attr(755,root,root) %{ruby_archdir}/pango.so
685 %{ruby_rubylibdir}/pango.rb
686
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
693
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
699
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
705
706 %files -n ruby-gtk2
707 %defattr(644,root,root,755)
708 %doc gtk2/README
709 %attr(755,root,root) %{ruby_archdir}/gtk2.so
710 %{ruby_rubylibdir}/gtk2.rb
711 %{ruby_rubylibdir}/gtk2
712
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
721
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
727
728 %files -n ruby-goocanvas-devel
729 %defattr(644,root,root,755)
730 %{_pkgconfigdir}/ruby-goocanvas.pc
731
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
737
738 %files -n ruby-gstreamer-devel
739 %defattr(644,root,root,755)
740 %{_pkgconfigdir}/ruby-gstreamer.pc
741
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
747
748 %files -n ruby-gtksourceview2-devel
749 %defattr(644,root,root,755)
750 %{_pkgconfigdir}/ruby-gtksourceview2.pc
751
752 %files -n ruby-poppler
753 %defattr(644,root,root,755)
754 %doc poppler/README
755 %attr(755,root,root) %{ruby_archdir}/poppler.so
756 %{ruby_rubylibdir}/poppler.rb
757
758 %files -n ruby-poppler-devel
759 %defattr(644,root,root,755)
760 %{_pkgconfigdir}/ruby-poppler.pc
761
762 %files -n ruby-rsvg2
763 %defattr(644,root,root,755)
764 %doc rsvg2/README
765 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
766 %{ruby_rubylibdir}/rsvg2.rb
767
768 %files -n ruby-rsvg2-devel
769 %defattr(644,root,root,755)
770 %{_pkgconfigdir}/ruby-rsvg2.pc
771
772 %files -n ruby-vte
773 %defattr(644,root,root,755)
774 %doc vte/README
775 %attr(755,root,root) %{ruby_archdir}/vte.so
776 %{ruby_rubylibdir}/vte.rb
777 %{ruby_rubylibdir}/vte
778
779 %files -n ruby-vte-devel
780 %defattr(644,root,root,755)
781 %{_pkgconfigdir}/ruby-vte.pc
782
783 %if %{with gtk3}
784 %files -n ruby-gtk3
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
793
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
802
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
809
810 %files -n ruby-gtksourceview3-devel
811 %defattr(644,root,root,755)
812 %{_pkgconfigdir}/ruby-gtksourceview3.pc
813
814 %files -n ruby-vte3
815 %defattr(644,root,root,755)
816 %doc vte3/README
817 %attr(755,root,root) %{ruby_archdir}/vte3.so
818 %{ruby_rubylibdir}/vte3.rb
819 %{ruby_rubylibdir}/vte3
820
821 %files -n ruby-vte3-devel
822 %defattr(644,root,root,755)
823 %{_pkgconfigdir}/ruby-vte3.pc
824 %endif
825
826 %files doc-html
827 %defattr(644,root,root,755)
828 %doc rdoc/*
829
830 %files doc-ri
831 %defattr(644,root,root,755)
832 %{ruby_ridir}/A
833 %{ruby_ridir}/AlphaDemo
834 %{ruby_ridir}/AssistantRunner
835 %{ruby_ridir}/Atk
836 %{ruby_ridir}/ButtonBoxSample
837 %{ruby_ridir}/ButtonSample
838 %{ruby_ridir}/Cairo
839 %{ruby_ridir}/CairoGObject
840 %{ruby_ridir}/CairoGObjectTestUtils
841 %{ruby_ridir}/Canvas
842 %{ruby_ridir}/CanvasSampleArrowhead
843 %{ruby_ridir}/CanvasSampleFifteen
844 %{ruby_ridir}/CanvasSamplePrimitives
845 %{ruby_ridir}/CheckButtonSample
846 %{ruby_ridir}/ColorSelectionSample
847 %{ruby_ridir}/Demo
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
855 %{ruby_ridir}/GLib
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
863 %{ruby_ridir}/Gdk
864 %{ruby_ridir}/GdkX11
865 %{ruby_ridir}/Gesture
866 %{ruby_ridir}/GestureProcessor
867 %{ruby_ridir}/GesturedWidget
868 %{ruby_ridir}/Gio
869 %{ruby_ridir}/Goo
870 %{ruby_ridir}/GooCanvasSample
871 %{ruby_ridir}/Gst
872 %{ruby_ridir}/GstTestUtils
873 %{ruby_ridir}/Gtk
874 %{ruby_ridir}/GtkSource
875 %{ruby_ridir}/GtkTestUtils
876 %{ruby_ridir}/Inspector
877 %{ruby_ridir}/LabelSample
878 %{ruby_ridir}/Layout
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
890 %{ruby_ridir}/Pager
891 %{ruby_ridir}/Pango
892 %{ruby_ridir}/PangoTestUtils
893 %{ruby_ridir}/PixmapSample
894 %{ruby_ridir}/Pong
895 %{ruby_ridir}/Poppler
896 %{ruby_ridir}/PopplerTestUtils
897 %{ruby_ridir}/Print
898 %{ruby_ridir}/ProgressBarSample
899 %{ruby_ridir}/RSVG
900 %{ruby_ridir}/RadioButtonSample
901 %{ruby_ridir}/RangeSample
902 %{ruby_ridir}/ReparentSample
903 %{ruby_ridir}/RulerSample
904 %{ruby_ridir}/Sample
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
922 %{ruby_ridir}/Vte
923 %{ruby_ridir}/WMHintsSample
924 %{ruby_ridir}/Window
925 %{ruby_ridir}/atk
926 %{ruby_ridir}/cairo-gobject
927 %{ruby_ridir}/gdk_pixbuf2
928 %{ruby_ridir}/gio2
929 %{ruby_ridir}/glib2
930 %{ruby_ridir}/gobject-introspection
931 %{ruby_ridir}/goocanvas
932 %{ruby_ridir}/gstreamer
933 %{ruby_ridir}/gtk2
934 %{ruby_ridir}/gtksourceview2
935 %{ruby_ridir}/pango
936 %{ruby_ridir}/poppler
937 %{ruby_ridir}/rsvg2
938 %{ruby_ridir}/vte
939 %if %{with gtk3}
940 %{ruby_ridir}/gdk3
941 %{ruby_ridir}/gtk3
942 %{ruby_ridir}/gtksourceview3
943 %{ruby_ridir}/vte3
944 %endif
945
946 %files examples
947 %defattr(644,root,root,755)
948 %{_examplesdir}/%{name}-%{version}
This page took 0.103851 seconds and 2 git commands to generate.