]> git.pld-linux.org Git - packages/ruby-gnome2.git/blame - ruby-gnome2.spec
- package gtk3 related modules
[packages/ruby-gnome2.git] / ruby-gnome2.spec
CommitLineData
d91e0067
ER
1# TODO
2# - update to 2.2.0
d91e0067
ER
3#
4# Conditional build:
e78de403 5%bcond_without gtk3 # GTK+ 3.x based packages too
d91e0067 6
f17f265d 7Summary: GNOME 2 libraries for Ruby
9328f09b 8Summary(pl.UTF-8): Biblioteki GNOME 2 dla języka Ruby
1415aa2c 9Name: ruby-gnome2
d91e0067
ER
10Version: 1.1.9
11Release: 1
9328f09b 12License: LGPL v2.1
1415aa2c 13Group: Development/Languages
2c9db93d 14Source0: http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz
d91e0067 15# Source0-md5: 852a528f8e58ca2729dada994c938be0
51c9987a 16Patch0: parse-error.patch
1415aa2c 17URL: http://ruby-gnome2.sourceforge.jp/
9328f09b
JB
18BuildRequires: atk-devel >= 1.0
19BuildRequires: cairo-devel >= 1.10.0
20BuildRequires: gdk-pixbuf2-devel >= 2
2c9db93d 21BuildRequires: glib2-devel >= 1:2.16.0
d40ce743 22BuildRequires: gobject-introspection-devel >= 1.35.4
431a02b3 23BuildRequires: goocanvas-devel >= 0.8
9328f09b
JB
24BuildRequires: gstreamer0.10-devel >= 0.10.35
25BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.35
431a02b3 26BuildRequires: gtk+2-devel >= 2:2.12.0
e78de403
JB
27%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.2}
28BuildRequires: gtksourceview2-devel >= 2
29%{?with_gtk3:BuildRequires: gtksourceview3-devel >= 3}
9328f09b
JB
30BuildRequires: librsvg-devel >= 2.8
31BuildRequires: pango-devel >= 1:1.0
eb536ac1 32BuildRequires: pkgconfig
9328f09b 33BuildRequires: poppler-glib-devel >= 0.8.0
cc7bc1c2 34BuildRequires: rpmbuild(macros) >= 1.277
9328f09b 35BuildRequires: ruby-devel >= 1.8.5
e78de403 36%{?with_gtk3:BuildRequires: ruby-devel >= 1.9.2}
2c9db93d 37BuildRequires: ruby-pkg-config
988873f4 38BuildRequires: ruby-rcairo-devel
2c9db93d 39BuildRequires: ruby-rubygems
9865ee37 40BuildRequires: sed >= 4.0
45b7bdba 41BuildRequires: vte0-devel >= 0.12.1
e78de403 42%{?with_gtk3:BuildRequires: vte-devel >= 0.28}
1415aa2c 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
9328f09b 46GNOME 2 libraries for Ruby.
7c7e8880 47
af27d76f 48%description -l pl.UTF-8
9328f09b 49Biblioteki GNOME 2 dla języka Ruby.
1415aa2c 50
45b7bdba
JB
51%package -n ruby-glib2
52Summary: Ruby/Glib2, Ruby/GIO2 - Ruby bindings of GLib 2.x
53Summary(pl.UTF-8): Ruby/Glib2, Ruby/GIO2 - wiązania języka Ruby do bibliotek GLib 2.x
54Group: Development/Languages
45b7bdba
JB
55Requires: glib2 >= 1:2.16.0
56Requires: ruby >= 1.8.5
57Obsoletes: ruby-gnome2
58
59%description -n ruby-glib2
60Ruby/Glib2 is a Ruby binding of GLib 2.x. Ruby/GIO2 is a Ruby binding
61of gio 2.x.
62
63%description -n ruby-glib2 -l pl.UTF-8
64Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x. Ruby/GIO2
65to wiązanie języka Ruby do biblioteki gio 2.x.
66
67%package -n ruby-glib2-devel
68Summary: Header files for Ruby/GLib2 and Ruby/GIO2 libraries
69Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2
0626bbf7 70Group: Development/Libraries
45b7bdba
JB
71Requires: glib2-devel >= 1:2.16.0
72Requires: ruby-devel >= 1.8.5
73Requires: ruby-glib2 = %{version}-%{release}
74Obsoletes: ruby-gnome2-devel
75
76%description -n ruby-glib2-devel
77Header files for Ruby/GLib2 and Ruby/GIO2 libraries.
78
79%description -n ruby-glib2-devel -l pl.UTF-8
80Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2.
81
d40ce743
JB
82%package -n ruby-gobject-introspection
83Summary: Ruby/GObjectIntrospection - Ruby binding of GObject Introspection
84Summary(pl.UTF-8): Ruby/GObjectIntrospection - wiązania języka Ruby do biblioteki GObject Introspection
85Group: Development/Languages
86Requires: gobject-introspection >= 1.35.4
87Requires: ruby-glib2 = %{version}-%{release}
88
89%description -n ruby-gobject-introspection
90Ruby/GObjectIntrospection is a Ruby binding of GObject Introspection.
91
92%description -n ruby-gobject-introspection -l pl.UTF-8
93Ruby/GObjectIntrospection to wiązanie języka Ruby do biblioteki
94GObject Introspection.
95
45b7bdba
JB
96%package -n ruby-atk
97Summary: Ruby/ATK - Ruby binding of ATK
98Summary(pl.UTF-8): Ruby/ATK - wiązanie języka Ruby do biblioteki ATK
99Group: Development/Languages
100Requires: atk >= 1.0
101Requires: ruby-glib2 = %{version}-%{release}
102
103%description -n ruby-atk
104Ruby/ATK is a Ruby binding of ATK.
105
106%description -n ruby-atk -l pl.UTF-8
107Ruby/ATK to wiązanie języka Ruby do biblioteki ATK.
108
109%package -n ruby-atk-devel
110Summary: Header files for Ruby/ATK library
111Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/ATK
112Group: Development/Libraries
113Requires: atk-devel >= 1.0
114Requires: ruby-atk = %{version}-%{release}
115Requires: ruby-glib2-devel = %{version}-%{release}
116
117%description -n ruby-atk-devel
118Header files for Ruby/ATK library.
119
120%description -n ruby-atk-devel -l pl.UTF-8
121Pliki nagłówkowe biblioteki Ruby/ATK.
122
d40ce743
JB
123%package -n ruby-cairo-gobject
124Summary: Ruby/CairoGObject - Ruby binding of cairo-gobject library
125Summary(pl.UTF-8): Ruby/CairoGObject - wiązania języka Ruby do biblioteki cairo-gobject
126Group: Development/Languages
127Requires: ruby-glib2 = %{version}-%{release}
128Requires: ruby-rcairo
129
130%description -n ruby-cairo-gobject
131Ruby/CairoGObject is a Ruby binding of cairo-gobject library.
132
133%description -n ruby-cairo-gobject -l pl.UTF-8
134Ruby/CairoGObject to wiązanie języka Ruby do biblioteki cairo-gobject.
135
45b7bdba
JB
136%package -n ruby-pango
137Summary: Ruby/Pango - Ruby binding of pango 1.x
138Summary(pl.UTF-8): Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x
139Group: Development/Languages
140Requires: cairo >= 1.10.0
141Requires: pango >= 1:1.0
142Requires: ruby-glib2 = %{version}-%{release}
143Requires: ruby-rcairo
144
145%description -n ruby-pango
146Ruby/Pango is a Ruby binding of pango 1.x.
147
148%description -n ruby-pango -l pl.UTF-8
149Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x.
150
151%package -n ruby-pango-devel
152Summary: Header files for Ruby/Pango library
153Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Pango
154Group: Development/Libraries
155Requires: cairo-devel >= 1.10.0
156Requires: pango-devel >= 1.0
157Requires: ruby-glib2-devel = %{version}-%{release}
158Requires: ruby-pango = %{version}-%{release}
159
160%description -n ruby-pango-devel
161Header files for Ruby/Pango library.
162
163%description -n ruby-pango-devel -l pl.UTF-8
164Pliki nagłówkowe biblioteki Ruby/Pango.
165
166%package -n ruby-gdk_pixbuf2
167Summary: Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x
168Summary(pl.UTF-8): Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x
169Group: Development/Languages
170Requires: gdk-pixbuf2 >= 2
171Requires: ruby-glib2 = %{version}-%{release}
172
173%description -n ruby-gdk_pixbuf2
174Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x.
175
176%description -n ruby-gdk_pixbuf2 -l pl.UTF-8
177Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x.
178
179%package -n ruby-gdk_pixbuf2-devel
180Summary: Header files for Ruby/GdkPixbuf2 library
181Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2
182Group: Development/Libraries
183Requires: gdk-pixbuf2-devel >= 2
184Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
185Requires: ruby-glib2-devel = %{version}-%{release}
186
187%description -n ruby-gdk_pixbuf2-devel
188Header files for Ruby/GdkPixbuf2 library.
189
190%description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8
191Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2.
192
193%package -n ruby-gtk2
194Summary: Ruby/GTK2 - Ruby binding of GTK+ 2.x
195Summary(pl.UTF-8): Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x
196Group: Development/Languages
197Requires: gtk+2 >= 2:2.12.0
198Requires: ruby-atk = %{version}-%{release}
199Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
200Requires: ruby-glib2 = %{version}-%{release}
201Requires: ruby-pango = %{version}-%{release}
202
203%description -n ruby-gtk2
204Ruby/GTK2 is a Ruby binding of GTK+ 2.x.
205
206%description -n ruby-gtk2 -l pl.UTF-8
207Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x.
208
209%package -n ruby-gtk2-devel
210Summary: Header files for Ruby/GTK2 library
211Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK2
212Group: Development/Libraries
213Requires: gtk+2-devel >= 2:2.12.0
214Requires: ruby-atk-devel = %{version}-%{release}
45b7bdba
JB
215Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
216Requires: ruby-glib2-devel = %{version}-%{release}
d91e0067 217Requires: ruby-gtk2 = %{version}-%{release}
45b7bdba
JB
218Requires: ruby-pango-devel = %{version}-%{release}
219
220%description -n ruby-gtk2-devel
221Header files for Ruby/GTK2 library.
222
223%description -n ruby-gtk2-devel -l pl.UTF-8
224Pliki nagłówkowe biblioteki Ruby/GTK2.
225
988873f4
JB
226%package -n ruby-goocanvas
227Summary: Ruby/GooCanvas - Ruby binding of GooCanvas
228Summary(pl.UTF-8): Ruby/GooCanvas - wiązanie języka Ruby do biblioteki GooCanvas
229Group: Development/Languages
230Requires: goocanvas >= 0.8
231Requires: ruby-gtk2 = %{version}-%{release}
232Requires: ruby-rcairo
233
234%description -n ruby-goocanvas
235Ruby/GooCanvas is a Ruby binding of GooCanvas.
236
237%description -n ruby-goocanvas -l pl.UTF-8
238Ruby/GooCanvas to wiązanie języka Ruby do biblioteki GooCanvas.
239
240%package -n ruby-goocanvas-devel
241Summary: Header files for Ruby/GooCanvas library
242Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GooCanvas
243Group: Development/Libraries
244Requires: goocanvas-devel >= 0.8
245Requires: ruby-gtk2-devel = %{version}-%{release}
246Requires: ruby-rcairo-devel
247
248%description -n ruby-goocanvas-devel
249Header files for Ruby/GooCanvas library.
250
251%description -n ruby-goocanvas-devel -l pl.UTF-8
252Pliki nagłówkowe biblioteki Ruby/GooCanvas.
253
45b7bdba
JB
254%package -n ruby-gstreamer
255Summary: Ruby/GStreamer - Ruby binding of GStreamer
256Summary(pl.UTF-8): Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer
257Group: Development/Languages
258Requires: gstreamer0.10 >= 0.10.35
259Requires: gstreamer0.10-plugins-base >= 0.10.35
260Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
261Requires: ruby-glib2 = %{version}-%{release}
262Requires: ruby-pango = %{version}-%{release}
263
264%description -n ruby-gstreamer
265Ruby/GStreamer is a Ruby binding of GStreamer.
266
267%description -n ruby-gstreamer -l pl.UTF-8
268Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer.
269
270%package -n ruby-gstreamer-devel
271Summary: Header files for Ruby/GStreamer library
272Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GStreamer
273Group: Development/Libraries
274Requires: gstreamer0.10-devel >= 0.10.35
275Requires: gstreamer0.10-plugins-base-devel >= 0.10.35
276Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
277Requires: ruby-glib2-devel = %{version}-%{release}
278Requires: ruby-pango-devel = %{version}-%{release}
fc67a9b4 279
45b7bdba
JB
280%description -n ruby-gstreamer-devel
281Header files for Ruby/GStreamer library.
fc67a9b4 282
45b7bdba
JB
283%description -n ruby-gstreamer-devel -l pl.UTF-8
284Pliki nagłówkowe biblioteki Ruby/GStreamer.
285
286%package -n ruby-gtksourceview2
287Summary: Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x
288Summary(pl.UTF-8): Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x
289Group: Development/Languages
290Requires: gtksourceview2 >= 2.0.0
291Requires: ruby-gtk2 = %{version}-%{release}
292
293%description -n ruby-gtksourceview2
294Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x.
295
296%description -n ruby-gtksourceview2 -l pl.UTF-8
297Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki
298gtksourceview 2.x.
299
300%package -n ruby-gtksourceview2-devel
301Summary: Header files for Ruby/GtkSourceView2 library
302Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView2
303Group: Development/Libraries
304Requires: gtksourceview2-devel >= 2.0.0
305Requires: ruby-gtk2-devel = %{version}-%{release}
e78de403 306Requires: ruby-gtksourceview2 = %{version}-%{release}
45b7bdba
JB
307
308%description -n ruby-gtksourceview2-devel
309Header files for Ruby/GtkSourceView2 library.
310
311%description -n ruby-gtksourceview2-devel -l pl.UTF-8
312Pliki nagłówkowe biblioteki Ruby/GtkSourceView2.
313
314%package -n ruby-poppler
315Summary: Ruby/Poppler - Ruby binding of poppler-glib
316Summary(pl.UTF-8): Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib
317Group: Development/Languages
318Requires: poppler-glib >= 0.8.0
319Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
320Requires: ruby-glib2 = %{version}-%{release}
321Requires: ruby-gtk2 = %{version}-%{release}
322
323%description -n ruby-poppler
324Ruby/Poppler is a Ruby binding of poppler-glib.
325
326%description -n ruby-poppler -l pl.UTF-8
327Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib.
328
329%package -n ruby-poppler-devel
330Summary: Header files for Ruby/Poppler library
331Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Poppler
332Group: Development/Libraries
333Requires: poppler-glib-devel >= 0.8.0
334Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
335Requires: ruby-glib2-devel = %{version}-%{release}
336Requires: ruby-gtk2-devel = %{version}-%{release}
337
338%description -n ruby-poppler-devel
339Header files for Ruby/Poppler library.
340
341%description -n ruby-poppler-devel -l pl.UTF-8
342Pliki nagłówkowe biblioteki Ruby/Poppler.
343
344%package -n ruby-rsvg2
345Summary: Ruby/RSVG - Ruby binding of librsvg
346Summary(pl.UTF-8): Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg
347Group: Development/Languages
348Requires: librsvg >= 2.8
349Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
350Requires: ruby-glib2 = %{version}-%{release}
351Requires: ruby-rcairo
352
353%description -n ruby-rsvg2
354Ruby/RSVG is a Ruby binding of librsvg.
355
356%description -n ruby-rsvg2 -l pl.UTF-8
357Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg.
358
359%package -n ruby-rsvg2-devel
360Summary: Header files for Ruby/RSVG library
361Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/RSVG
362Group: Development/Libraries
363Requires: librsvg-devel >= 2.8
364Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
365Requires: ruby-glib2-devel = %{version}-%{release}
366
367%description -n ruby-rsvg2-devel
368Header files for Ruby/RSVG library.
369
370%description -n ruby-rsvg2-devel -l pl.UTF-8
371Pliki nagłówkowe biblioteki Ruby/RSVG.
372
373%package -n ruby-vte
374Summary: Ruby/VTE - Ruby binding of VTE
375Summary(pl.UTF-8): Ruby/VTE - wiązanie języka Ruby do biblioteki VTE
376Group: Development/Languages
377Requires: ruby-gtk2 = %{version}-%{release}
378Requires: vte0 >= 0.12.1
379
380%description -n ruby-vte
381Ruby/VTE is a Ruby binding of VTE.
382
383%description -n ruby-vte -l pl.UTF-8
384Ruby/VTE to wiązanie języka Ruby do biblioteki VTE.
385
386%package -n ruby-vte-devel
387Summary: Header files for Ruby/VTE library
388Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE
389Group: Development/Libraries
390Requires: ruby-gtk2-devel = %{version}-%{release}
e78de403 391Requires: ruby-vte = %{version}-%{release}
45b7bdba
JB
392Requires: vte0-devel >= 0.12.1
393
394%description -n ruby-vte-devel
395Header files for Ruby/VTE library.
396
397%description -n ruby-vte-devel -l pl.UTF-8
398Pliki nagłówkowe biblioteki Ruby/VTE.
0626bbf7 399
e78de403
JB
400%package -n ruby-gtk3
401Summary: Ruby/GTK3 - Ruby binding of GTK+ 3.x
402Summary(pl.UTF-8): Ruby/GTK3 - wiązanie języka Ruby do bibliotek GTK+ 3.x
403Group: Development/Languages
404Requires: gtk+3 >= 3.4.2
405Requires: ruby >= 1.9.2
406Requires: ruby-atk = %{version}-%{release}
407Requires: ruby-gdk_pixbuf2 = %{version}-%{release}
408Requires: ruby-glib2 = %{version}-%{release}
409Requires: ruby-pango = %{version}-%{release}
410
411%description -n ruby-gtk3
412Ruby/GTK3 is a Ruby binding of GTK+ 3.x.
413
414%description -n ruby-gtk3 -l pl.UTF-8
415Ruby/GTK3 to wiązanie języka Ruby do bibliotek GTK+ 3.x.
416
417%package -n ruby-gtk3-devel
418Summary: Header files for Ruby/GTK3 library
419Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK3
420Group: Development/Libraries
421Requires: gtk+3-devel >= 3.4.2
422Requires: ruby-atk-devel = %{version}-%{release}
423Requires: ruby-devel >= 1.9.2
424Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release}
425Requires: ruby-glib2-devel = %{version}-%{release}
426Requires: ruby-gtk3 = %{version}-%{release}
427Requires: ruby-pango-devel = %{version}-%{release}
428
429%description -n ruby-gtk3-devel
430Header files for Ruby/GTK3 library.
431
432%description -n ruby-gtk3-devel -l pl.UTF-8
433Pliki nagłówkowe biblioteki Ruby/GTK3.
434
435%package -n ruby-gtksourceview3
436Summary: Ruby/GtkSourceView3 - Ruby binding of gtksourceview 3.x
437Summary(pl.UTF-8): Ruby/GtkSourceView3 - wiązanie języka Ruby do biblioteki gtksourceview 3.x
438Group: Development/Languages
439Requires: gtksourceview3 >= 3
440Requires: ruby-gtk3 = %{version}-%{release}
441
442%description -n ruby-gtksourceview3
443Ruby/GtkSourceView3 is a Ruby binding of gtksourceview 3.x.
444
445%description -n ruby-gtksourceview3 -l pl.UTF-8
446Ruby/GtkSourceView3 to wiązanie języka Ruby do biblioteki
447gtksourceview 3.x.
448
449%package -n ruby-gtksourceview3-devel
450Summary: Header files for Ruby/GtkSourceView3 library
451Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView3
452Group: Development/Libraries
453Requires: gtksourceview3-devel >= 3
454Requires: ruby-gtk3-devel = %{version}-%{release}
455Requires: ruby-gtksourceview3 = %{version}-%{release}
456
457%description -n ruby-gtksourceview3-devel
458Header files for Ruby/GtkSourceView3 library.
459
460%description -n ruby-gtksourceview3-devel -l pl.UTF-8
461Pliki nagłówkowe biblioteki Ruby/GtkSourceView3.
462
463%package -n ruby-vte3
464Summary: Ruby/VTE3 - Ruby binding of VTE on GTK+ 3.x
465Summary(pl.UTF-8): Ruby/VTE3 - wiązanie języka Ruby do biblioteki VTE na GTK+ 3.x
466Group: Development/Languages
467Requires: ruby-gtk3 = %{version}-%{release}
468Requires: vte >= 0.28
469
470%description -n ruby-vte3
471Ruby/VTE3 is a Ruby binding of VTE on GTK+ 3.x.
472
473%description -n ruby-vte3 -l pl.UTF-8
474Ruby/VTE3 to wiązanie języka Ruby do biblioteki VTE opartej na GTK+
4753.x.
476
477%package -n ruby-vte3-devel
478Summary: Header files for Ruby/VTE3 library
479Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE3
480Group: Development/Libraries
481Requires: ruby-gtk3-devel = %{version}-%{release}
482Requires: ruby-vte3 = %{version}-%{release}
483Requires: vte-devel >= 0.28
484
485%description -n ruby-vte3-devel
486Header files for Ruby/VTE3 library.
487
488%description -n ruby-vte3-devel -l pl.UTF-8
489Pliki nagłówkowe biblioteki Ruby/VTE3.
490
9fdef8cc 491%package doc-ri
492Summary: Ruby-GNOME2 ri documentation
9328f09b 493Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie ri
9fdef8cc 494Group: Documentation
c7a1d5cf 495Requires: ruby
1a316027 496
9fdef8cc 497%description doc-ri
498Ruby-GNOME2 ri documentation.
1a316027 499
af27d76f 500%description doc-ri -l pl.UTF-8
9fdef8cc 501Dokumentacja dla Ruby-GNOME2 w formacie ri.
1a316027 502
9328f09b
JB
503%package doc-html
504Summary: Ruby-GNOME2 HTML documentation
505Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie HTML
506Group: Documentation
9328f09b
JB
507
508%description doc-html
509Ruby-GNOME2 HTML documentation.
510
511%description doc-html -l pl.UTF-8
512Dokumentacja dla Ruby-GNOME2 w formacie HTML.
513
1a316027 514%package examples
515Summary: Ruby-GNOME2 examples
4b7b2784 516Summary(pl.UTF-8): Przykłady do Ruby-GNOME2
1a316027 517Group: Development/Libraries
518
519%description examples
520Ruby-GNOME2 examples.
521
af27d76f
JR
522%description examples -l pl.UTF-8
523Przykłady do Ruby-GNOME2.
1a316027 524
1415aa2c 525%prep
6f024924 526%setup -q -n %{name}-all-%{version}
9865ee37 527find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
51c9987a 528%patch0 -p1
1415aa2c 529
45b7bdba
JB
530cp -p glib2/README README.glib2
531cp -p glib2/TODO TODO.glib2
532cp -p gio2/README README.gio2
533cp -p gio2/TODO TODO.gio2
e78de403
JB
534cp -p gdk3/README.md README.gdk3.md
535cp -p gtk3/README.md README.gtk3.md
45b7bdba 536
1415aa2c 537%build
d91e0067
ER
538# echo */extconf.rb | xargs -l1 dirname
539
540comps="
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
9328f09b 563ruby extconf.rb \
d91e0067
ER
564 --vendor \
565 --enable-glib-experimental \
566 $comps
1415aa2c 567%{__make}
568
479e3a17 569rdoc -o rdoc
570rdoc --ri -o ri
571
1415aa2c 572%install
573rm -rf $RPM_BUILD_ROOT
479e3a17 574install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir},%{ruby_ridir}} \
2c9db93d 575 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
1415aa2c 576
c17551df 577%{__make} install \
57b56947
JR
578 DESTDIR=$RPM_BUILD_ROOT \
579 RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
580 sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \
2c9db93d 581 pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \
57b56947 582 RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
1f4a1c85 583
2c9db93d
MB
584cp -a gdk_pixbuf2/sample \
585 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2
1415aa2c 586
2c9db93d
MB
587cp -a glib2/sample \
588 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2
1415aa2c 589
2c9db93d
MB
590cp -a goocanvas/sample \
591 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/goocanvas
1415aa2c 592
2c9db93d
MB
593cp -a gstreamer/sample \
594 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer
1415aa2c 595
2c9db93d
MB
596cp -a gtk2/sample \
597 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
1415aa2c 598
2c9db93d
MB
599cp -a gtksourceview2/sample \
600 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
1415aa2c 601
2c9db93d
MB
602cp -a pango/sample \
603 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango
1415aa2c 604
2c9db93d
MB
605cp -a poppler/sample \
606 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
1415aa2c 607
2c9db93d
MB
608cp -a rsvg2/sample \
609 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2
1415aa2c 610
2c9db93d
MB
611cp -a vte/sample \
612 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
1415aa2c 613
baa03b11 614cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
d40ce743 615%{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Object,RbConfig,TC_*,Test*,page-*,rdoc,ri}
e78de403
JB
616%if %{without gtk3}
617%{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{gdk3,gtk3,gtksourceview3,vte3}
618%endif
9328f09b 619%{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/{cache.ri,created.rid}
4932b6e1 620
1415aa2c 621%clean
622rm -rf $RPM_BUILD_ROOT
623
45b7bdba 624%files -n ruby-glib2
1415aa2c 625%defattr(644,root,root,755)
45b7bdba 626%doc AUTHORS NEWS README README.glib2 TODO.glib2 README.gio2 TODO.gio2
2c9db93d 627%attr(755,root,root) %{ruby_archdir}/gio2.so
431a02b3 628%attr(755,root,root) %{ruby_archdir}/glib2.so
9328f09b
JB
629%{ruby_rubylibdir}/gio2.rb
630%{ruby_rubylibdir}/glib-mkenums.rb
631%{ruby_rubylibdir}/glib2.rb
632%{ruby_rubylibdir}/gnome2-raketask.rb
ea6b3cae 633# these files are expected to exist not only on Win32
9328f09b
JB
634%{ruby_rubylibdir}/gnome2-win32-binary-build-task.rb
635%{ruby_rubylibdir}/gnome2-win32-binary-download-task.rb
9328f09b 636%{ruby_rubylibdir}/mkmf-gnome2.rb
9328f09b
JB
637%{ruby_rubylibdir}/gio2
638%{ruby_rubylibdir}/glib2
fc67a9b4 639
45b7bdba 640%files -n ruby-glib2-devel
0626bbf7 641%defattr(644,root,root,755)
9328f09b 642%{ruby_archdir}/glib-enum-types.h
9328f09b 643%{ruby_archdir}/rbgcompat.h
d40ce743
JB
644%{ruby_archdir}/rbgio2.h
645%{ruby_archdir}/rbgio2conversions.h
9328f09b
JB
646%{ruby_archdir}/rbglib.h
647%{ruby_archdir}/rbglib2conversions.h
648%{ruby_archdir}/rbglibdeprecated.h
649%{ruby_archdir}/rbgobject.h
9328f09b
JB
650%{ruby_archdir}/rbgutil.h
651%{ruby_archdir}/rbgutil_list.h
652%{ruby_archdir}/rbgutildeprecated.h
45b7bdba
JB
653%{_pkgconfigdir}/ruby-gio2.pc
654%{_pkgconfigdir}/ruby-glib2.pc
655
d40ce743
JB
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
45b7bdba
JB
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
d40ce743
JB
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
45b7bdba
JB
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)
9328f09b
JB
689%{ruby_archdir}/rbpango.h
690%{ruby_archdir}/rbpangoconversions.h
691%{ruby_archdir}/rbpangoversion.h
45b7bdba
JB
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
9328f09b 704%{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
45b7bdba
JB
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
9328f09b 720%{_pkgconfigdir}/ruby-gtk2.pc
45b7bdba 721
988873f4
JB
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
45b7bdba
JB
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)
9328f09b 750%{_pkgconfigdir}/ruby-gtksourceview2.pc
45b7bdba
JB
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)
9328f09b 760%{_pkgconfigdir}/ruby-poppler.pc
45b7bdba
JB
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)
9328f09b 770%{_pkgconfigdir}/ruby-rsvg2.pc
45b7bdba
JB
771
772%files -n ruby-vte
773%defattr(644,root,root,755)
e78de403 774%doc vte/README
45b7bdba
JB
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)
9328f09b
JB
781%{_pkgconfigdir}/ruby-vte.pc
782
e78de403
JB
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
9328f09b
JB
826%files doc-html
827%defattr(644,root,root,755)
828%doc rdoc/*
1a316027 829
9fdef8cc 830%files doc-ri
1a316027 831%defattr(644,root,root,755)
9328f09b
JB
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
d40ce743
JB
839%{ruby_ridir}/CairoGObject
840%{ruby_ridir}/CairoGObjectTestUtils
9328f09b
JB
841%{ruby_ridir}/Canvas
842%{ruby_ridir}/CanvasSampleArrowhead
843%{ruby_ridir}/CanvasSampleFifteen
d40ce743 844%{ruby_ridir}/CanvasSamplePrimitives
9328f09b
JB
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
d40ce743 852%{ruby_ridir}/FileChooserSample
9328f09b
JB
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
d40ce743
JB
860%{ruby_ridir}/GObjectIntrospection
861%{ruby_ridir}/GObjectIntrospectionTestUtils
9328f09b
JB
862%{ruby_ridir}/GammaCurveSample
863%{ruby_ridir}/Gdk
d40ce743 864%{ruby_ridir}/GdkX11
9328f09b
JB
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
d40ce743 874%{ruby_ridir}/GtkSource
9328f09b
JB
875%{ruby_ridir}/GtkTestUtils
876%{ruby_ridir}/Inspector
d40ce743 877%{ruby_ridir}/LabelSample
9328f09b
JB
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
d40ce743
JB
925%{ruby_ridir}/atk
926%{ruby_ridir}/cairo-gobject
d40ce743
JB
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
d40ce743 934%{ruby_ridir}/gtksourceview2
d40ce743
JB
935%{ruby_ridir}/pango
936%{ruby_ridir}/poppler
937%{ruby_ridir}/rsvg2
938%{ruby_ridir}/vte
e78de403
JB
939%if %{with gtk3}
940%{ruby_ridir}/gdk3
941%{ruby_ridir}/gtk3
942%{ruby_ridir}/gtksourceview3
d40ce743 943%{ruby_ridir}/vte3
e78de403 944%endif
1a316027 945
946%files examples
947%defattr(644,root,root,755)
948%{_examplesdir}/%{name}-%{version}
This page took 0.1986 seconds and 4 git commands to generate.