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