]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - include ext/ in docs | |
3 | # - replace ri with fastri | |
4 | # - patch ri to search multiple indexes (one per package), so RPMs can install ri docs | |
5 | # - gemify irb (?) | |
6 | # | |
7 | # Conditional build: | |
8 | %bcond_without doc # skip (time-consuming) docs generating; intended for speed up test builds | |
9 | %bcond_without batteries # Don't include rubygems, json, rake, minitest | |
10 | %bcond_without default_ruby # use this Ruby as default system Ruby | |
11 | %bcond_without dtrace # disable tracing with dtrace | |
12 | %bcond_with bootstrap # build bootstrap version | |
13 | %bcond_with tests # build without tests | |
14 | ||
15 | %define rel 4 | |
16 | %define ruby_version 2.6 | |
17 | %define patchlevel 10 | |
18 | %define pkg_version %{ruby_version}.%{patchlevel} | |
19 | %define ruby_suffix %{!?with_default_ruby:%{ruby_version}} | |
20 | %define doc_version 2_6_9 | |
21 | %define oname ruby | |
22 | Summary: Ruby - interpreted scripting language | |
23 | Summary(ja.UTF-8): オブジェクト指向言語Rubyインタプリタ | |
24 | Summary(pl.UTF-8): Ruby - interpretowany język skryptowy | |
25 | Summary(pt_BR.UTF-8): Linguagem de script orientada a objeto | |
26 | Summary(zh_CN.UTF-8): ruby - 一种快速高效的面向对象脚本编程语言 | |
27 | Name: ruby%{ruby_suffix} | |
28 | Version: %{pkg_version} | |
29 | Release: %{rel} | |
30 | Epoch: 1 | |
31 | # Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ... | |
32 | # MIT and CCO: ccan/* | |
33 | # zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c | |
34 | # UCD: some of enc/trans/**/*.src | |
35 | License: (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD | |
36 | Group: Development/Languages | |
37 | # https://www.ruby-lang.org/en/downloads/ | |
38 | Source0: https://cache.ruby-lang.org/pub/ruby/%{ruby_version}/%{oname}-%{pkg_version}.tar.xz | |
39 | # Source0-md5: de4cf1c977d6dd05b9842015a9a21efd | |
40 | Source2: https://www.ruby-doc.org/downloads/%{oname}_%{doc_version}_stdlib_rdocs.tgz | |
41 | # Source2-md5: f726a5bd96f90969fb15b1e785375af5 | |
42 | Source3: https://www.ruby-doc.org/downloads/%{oname}_%{doc_version}_core_rdocs.tgz | |
43 | # Source3-md5: 53251c65f70f6e4e37ca0451b6268cac | |
44 | Source50: https://www.unicode.org/Public/9.0.0/ucd/CaseFolding.txt | |
45 | # Source50-md5: e3fbf2f626f10070000fe66f3a2ff5ef | |
46 | Source51: https://www.unicode.org/Public/9.0.0/ucd/CompositionExclusions.txt | |
47 | # Source51-md5: 263381d7b4b5e2d52a91e1bbbd4722d4 | |
48 | Source52: https://www.unicode.org/Public/9.0.0/ucd/NormalizationTest.txt | |
49 | # Source52-md5: aacb8a8acfc449d09136fe39f3f97cf1 | |
50 | Source53: https://www.unicode.org/Public/9.0.0/ucd/SpecialCasing.txt | |
51 | # Source53-md5: fea30f45a2f81ffa474fd984d297e2ea | |
52 | Source54: https://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt | |
53 | # Source54-md5: dde25b1cf9bbb4ba1140ac12e4128b0b | |
54 | Source4: rdoc.1 | |
55 | Source5: testrb.1 | |
56 | Source6: operating_system.rb | |
57 | Patch0: autoconf2.70.patch | |
58 | Patch1: bison3.59.patch | |
59 | Patch2: fix-bison-invocation.patch | |
60 | Patch3: mkmf-verbose.patch | |
61 | Patch4: strip-ccache.patch | |
62 | Patch5: ruby-version.patch | |
63 | Patch6: duplicated-paths.patch | |
64 | Patch7: openssl3.patch | |
65 | # obsolete? | |
66 | Patch8: rubygems-2.0.0-binary-extensions.patch | |
67 | Patch9: custom-rubygems-location.patch | |
68 | Patch12: archlibdir.patch | |
69 | URL: http://www.ruby-lang.org/ | |
70 | BuildRequires: autoconf >= 2.67 | |
71 | BuildRequires: automake | |
72 | BuildRequires: bison >= 1.875 | |
73 | BuildRequires: db-devel | |
74 | BuildRequires: gdbm-devel >= 1.8.3 | |
75 | BuildRequires: gmp-devel | |
76 | BuildRequires: libffi-devel | |
77 | BuildRequires: ncurses-devel | |
78 | BuildRequires: openssl-devel >= 0.9.6 | |
79 | BuildRequires: pkgconfig | |
80 | BuildRequires: readline-devel >= 4.2 | |
81 | BuildRequires: rpm-build >= 5.4.10-49 | |
82 | BuildRequires: rpmbuild(macros) >= 1.527 | |
83 | # which version is minimum now? 1.8.7 is not enough, fails with: | |
84 | # ./tool/generic_erb.rb:31: syntax error, unexpected ':', expecting ')' | |
85 | # ...O.popen("tput smso", "r", err: IO::NULL, &:read) rescue nil) | |
86 | BuildRequires: ruby >= 1:1.9 | |
87 | BuildRequires: sed >= 4.0 | |
88 | %{?with_dtrace:BuildRequires: systemtap-sdt-devel} | |
89 | BuildRequires: tar >= 1:1.22 | |
90 | BuildRequires: xz | |
91 | BuildRequires: yaml-devel | |
92 | BuildRequires: zlib-devel | |
93 | %if %{without bootstrap} | |
94 | # bootstrap needs ruby binary, erb module | |
95 | BuildRequires: rpm-rubyprov | |
96 | BuildRequires: ruby-modules | |
97 | %endif | |
98 | Requires(post,postun): /sbin/ldconfig | |
99 | Obsoletes: ruby-REXML <= 2.4.0-2 | |
100 | Obsoletes: ruby-doc < 1.8.4 | |
101 | Obsoletes: ruby-fastthread <= 0.6.3 | |
102 | Conflicts: rpm-build-macros < 1.695 | |
103 | Conflicts: ruby-activesupport < 2.3.11-2 | |
104 | Conflicts: ruby-activesupport2 < 2.3.11-2 | |
105 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
106 | ||
107 | # hack: skip rubygem(ipaddr) | |
108 | %define _noautoreq ipaddr | |
109 | ||
110 | # separate modules | |
111 | %define bigdecimal_ver 1.4.1 | |
112 | %define bundler_ver 1.17.2 | |
113 | %define did_you_mean_ver 1.3.0 | |
114 | %define io_console_ver 0.4.7 | |
115 | %define irb_ver 1.0.0 | |
116 | %define json_ver 2.1.0 | |
117 | %define minitest_ver 5.11.3 | |
118 | %define net_telnet_ver 0.2.0 | |
119 | %define power_assert_ver 1.1.3 | |
120 | %define psych_ver 3.1.0 | |
121 | %define rake_ver 12.3.3 | |
122 | %define rdoc_ver 6.1.2.1 | |
123 | %define rubygems_ver 3.0.3.1 | |
124 | %define test_unit_ver 3.2.9 | |
125 | %define xmlrpc_ver 0.3.0 | |
126 | # default modules, separated | |
127 | %define irb_ver 1.0.0 | |
128 | # default modules packaged in main modules | |
129 | %define cmath_ver 1.0.0 | |
130 | %define csv_ver 3.0.9 | |
131 | %define date_ver 2.0.3 | |
132 | %define dbm_ver 1.0.0 | |
133 | %define e2mmap_ver 0.1.0 | |
134 | %define etc_ver 1.0.1 | |
135 | %define fcntl_ver 1.0.0 | |
136 | %define fiddle_ver 1.0.0 | |
137 | %define fileutils_ver 1.1.0 | |
138 | %define forwardable_ver 1.2.0 | |
139 | %define gdbm_ver 2.0.0 | |
140 | %define ipaddr_ver 1.2.2 | |
141 | %define logger_ver 1.3.0 | |
142 | %define matrix_ver 0.1.0 | |
143 | %define mutex_m_ver 0.1.0 | |
144 | %define ostruct_ver 0.1.0 | |
145 | %define openssl_ver 2.1.2 | |
146 | %define prime_ver 0.1.0 | |
147 | %define rexml_ver 3.1.9.1 | |
148 | %define rss_ver 0.2.7 | |
149 | %define scanf_ver 1.0.0 | |
150 | %define sdbm_ver 1.0.0 | |
151 | %define shell_ver 0.7 | |
152 | %define stringio_ver 0.0.2 | |
153 | %define strscan_ver 1.0.0 | |
154 | %define sync_ver 0.5.0 | |
155 | %define thwait_ver 0.1.0 | |
156 | %define tracer_ver 0.1.0 | |
157 | %define webrick_ver 1.4.4 | |
158 | %define zlib_ver 1.0.0 | |
159 | ||
160 | %define ruby_ridir %{_datadir}/ri/system | |
161 | %define gem_dir %{_datadir}/gems | |
162 | %define gem_libdir %{_libdir}/gems/%{oname} | |
163 | ||
164 | # location where rubygems is installed | |
165 | %define rubygems_dir %{ruby_libdir} | |
166 | ||
167 | %define ruby_archdir %{_libdir}/%{oname}/%{ruby_version} | |
168 | %define ruby_libarchdir %{_libdir}/%{oname}/%{ruby_version} | |
169 | %define ruby_libdir %{_datadir}/%{oname}/%{ruby_version} | |
170 | ||
171 | # This is the local lib/arch and should not be used for packaging. | |
172 | %define sitedir site_ruby | |
173 | %define ruby_sitearchdir %{_prefix}/local/%{_lib}/%{oname}/%{sitedir}/%{ruby_version} | |
174 | %define ruby_sitelibdir %{_prefix}/local/share/%{oname}/%{sitedir} | |
175 | ||
176 | # This is the general location for libs/archs compatible with all | |
177 | # or most of the Ruby versions available in the PLD repositories. | |
178 | %define vendordir vendor_ruby | |
179 | %define ruby_vendorarchdir %{_libdir}/%{oname}/%{vendordir}/%{ruby_version} | |
180 | %define ruby_vendorlibdir %{_datadir}/%{oname}/%{vendordir} | |
181 | ||
182 | # bleh, some nasty (gcc or ruby) bug still not fixed | |
183 | # (SEGV or "unexpected break" on miniruby run during build) | |
184 | %define specflags_ia64 -O0 | |
185 | ||
186 | # ruby needs frame pointers for correct exception handling | |
187 | %define specflags_ia32 -fno-omit-frame-pointer | |
188 | ||
189 | %description | |
190 | Ruby is the interpreted scripting language for quick and easy | |
191 | object-oriented programming. It has many features to process text | |
192 | files and to do system management tasks (as in Perl). It is simple, | |
193 | straight-forward, extensible, and portable. | |
194 | ||
195 | This package contains only shared library and ruby interpreter. To get | |
196 | full-functional ruby environment install ruby-modules package. | |
197 | ||
198 | %description -l ja.UTF-8 | |
199 | Rubyはシンプルかつ強力なオブジェクト指向スクリプト言語です.Rubyは最初 | |
200 | から純粋なオブジェクト指向言語として設計されていますから,オブジェクト | |
201 | 指向プログラミングを手軽に行う事が出来ます.もちろん通常の手続き型のプ ログラミングも可能です. | |
202 | ||
203 | %description -l pl.UTF-8 | |
204 | Ruby to interpretowany język skryptowy, w sam raz dla łatwego i | |
205 | szybkiego pisania zorientowanych obiektowo programów. Ma wiele funkcji | |
206 | ułatwiających przetwarzanie plików tekstowych i wykonywanie prac | |
207 | związanych z zarządzaniem systemu (podobnie jak Perl). Jest prosty, | |
208 | rozszerzalny i przenośny. | |
209 | ||
210 | Ten pakiet zawiera tylko bibliotekę dzieloną i interpreter ruby. | |
211 | Zainstaluj pakiet ruby-modules, jeżeli potrzebujesz w pełni | |
212 | funkcjonalnego środowiska ruby. | |
213 | ||
214 | %description -l pt_BR.UTF-8 | |
215 | Ruby é uma linguagem de script interpretada de programação orientada a | |
216 | objeto. Possui diversas características para processamento de texto. É | |
217 | simples, extensível e direta. | |
218 | ||
219 | %package modules | |
220 | Summary: Ruby standard modules and utilities | |
221 | Summary(pl.UTF-8): Standardowe moduły i narzędzia dla języka Ruby | |
222 | Group: Development/Languages | |
223 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
224 | Suggests: ruby-rubygems | |
225 | # ruby-modules deprecated, rpm5 generates ruby(abi) itself | |
226 | Provides: ruby-modules(ver) = %{ruby_version} | |
227 | # FIXME later | |
228 | Provides: ruby(abi) = %{ruby_version} | |
229 | %requires_ge_to openssl openssl-devel | |
230 | ||
231 | %description modules | |
232 | Ruby standard modules and utilities: | |
233 | - erb - Tiny eRuby | |
234 | - testrb - automatic runner for Test::Unit of Ruby | |
235 | ||
236 | %description modules -l pl.UTF-8 | |
237 | Standardowe moduły i narzędzia Ruby: | |
238 | - erb - mały eRuby | |
239 | - testrb - automatyczny runner dla Ruby Test::Unit | |
240 | ||
241 | %package devel | |
242 | Summary: Ruby development libraries | |
243 | Summary(pl.UTF-8): Biblioteki programistyczne interpretera języka Ruby | |
244 | Group: Development/Languages | |
245 | Requires: %{name}-modules = %{epoch}:%{version}-%{release} | |
246 | Requires: gcc | |
247 | Requires: glibc-devel | |
248 | Requires: gmp-devel | |
249 | Requires: pkgconfig | |
250 | Obsoletes: ruby-static < 1:2.4 | |
251 | ||
252 | %description devel | |
253 | Ruby development libraries. | |
254 | ||
255 | %description devel -l pl.UTF-8 | |
256 | Biblioteki programistyczne interpretera języka Ruby. | |
257 | ||
258 | %package doc | |
259 | Summary: Ruby HTML documentation | |
260 | Summary(pl.UTF-8): Dokumentacja HTML do Ruby | |
261 | Group: Documentation | |
262 | BuildArch: noarch | |
263 | ||
264 | %description doc | |
265 | Ruby HTML documentation: FAQ, guide, core and standard library. | |
266 | ||
267 | %description doc -l pl.UTF-8 | |
268 | Dokumentacja HTML do Ruby: FAQ, przewodnik, dokumentacja dla core i | |
269 | stdlib. | |
270 | ||
271 | %package doc-ri | |
272 | Summary: Ruby ri documentation | |
273 | Summary(pl.UTF-8): Dokumentacja Ruby w formacie ri | |
274 | Group: Documentation | |
275 | Requires: %{name}-modules = %{epoch}:%{version}-%{release} | |
276 | BuildArch: noarch | |
277 | ||
278 | %description doc-ri | |
279 | Ruby ri documentation. | |
280 | ||
281 | %description doc-ri -l pl.UTF-8 | |
282 | Dokumentacja Ruby w formacie ri. | |
283 | ||
284 | %package examples | |
285 | Summary: Ruby examples | |
286 | Summary(pl.UTF-8): Przykłady dla języka Ruby | |
287 | Group: Development/Languages | |
288 | BuildArch: noarch | |
289 | ||
290 | %description examples | |
291 | Ruby examples. | |
292 | ||
293 | %description examples -l pl.UTF-8 | |
294 | Przykłady programów w języku Ruby. | |
295 | ||
296 | # IMPORTANT: keep irb, rdoc, rubygems, rake, json as last packages as we reset epoch/version/release | |
297 | # and %{version},%{release} macros may not be used directly as they take last | |
298 | # subpackage value not main package one what you intend to use | |
299 | ||
300 | %package irb | |
301 | Summary: The Interactive Ruby | |
302 | Summary(pl.UTF-8): Interaktywny Ruby | |
303 | Version: %{irb_ver} | |
304 | Release: %{pkg_version}.%{rel} | |
305 | Epoch: 0 | |
306 | Group: Development/Languages | |
307 | Requires: %{name}-modules = 1:%{pkg_version}-%{rel} | |
308 | Provides: irb = %{version}-%{release} | |
309 | Provides: ruby(irb) = %{version}-%{release} | |
310 | BuildArch: noarch | |
311 | ||
312 | %description irb | |
313 | The irb is acronym for Interactive Ruby. It evaluates ruby expression | |
314 | from the terminal. | |
315 | ||
316 | %description irb -l pl.UTF-8 | |
317 | Nazwa irb to skrót od Interactive Ruby (interaktywny Ruby). Wyznacza | |
318 | wartości wyrażeń języka ruby podane z terminala. | |
319 | ||
320 | %package rdoc | |
321 | Summary: A tool to generate HTML and command-line documentation for Ruby projects | |
322 | Summary(pl.UTF-8): Narzędzie do generowania dokumentacji HTML i linii poleceń dla projektów w Rubym | |
323 | Version: %{rdoc_ver} | |
324 | Release: %{pkg_version}.%{rel} | |
325 | Epoch: 0 | |
326 | # SIL: lib/rdoc/generator/template/darkfish/css/fonts.css | |
327 | License: GPLv2 and Ruby and MIT and SIL | |
328 | Group: Development/Libraries | |
329 | Requires: %{name}-irb >= %{irb_ver} | |
330 | Requires: %{name}-json >= %{json_ver} | |
331 | Requires: %{name}-modules = 1:%{pkg_version}-%{rel} | |
332 | Obsoletes: rdoc <= 0.9.0 | |
333 | BuildArch: noarch | |
334 | ||
335 | %description rdoc | |
336 | RDoc produces HTML and command-line documentation for Ruby projects. | |
337 | RDoc includes the 'rdoc' and 'ri' tools for generating and displaying | |
338 | online documentation. | |
339 | ||
340 | %description rdoc -l pl.UTF-8 | |
341 | RDoc tworzy dokumentację HTML i linii poleceń dla projektów w języku | |
342 | Ruby. RDoc zawiera narzędzia 'rdoc' i 'ri' do generowania i | |
343 | wyświetlania dokumentacji online. | |
344 | ||
345 | %package rubygems | |
346 | Summary: RubyGems - the Ruby standard for packaging Ruby libraries | |
347 | Summary(pl.UTF-8): RubyGems - standard Ruby'ego pakietowania bibliotek | |
348 | Version: %{rubygems_ver} | |
349 | Release: %{pkg_version}.%{rel} | |
350 | Epoch: 0 | |
351 | License: Ruby or MIT | |
352 | Group: Development/Libraries | |
353 | Requires: %{name}-bigdecimal = %{bigdecimal_ver}-%{pkg_version}.%{rel} | |
354 | Requires: %{name}-io-console = %{io_console_ver}-%{pkg_version}.%{rel} | |
355 | Requires: %{name}-modules = 1:%{pkg_version}-%{rel} | |
356 | Requires: %{name}-psych = %{psych_ver}-%{pkg_version}.%{rel} | |
357 | Requires: %{name}-rdoc >= %{rdoc_ver} | |
358 | Suggests: %{name}-devel | |
359 | Provides: rubygems = %{rubygems_ver} | |
360 | BuildArch: noarch | |
361 | ||
362 | %description rubygems | |
363 | RubyGems is the Ruby standard for publishing and managing third party | |
364 | libraries. | |
365 | ||
366 | %description rubygems -l pl.UTF-8 | |
367 | RubyGems to standardowe narzędzie języka Ruby do publikowania i | |
368 | zarządzania zewnętrznymi bibliotekami. | |
369 | ||
370 | %package bundler | |
371 | Summary: Library and utilities to manage a Ruby application's gem dependencies | |
372 | Summary(pl.UTF-8): Biblioteka i narzędzia do zarządzania zależnościami gem aplikacji w języku Ruby | |
373 | Version: %{bundler_ver} | |
374 | Release: %{pkg_version}.%{rel} | |
375 | Epoch: 0 | |
376 | License: MIT | |
377 | Group: Development/Languages | |
378 | Provides: bundler = %{bundler_ver} | |
379 | BuildArch: noarch | |
380 | ||
381 | %description bundler | |
382 | Bundler manages an application's dependencies through its entire life, | |
383 | across many machines, systematically and repeatably. | |
384 | ||
385 | %description bundler -l pl.UTF-8 | |
386 | Bundler zarządza zależnościami aplikacji przez cały czas jej życia, | |
387 | między wiloma maszynami - systematycznie i powtarzalnie. | |
388 | ||
389 | %package rake | |
390 | Summary: Rake is a Make-like program implemented in Ruby | |
391 | Summary(pl.UTF-8): Program typu Make dla języka Ruby | |
392 | Version: %{rake_ver} | |
393 | Release: %{pkg_version}.%{rel} | |
394 | Epoch: 0 | |
395 | License: MIT | |
396 | Group: Development/Languages | |
397 | Provides: rake = %{rake_ver} | |
398 | Conflicts: ruby-modules < 1:1.9.3.429-2 | |
399 | BuildArch: noarch | |
400 | ||
401 | %description rake | |
402 | Rake is a simple Ruby build program with capabilities similar to make. | |
403 | ||
404 | It has the following features: | |
405 | - Rakefiles (rake's version of Makefiles) are completely defined in | |
406 | standard Ruby syntax. No XML files to edit. No quirky Makefile syntax | |
407 | to worry about (is that a tab or a space?) | |
408 | - Users can specify tasks with prerequisites. | |
409 | - Rake supports rule patterns to synthesize implicit tasks. | |
410 | - Rake is lightweight. It can be distributed with other projects as a | |
411 | single file. Projects that depend upon rake do not require that rake | |
412 | be installed on target systems. | |
413 | ||
414 | %description rake -l pl.UTF-8 | |
415 | Rake to prosty program do budowania w języku Ruby o możliwościach | |
416 | podobnych do make. | |
417 | ||
418 | Ma następujące cechy: | |
419 | - Pliki Rakefile (rake'owa odmiana plików Makefile) są definiowane | |
420 | całkowicie w standardowej składni języka Ruby. Nie trzeba modyfikować | |
421 | plików XML. Nie trzeba martwić się kaprysami składni Makefile (czy to | |
422 | tabulacja czy spacja?). | |
423 | - Użytkownicy mogą określać zadania z ich zależnościami. | |
424 | - Rake obsługuje wzorce reguł do tworzenia z nich wynikowych zadań. | |
425 | - Rake jest lekki. Może być rozpowszechniany z innymi projektami jako | |
426 | pojedynczy plik. Projekty używające rake'a nie wymagają go | |
427 | zainstalowanego na systemach docelowych. | |
428 | ||
429 | %package json | |
430 | Summary: JSON library for Ruby | |
431 | Summary(pl.UTF-8): Biblioteka JSON dla języka Ruby | |
432 | Version: %{json_ver} | |
433 | Release: %{pkg_version}.%{rel} | |
434 | Epoch: 0 | |
435 | # UCD: ext/json/generator/generator.c | |
436 | License: (Ruby or GPL v2) and UCD | |
437 | Group: Development/Languages | |
438 | Obsoletes: ruby-json-rubyforge < 1 | |
439 | Conflicts: ruby-modules < 1:1.9.3.429-3 | |
440 | ||
441 | %description json | |
442 | This is a JSON implementation as a Ruby extension in C. | |
443 | ||
444 | %description json -l pl.UTF-8 | |
445 | Biblioteka JSON dla języka Ruby. | |
446 | ||
447 | %package minitest | |
448 | Summary: Minitest - a complete suite of testing facilities | |
449 | Summary(pl.UTF-8): Minitest - kompletny szkielet do testowania | |
450 | Version: %{minitest_ver} | |
451 | Release: %{pkg_version}.%{rel} | |
452 | Epoch: 0 | |
453 | License: MIT | |
454 | Group: Development/Libraries | |
455 | BuildArch: noarch | |
456 | ||
457 | %description minitest | |
458 | minitest/unit is a small and incredibly fast unit testing framework. | |
459 | ||
460 | minitest/spec is a functionally complete spec engine. | |
461 | ||
462 | minitest/benchmark is an awesome way to assert the performance of your | |
463 | algorithms in a repeatable manner. | |
464 | ||
465 | minitest/mock by Steven Baker, is a beautifully tiny mock object | |
466 | framework. | |
467 | ||
468 | minitest/pride shows pride in testing and adds coloring to your test | |
469 | output. | |
470 | ||
471 | %description minitest -l pl.UTF-8 | |
472 | minitest/unit to mały i bardzo szybki szkielet testów jednostkowych. | |
473 | ||
474 | minitest/spec to funkcjonalnie kompletny silnik specyfikacji. | |
475 | ||
476 | minitest/benchmark to wspaniały sposób zapewnienia wydajności | |
477 | algorytmów w powtarzalny sposób. | |
478 | ||
479 | minitest/mock autorstwa Stevena Bakera to mały szkielet obiektów | |
480 | atrap. | |
481 | ||
482 | minitest/pride ukazuje dumę z testowania i dodaje kolorowanie do | |
483 | wyjścia testów. | |
484 | ||
485 | %package power_assert | |
486 | Summary: Power Assert for Ruby | |
487 | Summary(pl.UTF-8): Power Assert dla języka Ruby | |
488 | Version: %{power_assert_ver} | |
489 | Release: %{pkg_version}.%{rel} | |
490 | Epoch: 0 | |
491 | License: Ruby or BSD | |
492 | Group: Development/Libraries | |
493 | BuildArch: noarch | |
494 | ||
495 | %description power_assert | |
496 | Power Assert shows each value of variables and method calls in the | |
497 | expression. It is useful for testing, providing which value wasn't | |
498 | correct when the condition is not satisfied. | |
499 | ||
500 | %description power_assert -l pl.UTF-8 | |
501 | Power Assert pokazuje każdą wartość zmiennych i wywołań metod w | |
502 | wyrażeniu. Jest przydatny do testowania, ukazując, która wartość nie | |
503 | była poprawna, kiedy warunek nie był spełniony. | |
504 | ||
505 | %package test-unit | |
506 | Summary: An xUnit family unit testing framework for Ruby | |
507 | Summary(pl.UTF-8): Szkielet testów z rodziny xUnit dla języka Ruby | |
508 | Version: %{test_unit_ver} | |
509 | Release: %{pkg_version}.%{rel} | |
510 | Epoch: 0 | |
511 | # lib/test/unit/diff.rb is a double license of the Ruby license and PSF license. | |
512 | # lib/test-unit.rb is a dual license of the Ruby license and LGPLv2.1 or later. | |
513 | License: (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPL v2+) | |
514 | Group: Development/Libraries | |
515 | Requires: ruby-power_assert = %{power_assert_ver}-%{pkg_version}.%{rel} | |
516 | BuildArch: noarch | |
517 | ||
518 | %description test-unit | |
519 | test-unit (Test::Unit) is unit testing framework for Ruby, based on | |
520 | xUnit principles. These were originally designed by Kent Beck, creator | |
521 | of extreme programming software development methodology, for | |
522 | Smalltalk's SUnit. It allows writing tests, checking results and | |
523 | automated testing in Ruby. | |
524 | ||
525 | %description test-unit -l pl.UTF-8 | |
526 | test-unit (Test::Unit) to szkielet testów jednostkowych dla języka | |
527 | Ruby oparty na zasadach xUnit. Te były pierwotnie zaprojektowane przez | |
528 | Kenta Becka, twórcy metodyki tworzenia oprogramowania zwanej | |
529 | programowaniem ekstremalnym, dla szkieletu SUnit dla Smalltalka. | |
530 | Szkielet pozwala na pisanie testów, sprawdzanie wyników i automatyczne | |
531 | testowanie w Rubym. | |
532 | ||
533 | %package did_you_mean | |
534 | Summary: "Did you mean?" experience in Ruby | |
535 | Summary(pl.UTF-8): Zachowanie "czy miałeś na myśli?" w języku Ruby | |
536 | Version: %{did_you_mean_ver} | |
537 | Release: %{pkg_version}.%{rel} | |
538 | Epoch: 0 | |
539 | License: MIT | |
540 | Group: Development/Libraries | |
541 | BuildArch: noarch | |
542 | ||
543 | %description did_you_mean | |
544 | "Did you mean?" experience in Ruby: the error message will tell you | |
545 | the right one when you misspelled something. | |
546 | ||
547 | %description did_you_mean -l pl.UTF-8 | |
548 | Zachowanie "czy miałeś na myśli" w języku ruby: komunikat błędu | |
549 | podpowie właściwą pisownię w przypadku literówki. | |
550 | ||
551 | %package net-telnet | |
552 | Summary: Provides telnet client functionality | |
553 | Summary(pl.UTF-8): Funkcjonalność klienta usługi telnet | |
554 | Version: %{net_telnet_ver} | |
555 | Release: %{pkg_version}.%{rel} | |
556 | Epoch: 0 | |
557 | Group: Development/Libraries | |
558 | BuildArch: noarch | |
559 | ||
560 | %description net-telnet | |
561 | Provides telnet client functionality. | |
562 | ||
563 | This class also has, through delegation, all the methods of a socket | |
564 | object (by default, a TCPSocket, but can be set by the Proxy option to | |
565 | new()). This provides methods such as close() to end the session and | |
566 | sysread() to read data directly from the host, instead of via the | |
567 | waitfor() mechanism. | |
568 | ||
569 | %description net-telnet -l pl.UTF-8 | |
570 | Ten pakiet dostarcza funkcjonalność klienta usługi telnet. | |
571 | ||
572 | Ta klasa ma, poprzez delegację, wszystkie metody obiektu gniazda | |
573 | (domyślnie TCPSocket, ale może być ustawiona przez opcję Proxy dla | |
574 | new()). Udostępnia metody takie jak: close() do zakończenia sesji czy | |
575 | sysread() do odczytu danych bezpośrednio z hosta zamiast poprzez | |
576 | mechanizm waitfor(). | |
577 | ||
578 | %package bigdecimal | |
579 | Summary: BigDecimal - arbitrary-precision floating point decimal arithmetic | |
580 | Summary(pl.UTF-8): BigDecimal - dziesiętna arytmetyka zmiennoprzecinkowa o dowolnej dokładności | |
581 | Version: %{bigdecimal_ver} | |
582 | Release: %{pkg_version}.%{rel} | |
583 | Epoch: 0 | |
584 | License: GPL+ or Artistic | |
585 | Group: Development/Libraries | |
586 | ||
587 | %description bigdecimal | |
588 | Ruby provides built-in support for arbitrary precision integer | |
589 | arithmetic. For example: | |
590 | ||
591 | 42**13 -> 1265437718438866624512 | |
592 | ||
593 | BigDecimal provides similar support for very large or very accurate | |
594 | floating point numbers. Decimal arithmetic is also useful for general | |
595 | calculation, because it provides the correct answers people expect - | |
596 | whereas normal binary floating point arithmetic often introduces | |
597 | subtle errors because of the conversion between base 10 and base 2. | |
598 | ||
599 | %description bigdecimal -l pl.UTF-8 | |
600 | Ruby zapewnia wbudowaną obsługę arytmetyki całkowitej dowolnej | |
601 | dokładności, np.: | |
602 | ||
603 | 42**13 -> 1265437718438866624512 | |
604 | ||
605 | BigDecimal zapewnia podobną obsługę bardzo dużych lub bardzo | |
606 | dokładnych liczb zmiennoprzecinkowych. Arytmetyka dziesiętna jest | |
607 | przydatna także do ogólnych obliczeń, ponieważ zapewnia poprawne | |
608 | odpowiedzi oczekiwane przez ludzi - podczas gdy normalna binarna | |
609 | arytmetyka zmiennoprzecinkowa wprowadza minimalne błędy spowodowane | |
610 | zmianą podstawy między 10 a 2. | |
611 | ||
612 | %package io-console | |
613 | Summary: IO/Console - a simple console utilizing library | |
614 | Summary(pl.UTF-8): IO/Console - prosta biblioteka wykorzystująca konsolę | |
615 | Version: %{io_console_ver} | |
616 | Release: %{pkg_version}.%{rel} | |
617 | Epoch: 0 | |
618 | Group: Development/Libraries | |
619 | ||
620 | %description io-console | |
621 | IO/Console provides very simple and portable access to console. It | |
622 | doesn't provide higher layer features, such like curses and readline. | |
623 | ||
624 | %description io-console -l pl.UTF-8 | |
625 | IO/Console zapewnia bardzo prosty i przenośny dostęp do konsoli. Nie | |
626 | udostępnia funkcji wyższego poziomu, takich jak curses czy readline. | |
627 | ||
628 | %package psych | |
629 | Summary: A libyaml wrapper for Ruby | |
630 | Summary(pl.UTF-8): Obudowanie libyaml dla języka Ruby | |
631 | Version: %{psych_ver} | |
632 | Release: %{pkg_version}.%{rel} | |
633 | Epoch: 0 | |
634 | License: MIT | |
635 | Group: Development/Libraries | |
636 | ||
637 | %description psych | |
638 | Psych is a YAML parser and emitter. Psych leverages libyaml for its | |
639 | YAML parsing and emitting capabilities. In addition to wrapping | |
640 | libyaml, Psych also knows how to serialize and de-serialize most Ruby | |
641 | objects to and from the YAML format. | |
642 | ||
643 | %description psych -l pl.UTF-8 | |
644 | Psych to parser i emiter YAML. Wykorzystuje libyaml do analizy i | |
645 | emitowania YAML-a. Poza obudowaniem libyaml, wie także jak | |
646 | serializować i deserializować większość obiektów języka Ruby do/z | |
647 | formatu YAML. | |
648 | ||
649 | %package xmlrpc | |
650 | Summary: A xmlrpc wrapper for Ruby | |
651 | Summary(pl.UTF-8): Obudowanie xmlrpc dla języka Ruby | |
652 | Version: %{xmlrpc_ver} | |
653 | Release: %{pkg_version}.%{rel} | |
654 | Epoch: 0 | |
655 | License: MIT | |
656 | Group: Development/Libraries | |
657 | ||
658 | %description xmlrpc | |
659 | XMLRPC is a lightweight protocol that enables remote procedure calls | |
660 | over HTTP. It is defined at <http://www.xmlrpc.com/>. | |
661 | ||
662 | XMLRPC allows you to create simple distributed computing solutions | |
663 | that span computer languages. Its distinctive feature is its | |
664 | simplicity compared to other approaches like SOAP and CORBA. | |
665 | ||
666 | The Ruby standard library package 'xmlrpc' enables you to create a | |
667 | server that implements remote procedures and a client that calls them. | |
668 | Very little code is required to achieve either of these. | |
669 | ||
670 | %description xmlrpc -l pl.UTF-8 | |
671 | XMLRPC to lekki protokół pozwalający na wywołania zdalnych procedur | |
672 | poprzez HTTP. Jest zdefiniowany na <http://www.xmlrpc.com/>. | |
673 | ||
674 | XMLRPC pozwala na tworzenie prostych, rozproszonych systemów | |
675 | komputerowych dla wielu języków. Wyróżniającą cechą jest prostota w | |
676 | porównaniu do innych rozwiązań, takich jak SOAP czy CORBA. | |
677 | ||
678 | Pakiet biblioteki standardowej języka Ruby 'xmlrpc' pozwala na | |
679 | stworzenie serwera implementującego procedury zdalne oraz klienta | |
680 | wywołującego je. Aby to osiągnąć wystarczy bardzo mało kodu. | |
681 | ||
682 | %prep | |
683 | %setup -q -n %{oname}-%{pkg_version} -a2 -a3 | |
684 | %patch0 -p1 | |
685 | %patch1 -p1 | |
686 | %patch2 -p1 | |
687 | %patch3 -p1 | |
688 | %patch4 -p1 | |
689 | %patch5 -p1 | |
690 | %patch6 -p1 | |
691 | %patch7 -p1 | |
692 | #%patch8 -p1 | |
693 | %patch9 -p1 | |
694 | %patch12 -p1 | |
695 | ||
696 | install -d enc/unicode/data/9.0.0 | |
697 | cp -p %{SOURCE50} %{SOURCE51} %{SOURCE52} %{SOURCE53} %{SOURCE54} enc/unicode/data/9.0.0/ | |
698 | ||
699 | # must be regenerated with new bison | |
700 | %{__rm} parse.{c,h} | |
701 | ||
702 | # Remove bundled libraries to be sure they are not used. | |
703 | %{__rm} -r ext/psych/yaml | |
704 | %{__rm} -r ext/fiddle/libffi* | |
705 | ||
706 | # Install custom operating_system.rb. | |
707 | install -d lib/rubygems/defaults | |
708 | cp -p %{SOURCE6} lib/rubygems/defaults | |
709 | ||
710 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
711 | ||
712 | find -type f '(' -name '*.rb' -o -name '*.cgi' -o -name '*.test' \ | |
713 | -o -name 'ruby.1' -o -name '*.html' -o -name '*.tcl' ')' \ | |
714 | | xargs %{__sed} -i 's,/usr/local/bin/,%{_bindir}/,' | |
715 | ||
716 | %if %{with bootstrap} | |
717 | # avoid regeneration, needs iostring module | |
718 | touch enc/unicode/9.0.0/*.h | |
719 | %endif | |
720 | ||
721 | %build | |
722 | rubygems_ver=$(awk '/VERSION =/ && $1 == "VERSION" {print $3}' lib/rubygems.rb | sed 's/\.freeze//g' | xargs) | |
723 | if [ $rubygems_ver != %{rubygems_ver} ]; then | |
724 | echo "Set %%define rubygems_ver to $rubygems_ver and re-run." | |
725 | exit 1 | |
726 | fi | |
727 | rdoc_ver=$(awk '/VERSION =/ && $1 == "VERSION" {print $3}' lib/rdoc/version.rb | xargs) | |
728 | if [ "$rdoc_ver" != %{rdoc_ver} ]; then | |
729 | echo "Set %%define rdoc_ver to $rdoc_ver and re-run." | |
730 | exit 1 | |
731 | fi | |
732 | ||
733 | cp -f /usr/share/automake/config.sub . | |
734 | ||
735 | %{__autoconf} | |
736 | %configure \ | |
737 | %{?with_bootstrap:--with-baseruby="%{_bindir}/ruby -I$(pwd)/lib"} \ | |
738 | --program-suffix=%{ruby_suffix} \ | |
739 | --with-archlibdir=%{_libdir} \ | |
740 | --with-rubygemsdir=%{rubygems_dir} \ | |
741 | --with-rubylibprefix=%{ruby_libdir} \ | |
742 | --with-rubyarchprefix=%{ruby_archdir} \ | |
743 | --with-sitedir=%{ruby_sitelibdir} \ | |
744 | --with-sitearchdir=%{ruby_sitearchdir} \ | |
745 | --with-vendordir=%{ruby_vendorlibdir} \ | |
746 | --with-vendorarchdir=%{ruby_vendorarchdir} \ | |
747 | --with-rubyhdrdir=%{_includedir}/%{oname}-%{ruby_version} \ | |
748 | --with-rubyarchhdrdir=%{_includedir}/%{oname}-%{ruby_version} \ | |
749 | --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \ | |
750 | --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \ | |
751 | --without-compress-debug-sections \ | |
752 | --enable-multiarch \ | |
753 | --enable-shared \ | |
754 | --disable-install-doc \ | |
755 | --disable-rpath \ | |
756 | --disable-rubygems \ | |
757 | %{__enable_disable dtrace} \ | |
758 | --with-ruby-version='' \ | |
759 | ||
760 | %{__make} -j1 main \ | |
761 | COPY="cp -p" \ | |
762 | V=1 | |
763 | ||
764 | %if %{with doc} | |
765 | %{__make} -j1 rdoc | |
766 | %endif | |
767 | ||
768 | %if %{with tests} | |
769 | # unset these, as testsuite does "git commit" somewhere, which points to pld .spec repo. doh | |
770 | unset GIT_DIR GIT_WORK_TREE | |
771 | ||
772 | unset GIT | |
773 | DISABLE_TESTS="" | |
774 | ||
775 | %ifarch armv7l armv7hl armv7hnl | |
776 | # test_call_double(DL::TestDL) fails on ARM HardFP | |
777 | # http://bugs.ruby-lang.org/issues/6592 | |
778 | DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS" | |
779 | %endif | |
780 | ||
781 | # test_debug(TestRubyOptions) fails due to LoadError reported in debug mode, | |
782 | # when abrt.rb cannot be required (seems to be easier way then customizing | |
783 | # the test suite). | |
784 | touch abrt.rb | |
785 | ||
786 | # TestSignal#test_hup_me hangs up the test suite. | |
787 | # http://bugs.ruby-lang.org/issues/8997 | |
788 | sed -i '/def test_hup_me/,/end if Process.respond_to/ s/^/#/' test/ruby/test_signal.rb | |
789 | ||
790 | # Fix "Could not find 'minitest'" error. | |
791 | # http://bugs.ruby-lang.org/issues/9259 | |
792 | sed -i "/^ gem 'minitest', '~> 4.0'/ s/^/#/" lib/rubygems/test_case.rb | |
793 | ||
794 | # Segmentation fault. | |
795 | # https://bugs.ruby-lang.org/issues/9198 | |
796 | sed -i '/^ def test_machine_stackoverflow/,/^ end/ s/^/#/' test/ruby/test_exception.rb | |
797 | ||
798 | # Don't test wrap ciphers to prevent "OpenSSL::Cipher::CipherError: wrap mode | |
799 | # not allowed" error. | |
800 | # https://bugs.ruby-lang.org/issues/10229 | |
801 | sed -i '/assert(OpenSSL::Cipher::Cipher.new(name).is_a?(OpenSSL::Cipher::Cipher))/i \ | |
802 | next if /wrap/ =~ name' test/openssl/test_cipher.rb | |
803 | ||
804 | # Test is broken due to SSLv3 disabled in Fedora. | |
805 | # https://bugs.ruby-lang.org/issues/10046 | |
806 | sed -i '/def test_ctx_server_session_cb$/,/^ end$/ s/^/#/' test/openssl/test_ssl_session.rb | |
807 | ||
808 | %{__make} check TESTS="-v $DISABLE_TESTS" | |
809 | %endif | |
810 | ||
811 | %install | |
812 | rm -rf $RPM_BUILD_ROOT | |
813 | install -d $RPM_BUILD_ROOT{%{ruby_rdocdir},%{ruby_ridir}} \ | |
814 | $RPM_BUILD_ROOT%{ruby_vendorarchdir} \ | |
815 | $RPM_BUILD_ROOT%{ruby_vendorlibdir}/net \ | |
816 | $RPM_BUILD_ROOT%{ruby_vendorlibdir}/data \ | |
817 | ||
818 | %{__make} install %{?with_doc:install-doc -j1} \ | |
819 | DESTDIR=$RPM_BUILD_ROOT | |
820 | ||
821 | # Version is empty if --with-ruby-version is specified. | |
822 | # http://bugs.ruby-lang.org/issues/7807 | |
823 | sed -i -e 's/Version: \${ruby_version}/Version: %{ruby_version}/' $RPM_BUILD_ROOT%{_pkgconfigdir}/%{oname}-%{ruby_version}.pc | |
824 | ||
825 | # Kill bundled certificates, as they should be part of ca-certificates. | |
826 | for cert in \ | |
827 | GlobalSignRootCA.pem \ | |
828 | ; do | |
829 | %{__rm} $RPM_BUILD_ROOT%{rubygems_dir}/rubygems/ssl_certs/*/$cert | |
830 | done | |
831 | ||
832 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{pkg_version} | |
833 | cp -Rf sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{pkg_version} | |
834 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/rdoc%{ruby_suffix}.1 | |
835 | cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/testrb%{ruby_suffix}.1 | |
836 | ||
837 | %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/html | |
838 | ||
839 | # detect this runtime, "make install" is affected by operating_system.rb what is installed in system! | |
840 | gem_dir=$(./miniruby -Ilib -I. -I.ext/common ./tool/runruby.rb -- --disable-gems -r$(basename *-linux*-fake.rb .rb) -r rubygems -e 'puts Gem.default_dir') | |
841 | ||
842 | # Move gems root into common directory, out of Ruby directory structure. | |
843 | install -d $RPM_BUILD_ROOT%{gem_dir} | |
844 | %{__mv} $RPM_BUILD_ROOT${gem_dir}/{gems,specifications} $RPM_BUILD_ROOT%{gem_dir} | |
845 | ||
846 | # Move bundled rubygems to %gem_dir | |
847 | # make symlinks for io-console and bigdecimal, which are considered to be part of stdlib by other Gems | |
848 | # make symlinks for all packages, so they would work without rubygems | |
849 | # NOTE: when making symlinks, do not symlink paths that could be directories, | |
850 | # as there may came files from other packages as well. actually, unlikely as | |
851 | # the links to got system dir and only ruby may package there (other distro | |
852 | # packages should go to vendor dirs) | |
853 | %if 0 | |
854 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/rake-%{rake_ver}/lib | |
855 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/rake* $RPM_BUILD_ROOT%{gem_dir}/gems/rake-%{rake_ver}/lib | |
856 | ln -s %{gem_dir}/gems/rake-%{rake_ver}/lib/rake $RPM_BUILD_ROOT%{ruby_libdir} | |
857 | ln -s %{gem_dir}/gems/rake-%{rake_ver}/lib/rake.rb $RPM_BUILD_ROOT%{ruby_libdir} | |
858 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/rake-%{rake_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
859 | %endif | |
860 | ||
861 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/rdoc-%{rdoc_ver}/lib | |
862 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/rdoc* $RPM_BUILD_ROOT%{gem_dir}/gems/rdoc-%{rdoc_ver}/lib | |
863 | ln -s %{gem_dir}/gems/rdoc-%{rdoc_ver}/lib/rdoc $RPM_BUILD_ROOT%{ruby_libdir} | |
864 | ln -s %{gem_dir}/gems/rdoc-%{rdoc_ver}/lib/rdoc.rb $RPM_BUILD_ROOT%{ruby_libdir} | |
865 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/rdoc-%{rdoc_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
866 | ||
867 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/bigdecimal-%{bigdecimal_ver}/lib | |
868 | install -d $RPM_BUILD_ROOT%{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal | |
869 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/bigdecimal $RPM_BUILD_ROOT%{gem_dir}/gems/bigdecimal-%{bigdecimal_ver}/lib | |
870 | %{__mv} $RPM_BUILD_ROOT%{ruby_libarchdir}/bigdecimal.so $RPM_BUILD_ROOT%{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib | |
871 | %{__mv} $RPM_BUILD_ROOT%{ruby_libarchdir}/bigdecimal/util.so $RPM_BUILD_ROOT%{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal/ | |
872 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
873 | ln -s %{gem_dir}/gems/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal $RPM_BUILD_ROOT%{ruby_libdir}/bigdecimal | |
874 | ln -s %{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal.so $RPM_BUILD_ROOT%{ruby_libarchdir}/bigdecimal.so | |
875 | install -d $RPM_BUILD_ROOT%{ruby_libarchdir}/bigdecimal | |
876 | ln -s %{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal/util.so $RPM_BUILD_ROOT%{ruby_libarchdir}/bigdecimal/util.so | |
877 | ||
878 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/io-console-%{io_console_ver}/lib | |
879 | install -d $RPM_BUILD_ROOT%{gem_libdir}/io-console-%{io_console_ver}/lib/io | |
880 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/io $RPM_BUILD_ROOT%{gem_dir}/gems/io-console-%{io_console_ver}/lib | |
881 | %{__mv} $RPM_BUILD_ROOT%{ruby_libarchdir}/io/console.so $RPM_BUILD_ROOT%{gem_libdir}/io-console-%{io_console_ver}/lib/io | |
882 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/io-console-%{io_console_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
883 | ln -s %{gem_dir}/gems/io-console-%{io_console_ver}/lib/io $RPM_BUILD_ROOT%{ruby_libdir}/io | |
884 | ln -s %{gem_libdir}/io-console-%{io_console_ver}/lib/io/console.so $RPM_BUILD_ROOT%{ruby_libarchdir}/io/console.so | |
885 | ||
886 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/json-%{json_ver}/lib | |
887 | install -d $RPM_BUILD_ROOT%{gem_libdir}/json-%{json_ver}/lib | |
888 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/json* $RPM_BUILD_ROOT%{gem_dir}/gems/json-%{json_ver}/lib | |
889 | %{__mv} $RPM_BUILD_ROOT%{ruby_libarchdir}/json $RPM_BUILD_ROOT%{gem_libdir}/json-%{json_ver}/lib | |
890 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/json-%{json_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
891 | ln -s %{gem_dir}/gems/json-%{json_ver}/lib/json $RPM_BUILD_ROOT%{ruby_libdir}/json | |
892 | ln -s %{gem_dir}/gems/json-%{json_ver}/lib/json.rb $RPM_BUILD_ROOT%{ruby_libdir}/json.rb | |
893 | install -d $RPM_BUILD_ROOT%{ruby_libarchdir}/json/ext | |
894 | ln -s %{gem_libdir}/json-%{json_ver}/lib/json/ext/parser.so $RPM_BUILD_ROOT%{ruby_libarchdir}/json/ext | |
895 | ln -s %{gem_libdir}/json-%{json_ver}/lib/json/ext/generator.so $RPM_BUILD_ROOT%{ruby_libarchdir}/json/ext | |
896 | ||
897 | ln -s %{gem_dir}/gems/minitest-%{minitest_ver}/lib/minitest $RPM_BUILD_ROOT%{ruby_libdir} | |
898 | ||
899 | install -d $RPM_BUILD_ROOT%{ruby_libdir}/test | |
900 | ln -s %{gem_dir}/gems/test-unit-%{test_unit_ver}/lib/test/unit $RPM_BUILD_ROOT%{ruby_libdir}/test | |
901 | ||
902 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/psych-%{psych_ver}/lib | |
903 | install -d $RPM_BUILD_ROOT%{gem_libdir}/psych-%{psych_ver}/lib | |
904 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/psych* $RPM_BUILD_ROOT%{gem_dir}/gems/psych-%{psych_ver}/lib | |
905 | %{__mv} $RPM_BUILD_ROOT%{ruby_libarchdir}/psych.so $RPM_BUILD_ROOT%{gem_libdir}/psych-%{psych_ver}/lib/ | |
906 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/psych-%{psych_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
907 | ln -s %{gem_dir}/gems/psych-%{psych_ver}/lib/psych $RPM_BUILD_ROOT%{ruby_libdir}/psych | |
908 | ln -s %{gem_dir}/gems/psych-%{psych_ver}/lib/psych.rb $RPM_BUILD_ROOT%{ruby_libdir}/psych.rb | |
909 | ln -s %{gem_libdir}/psych-%{psych_ver}/lib/psych.so $RPM_BUILD_ROOT%{ruby_archdir}/psych.so | |
910 | ||
911 | install -d $RPM_BUILD_ROOT%{gem_dir}/gems/bundler-%{bundler_ver}/lib | |
912 | install -d $RPM_BUILD_ROOT%{gem_libdir}/bundler-%{bundler_ver}/lib | |
913 | %{__mv} $RPM_BUILD_ROOT%{ruby_libdir}/bundler* $RPM_BUILD_ROOT%{gem_dir}/gems/bundler-%{bundler_ver}/lib | |
914 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/bundler-%{bundler_ver}.gemspec $RPM_BUILD_ROOT%{gem_dir}/specifications | |
915 | ln -s %{gem_dir}/gems/bundler-%{bundler_ver}/lib/bundler $RPM_BUILD_ROOT%{ruby_libdir}/bundler | |
916 | ln -s %{gem_dir}/gems/bundler-%{bundler_ver}/lib/bundler.rb $RPM_BUILD_ROOT%{ruby_libdir}/bundler.rb | |
917 | ||
918 | # replace default irb with its not gemified version | |
919 | %{__mv} $RPM_BUILD_ROOT%{gem_dir}/gems/irb-%{irb_ver}/exe/irb $RPM_BUILD_ROOT%{_bindir}/irb%{ruby_suffix} | |
920 | ||
921 | # Adjust the gemspec files so that the gems will load properly | |
922 | sed -i '/^end$/ i\ | |
923 | s.require_paths = ["lib"]' $RPM_BUILD_ROOT%{gem_dir}/specifications/rake-%{rake_ver}.gemspec | |
924 | ||
925 | sed -i '/^end$/ i\ | |
926 | s.require_paths = ["lib"]' $RPM_BUILD_ROOT%{gem_dir}/specifications/rdoc-%{rdoc_ver}.gemspec | |
927 | ||
928 | sed -i '/^end$/ i\ | |
929 | s.require_paths = ["lib"]\ | |
930 | s.extensions = ["bigdecimal.so"]' $RPM_BUILD_ROOT%{gem_dir}/specifications/bigdecimal-%{bigdecimal_ver}.gemspec | |
931 | ||
932 | sed -i '/^end$/ i\ | |
933 | s.require_paths = ["lib"]\ | |
934 | s.extensions = ["io/console.so"]' $RPM_BUILD_ROOT%{gem_dir}/specifications/io-console-%{io_console_ver}.gemspec | |
935 | ||
936 | sed -i '/^end$/ i\ | |
937 | s.require_paths = ["lib"]\ | |
938 | s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' $RPM_BUILD_ROOT%{gem_dir}/specifications/json-%{json_ver}.gemspec | |
939 | ||
940 | sed -i '/^end$/ i\ | |
941 | s.require_paths = ["lib"]' $RPM_BUILD_ROOT%{gem_dir}/specifications/minitest-%{minitest_ver}.gemspec | |
942 | ||
943 | # Push the .gemspecs through the RubyGems to let them write the stub headers. | |
944 | # This speeds up loading of libraries and avoids warnings in Spring: | |
945 | # https://github.com/rubygems/rubygems/pull/694 | |
946 | for s in rake-%{rake_ver}.gemspec rdoc-%{rdoc_ver}.gemspec json-%{json_ver}.gemspec; do | |
947 | s="$RPM_BUILD_ROOT%{gem_dir}/specifications/$s" | |
948 | %{__make} runruby TESTRUN_SCRIPT="-rrubygems \ | |
949 | -e \"spec = Gem::Specification.load('$s')\" \ | |
950 | -e \"File.write '$s', spec.to_ruby\"" | |
951 | done | |
952 | ||
953 | %{__sed} -i -e '1s,/usr/bin/env ruby,/usr/bin/ruby,' \ | |
954 | $RPM_BUILD_ROOT%{_bindir}/irb \ | |
955 | $RPM_BUILD_ROOT%{ruby_libdir}/abbrev.rb \ | |
956 | $RPM_BUILD_ROOT%{gem_dir}/gems/rake-%{rake_ver}/exe/rake \ | |
957 | $RPM_BUILD_ROOT%{gem_dir}/gems/rdoc-%{rdoc_ver}/exe/{rdoc,ri} \ | |
958 | $RPM_BUILD_ROOT%{gem_dir}/gems/bundler-%{bundler_ver}/exe/{bundle,bundler} \ | |
959 | $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{pkg_version}/{cal,test,time,uumerge}.rb \ | |
960 | $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{pkg_version}/{drb,logger,openssl,ripper,rss}/*.rb \ | |
961 | $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{pkg_version}/webrick/*.cgi | |
962 | ||
963 | # gem non library files | |
964 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/did_you_mean-%{did_you_mean_ver}/{[A-Z]*,benchmark,doc,test,tmp,did_you_mean.gemspec,.*} | |
965 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/minitest-%{minitest_ver}/{[A-Z]*,test,.autotest} | |
966 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/net-telnet-%{net_telnet_ver}/{[A-Z]*,bin,net-telnet.gemspec,.*} | |
967 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/power_assert-%{power_assert_ver}/{[A-Z]*,bin,power_assert.gemspec,.*} | |
968 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/rake-%{rake_ver}/{[A-Z]*,bin,doc,rake.gemspec,azure-pipelines.yml} | |
969 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/test-unit-%{test_unit_ver}/{[A-Z]*,doc,sample,test} | |
970 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/xmlrpc-%{xmlrpc_ver}/{[A-Z]*,bin,xmlrpc.gemspec,.*} | |
971 | ||
972 | %if %{without batteries} | |
973 | # packaged separately | |
974 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_libdir}/{rubygems,rake,json,minitest} | |
975 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_archdir}/json | |
976 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/rake-* | |
977 | %{__rm} $RPM_BUILD_ROOT%{ruby_libdir}/{rake,rubygems,json}.rb | |
978 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/{gem,rake} | |
979 | #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/rake* | |
980 | %{__rm} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/{json,minitest,rake}-*.gemspec | |
981 | %{?with_doc:%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/ri/%{ruby_version}/system/JSON} | |
982 | %endif | |
983 | ||
984 | %if %{with doc} | |
985 | # too much .ri | |
986 | %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri | |
987 | %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/win32/page-*.ri | |
988 | %endif | |
989 | ||
990 | %clean | |
991 | rm -rf $RPM_BUILD_ROOT | |
992 | ||
993 | %post -p /sbin/ldconfig | |
994 | %postun -p /sbin/ldconfig | |
995 | ||
996 | %files | |
997 | %defattr(644,root,root,755) | |
998 | %doc NEWS LEGAL BSDL README.md README.EXT ChangeLog | |
999 | %attr(755,root,root) %{_bindir}/ruby%{ruby_suffix} | |
1000 | %attr(755,root,root) %{_libdir}/libruby.so.*.*.* | |
1001 | %attr(755,root,root) %ghost %{_libdir}/libruby.so.%{ruby_version} | |
1002 | %{_mandir}/man1/ruby%{ruby_suffix}.1* | |
1003 | ||
1004 | %dir %{_libdir}/%{oname} | |
1005 | %dir %{_libdir}/%{oname}/%{vendordir} | |
1006 | %dir %{_datadir}/%{oname} | |
1007 | ||
1008 | %dir %{ruby_libdir} | |
1009 | %dir %{ruby_archdir} | |
1010 | %dir %{ruby_vendorlibdir} | |
1011 | %dir %{ruby_vendorarchdir} | |
1012 | ||
1013 | %dir %{dirname:%{ruby_ridir}} | |
1014 | %dir %{ruby_ridir} | |
1015 | %dir %{ruby_rdocdir} | |
1016 | ||
1017 | # common dirs for ruby vendor modules | |
1018 | %dir %{ruby_vendorlibdir}/data | |
1019 | %dir %{ruby_vendorlibdir}/net | |
1020 | ||
1021 | %files devel | |
1022 | %defattr(644,root,root,755) | |
1023 | %attr(755,root,root) %{_libdir}/libruby.so | |
1024 | %{_includedir}/%{oname}-%{ruby_version} | |
1025 | %{_pkgconfigdir}/%{oname}-%{ruby_version}.pc | |
1026 | %{ruby_libdir}/mkmf.rb | |
1027 | ||
1028 | %files irb | |
1029 | %defattr(644,root,root,755) | |
1030 | %attr(755,root,root) %{_bindir}/irb%{ruby_suffix} | |
1031 | %{ruby_libdir}/irb.rb | |
1032 | %{ruby_libdir}/irb | |
1033 | %{gem_dir}/specifications/default/irb-%{irb_ver}.gemspec | |
1034 | %{_mandir}/man1/irb%{ruby_suffix}.1* | |
1035 | ||
1036 | %files rdoc | |
1037 | %defattr(644,root,root,755) | |
1038 | %attr(755,root,root) %{_bindir}/rdoc%{ruby_suffix} | |
1039 | %attr(755,root,root) %{_bindir}/ri%{ruby_suffix} | |
1040 | %{_mandir}/man1/rdoc%{ruby_suffix}.1* | |
1041 | %{ruby_libdir}/rdoc | |
1042 | %dir %{gem_dir}/gems/rdoc-%{rdoc_ver} | |
1043 | %{gem_dir}/gems/rdoc-%{rdoc_ver}/lib | |
1044 | %{gem_dir}/specifications/rdoc-%{rdoc_ver}.gemspec | |
1045 | %dir %{gem_dir}/gems/rdoc-%{rdoc_ver}/exe | |
1046 | %{gem_dir}/gems/rdoc-%{rdoc_ver}/exe/rdoc | |
1047 | %{gem_dir}/gems/rdoc-%{rdoc_ver}/exe/ri | |
1048 | ||
1049 | %if %{with batteries} | |
1050 | %files rubygems | |
1051 | %defattr(644,root,root,755) | |
1052 | %attr(755,root,root) %{_bindir}/gem%{ruby_suffix} | |
1053 | %{rubygems_dir}/rubygems | |
1054 | %{rubygems_dir}/rubygems.rb | |
1055 | ||
1056 | %files bundler | |
1057 | %defattr(644,root,root,755) | |
1058 | %attr(755,root,root) %{_bindir}/bundler%{ruby_suffix} | |
1059 | %attr(755,root,root) %{_bindir}/bundle%{ruby_suffix} | |
1060 | %{gem_dir}/gems/bundler-%{bundler_ver} | |
1061 | %{gem_dir}/specifications/bundler-%{bundler_ver}.gemspec | |
1062 | %{_mandir}/man1/bundle*.1* | |
1063 | %{_mandir}/man5/gemfile.5* | |
1064 | ||
1065 | %files rake | |
1066 | %defattr(644,root,root,755) | |
1067 | %attr(755,root,root) %{_bindir}/rake%{ruby_suffix} | |
1068 | %dir %{gem_dir}/gems/rake-%{rake_ver} | |
1069 | %{gem_dir}/gems/rake-%{rake_ver}/lib | |
1070 | %{gem_dir}/specifications/rake-%{rake_ver}.gemspec | |
1071 | %dir %{gem_dir}/gems/rake-%{rake_ver}/exe | |
1072 | %attr(755,root,root) %{gem_dir}/gems/rake-%{rake_ver}/exe/rake | |
1073 | ||
1074 | %files json | |
1075 | %defattr(644,root,root,755) | |
1076 | %{ruby_libdir}/json | |
1077 | %dir %{ruby_archdir}/json | |
1078 | %dir %{ruby_archdir}/json/ext | |
1079 | %attr(755,root,root) %{ruby_archdir}/json/ext/*.so | |
1080 | ||
1081 | %dir %{gem_libdir}/json-%{json_ver} | |
1082 | %dir %{gem_libdir}/json-%{json_ver}/lib | |
1083 | %dir %{gem_libdir}/json-%{json_ver}/lib/json | |
1084 | %dir %{gem_libdir}/json-%{json_ver}/lib/json/ext | |
1085 | %attr(755,root,root) %{gem_libdir}/json-%{json_ver}/lib/json/ext/generator.so | |
1086 | %attr(755,root,root) %{gem_libdir}/json-%{json_ver}/lib/json/ext/parser.so | |
1087 | ||
1088 | %{gem_dir}/gems/json-%{json_ver} | |
1089 | %{gem_dir}/specifications/json-%{json_ver}.gemspec | |
1090 | %endif | |
1091 | ||
1092 | %files power_assert | |
1093 | %defattr(644,root,root,755) | |
1094 | %dir %{gem_dir}/gems/power_assert-%{power_assert_ver} | |
1095 | %{gem_dir}/gems/power_assert-%{power_assert_ver}/lib | |
1096 | %{gem_dir}/specifications/power_assert-%{power_assert_ver}.gemspec | |
1097 | ||
1098 | %files minitest | |
1099 | %defattr(644,root,root,755) | |
1100 | %{ruby_libdir}/minitest | |
1101 | %{gem_dir}/gems/minitest-%{minitest_ver} | |
1102 | %{gem_dir}/specifications/minitest-%{minitest_ver}.gemspec | |
1103 | ||
1104 | %files test-unit | |
1105 | %defattr(644,root,root,755) | |
1106 | %dir %{gem_dir}/gems/test-unit-%{test_unit_ver} | |
1107 | %{gem_dir}/gems/test-unit-%{test_unit_ver}/lib | |
1108 | %{gem_dir}/specifications/test-unit-%{test_unit_ver}.gemspec | |
1109 | %{_mandir}/man1/testrb%{ruby_suffix}.1* | |
1110 | ||
1111 | %files did_you_mean | |
1112 | %defattr(644,root,root,755) | |
1113 | %dir %{gem_dir}/gems/did_you_mean-%{did_you_mean_ver} | |
1114 | %{gem_dir}/gems/did_you_mean-%{did_you_mean_ver}/lib | |
1115 | %{gem_dir}/specifications/did_you_mean-%{did_you_mean_ver}.gemspec | |
1116 | ||
1117 | %files net-telnet | |
1118 | %defattr(644,root,root,755) | |
1119 | %dir %{gem_dir}/gems/net-telnet-%{net_telnet_ver} | |
1120 | %{gem_dir}/gems/net-telnet-%{net_telnet_ver}/lib | |
1121 | %{gem_dir}/specifications/net-telnet-%{net_telnet_ver}.gemspec | |
1122 | ||
1123 | %files bigdecimal | |
1124 | %defattr(644,root,root,755) | |
1125 | %{gem_dir}/gems/bigdecimal-%{bigdecimal_ver} | |
1126 | %dir %{gem_libdir}/bigdecimal-%{bigdecimal_ver} | |
1127 | %dir %{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib | |
1128 | %attr(755,root,root) %{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal.so | |
1129 | %dir %{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal | |
1130 | %attr(755,root,root) %{gem_libdir}/bigdecimal-%{bigdecimal_ver}/lib/bigdecimal/util.so | |
1131 | %{ruby_libdir}/bigdecimal.rb | |
1132 | %{ruby_libdir}/bigdecimal | |
1133 | %{gem_dir}/specifications/bigdecimal-%{bigdecimal_ver}.gemspec | |
1134 | ||
1135 | %files io-console | |
1136 | %defattr(644,root,root,755) | |
1137 | %{gem_dir}/gems/io-console-%{io_console_ver} | |
1138 | %dir %{gem_libdir}/io-console-%{io_console_ver} | |
1139 | %dir %{gem_libdir}/io-console-%{io_console_ver}/lib | |
1140 | %dir %{gem_libdir}/io-console-%{io_console_ver}/lib/io | |
1141 | %attr(755,root,root) %{gem_libdir}/io-console-%{io_console_ver}/lib/io/console.so | |
1142 | %{gem_dir}/specifications/io-console-%{io_console_ver}.gemspec | |
1143 | ||
1144 | %files psych | |
1145 | %defattr(644,root,root,755) | |
1146 | %{ruby_libdir}/psych.rb | |
1147 | %attr(755,root,root) %{ruby_archdir}/psych.so | |
1148 | %{gem_dir}/gems/psych-%{psych_ver} | |
1149 | %{ruby_libdir}/psych | |
1150 | %dir %{gem_libdir}/psych-%{psych_ver} | |
1151 | %dir %{gem_libdir}/psych-%{psych_ver}/lib | |
1152 | %attr(755,root,root) %{gem_libdir}/psych-%{psych_ver}/lib/psych.so | |
1153 | %{gem_dir}/specifications/psych-%{psych_ver}.gemspec | |
1154 | ||
1155 | %files xmlrpc | |
1156 | %defattr(644,root,root,755) | |
1157 | %{gem_dir}/gems/xmlrpc-%{xmlrpc_ver} | |
1158 | %{gem_dir}/specifications/xmlrpc-%{xmlrpc_ver}.gemspec | |
1159 | ||
1160 | %files modules | |
1161 | %defattr(644,root,root,755) | |
1162 | %attr(755,root,root) %{_bindir}/erb%{ruby_suffix} | |
1163 | %{ruby_libdir}/cgi | |
1164 | %{ruby_libdir}/digest | |
1165 | %{ruby_libdir}/drb | |
1166 | %{ruby_libdir}/fiddle | |
1167 | %{ruby_libdir}/io | |
1168 | %{ruby_libdir}/matrix | |
1169 | %{ruby_libdir}/net | |
1170 | %{ruby_libdir}/openssl | |
1171 | %{ruby_libdir}/optparse | |
1172 | %{ruby_libdir}/racc | |
1173 | %{ruby_libdir}/rexml | |
1174 | %{ruby_libdir}/rinda | |
1175 | %{ruby_libdir}/ripper | |
1176 | %{ruby_libdir}/rss | |
1177 | %{ruby_libdir}/shell | |
1178 | %{ruby_libdir}/syslog | |
1179 | %{ruby_libdir}/test | |
1180 | %{ruby_libdir}/uri | |
1181 | %{ruby_libdir}/webrick | |
1182 | %{ruby_libdir}/yaml | |
1183 | ||
1184 | %{ruby_libdir}/English.rb | |
1185 | %{ruby_libdir}/abbrev.rb | |
1186 | %{ruby_libdir}/base64.rb | |
1187 | %{ruby_libdir}/benchmark.rb | |
1188 | %{ruby_libdir}/bundler | |
1189 | %{ruby_libdir}/bundler.rb | |
1190 | %{ruby_libdir}/cgi.rb | |
1191 | %{ruby_libdir}/cmath.rb | |
1192 | %{ruby_libdir}/csv.rb | |
1193 | %{ruby_libdir}/csv | |
1194 | %{ruby_libdir}/coverage.rb | |
1195 | %{ruby_libdir}/date.rb | |
1196 | %{ruby_libdir}/debug.rb | |
1197 | %{ruby_libdir}/delegate.rb | |
1198 | %{ruby_libdir}/digest.rb | |
1199 | %{ruby_libdir}/drb.rb | |
1200 | %{ruby_libdir}/e2mmap.rb | |
1201 | %{ruby_libdir}/e2mmap | |
1202 | %{ruby_libdir}/erb.rb | |
1203 | %{ruby_libdir}/expect.rb | |
1204 | %{ruby_libdir}/fiddle.rb | |
1205 | %{ruby_libdir}/fileutils.rb | |
1206 | %{ruby_libdir}/fileutils | |
1207 | %{ruby_libdir}/find.rb | |
1208 | %{ruby_libdir}/forwardable.rb | |
1209 | %dir %{ruby_libdir}/forwardable | |
1210 | %{ruby_libdir}/forwardable/impl.rb | |
1211 | %{ruby_libdir}/getoptlong.rb | |
1212 | %{ruby_libdir}/ipaddr.rb | |
1213 | %{ruby_libdir}/json.rb | |
1214 | %{ruby_libdir}/kconv.rb | |
1215 | %{ruby_libdir}/logger.rb | |
1216 | %{ruby_libdir}/matrix.rb | |
1217 | %{ruby_libdir}/monitor.rb | |
1218 | %{ruby_libdir}/mutex_m.rb | |
1219 | %{ruby_libdir}/observer.rb | |
1220 | %{ruby_libdir}/open-uri.rb | |
1221 | %{ruby_libdir}/open3.rb | |
1222 | %{ruby_libdir}/openssl.rb | |
1223 | %{ruby_libdir}/optionparser.rb | |
1224 | %{ruby_libdir}/optparse.rb | |
1225 | %{ruby_libdir}/ostruct.rb | |
1226 | %{ruby_libdir}/pathname.rb | |
1227 | %{ruby_libdir}/pp.rb | |
1228 | %{ruby_libdir}/prettyprint.rb | |
1229 | %{ruby_libdir}/prime.rb | |
1230 | %{ruby_libdir}/profile.rb | |
1231 | %{ruby_libdir}/profiler.rb | |
1232 | %{ruby_libdir}/pstore.rb | |
1233 | %{ruby_libdir}/rdoc.rb | |
1234 | %{ruby_libdir}/resolv-replace.rb | |
1235 | %{ruby_libdir}/resolv.rb | |
1236 | %{ruby_libdir}/ripper.rb | |
1237 | %{ruby_libdir}/rss.rb | |
1238 | %{ruby_libdir}/scanf.rb | |
1239 | %{ruby_libdir}/securerandom.rb | |
1240 | %{ruby_libdir}/set.rb | |
1241 | %{ruby_libdir}/shell.rb | |
1242 | %{ruby_libdir}/shellwords.rb | |
1243 | %{ruby_libdir}/singleton.rb | |
1244 | %{ruby_libdir}/socket.rb | |
1245 | %{ruby_libdir}/sync.rb | |
1246 | %{ruby_libdir}/tempfile.rb | |
1247 | %{ruby_libdir}/thwait.rb | |
1248 | %{ruby_libdir}/thwait | |
1249 | %{ruby_libdir}/time.rb | |
1250 | %{ruby_libdir}/timeout.rb | |
1251 | %{ruby_libdir}/tmpdir.rb | |
1252 | %{ruby_libdir}/tracer.rb | |
1253 | %{ruby_libdir}/tracer | |
1254 | %{ruby_libdir}/tsort.rb | |
1255 | %{ruby_libdir}/un.rb | |
1256 | %{ruby_libdir}/unicode_normalize | |
1257 | %{ruby_libdir}/uri.rb | |
1258 | %{ruby_libdir}/weakref.rb | |
1259 | %{ruby_libdir}/webrick.rb | |
1260 | %{ruby_libdir}/yaml.rb | |
1261 | ||
1262 | %if %{with batteries} | |
1263 | %exclude %{ruby_libdir}/rubygems.rb | |
1264 | %endif | |
1265 | %exclude %{ruby_libdir}/irb.rb | |
1266 | %exclude %{ruby_libdir}/mkmf.rb | |
1267 | ||
1268 | %{ruby_archdir}/rbconfig.rb | |
1269 | %attr(755,root,root) %{ruby_archdir}/bigdecimal.so | |
1270 | %dir %{ruby_archdir}/bigdecimal | |
1271 | %attr(755,root,root) %{ruby_archdir}/bigdecimal/util.so | |
1272 | %attr(755,root,root) %{ruby_archdir}/continuation.so | |
1273 | %attr(755,root,root) %{ruby_archdir}/coverage.so | |
1274 | %attr(755,root,root) %{ruby_archdir}/date_core.so | |
1275 | %attr(755,root,root) %{ruby_archdir}/dbm.so | |
1276 | %attr(755,root,root) %{ruby_archdir}/digest.so | |
1277 | %attr(755,root,root) %{ruby_archdir}/etc.so | |
1278 | %attr(755,root,root) %{ruby_archdir}/fcntl.so | |
1279 | %attr(755,root,root) %{ruby_archdir}/fiber.so | |
1280 | %attr(755,root,root) %{ruby_archdir}/fiddle.so | |
1281 | %attr(755,root,root) %{ruby_archdir}/gdbm.so | |
1282 | %attr(755,root,root) %{ruby_archdir}/nkf.so | |
1283 | %attr(755,root,root) %{ruby_archdir}/objspace.so | |
1284 | %attr(755,root,root) %{ruby_archdir}/openssl.so | |
1285 | %attr(755,root,root) %{ruby_archdir}/pathname.so | |
1286 | %attr(755,root,root) %{ruby_archdir}/pty.so | |
1287 | %attr(755,root,root) %{ruby_archdir}/readline.so | |
1288 | %attr(755,root,root) %{ruby_archdir}/ripper.so | |
1289 | %attr(755,root,root) %{ruby_archdir}/sdbm.so | |
1290 | %attr(755,root,root) %{ruby_archdir}/socket.so | |
1291 | %attr(755,root,root) %{ruby_archdir}/stringio.so | |
1292 | %attr(755,root,root) %{ruby_archdir}/strscan.so | |
1293 | %attr(755,root,root) %{ruby_archdir}/syslog.so | |
1294 | %attr(755,root,root) %{ruby_archdir}/zlib.so | |
1295 | ||
1296 | %dir %{ruby_archdir}/cgi | |
1297 | %attr(755,root,root) %{ruby_archdir}/cgi/escape.so | |
1298 | %dir %{ruby_archdir}/digest | |
1299 | %attr(755,root,root) %{ruby_archdir}/digest/*.so | |
1300 | %dir %{ruby_archdir}/enc | |
1301 | %attr(755,root,root) %{ruby_archdir}/enc/*.so | |
1302 | %dir %{ruby_archdir}/enc/trans | |
1303 | %attr(755,root,root) %{ruby_archdir}/enc/trans/*.so | |
1304 | %dir %{ruby_archdir}/io | |
1305 | %attr(755,root,root) %{ruby_archdir}/io/*.so | |
1306 | %dir %{ruby_archdir}/racc | |
1307 | %attr(755,root,root) %{ruby_archdir}/racc/*.so | |
1308 | %dir %{ruby_archdir}/rbconfig | |
1309 | %attr(755,root,root) %{ruby_archdir}/rbconfig/sizeof.so | |
1310 | ||
1311 | %dir %{_libdir}/gems | |
1312 | %dir %{_libdir}/gems/%{oname} | |
1313 | ||
1314 | %dir %{gem_dir} | |
1315 | %dir %{gem_dir}/gems | |
1316 | %dir %{gem_dir}/specifications | |
1317 | %dir %{gem_dir}/specifications/default | |
1318 | %{gem_dir}/specifications/default/cmath-%{cmath_ver}.gemspec | |
1319 | %{gem_dir}/specifications/default/csv-%{csv_ver}.gemspec | |
1320 | %{gem_dir}/specifications/default/date-%{date_ver}.gemspec | |
1321 | %{gem_dir}/specifications/default/dbm-%{dbm_ver}.gemspec | |
1322 | %{gem_dir}/specifications/default/e2mmap-%{e2mmap_ver}.gemspec | |
1323 | %{gem_dir}/specifications/default/etc-%{etc_ver}.gemspec | |
1324 | %{gem_dir}/specifications/default/fcntl-%{fcntl_ver}.gemspec | |
1325 | %{gem_dir}/specifications/default/fiddle-%{fiddle_ver}.gemspec | |
1326 | %{gem_dir}/specifications/default/fileutils-%{fileutils_ver}.gemspec | |
1327 | %{gem_dir}/specifications/default/forwardable-%{forwardable_ver}.gemspec | |
1328 | %{gem_dir}/specifications/default/gdbm-%{gdbm_ver}.gemspec | |
1329 | %{gem_dir}/specifications/default/ipaddr-%{ipaddr_ver}.gemspec | |
1330 | %{gem_dir}/specifications/default/logger-%{logger_ver}.gemspec | |
1331 | %{gem_dir}/specifications/default/matrix-%{matrix_ver}.gemspec | |
1332 | %{gem_dir}/specifications/default/mutex_m-%{mutex_m_ver}.gemspec | |
1333 | %{gem_dir}/specifications/default/ostruct-%{ostruct_ver}.gemspec | |
1334 | %{gem_dir}/specifications/default/openssl-%{openssl_ver}.gemspec | |
1335 | %{gem_dir}/specifications/default/prime-%{prime_ver}.gemspec | |
1336 | %{gem_dir}/specifications/default/rexml-%{rexml_ver}.gemspec | |
1337 | %{gem_dir}/specifications/default/rss-%{rss_ver}.gemspec | |
1338 | %{gem_dir}/specifications/default/scanf-%{scanf_ver}.gemspec | |
1339 | %{gem_dir}/specifications/default/sdbm-%{sdbm_ver}.gemspec | |
1340 | %{gem_dir}/specifications/default/shell-%{shell_ver}.gemspec | |
1341 | %{gem_dir}/specifications/default/stringio-%{stringio_ver}.gemspec | |
1342 | %{gem_dir}/specifications/default/strscan-%{strscan_ver}.gemspec | |
1343 | %{gem_dir}/specifications/default/sync-%{sync_ver}.gemspec | |
1344 | %{gem_dir}/specifications/default/thwait-%{thwait_ver}.gemspec | |
1345 | %{gem_dir}/specifications/default/tracer-%{tracer_ver}.gemspec | |
1346 | %{gem_dir}/specifications/default/webrick-%{webrick_ver}.gemspec | |
1347 | %{gem_dir}/specifications/default/zlib-%{zlib_ver}.gemspec | |
1348 | ||
1349 | %{_mandir}/man1/erb%{ruby_suffix}.1* | |
1350 | %{_mandir}/man1/ri%{ruby_suffix}.1* | |
1351 | ||
1352 | %if %{with doc} | |
1353 | %files doc | |
1354 | %defattr(644,root,root,755) | |
1355 | %doc ruby_%{doc_version}_stdlib | |
1356 | %doc ruby_%{doc_version}_core | |
1357 | ||
1358 | %files doc-ri | |
1359 | %defattr(644,root,root,755) | |
1360 | %{ruby_ridir}/ACL | |
1361 | %{ruby_ridir}/ARGF | |
1362 | %{ruby_ridir}/Abbrev | |
1363 | %{ruby_ridir}/Addrinfo | |
1364 | %{ruby_ridir}/ArgumentError | |
1365 | %{ruby_ridir}/Array | |
1366 | %{ruby_ridir}/Base64 | |
1367 | %{ruby_ridir}/BasicObject | |
1368 | %{ruby_ridir}/BasicSocket | |
1369 | %{ruby_ridir}/Benchmark | |
1370 | %{ruby_ridir}/BigDecimal | |
1371 | %{ruby_ridir}/BigMath | |
1372 | %{ruby_ridir}/Binding | |
1373 | %{ruby_ridir}/Bundler | |
1374 | %{ruby_ridir}/CGI | |
1375 | %{ruby_ridir}/CMath | |
1376 | %{ruby_ridir}/CSV | |
1377 | %{ruby_ridir}/Class | |
1378 | %{ruby_ridir}/ClosedQueueError | |
1379 | %{ruby_ridir}/Comparable | |
1380 | %{ruby_ridir}/Complex | |
1381 | %{ruby_ridir}/ConditionVariable | |
1382 | %{ruby_ridir}/Continuation | |
1383 | %{ruby_ridir}/Coverage | |
1384 | %{ruby_ridir}/DBM | |
1385 | %{ruby_ridir}/DBMError | |
1386 | %{ruby_ridir}/DEBUGGER__ | |
1387 | %{ruby_ridir}/DRb | |
1388 | %{ruby_ridir}/Data | |
1389 | %{ruby_ridir}/Date | |
1390 | %{ruby_ridir}/DateTime | |
1391 | %{ruby_ridir}/Delegator | |
1392 | %{ruby_ridir}/Digest | |
1393 | %{ruby_ridir}/Dir | |
1394 | %{ruby_ridir}/ENV | |
1395 | %{ruby_ridir}/EOFError | |
1396 | %{ruby_ridir}/ERB | |
1397 | %{ruby_ridir}/EXCEPTION_TYPE | |
1398 | %{ruby_ridir}/Encoding | |
1399 | %{ruby_ridir}/EncodingError | |
1400 | %{ruby_ridir}/English | |
1401 | %{ruby_ridir}/Enumerable | |
1402 | %{ruby_ridir}/Enumerator | |
1403 | %{ruby_ridir}/Errno | |
1404 | %{ruby_ridir}/Etc | |
1405 | %{ruby_ridir}/Exception | |
1406 | %{ruby_ridir}/Exception2MessageMapper | |
1407 | %{ruby_ridir}/FalseClass | |
1408 | %{ruby_ridir}/Fcntl | |
1409 | %{ruby_ridir}/Fiber | |
1410 | %{ruby_ridir}/FiberError | |
1411 | %{ruby_ridir}/Fiddle | |
1412 | %{ruby_ridir}/File | |
1413 | %{ruby_ridir}/FileTest | |
1414 | %{ruby_ridir}/FileUtils | |
1415 | %{ruby_ridir}/Find | |
1416 | %{ruby_ridir}/Float | |
1417 | %{ruby_ridir}/FloatDomainError | |
1418 | %{ruby_ridir}/Forwardable | |
1419 | %{ruby_ridir}/FrozenError | |
1420 | %{ruby_ridir}/GC | |
1421 | %{ruby_ridir}/GDBM | |
1422 | %{ruby_ridir}/GDBMError | |
1423 | %{ruby_ridir}/GDBMFatalError | |
1424 | %{ruby_ridir}/Gem | |
1425 | %{ruby_ridir}/GetoptLong | |
1426 | %{ruby_ridir}/HTTPClientException | |
1427 | %{ruby_ridir}/HTTPGatewayTimeOut | |
1428 | %{ruby_ridir}/HTTPMovedTemporarily | |
1429 | %{ruby_ridir}/HTTPMultipleChoice | |
1430 | %{ruby_ridir}/HTTPRequestEntityTooLarge | |
1431 | %{ruby_ridir}/HTTPRequestTimeOut | |
1432 | %{ruby_ridir}/HTTPRequestURITooLarge | |
1433 | %{ruby_ridir}/HTTPRequestURITooLong | |
1434 | %{ruby_ridir}/HTTPRequestedRangeNotSatisfiable | |
1435 | %{ruby_ridir}/Hash | |
1436 | %{ruby_ridir}/IO | |
1437 | %{ruby_ridir}/IOError | |
1438 | %{ruby_ridir}/IPAddr | |
1439 | %{ruby_ridir}/IPSocket | |
1440 | %{ruby_ridir}/IRB | |
1441 | %{ruby_ridir}/IndexError | |
1442 | %{ruby_ridir}/Integer | |
1443 | %{ruby_ridir}/Interrupt | |
1444 | %{ruby_ridir}/JSON | |
1445 | %{ruby_ridir}/Jacobian | |
1446 | %{ruby_ridir}/Kconv | |
1447 | %{ruby_ridir}/Kernel | |
1448 | %{ruby_ridir}/KeyError | |
1449 | %{ruby_ridir}/LUSolve | |
1450 | %{ruby_ridir}/LoadError | |
1451 | %{ruby_ridir}/LocalJumpError | |
1452 | %{ruby_ridir}/Logger | |
1453 | %{ruby_ridir}/MakeMakefile | |
1454 | %{ruby_ridir}/Marshal | |
1455 | %{ruby_ridir}/MatchData | |
1456 | %{ruby_ridir}/Math | |
1457 | %{ruby_ridir}/Matrix | |
1458 | %{ruby_ridir}/Method | |
1459 | %{ruby_ridir}/Module | |
1460 | %{ruby_ridir}/Monitor | |
1461 | %{ruby_ridir}/MonitorMixin | |
1462 | %{ruby_ridir}/Mutex | |
1463 | %{ruby_ridir}/Mutex_m | |
1464 | %{ruby_ridir}/NKF | |
1465 | %{ruby_ridir}/NameError | |
1466 | %{ruby_ridir}/Net | |
1467 | %{ruby_ridir}/Newton | |
1468 | %{ruby_ridir}/NilClass | |
1469 | %{ruby_ridir}/NoMemoryError | |
1470 | %{ruby_ridir}/NoMethodError | |
1471 | %{ruby_ridir}/NotImplementedError | |
1472 | %{ruby_ridir}/Numeric | |
1473 | %{ruby_ridir}/OLEProperty | |
1474 | %{ruby_ridir}/Object | |
1475 | %{ruby_ridir}/ObjectSpace | |
1476 | %{ruby_ridir}/Observable | |
1477 | %{ruby_ridir}/Open3 | |
1478 | %{ruby_ridir}/OpenSSL | |
1479 | %{ruby_ridir}/OpenStruct | |
1480 | %{ruby_ridir}/OpenURI | |
1481 | %{ruby_ridir}/OptionParser | |
1482 | %{ruby_ridir}/PP | |
1483 | %{ruby_ridir}/PStore | |
1484 | %{ruby_ridir}/PTY | |
1485 | %{ruby_ridir}/Pathname | |
1486 | %{ruby_ridir}/PrettyPrint | |
1487 | %{ruby_ridir}/Prime | |
1488 | %{ruby_ridir}/Proc | |
1489 | %{ruby_ridir}/Process | |
1490 | %{ruby_ridir}/Profiler__ | |
1491 | %{ruby_ridir}/Psych | |
1492 | %{ruby_ridir}/Queue | |
1493 | %{ruby_ridir}/RDoc | |
1494 | %{ruby_ridir}/RDocTask | |
1495 | %{ruby_ridir}/REXML | |
1496 | %{ruby_ridir}/RSS | |
1497 | %{ruby_ridir}/Racc | |
1498 | %{ruby_ridir}/Rake | |
1499 | %{ruby_ridir}/Random | |
1500 | %{ruby_ridir}/Range | |
1501 | %{ruby_ridir}/RangeError | |
1502 | %{ruby_ridir}/Rational | |
1503 | %{ruby_ridir}/RbConfig | |
1504 | %{ruby_ridir}/Readline | |
1505 | %{ruby_ridir}/Regexp | |
1506 | %{ruby_ridir}/RegexpError | |
1507 | %{ruby_ridir}/Resolv | |
1508 | %{ruby_ridir}/Rinda | |
1509 | %{ruby_ridir}/Ripper | |
1510 | %{ruby_ridir}/RubyLex | |
1511 | %{ruby_ridir}/RubyToken | |
1512 | %{ruby_ridir}/RubyVM | |
1513 | %{ruby_ridir}/RuntimeError | |
1514 | %{ruby_ridir}/SDBM | |
1515 | %{ruby_ridir}/SDBMError | |
1516 | %{ruby_ridir}/SOCKSSocket | |
1517 | %{ruby_ridir}/Scanf | |
1518 | %{ruby_ridir}/ScriptError | |
1519 | %{ruby_ridir}/SecureRandom | |
1520 | %{ruby_ridir}/SecurityError | |
1521 | %{ruby_ridir}/Set | |
1522 | %{ruby_ridir}/Shell | |
1523 | %{ruby_ridir}/Shellwords | |
1524 | %{ruby_ridir}/Signal | |
1525 | %{ruby_ridir}/SignalException | |
1526 | %{ruby_ridir}/SimpleDelegator | |
1527 | %{ruby_ridir}/SingleForwardable | |
1528 | %{ruby_ridir}/Singleton | |
1529 | %{ruby_ridir}/SizedQueue | |
1530 | %{ruby_ridir}/Socket | |
1531 | %{ruby_ridir}/SocketError | |
1532 | %{ruby_ridir}/SortedSet | |
1533 | %{ruby_ridir}/StandardError | |
1534 | %{ruby_ridir}/StopIteration | |
1535 | %{ruby_ridir}/String | |
1536 | %{ruby_ridir}/StringIO | |
1537 | %{ruby_ridir}/StringScanner | |
1538 | %{ruby_ridir}/Struct | |
1539 | %{ruby_ridir}/Symbol | |
1540 | %{ruby_ridir}/Sync | |
1541 | %{ruby_ridir}/Sync_m | |
1542 | %{ruby_ridir}/Synchronizer | |
1543 | %{ruby_ridir}/Synchronizer_m | |
1544 | %{ruby_ridir}/SyntaxError | |
1545 | %{ruby_ridir}/Syslog | |
1546 | %{ruby_ridir}/SystemCallError | |
1547 | %{ruby_ridir}/SystemExit | |
1548 | %{ruby_ridir}/SystemStackError | |
1549 | %{ruby_ridir}/TCPServer | |
1550 | %{ruby_ridir}/TCPSocket | |
1551 | %{ruby_ridir}/TSort | |
1552 | %{ruby_ridir}/TempIO | |
1553 | %{ruby_ridir}/Tempfile | |
1554 | %{ruby_ridir}/ThWait | |
1555 | %{ruby_ridir}/Thread | |
1556 | %{ruby_ridir}/ThreadError | |
1557 | %{ruby_ridir}/ThreadGroup | |
1558 | %{ruby_ridir}/ThreadsWait | |
1559 | %{ruby_ridir}/Time | |
1560 | %{ruby_ridir}/Timeout | |
1561 | %{ruby_ridir}/TracePoint | |
1562 | %{ruby_ridir}/Tracer | |
1563 | %{ruby_ridir}/TrueClass | |
1564 | %{ruby_ridir}/TypeError | |
1565 | %{ruby_ridir}/UDPSocket | |
1566 | %{ruby_ridir}/UNIXServer | |
1567 | %{ruby_ridir}/UNIXSocket | |
1568 | %{ruby_ridir}/URI | |
1569 | %{ruby_ridir}/UnboundMethod | |
1570 | %{ruby_ridir}/UncaughtThrowError | |
1571 | %{ruby_ridir}/UnicodeNormalize | |
1572 | %{ruby_ridir}/Vector | |
1573 | %{ruby_ridir}/WEBrick | |
1574 | %{ruby_ridir}/WIN32OLE | |
1575 | %{ruby_ridir}/WIN32OLERuntimeError | |
1576 | %{ruby_ridir}/WIN32OLEQueryInterfaceError | |
1577 | %{ruby_ridir}/WIN32OLE_EVENT | |
1578 | %{ruby_ridir}/WIN32OLE_METHOD | |
1579 | %{ruby_ridir}/WIN32OLE_PARAM | |
1580 | %{ruby_ridir}/WIN32OLE_RECORD | |
1581 | %{ruby_ridir}/WIN32OLE_TYPE | |
1582 | %{ruby_ridir}/WIN32OLE_TYPELIB | |
1583 | %{ruby_ridir}/WIN32OLE_VARIABLE | |
1584 | %{ruby_ridir}/WIN32OLE_VARIANT | |
1585 | %{ruby_ridir}/Warning | |
1586 | %{ruby_ridir}/WeakRef | |
1587 | %{ruby_ridir}/XML | |
1588 | %{ruby_ridir}/XMLEncoding_ja | |
1589 | %{ruby_ridir}/XMP | |
1590 | %{ruby_ridir}/YAML | |
1591 | %{ruby_ridir}/ZeroDivisionError | |
1592 | %{ruby_ridir}/Zlib | |
1593 | %{ruby_ridir}/fatal | |
1594 | %{ruby_ridir}/lib | |
1595 | %{ruby_ridir}/syntax | |
1596 | %{ruby_ridir}/page-CONTRIBUTING_md.ri | |
1597 | %{ruby_ridir}/page-COPYING.ri | |
1598 | %lang(ja) %{ruby_ridir}/page-COPYING_ja.ri | |
1599 | %{ruby_ridir}/page-LEGAL.ri | |
1600 | %{ruby_ridir}/page-NEWS*.ri | |
1601 | %{ruby_ridir}/page-README_md.ri | |
1602 | %lang(ja) %{ruby_ridir}/page-README_ja_md.ri | |
1603 | %{ruby_ridir}/page-*_rdoc.ri | |
1604 | %endif | |
1605 | ||
1606 | %files examples | |
1607 | %defattr(644,root,root,755) | |
1608 | %{_examplesdir}/%{oname}-%{pkg_version} |