/[packages]/cauldron/ruby/current/SPECS/ruby.spec
ViewVC logotype

Contents of /cauldron/ruby/current/SPECS/ruby.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1140636 - (show annotations) (download)
Tue Aug 15 08:21:31 2017 UTC (6 years, 7 months ago) by pterjan
File size: 24259 byte(s)
Add another missing dependency
1 # Taken from the fedora ruby-2.2.3 .spec. Thanks!
2
3 %global major_version 2
4 %global minor_version 4
5 %global teeny_version 1
6 %global major_minor_version %{major_version}.%{minor_version}
7
8 %global ruby_version %{major_minor_version}.%{teeny_version}
9 %global ruby_release %{ruby_version}
10
11 # Specify the named version. It has precedense to revision.
12 #%%global milestone rc1
13
14 # Keep the revision enabled for pre-releases from SVN.
15 #%%global revision 48936
16
17 %global ruby_archive %{name}-%{ruby_version}
18
19 # If revision and milestone are removed/commented out, the official release build is expected.
20 %if 0%{?milestone:1}%{?revision:1} != 0
21 %global development_release %{?milestone}%{?!milestone:%{?revision:r%{revision}}}
22 %global ruby_archive %{ruby_archive}-%{?milestone}%{?!milestone:%{?revision:r%{revision}}}
23 %endif
24
25
26 %define rel 6
27 %{!?release_string:%global release_string %mkrel %{?development_release:0.}%{rel}%{?development_release:.%{development_release}}}
28
29 # The RubyGems library has to stay out of Ruby directory three, since the
30 # RubyGems should be share by all Ruby implementations.
31 %global rubygems_dir %{_datadir}/rubygems
32
33 # Bundled libraries versions
34 %global rubygems_version 2.6.11
35 %global molinillo_version 0.5.7
36
37 # TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
38 # http://redmine.ruby-lang.org/issues/5313
39 %global irb_version %{ruby_version}
40 %global bigdecimal_version 1.3.0
41 %global did_you_mean_version 1.1.0
42 %global io_console_version 0.4.6
43 %global json_version 2.0.2
44 %global minitest_version 5.10.1
45 %global net_telnet_version 0.1.1
46 %global openssl_version 2.0.3
47 %global power_assert_version 0.4.1
48 %global psych_version 2.2.2
49 %global rake_version 12.0.0
50 %global rdoc_version 5.0.0
51 %global test_unit_version 3.2.3
52 %global xmlrpc_version 0.2.1
53
54 # Might not be needed in the future, if we are lucky enough.
55 # https://bugzilla.redhat.com/show_bug.cgi?id=888262
56 %global tapset_root %{_datadir}/systemtap
57 %global tapset_dir %{tapset_root}/tapset
58 %global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
59
60 %global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
61
62 %global with_rubypick 1
63
64 # Additional defines by Mageia.
65
66 %define subver %{major_minor_version}
67 %define rubyapi %{subver}.1
68 %define rubyver %{ruby_version}
69
70 %define libname %mklibname ruby %{subver}
71
72 %global ruby_libdir %{_datadir}/%{name}
73 %global ruby_libarchdir %{_libdir}/%{name}
74
75 # This is the local lib/arch and should not be used for packaging.
76 %global ruby_sitedir site_ruby
77 %global ruby_sitelibdir %{_prefix}/local/share/%{name}/%{ruby_sitedir}
78 %global ruby_sitearchdir %{_prefix}/local/%{_lib}/%{name}/%{ruby_sitedir}
79
80 # This is the general location for libs/archs compatible with all
81 # or most of the Ruby versions available in the Fedora repositories.
82 %global ruby_vendordir vendor_ruby
83 %global ruby_vendorlibdir %{ruby_libdir}/%{ruby_vendordir}
84 %global ruby_vendorarchdir %{ruby_libarchdir}/%{ruby_vendordir}
85
86 # The RubyGems library has to stay out of Ruby directory tree, since the
87 # RubyGems should be shared by all Ruby implementations.
88 %define gem_dir %{_datadir}/gems
89
90 Summary: Object Oriented Script Language
91 Name: ruby
92 Version: %{rubyver}
93 Release: %release_string
94 License: Ruby or BSD
95 Group: Development/Ruby
96 BuildRequires: autoconf
97 BuildRequires: byacc
98 BuildRequires: doxygen
99 BuildRequires: ncurses-devel
100 BuildRequires: readline-devel
101 BuildRequires: db-devel
102 BuildRequires: gdbm-devel >= 1.8.3
103 BuildRequires: openssl-devel
104 BuildRequires: zlib-devel
105 BuildRequires: libffi-devel
106 BuildRequires: yaml-devel
107 BuildRequires: rpm-mageia-setup >= 1.158
108 # Needed to pass test_set_program_name(TestRubyOptions)
109 BuildRequires: procps
110 # This causes gems to be installed in the home directory and breaks build
111 BuildConflicts: ruby-RubyGems
112 Conflicts: ruby-devel < 2.0.0.p451-4.mga5
113 Obsoletes: ruby-rexml
114 Provides: ruby-rexml
115 # Tcl/Tk support was removed from stdlib in Ruby 2.4
116 Obsoletes: ruby-tk < 2.4.0
117 # explicit file provides (since such requires are automatically added by find-requires)
118 Provides: /usr/bin/ruby
119 Provides: ruby(abi) = %subver
120 Source0: http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}.tar.xz
121 Source1: operating_system.rb
122 Source3: ruby.macros
123 Source4: rubygems.macros
124 # From FC:
125 # RPM dependency generators.
126 Source8: rubygems.attr
127 Source9: rubygems.req
128 Source10: rubygems.prov
129 URL: http://ruby-lang.org/
130
131 # == FEDORA PATCHES BEGINS ==
132 # Fix ruby_version abuse.
133 # https://bugs.ruby-lang.org/issues/11002
134 Patch0: ruby-2.3.0-ruby_version.patch
135 # http://bugs.ruby-lang.org/issues/7807
136 Patch1: ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch
137 # Allows to override libruby.so placement. Hopefully we will be able to return
138 # to plain --with-rubyarchprefix.
139 # http://bugs.ruby-lang.org/issues/8973
140 Patch2: ruby-2.1.0-Enable-configuration-of-archlibdir.patch
141 # Force multiarch directories for i.86 to be always named i386. This solves
142 # some differencies in build between Fedora and RHEL.
143 Patch3: ruby-2.1.0-always-use-i386.patch
144 # Allows to install RubyGems into custom directory, outside of Ruby's tree.
145 # http://bugs.ruby-lang.org/issues/5617
146 Patch4: ruby-2.1.0-custom-rubygems-location.patch
147 # Make mkmf verbose by default
148 Patch5: ruby-1.9.3-mkmf-verbose.patch
149 # Adds support for '--with-prelude' configuration option. This allows to built
150 # in support for ABRT.
151 # http://bugs.ruby-lang.org/issues/8566
152 Patch6: ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch
153 # Use miniruby to regenerate prelude.c.
154 # https://bugs.ruby-lang.org/issues/10554
155 Patch7: ruby-2.2.3-Generate-preludes-using-miniruby.patch
156 # Workaround "an invalid stdio handle" error on PPC, due to recently introduced
157 # hardening features of glibc (rhbz#1361037).
158 # https://bugs.ruby-lang.org/issues/12666
159 Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
160 # Fix OpenSSL::TestSSL#test_sslctx_set_params failures due to recent changes in
161 # OpenSSL.
162 # https://github.com/ruby/openssl/issues/127
163 Patch10: ruby-2.5.0-allow-3DES-cipher-suites-in-test_sslctx_set_params.patch
164 # == FEDORA PATCHES ENDS ==
165 # operating_system.rb sets default_dir to user_dir for non root, this causes the build
166 # to install gems into user dir
167 #Patch20: ruby-2.3.0-Do-not-install-to-user-dir.patch
168
169 %package -n %{libname}
170 Summary: Libraries necessary to run Ruby
171 Group: Development/Ruby
172
173 %package doc
174 Summary: Documentation for the powerful language Ruby
175 Group: Development/Ruby
176 BuildArch: noarch
177
178 %package devel
179 Summary: Development file for the powerful language Ruby
180 Group: Development/Ruby
181 Requires: %{name} = %{version}
182 Requires: %{libname} = %{version}
183
184 %package RubyGems
185 Summary: The Ruby standard for packaging ruby libraries
186 Group: Development/Ruby
187 Version: %{rubygems_version}
188 Requires: ruby(abi) = %{subver}
189 Requires: rubygem(json) >= %{json_version}
190 Requires: rubygem(openssl) >= %{openssl_version}
191 Requires: rubygem(psych) >= %{psych_version}
192 Provides: gem = %{rubygems_version}
193 Provides: rubygems = %{rubygems_version}
194 Provides: ruby(rubygems) = %{rubygems_version}
195 Conflicts: rpm-mageia-setup-build < 1.159
196 BuildArch: noarch
197
198 %package rake
199 Summary: Simple ruby build program with capabilities similar to make
200 Group: Development/Ruby
201 Version: %{rake_version}
202 Requires: ruby(abi) = %{subver}
203 Provides: rubygem(rake) = %{version}
204 BuildArch: noarch
205
206 %package minitest
207 Summary: Minitest provides a complete suite of testing facilities
208 Group: Development/Ruby
209 Version: %{minitest_version}
210 License: MIT
211 Requires: ruby(abi) = %{subver}
212 Requires: ruby(rubygems) >= %{rubygems_version}
213 Provides: rubygem(minitest) = %{version}
214 BuildArch: noarch
215
216 %package openssl
217 Summary: OpenSSL provides SSL, TLS and general purpose cryptography
218 Group: Development/Ruby
219 Version: %{openssl_version}
220 License: Ruby or BSD
221 Requires: ruby(abi) = %{subver}
222 Requires: ruby(rubygems) >= %{rubygems_version}
223 Provides: rubygem(openssl) = %{version}
224
225 %package power_assert
226 Summary: Power Assert for Ruby
227 Group: Development/Ruby
228 Version: %{power_assert_version}
229 License: BSD
230 Requires: ruby(abi) = %{subver}
231 Requires: ruby(rubygems) >= %{rubygems_version}
232 Provides: rubygem(power_assert) = %{version}
233 BuildArch: noarch
234
235 %package json
236 Summary: This is a JSON implementation as a Ruby extension in C
237 Group: Development/Ruby
238 Version: %{json_version}
239 License: Ruby or GPLv2
240 Requires: ruby(abi) = %{subver}
241 Requires: ruby(rubygems) >= %{rubygems_version}
242 Provides: rubygem(json) = %{version}
243 Conflicts: ruby < 2.4.1
244
245 %package rdoc
246 Summary: A tool to generate HTML and command-line documentation for Ruby projects
247 Group: Development/Ruby
248 Version: %{rdoc_version}
249 License: GPLv2 and Ruby and MIT
250 Requires: ruby(abi) = %{subver}
251 Requires: ruby(rubygems) >= %{rubygems_version}
252 Requires: ruby(irb) = %{version}
253 Requires: rubygem(io-console) >= %{io_console_version}
254 Requires: rubygem(json) >= %{json_version}
255 Provides: rubygem(rdoc) = %{version}
256 Provides: rdoc = %{rdoc_version}
257 Provides: ri = %{rdoc_version}
258 BuildArch: noarch
259
260 %package irb
261 Summary: The Interactive Ruby
262 Group: Development/Ruby
263 Provides: irb = %{version}-%{release}
264 Provides: ruby(irb) = %{version}-%{release}
265 Conflicts: ruby < 1.9
266 BuildArch: noarch
267
268 %package bigdecimal
269 Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
270 Group: Development/Ruby
271 Version: %{bigdecimal_version}
272 License: GPL+ or Artistic
273 Requires: ruby(abi) = %{subver}
274 Provides: rubygem(bigdecimal) = %{version}
275 Requires: ruby(rubygems) >= %{rubygems_version}
276
277 %package did_you_mean
278 Summary: "Did you mean?" experience in Ruby
279 Version: %{did_you_mean_version}
280 Group: Development/Ruby
281 License: MIT
282 Requires: ruby(rubygems) >= %{rubygems_version}
283 Provides: rubygem(did_you_mean) = %{version}
284
285 %package io-console
286 Summary: IO/Console is a simple console utilizing library
287 Group: Development/Ruby
288 Version: %{io_console_version}
289 Requires: ruby(abi) = %{subver}
290 Requires: ruby(rubygems) >= %{rubygems_version}
291 Provides: rubygem(io-console) = %{version}
292
293 %package psych
294 Summary: A libyaml wrapper for Ruby
295 Version: %{psych_version}
296 Group: Development/Ruby
297 License: MIT
298 Requires: ruby(abi) = %{subver}
299 Requires: ruby(rubygems) >= %{rubygems_version}
300 Provides: rubygem(psych) = %{version}
301 Conflicts: ruby < 2.0.0
302
303 %package net-telnet
304 Summary: Provides telnet client functionality
305 Version: %{net_telnet_version}
306 Group: Development/Ruby
307 Requires: ruby(rubygems) >= %{rubygems_version}
308 Provides: rubygem(net-telnet) = %{version}
309
310 %package test-unit
311 Summary: test/unit compatible API testing framework
312 Version: %{test_unit_version}
313 Group: Development/Ruby
314 License: MIT
315 Provides: rubygem(test-unit) = %{test_unit_version}
316 Requires: ruby(abi) = %{subver}
317 Requires: ruby(rubygems) >= %{rubygems_version}
318 Provides: rubygem(test-unit) = %{version}
319 Conflicts: ruby < 2.0.0
320 BuildArch: noarch
321
322 %package xmlrpc
323 Summary: XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP
324 Version: %{xmlrpc_version}
325 Group: Development/Ruby
326 License: Ruby or BSD
327 Requires: ruby(abi) = %{subver}
328 Requires: ruby(rubygems) >= %{rubygems_version}
329 Provides: rubygem(xmlrpc) = %{version}
330 BuildArch: noarch
331
332 %description
333 Ruby is the interpreted scripting language for quick and
334 easy object-oriented programming. It has many features to
335 process text files and to do system management tasks (as in
336 Perl). It is simple, straight-forward, and extensible.
337
338 %description doc
339 Ruby is the interpreted scripting language for quick and
340 easy object-oriented programming. It has many features to
341 process text files and to do system management tasks (as in
342 Perl). It is simple, straight-forward, and extensible.
343
344 This package contains the Ruby's documentation
345
346 %description -n %{libname}
347 This package includes the libruby, necessary to run Ruby.
348
349 %description devel
350 Ruby is the interpreted scripting language for quick and
351 easy object-oriented programming. It has many features to
352 process text files and to do system management tasks (as in
353 Perl). It is simple, straight-forward, and extensible.
354
355 This package contains the Ruby's devel files.
356
357 %description RubyGems
358 RubyGems is the Ruby standard for publishing and managing third party
359 libraries.
360
361 %description rake
362 Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
363 specified in standard Ruby syntax.
364
365 %description rdoc
366 RDoc produces HTML and command-line documentation for Ruby projects. RDoc
367 includes the 'rdoc' and 'ri' tools for generating and displaying online
368 documentation.
369
370 %description json
371 This is a implementation of the JSON specification according to RFC 4627.
372 You can think of it as a low fat alternative to XML, if you want to store
373 data to disk or transmit it over a network rather than use a verbose
374 markup language.
375
376 %description minitest
377 minitest/unit is a small and incredibly fast unit testing framework.
378
379 minitest/spec is a functionally complete spec engine.
380
381 minitest/benchmark is an awesome way to assert the performance of your
382 algorithms in a repeatable manner.
383
384 minitest/mock by Steven Baker, is a beautifully tiny mock object
385 framework.
386
387 minitest/pride shows pride in testing and adds coloring to your test
388 output.
389
390 %description openssl
391 OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the
392 OpenSSL library.
393
394 %description power_assert
395 Power Assert shows each value of variables and method calls in the expression.
396 It is useful for testing, providing which value wasn't correct when the
397 condition is not satisfied.
398
399 %description irb
400 The irb is acronym for Interactive Ruby. It evaluates ruby expression
401 from the terminal.
402
403 %description bigdecimal
404 Ruby provides built-in support for arbitrary precision integer arithmetic.
405 For example:
406
407 42**13 -> 1265437718438866624512
408
409 BigDecimal provides similar support for very large or very accurate floating
410 point numbers. Decimal arithmetic is also useful for general calculation,
411 because it provides the correct answers people expect–whereas normal binary
412 floating point arithmetic often introduces subtle errors because of the
413 conversion between base 10 and base 2.
414
415 %description did_you_mean
416 "did you mean?" experience in Ruby: the error message will tell you the right
417 one when you misspelled something.
418
419 %description io-console
420 IO/Console provides very simple and portable access to console. It doesn't
421 provide higher layer features, such like curses and readline.
422
423 %description psych
424 Psych is a YAML parser and emitter. Psych leverages
425 libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting
426 capabilities. In addition to wrapping libyaml, Psych also knows how to
427 serialize and de-serialize most Ruby objects to and from the YAML format.
428
429 %description net-telnet
430 Provides telnet client functionality.
431
432 This class also has, through delegation, all the methods of a socket object
433 (by default, a TCPSocket, but can be set by the Proxy option to new()). This
434 provides methods such as close() to end the session and sysread() to read data
435 directly from the host, instead of via the waitfor() mechanism. Note that if
436 you do use sysread() directly when in telnet mode, you should probably pass
437 the output through preprocess() to extract telnet command sequences.
438
439 %description test-unit
440 This library implements test/unit compatible API on minitest.
441 The test/unit means that test/unit which was bundled with Ruby 1.8.
442
443 %description xmlrpc
444 XMLRPC is a lightweight protocol that enables remote procedure calls over
445 HTTP.
446
447 %prep
448 %setup -q -n ruby-%{rubyver}
449 %autopatch -p1
450
451 %build
452 autoconf
453 CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`
454 %configure2_5x --enable-shared --disable-rpath --enable-pthread \
455 --enable-multiarch \
456 --with-rubylibprefix='%{ruby_libdir}' \
457 --with-archlibdir='%{_libdir}' \
458 --with-rubyarchprefix='%{ruby_libarchdir}' \
459 --with-sitedir='%{ruby_sitelibdir}' \
460 --with-sitearchdir='%{ruby_sitearchdir}' \
461 --with-vendordir='%{ruby_vendorlibdir}' \
462 --with-vendorarchdir='%{ruby_vendorarchdir}' \
463 --with-rubyhdrdir='%{_includedir}' \
464 --with-rubyarchhdrdir='%{_includedir}' \
465 --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
466 --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
467 --with-rubygemsdir='%{rubygems_dir}' \
468 --with-ruby-pc='%{name}.pc' \
469 --enable-multiarch \
470 --with-compress-debug-sections=no \
471 --with-ruby-version=''
472
473 %make_build Q=
474
475 %install
476 %makeinstall_std install-doc
477
478 # Version is empty if --with-ruby-version is specified.
479 # http://bugs.ruby-lang.org/issues/7807
480 sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
481
482 # Kill bundled certificates, as they should be part of ca-certificates.
483 for cert in \
484 rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem \
485 rubygems.org/AddTrustExternalCARoot.pem \
486 index.rubygems.org/GlobalSignRootCA.pem
487 do
488 rm %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert
489 rm -r $(dirname %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert)
490 done
491
492 # Ensure there is not forgotten any certificate.
493 test ! "$(ls -A %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/ 2>/dev/null)"
494
495 # Install emacs config
496 install -d %buildroot%{_datadir}/emacs/site-lisp
497 cp -a misc/ruby-mode.el %buildroot%{_datadir}/emacs/site-lisp
498
499 install -d %buildroot%{_sysconfdir}/emacs/site-start.d
500 cat <<EOF >%buildroot%{_sysconfdir}/emacs/site-start.d/%{name}.el
501 (autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
502 (add-to-list 'auto-mode-alist '("\\\\.rb$" . ruby-mode))
503 (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
504 EOF
505
506 # Install the rpm macros
507 mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d
508 cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d
509 cp %{SOURCE4} %buildroot%{_sysconfdir}/rpm/macros.d
510
511 # Install dependency generators.
512 mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
513 install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs
514 install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
515 install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir}
516
517 # Install custom operating_system.rb
518 mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
519 cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
520
521 # Move gems root into common direcotry, out of Ruby directory structure.
522 mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}
523
524 # Create folders for gem binary extensions.
525 mkdir -p %{buildroot}%{_exec_prefix}/lib{,64}/gems/%{name}
526
527 # Version is empty if --with-ruby-version is specified.
528 # http://bugs.ruby-lang.org/issues/7807
529 sed -i 's/Version: .*/Version: %{rubyver}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
530
531 # Move the binary extensions into proper place (if no gem has binary extension,
532 # the extensions directory might be empty).
533 find %{buildroot}%{gem_dir}/extensions/*-%{_target_os}/%{ruby_version}/* -maxdepth 0 \
534 -exec mv '{}' %{buildroot}%{_libdir}/gems/%{name}/ \; \
535 || echo "No gem binary extensions to move."
536
537 # Adjust the gemspec files so that the gems will load properly
538 sed -i '/^end$/ i\
539 s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec
540
541 # Move man pages into proper location
542 mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1
543
544 %check
545 DISABLE_TESTS=""
546
547 #make check TESTS="-v $DISABLE_TESTS"
548
549 %files
550 %{_bindir}/erb
551 %{_bindir}/ruby
552 %dir %{ruby_libdir}
553 %{ruby_libdir}/*.rb
554 %exclude %{ruby_libdir}/irb.rb
555 %exclude %{ruby_libdir}/json.rb
556 %exclude %{ruby_libdir}/openssl.rb
557 %{ruby_libdir}/cgi
558 %{ruby_libdir}/digest
559 %{ruby_libdir}/drb
560 %{ruby_libdir}/fiddle
561 %{ruby_libdir}/forwardable
562 %{ruby_libdir}/matrix
563 %{ruby_libdir}/net
564 %{ruby_libdir}/optparse
565 %{ruby_libdir}/psych
566 %{ruby_libdir}/racc
567 %{ruby_libdir}/rbconfig
568 %{ruby_libdir}/rexml
569 %{ruby_libdir}/rinda
570 %{ruby_libdir}/ripper
571 %{ruby_libdir}/rss
572 %{ruby_libdir}/shell
573 %{ruby_libdir}/syslog
574 %{ruby_libdir}/unicode_normalize/normalize.rb
575 %{ruby_libdir}/unicode_normalize/tables.rb
576 %{ruby_libdir}/uri
577 %{ruby_libdir}/webrick
578 %{ruby_libdir}/yaml
579 %dir %{ruby_libarchdir}
580 %{ruby_libarchdir}/cgi/escape.so
581 %{ruby_libarchdir}/continuation.so
582 %{ruby_libarchdir}/coverage.so
583 %{ruby_libarchdir}/date_core.so
584 %{ruby_libarchdir}/dbm.so
585 %dir %{ruby_libarchdir}/digest
586 %{ruby_libarchdir}/digest.so
587 %{ruby_libarchdir}/digest/*.so
588 %dir %{ruby_libarchdir}/enc
589 %{ruby_libarchdir}/enc/*.so
590 %dir %{ruby_libarchdir}/enc/trans
591 %{ruby_libarchdir}/enc/trans/*.so
592 %{ruby_libarchdir}/etc.so
593 %{ruby_libarchdir}/fcntl.so
594 %{ruby_libarchdir}/fiber.so
595 %{ruby_libarchdir}/fiddle.so
596 %{ruby_libarchdir}/gdbm.so
597 %dir %{ruby_libarchdir}/io
598 %{ruby_libarchdir}/io/nonblock.so
599 %{ruby_libarchdir}/io/wait.so
600 %dir %{ruby_libarchdir}/mathn
601 %{ruby_libarchdir}/mathn/*.so
602 %{ruby_libarchdir}/nkf.so
603 %{ruby_libarchdir}/objspace.so
604 %{ruby_libarchdir}/psych.so
605 %{ruby_libarchdir}/pathname.so
606 %{ruby_libarchdir}/pty.so
607 %dir %{ruby_libarchdir}/racc
608 %{ruby_libarchdir}/racc/*.so
609 %{ruby_libarchdir}/rbconfig.rb
610 %{ruby_libarchdir}/rbconfig/sizeof.so
611 %{ruby_libarchdir}/readline.so
612 %{ruby_libarchdir}/ripper.so
613 %{ruby_libarchdir}/sdbm.so
614 %{ruby_libarchdir}/socket.so
615 %{ruby_libarchdir}/stringio.so
616 %{ruby_libarchdir}/strscan.so
617 %{ruby_libarchdir}/syslog.so
618 %{ruby_libarchdir}/zlib.so
619 %{_mandir}/man1/erb.1.*
620 %{_mandir}/man1/ruby.1.*
621 %{_datadir}/emacs/site-lisp/*
622 %config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
623 %{_sysconfdir}/rpm/macros.d/ruby.macros
624 %{_sysconfdir}/rpm/macros.d/rubygems.macros
625 #%{_datadir}/ruby/site_ruby
626 #%{_libdir}/ruby/site_ruby
627 %{_datadir}/ruby/vendor_ruby
628 %{_libdir}/ruby/vendor_ruby
629 %{_rpmconfigdir}/fileattrs/rubygems.attr
630 %{_rpmconfigdir}/rubygems.req
631 %{_rpmconfigdir}/rubygems.prov
632 %dir %{gem_dir}
633 %dir %{gem_dir}/build_info
634 %dir %{gem_dir}/cache
635 %dir %{gem_dir}/doc
636 %dir %{gem_dir}/extensions
637 %dir %{gem_dir}/gems
638 %dir %{gem_dir}/specifications
639 %dir %{gem_dir}/specifications/default
640 %exclude %{gem_dir}/cache/*
641
642 %files doc
643 %{_datadir}/ri
644 %{_datadir}/doc/ruby
645
646 %files -n %{libname}
647 %{_libdir}/libruby.so.%{subver}
648 %{_libdir}/libruby.so.%{rubyapi}
649
650 %files devel
651 %{_includedir}/*
652 %{_libdir}/libruby.so
653 %{_libdir}/pkgconfig/*.pc
654
655 %files irb
656 %{_bindir}/irb
657 %{ruby_libdir}/irb.rb
658 %{ruby_libdir}/irb
659 %{_mandir}/man1/irb.1*
660
661 %files power_assert
662 %{gem_dir}/gems/power_assert-%{power_assert_version}
663 %{gem_dir}/specifications/power_assert-%{power_assert_version}.gemspec
664
665 %files io-console
666 %{ruby_libdir}/io
667 %{ruby_libarchdir}/io/console.so
668 %{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec
669
670 %files test-unit
671 %{gem_dir}/gems/test-unit-*
672 %{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec
673
674 %files RubyGems
675 %{_bindir}/gem
676 %dir %{rubygems_dir}
677 %{rubygems_dir}/rbconfig
678 %{rubygems_dir}/rubygems
679 %{rubygems_dir}/rubygems.rb
680 %{rubygems_dir}/ubygems.rb
681
682 %files minitest
683 %{gem_dir}/gems/minitest-%{minitest_version}
684 %{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
685
686 %files rake
687 %{_bindir}/rake
688 %{_mandir}/man1/rake.1.*
689 %{gem_dir}/gems/rake-%{rake_version}
690 %{gem_dir}/specifications/rake-%{rake_version}.gemspec
691
692 %files rdoc
693 %{_bindir}/rdoc
694 %{_bindir}/ri
695 %{_mandir}/man1/ri.1.*
696 %{ruby_libdir}/rdoc
697 %{gem_dir}/gems/rdoc-%{rdoc_version}
698 %{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec
699
700 %files json
701 %{ruby_libarchdir}/json
702 %{ruby_libdir}/json
703 %{ruby_libdir}/json.rb
704 %{gem_dir}/specifications/default/json-%{json_version}.gemspec
705
706 %files bigdecimal
707 %{ruby_libdir}/bigdecimal
708 %{ruby_libarchdir}/bigdecimal.so
709 %{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec
710
711 %files openssl
712 %{ruby_libdir}/openssl
713 %{ruby_libarchdir}/openssl.so
714 %{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec
715
716 %files psych
717 %{ruby_libdir}/psych
718 %{ruby_libdir}/psych.rb
719 %{ruby_libarchdir}/psych.so
720 %{gem_dir}/specifications/default/psych-%{psych_version}.gemspec
721
722 %files did_you_mean
723 %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}
724 %exclude %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/.*
725 %{gem_dir}/specifications/did_you_mean-%{did_you_mean_version}.gemspec
726
727 %files net-telnet
728 %{gem_dir}/gems/net-telnet-%{net_telnet_version}
729 %exclude %{gem_dir}/gems/net-telnet-%{net_telnet_version}/.*
730 %{gem_dir}/specifications/net-telnet-%{net_telnet_version}.gemspec
731
732 %files xmlrpc
733 %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}
734 %{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec

  ViewVC Help
Powered by ViewVC 1.1.30