]>
Commit | Line | Data |
---|---|---|
f17f265d | 1 | Summary: GNOME 2 libraries for Ruby |
9328f09b | 2 | Summary(pl.UTF-8): Biblioteki GNOME 2 dla języka Ruby |
1415aa2c | 3 | Name: ruby-gnome2 |
9328f09b | 4 | Version: 1.1.5 |
ea6b3cae | 5 | Release: 1 |
9328f09b | 6 | License: LGPL v2.1 |
1415aa2c | 7 | Group: Development/Languages |
2c9db93d | 8 | Source0: http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz |
9328f09b | 9 | # Source0-md5: 6158ad49d59a1faa9f1f67356124a3c7 |
1415aa2c | 10 | URL: http://ruby-gnome2.sourceforge.jp/ |
9328f09b JB |
11 | BuildRequires: atk-devel >= 1.0 |
12 | BuildRequires: cairo-devel >= 1.10.0 | |
13 | BuildRequires: gdk-pixbuf2-devel >= 2 | |
2c9db93d | 14 | BuildRequires: glib2-devel >= 1:2.16.0 |
431a02b3 | 15 | BuildRequires: goocanvas-devel >= 0.8 |
9328f09b JB |
16 | BuildRequires: gstreamer0.10-devel >= 0.10.35 |
17 | BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.35 | |
431a02b3 | 18 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
431a02b3 | 19 | BuildRequires: gtksourceview2-devel |
9328f09b JB |
20 | BuildRequires: librsvg-devel >= 2.8 |
21 | BuildRequires: pango-devel >= 1:1.0 | |
eb536ac1 | 22 | BuildRequires: pkgconfig |
9328f09b | 23 | BuildRequires: poppler-glib-devel >= 0.8.0 |
cc7bc1c2 | 24 | BuildRequires: rpmbuild(macros) >= 1.277 |
9328f09b | 25 | BuildRequires: ruby-devel >= 1.8.5 |
2c9db93d | 26 | BuildRequires: ruby-pkg-config |
988873f4 | 27 | BuildRequires: ruby-rcairo-devel |
2c9db93d | 28 | BuildRequires: ruby-rubygems |
9865ee37 | 29 | BuildRequires: sed >= 4.0 |
45b7bdba | 30 | BuildRequires: vte0-devel >= 0.12.1 |
1415aa2c | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
9328f09b | 34 | GNOME 2 libraries for Ruby. |
7c7e8880 | 35 | |
af27d76f | 36 | %description -l pl.UTF-8 |
9328f09b | 37 | Biblioteki GNOME 2 dla języka Ruby. |
1415aa2c | 38 | |
45b7bdba JB |
39 | %package -n ruby-glib2 |
40 | Summary: Ruby/Glib2, Ruby/GIO2 - Ruby bindings of GLib 2.x | |
41 | Summary(pl.UTF-8): Ruby/Glib2, Ruby/GIO2 - wiązania języka Ruby do bibliotek GLib 2.x | |
42 | Group: Development/Languages | |
43 | %{?ruby_mod_ver_requires_eq} | |
44 | Requires: glib2 >= 1:2.16.0 | |
45 | Requires: ruby >= 1.8.5 | |
46 | Obsoletes: ruby-gnome2 | |
47 | ||
48 | %description -n ruby-glib2 | |
49 | Ruby/Glib2 is a Ruby binding of GLib 2.x. Ruby/GIO2 is a Ruby binding | |
50 | of gio 2.x. | |
51 | ||
52 | %description -n ruby-glib2 -l pl.UTF-8 | |
53 | Ruby/Glib2 to wiązanie języka Ruby do biblioteki GLib 2.x. Ruby/GIO2 | |
54 | to wiązanie języka Ruby do biblioteki gio 2.x. | |
55 | ||
56 | %package -n ruby-glib2-devel | |
57 | Summary: Header files for Ruby/GLib2 and Ruby/GIO2 libraries | |
58 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2 | |
0626bbf7 | 59 | Group: Development/Libraries |
45b7bdba JB |
60 | Requires: glib2-devel >= 1:2.16.0 |
61 | Requires: ruby-devel >= 1.8.5 | |
62 | Requires: ruby-glib2 = %{version}-%{release} | |
63 | Obsoletes: ruby-gnome2-devel | |
64 | ||
65 | %description -n ruby-glib2-devel | |
66 | Header files for Ruby/GLib2 and Ruby/GIO2 libraries. | |
67 | ||
68 | %description -n ruby-glib2-devel -l pl.UTF-8 | |
69 | Pliki nagłówkowe bibliotek Ruby/GLib2 i Ruby/GIO2. | |
70 | ||
71 | %package -n ruby-atk | |
72 | Summary: Ruby/ATK - Ruby binding of ATK | |
73 | Summary(pl.UTF-8): Ruby/ATK - wiązanie języka Ruby do biblioteki ATK | |
74 | Group: Development/Languages | |
75 | Requires: atk >= 1.0 | |
76 | Requires: ruby-glib2 = %{version}-%{release} | |
77 | ||
78 | %description -n ruby-atk | |
79 | Ruby/ATK is a Ruby binding of ATK. | |
80 | ||
81 | %description -n ruby-atk -l pl.UTF-8 | |
82 | Ruby/ATK to wiązanie języka Ruby do biblioteki ATK. | |
83 | ||
84 | %package -n ruby-atk-devel | |
85 | Summary: Header files for Ruby/ATK library | |
86 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/ATK | |
87 | Group: Development/Libraries | |
88 | Requires: atk-devel >= 1.0 | |
89 | Requires: ruby-atk = %{version}-%{release} | |
90 | Requires: ruby-glib2-devel = %{version}-%{release} | |
91 | ||
92 | %description -n ruby-atk-devel | |
93 | Header files for Ruby/ATK library. | |
94 | ||
95 | %description -n ruby-atk-devel -l pl.UTF-8 | |
96 | Pliki nagłówkowe biblioteki Ruby/ATK. | |
97 | ||
98 | %package -n ruby-pango | |
99 | Summary: Ruby/Pango - Ruby binding of pango 1.x | |
100 | Summary(pl.UTF-8): Ruby/Pango - wiązanie języka Ruby do biblioteki pango 1.x | |
101 | Group: Development/Languages | |
102 | Requires: cairo >= 1.10.0 | |
103 | Requires: pango >= 1:1.0 | |
104 | Requires: ruby-glib2 = %{version}-%{release} | |
105 | Requires: ruby-rcairo | |
106 | ||
107 | %description -n ruby-pango | |
108 | Ruby/Pango is a Ruby binding of pango 1.x. | |
109 | ||
110 | %description -n ruby-pango -l pl.UTF-8 | |
111 | Ruby/Pango to wiązanie języka Ruby do biblioteki pango 1.x. | |
112 | ||
113 | %package -n ruby-pango-devel | |
114 | Summary: Header files for Ruby/Pango library | |
115 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Pango | |
116 | Group: Development/Libraries | |
117 | Requires: cairo-devel >= 1.10.0 | |
118 | Requires: pango-devel >= 1.0 | |
119 | Requires: ruby-glib2-devel = %{version}-%{release} | |
120 | Requires: ruby-pango = %{version}-%{release} | |
121 | ||
122 | %description -n ruby-pango-devel | |
123 | Header files for Ruby/Pango library. | |
124 | ||
125 | %description -n ruby-pango-devel -l pl.UTF-8 | |
126 | Pliki nagłówkowe biblioteki Ruby/Pango. | |
127 | ||
128 | %package -n ruby-gdk_pixbuf2 | |
129 | Summary: Ruby/GdkPixbuf2 - Ruby binding of GdkPixbuf 2.x | |
130 | Summary(pl.UTF-8): Ruby/GdkPixbuf2 - wiązanie języka Ruby do biblioteki GdkPixbuf 2.x | |
131 | Group: Development/Languages | |
132 | Requires: gdk-pixbuf2 >= 2 | |
133 | Requires: ruby-glib2 = %{version}-%{release} | |
134 | ||
135 | %description -n ruby-gdk_pixbuf2 | |
136 | Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf 2.x. | |
137 | ||
138 | %description -n ruby-gdk_pixbuf2 -l pl.UTF-8 | |
139 | Ruby/GdkPixbuf2 to wiązanie języka Ruby do biblioteki GdkPixbuf 2.x. | |
140 | ||
141 | %package -n ruby-gdk_pixbuf2-devel | |
142 | Summary: Header files for Ruby/GdkPixbuf2 library | |
143 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2 | |
144 | Group: Development/Libraries | |
145 | Requires: gdk-pixbuf2-devel >= 2 | |
146 | Requires: ruby-gdk_pixbuf2 = %{version}-%{release} | |
147 | Requires: ruby-glib2-devel = %{version}-%{release} | |
148 | ||
149 | %description -n ruby-gdk_pixbuf2-devel | |
150 | Header files for Ruby/GdkPixbuf2 library. | |
151 | ||
152 | %description -n ruby-gdk_pixbuf2-devel -l pl.UTF-8 | |
153 | Pliki nagłówkowe biblioteki Ruby/GdkPixbuf2. | |
154 | ||
155 | %package -n ruby-gtk2 | |
156 | Summary: Ruby/GTK2 - Ruby binding of GTK+ 2.x | |
157 | Summary(pl.UTF-8): Ruby/GTK2 - wiązanie języka Ruby do biblioteki GTK+ 2.x | |
158 | Group: Development/Languages | |
159 | Requires: gtk+2 >= 2:2.12.0 | |
160 | Requires: ruby-atk = %{version}-%{release} | |
161 | Requires: ruby-gdk_pixbuf2 = %{version}-%{release} | |
162 | Requires: ruby-glib2 = %{version}-%{release} | |
163 | Requires: ruby-pango = %{version}-%{release} | |
164 | ||
165 | %description -n ruby-gtk2 | |
166 | Ruby/GTK2 is a Ruby binding of GTK+ 2.x. | |
167 | ||
168 | %description -n ruby-gtk2 -l pl.UTF-8 | |
169 | Ruby/GTK2 to wiązanie języka Ruby do biblioteki GTK+ 2.x. | |
170 | ||
171 | %package -n ruby-gtk2-devel | |
172 | Summary: Header files for Ruby/GTK2 library | |
173 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GTK2 | |
174 | Group: Development/Libraries | |
175 | Requires: gtk+2-devel >= 2:2.12.0 | |
176 | Requires: ruby-atk-devel = %{version}-%{release} | |
177 | Requires: ruby-gtk2 = %{version}-%{release} | |
178 | Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release} | |
179 | Requires: ruby-glib2-devel = %{version}-%{release} | |
180 | Requires: ruby-pango-devel = %{version}-%{release} | |
181 | ||
182 | %description -n ruby-gtk2-devel | |
183 | Header files for Ruby/GTK2 library. | |
184 | ||
185 | %description -n ruby-gtk2-devel -l pl.UTF-8 | |
186 | Pliki nagłówkowe biblioteki Ruby/GTK2. | |
187 | ||
988873f4 JB |
188 | %package -n ruby-goocanvas |
189 | Summary: Ruby/GooCanvas - Ruby binding of GooCanvas | |
190 | Summary(pl.UTF-8): Ruby/GooCanvas - wiązanie języka Ruby do biblioteki GooCanvas | |
191 | Group: Development/Languages | |
192 | Requires: goocanvas >= 0.8 | |
193 | Requires: ruby-gtk2 = %{version}-%{release} | |
194 | Requires: ruby-rcairo | |
195 | ||
196 | %description -n ruby-goocanvas | |
197 | Ruby/GooCanvas is a Ruby binding of GooCanvas. | |
198 | ||
199 | %description -n ruby-goocanvas -l pl.UTF-8 | |
200 | Ruby/GooCanvas to wiązanie języka Ruby do biblioteki GooCanvas. | |
201 | ||
202 | %package -n ruby-goocanvas-devel | |
203 | Summary: Header files for Ruby/GooCanvas library | |
204 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GooCanvas | |
205 | Group: Development/Libraries | |
206 | Requires: goocanvas-devel >= 0.8 | |
207 | Requires: ruby-gtk2-devel = %{version}-%{release} | |
208 | Requires: ruby-rcairo-devel | |
209 | ||
210 | %description -n ruby-goocanvas-devel | |
211 | Header files for Ruby/GooCanvas library. | |
212 | ||
213 | %description -n ruby-goocanvas-devel -l pl.UTF-8 | |
214 | Pliki nagłówkowe biblioteki Ruby/GooCanvas. | |
215 | ||
45b7bdba JB |
216 | %package -n ruby-gstreamer |
217 | Summary: Ruby/GStreamer - Ruby binding of GStreamer | |
218 | Summary(pl.UTF-8): Ruby/GStreamer - wiązanie języka Ruby do biblioteki GStreamer | |
219 | Group: Development/Languages | |
220 | Requires: gstreamer0.10 >= 0.10.35 | |
221 | Requires: gstreamer0.10-plugins-base >= 0.10.35 | |
222 | Requires: ruby-gdk_pixbuf2 = %{version}-%{release} | |
223 | Requires: ruby-glib2 = %{version}-%{release} | |
224 | Requires: ruby-pango = %{version}-%{release} | |
225 | ||
226 | %description -n ruby-gstreamer | |
227 | Ruby/GStreamer is a Ruby binding of GStreamer. | |
228 | ||
229 | %description -n ruby-gstreamer -l pl.UTF-8 | |
230 | Ruby/GStreamer to wiązanie języka Ruby do biblioteki GStreamer. | |
231 | ||
232 | %package -n ruby-gstreamer-devel | |
233 | Summary: Header files for Ruby/GStreamer library | |
234 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GStreamer | |
235 | Group: Development/Libraries | |
236 | Requires: gstreamer0.10-devel >= 0.10.35 | |
237 | Requires: gstreamer0.10-plugins-base-devel >= 0.10.35 | |
238 | Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release} | |
239 | Requires: ruby-glib2-devel = %{version}-%{release} | |
240 | Requires: ruby-pango-devel = %{version}-%{release} | |
fc67a9b4 | 241 | |
45b7bdba JB |
242 | %description -n ruby-gstreamer-devel |
243 | Header files for Ruby/GStreamer library. | |
fc67a9b4 | 244 | |
45b7bdba JB |
245 | %description -n ruby-gstreamer-devel -l pl.UTF-8 |
246 | Pliki nagłówkowe biblioteki Ruby/GStreamer. | |
247 | ||
248 | %package -n ruby-gtksourceview2 | |
249 | Summary: Ruby/GtkSourceView2 - Ruby binding of gtksourceview 2.x | |
250 | Summary(pl.UTF-8): Ruby/GtkSourceView2 - wiązanie języka Ruby do biblioteki gtksourceview 2.x | |
251 | Group: Development/Languages | |
252 | Requires: gtksourceview2 >= 2.0.0 | |
253 | Requires: ruby-gtk2 = %{version}-%{release} | |
254 | ||
255 | %description -n ruby-gtksourceview2 | |
256 | Ruby/GtkSourceView2 is a Ruby binding of gtksourceview 2.x. | |
257 | ||
258 | %description -n ruby-gtksourceview2 -l pl.UTF-8 | |
259 | Ruby/GtkSourceView2 to wiązanie języka Ruby do biblioteki | |
260 | gtksourceview 2.x. | |
261 | ||
262 | %package -n ruby-gtksourceview2-devel | |
263 | Summary: Header files for Ruby/GtkSourceView2 library | |
264 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/GtkSourceView2 | |
265 | Group: Development/Libraries | |
266 | Requires: gtksourceview2-devel >= 2.0.0 | |
267 | Requires: ruby-gtk2-devel = %{version}-%{release} | |
268 | ||
269 | %description -n ruby-gtksourceview2-devel | |
270 | Header files for Ruby/GtkSourceView2 library. | |
271 | ||
272 | %description -n ruby-gtksourceview2-devel -l pl.UTF-8 | |
273 | Pliki nagłówkowe biblioteki Ruby/GtkSourceView2. | |
274 | ||
275 | %package -n ruby-poppler | |
276 | Summary: Ruby/Poppler - Ruby binding of poppler-glib | |
277 | Summary(pl.UTF-8): Ruby/Poppler - wiązanie języka Ruby do biblioteki poppler-glib | |
278 | Group: Development/Languages | |
279 | Requires: poppler-glib >= 0.8.0 | |
280 | Requires: ruby-gdk_pixbuf2 = %{version}-%{release} | |
281 | Requires: ruby-glib2 = %{version}-%{release} | |
282 | Requires: ruby-gtk2 = %{version}-%{release} | |
283 | ||
284 | %description -n ruby-poppler | |
285 | Ruby/Poppler is a Ruby binding of poppler-glib. | |
286 | ||
287 | %description -n ruby-poppler -l pl.UTF-8 | |
288 | Ruby/Poppler to wiązanie języka Ruby do biblioteki poppler-glib. | |
289 | ||
290 | %package -n ruby-poppler-devel | |
291 | Summary: Header files for Ruby/Poppler library | |
292 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/Poppler | |
293 | Group: Development/Libraries | |
294 | Requires: poppler-glib-devel >= 0.8.0 | |
295 | Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release} | |
296 | Requires: ruby-glib2-devel = %{version}-%{release} | |
297 | Requires: ruby-gtk2-devel = %{version}-%{release} | |
298 | ||
299 | %description -n ruby-poppler-devel | |
300 | Header files for Ruby/Poppler library. | |
301 | ||
302 | %description -n ruby-poppler-devel -l pl.UTF-8 | |
303 | Pliki nagłówkowe biblioteki Ruby/Poppler. | |
304 | ||
305 | %package -n ruby-rsvg2 | |
306 | Summary: Ruby/RSVG - Ruby binding of librsvg | |
307 | Summary(pl.UTF-8): Ruby/RSVG - wiązanie języka Ruby do biblioteki librsvg | |
308 | Group: Development/Languages | |
309 | Requires: librsvg >= 2.8 | |
310 | Requires: ruby-gdk_pixbuf2 = %{version}-%{release} | |
311 | Requires: ruby-glib2 = %{version}-%{release} | |
312 | Requires: ruby-rcairo | |
313 | ||
314 | %description -n ruby-rsvg2 | |
315 | Ruby/RSVG is a Ruby binding of librsvg. | |
316 | ||
317 | %description -n ruby-rsvg2 -l pl.UTF-8 | |
318 | Ruby/RSVG to wiązanie języka Ruby do biblioteki librsvg. | |
319 | ||
320 | %package -n ruby-rsvg2-devel | |
321 | Summary: Header files for Ruby/RSVG library | |
322 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/RSVG | |
323 | Group: Development/Libraries | |
324 | Requires: librsvg-devel >= 2.8 | |
325 | Requires: ruby-gdk_pixbuf2-devel = %{version}-%{release} | |
326 | Requires: ruby-glib2-devel = %{version}-%{release} | |
327 | ||
328 | %description -n ruby-rsvg2-devel | |
329 | Header files for Ruby/RSVG library. | |
330 | ||
331 | %description -n ruby-rsvg2-devel -l pl.UTF-8 | |
332 | Pliki nagłówkowe biblioteki Ruby/RSVG. | |
333 | ||
334 | %package -n ruby-vte | |
335 | Summary: Ruby/VTE - Ruby binding of VTE | |
336 | Summary(pl.UTF-8): Ruby/VTE - wiązanie języka Ruby do biblioteki VTE | |
337 | Group: Development/Languages | |
338 | Requires: ruby-gtk2 = %{version}-%{release} | |
339 | Requires: vte0 >= 0.12.1 | |
340 | ||
341 | %description -n ruby-vte | |
342 | Ruby/VTE is a Ruby binding of VTE. | |
343 | ||
344 | %description -n ruby-vte -l pl.UTF-8 | |
345 | Ruby/VTE to wiązanie języka Ruby do biblioteki VTE. | |
346 | ||
347 | %package -n ruby-vte-devel | |
348 | Summary: Header files for Ruby/VTE library | |
349 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ruby/VTE | |
350 | Group: Development/Libraries | |
351 | Requires: ruby-gtk2-devel = %{version}-%{release} | |
352 | Requires: vte0-devel >= 0.12.1 | |
353 | ||
354 | %description -n ruby-vte-devel | |
355 | Header files for Ruby/VTE library. | |
356 | ||
357 | %description -n ruby-vte-devel -l pl.UTF-8 | |
358 | Pliki nagłówkowe biblioteki Ruby/VTE. | |
0626bbf7 | 359 | |
9fdef8cc | 360 | %package doc-ri |
361 | Summary: Ruby-GNOME2 ri documentation | |
9328f09b | 362 | Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie ri |
9fdef8cc | 363 | Group: Documentation |
1a316027 | 364 | Requires: %{name} = %{version}-%{release} |
365 | ||
9fdef8cc | 366 | %description doc-ri |
367 | Ruby-GNOME2 ri documentation. | |
1a316027 | 368 | |
af27d76f | 369 | %description doc-ri -l pl.UTF-8 |
9fdef8cc | 370 | Dokumentacja dla Ruby-GNOME2 w formacie ri. |
1a316027 | 371 | |
9328f09b JB |
372 | %package doc-html |
373 | Summary: Ruby-GNOME2 HTML documentation | |
374 | Summary(pl.UTF-8): Dokumentacja dla Ruby-GNOME2 w formacie HTML | |
375 | Group: Documentation | |
376 | Requires: %{name} = %{version}-%{release} | |
377 | ||
378 | %description doc-html | |
379 | Ruby-GNOME2 HTML documentation. | |
380 | ||
381 | %description doc-html -l pl.UTF-8 | |
382 | Dokumentacja dla Ruby-GNOME2 w formacie HTML. | |
383 | ||
1a316027 | 384 | %package examples |
385 | Summary: Ruby-GNOME2 examples | |
4b7b2784 | 386 | Summary(pl.UTF-8): Przykłady do Ruby-GNOME2 |
1a316027 | 387 | Group: Development/Libraries |
388 | ||
389 | %description examples | |
390 | Ruby-GNOME2 examples. | |
391 | ||
af27d76f JR |
392 | %description examples -l pl.UTF-8 |
393 | Przykłady do Ruby-GNOME2. | |
1a316027 | 394 | |
1415aa2c | 395 | %prep |
6f024924 | 396 | %setup -q -n %{name}-all-%{version} |
9865ee37 | 397 | find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,' |
1415aa2c | 398 | |
45b7bdba JB |
399 | cp -p glib2/README README.glib2 |
400 | cp -p glib2/TODO TODO.glib2 | |
401 | cp -p gio2/README README.gio2 | |
402 | cp -p gio2/TODO TODO.gio2 | |
403 | ||
1415aa2c | 404 | %build |
9328f09b JB |
405 | ruby extconf.rb \ |
406 | --enable-glib-experimental | |
1415aa2c | 407 | %{__make} |
408 | ||
479e3a17 | 409 | rdoc -o rdoc |
410 | rdoc --ri -o ri | |
411 | ||
1415aa2c | 412 | %install |
413 | rm -rf $RPM_BUILD_ROOT | |
479e3a17 | 414 | install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_rubylibdir},%{ruby_ridir}} \ |
2c9db93d | 415 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
1415aa2c | 416 | |
c17551df | 417 | %{__make} install \ |
57b56947 JR |
418 | DESTDIR=$RPM_BUILD_ROOT \ |
419 | RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir} \ | |
420 | sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} \ | |
2c9db93d | 421 | pkgconfigdir=$RPM_BUILD_ROOT%{_pkgconfigdir} \ |
57b56947 | 422 | RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir} |
1f4a1c85 | 423 | |
2c9db93d MB |
424 | cp -a gdk_pixbuf2/sample \ |
425 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gdk_pixbuf2 | |
1415aa2c | 426 | |
2c9db93d MB |
427 | cp -a glib2/sample \ |
428 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/glib2 | |
1415aa2c | 429 | |
2c9db93d MB |
430 | cp -a goocanvas/sample \ |
431 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/goocanvas | |
1415aa2c | 432 | |
2c9db93d MB |
433 | cp -a gstreamer/sample \ |
434 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gstreamer | |
1415aa2c | 435 | |
2c9db93d MB |
436 | cp -a gtk2/sample \ |
437 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2 | |
1415aa2c | 438 | |
2c9db93d MB |
439 | cp -a gtksourceview2/sample \ |
440 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2 | |
1415aa2c | 441 | |
2c9db93d MB |
442 | cp -a pango/sample \ |
443 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pango | |
1415aa2c | 444 | |
2c9db93d MB |
445 | cp -a poppler/sample \ |
446 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler | |
1415aa2c | 447 | |
2c9db93d MB |
448 | cp -a rsvg2/sample \ |
449 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/rsvg2 | |
1415aa2c | 450 | |
2c9db93d MB |
451 | cp -a vte/sample \ |
452 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte | |
1415aa2c | 453 | |
baa03b11 | 454 | cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir} |
9328f09b JB |
455 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Object,TC_*,Test*} |
456 | %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/{cache.ri,created.rid} | |
4932b6e1 | 457 | |
1415aa2c | 458 | %clean |
459 | rm -rf $RPM_BUILD_ROOT | |
460 | ||
45b7bdba | 461 | %files -n ruby-glib2 |
1415aa2c | 462 | %defattr(644,root,root,755) |
45b7bdba | 463 | %doc AUTHORS NEWS README README.glib2 TODO.glib2 README.gio2 TODO.gio2 |
2c9db93d | 464 | %attr(755,root,root) %{ruby_archdir}/gio2.so |
431a02b3 | 465 | %attr(755,root,root) %{ruby_archdir}/glib2.so |
9328f09b JB |
466 | %{ruby_rubylibdir}/gio2.rb |
467 | %{ruby_rubylibdir}/glib-mkenums.rb | |
468 | %{ruby_rubylibdir}/glib2.rb | |
469 | %{ruby_rubylibdir}/gnome2-raketask.rb | |
ea6b3cae | 470 | # these files are expected to exist not only on Win32 |
9328f09b JB |
471 | %{ruby_rubylibdir}/gnome2-win32-binary-build-task.rb |
472 | %{ruby_rubylibdir}/gnome2-win32-binary-download-task.rb | |
9328f09b | 473 | %{ruby_rubylibdir}/mkmf-gnome2.rb |
9328f09b JB |
474 | %{ruby_rubylibdir}/gio2 |
475 | %{ruby_rubylibdir}/glib2 | |
fc67a9b4 | 476 | |
45b7bdba | 477 | %files -n ruby-glib2-devel |
0626bbf7 | 478 | %defattr(644,root,root,755) |
9328f09b | 479 | %{ruby_archdir}/glib-enum-types.h |
9328f09b | 480 | %{ruby_archdir}/rbgcompat.h |
9328f09b JB |
481 | %{ruby_archdir}/rbglib.h |
482 | %{ruby_archdir}/rbglib2conversions.h | |
483 | %{ruby_archdir}/rbglibdeprecated.h | |
484 | %{ruby_archdir}/rbgobject.h | |
9328f09b JB |
485 | %{ruby_archdir}/rbgutil.h |
486 | %{ruby_archdir}/rbgutil_list.h | |
487 | %{ruby_archdir}/rbgutildeprecated.h | |
45b7bdba JB |
488 | %{_pkgconfigdir}/ruby-gio2.pc |
489 | %{_pkgconfigdir}/ruby-glib2.pc | |
490 | ||
491 | %files -n ruby-atk | |
492 | %defattr(644,root,root,755) | |
493 | %doc atk/README | |
494 | %attr(755,root,root) %{ruby_archdir}/atk.so | |
495 | %{ruby_rubylibdir}/atk.rb | |
496 | ||
497 | %files -n ruby-atk-devel | |
498 | %defattr(644,root,root,755) | |
499 | %{ruby_archdir}/rbatk.h | |
500 | %{ruby_archdir}/rbatkversion.h | |
501 | %{_pkgconfigdir}/ruby-atk.pc | |
502 | ||
503 | %files -n ruby-pango | |
504 | %defattr(644,root,root,755) | |
505 | %doc pango/README | |
506 | %attr(755,root,root) %{ruby_archdir}/pango.so | |
507 | %{ruby_rubylibdir}/pango.rb | |
508 | ||
509 | %files -n ruby-pango-devel | |
510 | %defattr(644,root,root,755) | |
9328f09b JB |
511 | %{ruby_archdir}/rbpango.h |
512 | %{ruby_archdir}/rbpangoconversions.h | |
513 | %{ruby_archdir}/rbpangoversion.h | |
45b7bdba JB |
514 | %{_pkgconfigdir}/ruby-pango.pc |
515 | ||
516 | %files -n ruby-gdk_pixbuf2 | |
517 | %defattr(644,root,root,755) | |
518 | %doc gdk_pixbuf2/README | |
519 | %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so | |
520 | %{ruby_rubylibdir}/gdk_pixbuf2.rb | |
521 | ||
522 | %files -n ruby-gdk_pixbuf2-devel | |
523 | %defattr(644,root,root,755) | |
524 | %{ruby_archdir}/rbgdk-pixbuf.h | |
525 | %{ruby_archdir}/rbgdk-pixbuf2conversions.h | |
9328f09b | 526 | %{_pkgconfigdir}/ruby-gdk-pixbuf2.pc |
45b7bdba JB |
527 | |
528 | %files -n ruby-gtk2 | |
529 | %defattr(644,root,root,755) | |
530 | %doc gtk2/README | |
531 | %attr(755,root,root) %{ruby_archdir}/gtk2.so | |
532 | %{ruby_rubylibdir}/gtk2.rb | |
533 | %{ruby_rubylibdir}/gtk2 | |
534 | ||
535 | %files -n ruby-gtk2-devel | |
536 | %defattr(644,root,root,755) | |
537 | %{ruby_archdir}/rbgdk.h | |
538 | %{ruby_archdir}/rbgdkconversions.h | |
539 | %{ruby_archdir}/rbgtk.h | |
540 | %{ruby_archdir}/rbgtkconversions.h | |
541 | %{ruby_archdir}/rbgtkmacros.h | |
9328f09b | 542 | %{_pkgconfigdir}/ruby-gtk2.pc |
45b7bdba | 543 | |
988873f4 JB |
544 | %files -n ruby-goocanvas |
545 | %defattr(644,root,root,755) | |
546 | %doc goocanvas/README | |
547 | %attr(755,root,root) %{ruby_archdir}/goocanvas.so | |
548 | %{ruby_rubylibdir}/goocanvas.rb | |
549 | ||
550 | %files -n ruby-goocanvas-devel | |
551 | %defattr(644,root,root,755) | |
552 | %{_pkgconfigdir}/ruby-goocanvas.pc | |
553 | ||
45b7bdba JB |
554 | %files -n ruby-gstreamer |
555 | %defattr(644,root,root,755) | |
556 | %doc gstreamer/README | |
557 | %attr(755,root,root) %{ruby_archdir}/gstreamer.so | |
558 | %{ruby_rubylibdir}/gst.rb | |
559 | ||
560 | %files -n ruby-gstreamer-devel | |
561 | %defattr(644,root,root,755) | |
562 | %{_pkgconfigdir}/ruby-gstreamer.pc | |
563 | ||
564 | %files -n ruby-gtksourceview2 | |
565 | %defattr(644,root,root,755) | |
566 | %doc gtksourceview2/README | |
567 | %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so | |
568 | %{ruby_rubylibdir}/gtksourceview2.rb | |
569 | ||
570 | %files -n ruby-gtksourceview2-devel | |
571 | %defattr(644,root,root,755) | |
9328f09b | 572 | %{_pkgconfigdir}/ruby-gtksourceview2.pc |
45b7bdba JB |
573 | |
574 | %files -n ruby-poppler | |
575 | %defattr(644,root,root,755) | |
576 | %doc poppler/README | |
577 | %attr(755,root,root) %{ruby_archdir}/poppler.so | |
578 | %{ruby_rubylibdir}/poppler.rb | |
579 | ||
580 | %files -n ruby-poppler-devel | |
581 | %defattr(644,root,root,755) | |
9328f09b | 582 | %{_pkgconfigdir}/ruby-poppler.pc |
45b7bdba JB |
583 | |
584 | %files -n ruby-rsvg2 | |
585 | %defattr(644,root,root,755) | |
586 | %doc rsvg2/README | |
587 | %attr(755,root,root) %{ruby_archdir}/rsvg2.so | |
588 | %{ruby_rubylibdir}/rsvg2.rb | |
589 | ||
590 | %files -n ruby-rsvg2-devel | |
591 | %defattr(644,root,root,755) | |
9328f09b | 592 | %{_pkgconfigdir}/ruby-rsvg2.pc |
45b7bdba JB |
593 | |
594 | %files -n ruby-vte | |
595 | %defattr(644,root,root,755) | |
596 | %attr(755,root,root) %{ruby_archdir}/vte.so | |
597 | %{ruby_rubylibdir}/vte.rb | |
598 | %{ruby_rubylibdir}/vte | |
599 | ||
600 | %files -n ruby-vte-devel | |
601 | %defattr(644,root,root,755) | |
9328f09b JB |
602 | %{_pkgconfigdir}/ruby-vte.pc |
603 | ||
604 | %files doc-html | |
605 | %defattr(644,root,root,755) | |
606 | %doc rdoc/* | |
1a316027 | 607 | |
9fdef8cc | 608 | %files doc-ri |
1a316027 | 609 | %defattr(644,root,root,755) |
9328f09b JB |
610 | %{ruby_ridir}/A |
611 | %{ruby_ridir}/AlphaDemo | |
612 | %{ruby_ridir}/AssistantRunner | |
613 | %{ruby_ridir}/Atk | |
614 | %{ruby_ridir}/ButtonBoxSample | |
615 | %{ruby_ridir}/ButtonSample | |
616 | %{ruby_ridir}/Cairo | |
617 | %{ruby_ridir}/Canvas | |
618 | %{ruby_ridir}/CanvasSampleArrowhead | |
619 | %{ruby_ridir}/CanvasSampleFifteen | |
620 | %{ruby_ridir}/CheckButtonSample | |
621 | %{ruby_ridir}/ColorSelectionSample | |
622 | %{ruby_ridir}/Demo | |
623 | %{ruby_ridir}/DestWindow | |
624 | %{ruby_ridir}/DialogSample | |
625 | %{ruby_ridir}/DraggableWidget | |
626 | %{ruby_ridir}/EntrySample | |
627 | %{ruby_ridir}/FileSelectionSample | |
628 | %{ruby_ridir}/FontSelectionSample | |
629 | %{ruby_ridir}/GLib | |
630 | %{ruby_ridir}/GLibTestUtils | |
631 | %{ruby_ridir}/GNOME2Package | |
632 | %{ruby_ridir}/GNOME2Win32BinaryBuildTask | |
633 | %{ruby_ridir}/GNOME2Win32BinaryDownloadTask | |
634 | %{ruby_ridir}/GammaCurveSample | |
635 | %{ruby_ridir}/Gdk | |
636 | %{ruby_ridir}/Gesture | |
637 | %{ruby_ridir}/GestureProcessor | |
638 | %{ruby_ridir}/GesturedWidget | |
639 | %{ruby_ridir}/Gio | |
640 | %{ruby_ridir}/Goo | |
641 | %{ruby_ridir}/GooCanvasSample | |
642 | %{ruby_ridir}/Gst | |
643 | %{ruby_ridir}/GstTestUtils | |
644 | %{ruby_ridir}/Gtk | |
645 | %{ruby_ridir}/GtkTestUtils | |
646 | %{ruby_ridir}/Inspector | |
647 | %{ruby_ridir}/Layout | |
648 | %{ruby_ridir}/LayoutSample | |
649 | %{ruby_ridir}/MediaInfo | |
650 | %{ruby_ridir}/MediaInfoStream | |
651 | %{ruby_ridir}/MediaInfoTrack | |
652 | %{ruby_ridir}/MenuSample | |
653 | %{ruby_ridir}/MultiTerm | |
654 | %{ruby_ridir}/MyButton | |
655 | %{ruby_ridir}/MyButton2 | |
656 | %{ruby_ridir}/MyGtkPlug | |
657 | %{ruby_ridir}/MyGtkSocket | |
658 | %{ruby_ridir}/NotebookSample | |
659 | %{ruby_ridir}/Pager | |
660 | %{ruby_ridir}/Pango | |
661 | %{ruby_ridir}/PangoTestUtils | |
662 | %{ruby_ridir}/PixmapSample | |
663 | %{ruby_ridir}/Pong | |
664 | %{ruby_ridir}/Poppler | |
665 | %{ruby_ridir}/PopplerTestUtils | |
666 | %{ruby_ridir}/Print | |
667 | %{ruby_ridir}/ProgressBarSample | |
668 | %{ruby_ridir}/RSVG | |
669 | %{ruby_ridir}/RadioButtonSample | |
670 | %{ruby_ridir}/RangeSample | |
671 | %{ruby_ridir}/ReparentSample | |
672 | %{ruby_ridir}/RulerSample | |
673 | %{ruby_ridir}/Sample | |
674 | %{ruby_ridir}/SampleClass | |
675 | %{ruby_ridir}/SampleDialog | |
676 | %{ruby_ridir}/SampleWindow | |
677 | %{ruby_ridir}/SavedPositionSample | |
678 | %{ruby_ridir}/ScrolledWindowSample | |
679 | %{ruby_ridir}/ShapeSampleBasic | |
680 | %{ruby_ridir}/ShapeSampleModeller | |
681 | %{ruby_ridir}/ShapeSampleRings | |
682 | %{ruby_ridir}/ShapeSampleSheets | |
683 | %{ruby_ridir}/ShapesSample | |
684 | %{ruby_ridir}/SpinButtonSample | |
685 | %{ruby_ridir}/SrcWindow | |
686 | %{ruby_ridir}/StatusIconSample | |
687 | %{ruby_ridir}/StatusbarSample | |
688 | %{ruby_ridir}/ToggleButtonSample | |
689 | %{ruby_ridir}/ToolbarSample | |
690 | %{ruby_ridir}/TooltipsSample | |
691 | %{ruby_ridir}/Vte | |
692 | %{ruby_ridir}/WMHintsSample | |
693 | %{ruby_ridir}/Window | |
1a316027 | 694 | |
695 | %files examples | |
696 | %defattr(644,root,root,755) | |
697 | %{_examplesdir}/%{name}-%{version} |