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