/[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 1140339 - (show annotations) (download)
Mon Aug 14 18:24:48 2017 UTC (6 years, 7 months ago) by pterjan
File size: 23457 byte(s)
SILENT bump release
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 4
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 Conflicts: ruby-devel < 2.0.0.p451-4.mga5
111 Obsoletes: ruby-rexml
112 Provides: ruby-rexml
113 # Tcl/Tk support was removed from stdlib in Ruby 2.4
114 Obsoletes: ruby-tk < 2.4.0
115 # Couldn't get the standalone gem to work
116 Provides: rubygem(psych)
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 Provides: gem = %{rubygems_version}
190 Provides: rubygems = %{rubygems_version}
191 Provides: ruby(rubygems) = %{rubygems_version}
192 Conflicts: rpm-mageia-setup-build < 1.159
193 BuildArch: noarch
194
195 %package rake
196 Summary: Simple ruby build program with capabilities similar to make
197 Group: Development/Ruby
198 Version: %{rake_version}
199 Requires: ruby(abi) = %{subver}
200 BuildArch: noarch
201
202 %package minitest
203 Summary: Minitest provides a complete suite of testing facilities
204 Group: Development/Ruby
205 Version: %{minitest_version}
206 License: MIT
207 Requires: ruby(abi) = %{subver}
208 Requires: ruby(rubygems) >= %{rubygems_version}
209 BuildArch: noarch
210
211 %package openssl
212 Summary: OpenSSL provides SSL, TLS and general purpose cryptography
213 Group: Development/Ruby
214 Version: %{openssl_version}
215 License: Ruby or BSD
216 Requires: ruby(abi) = %{subver}
217 Requires: ruby(rubygems) >= %{rubygems_version}
218
219 %package power_assert
220 Summary: Power Assert for Ruby
221 Group: Development/Ruby
222 Version: %{power_assert_version}
223 License: BSD
224 Requires: ruby(abi) = %{subver}
225 Requires: ruby(rubygems) >= %{rubygems_version}
226 BuildArch: noarch
227
228 %package json
229 Summary: This is a JSON implementation as a Ruby extension in C
230 Group: Development/Ruby
231 Version: %{json_version}
232 License: Ruby or GPLv2
233 Requires: ruby(abi) = %{subver}
234 Requires: ruby(rubygems) >= %{rubygems_version}
235 Conflicts: ruby < 2.4.1
236
237 %package rdoc
238 Summary: A tool to generate HTML and command-line documentation for Ruby projects
239 Group: Development/Ruby
240 Version: %{rdoc_version}
241 License: GPLv2 and Ruby and MIT
242 Requires: ruby(abi) = %{subver}
243 Requires: ruby(rubygems) >= %{rubygems_version}
244 Requires: ruby(irb) = %{version}
245 Provides: rdoc = %{rdoc_version}
246 Provides: ri = %{rdoc_version}
247 BuildArch: noarch
248
249 %package irb
250 Summary: The Interactive Ruby
251 Group: Development/Ruby
252 Provides: irb = %{version}-%{release}
253 Provides: ruby(irb) = %{version}-%{release}
254 Conflicts: ruby < 1.9
255 BuildArch: noarch
256
257 %package bigdecimal
258 Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
259 Group: Development/Ruby
260 Version: %{bigdecimal_version}
261 License: GPL+ or Artistic
262 Requires: ruby(abi) = %{subver}
263 Requires: ruby(rubygems) >= %{rubygems_version}
264
265 %package did_you_mean
266 Summary: "Did you mean?" experience in Ruby
267 Version: %{did_you_mean_version}
268 Group: Development/Ruby
269 License: MIT
270 Requires: ruby(rubygems) >= %{rubygems_version}
271
272 %package io-console
273 Summary: IO/Console is a simple console utilizing library
274 Group: Development/Ruby
275 Version: %{io_console_version}
276 Requires: ruby(abi) = %{subver}
277 Requires: ruby(rubygems) >= %{rubygems_version}
278
279 %package psych
280 Summary: A libyaml wrapper for Ruby
281 Version: %{psych_version}
282 Group: Development/Ruby
283 License: MIT
284 Requires: ruby(abi) = %{subver}
285 Requires: ruby(rubygems) >= %{rubygems_version}
286 Conflicts: ruby < 2.0.0
287
288 %package net-telnet
289 Summary: Provides telnet client functionality
290 Version: %{net_telnet_version}
291 Group: Development/Ruby
292 Requires: ruby(rubygems) >= %{rubygems_version}
293
294 %package test-unit
295 Summary: test/unit compatible API testing framework
296 Version: %{test_unit_version}
297 Group: Development/Ruby
298 License: MIT
299 Provides: rubygem(test-unit) = %{test_unit_version}
300 Requires: ruby(abi) = %{subver}
301 Requires: ruby(rubygems) >= %{rubygems_version}
302 Conflicts: ruby < 2.0.0
303 BuildArch: noarch
304
305 %package xmlrpc
306 Summary: XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP
307 Version: %{xmlrpc_version}
308 Group: Development/Ruby
309 License: Ruby or BSD
310 Requires: ruby(abi) = %{subver}
311 Requires: ruby(rubygems) >= %{rubygems_version}
312 BuildArch: noarch
313
314 %description
315 Ruby is the interpreted scripting language for quick and
316 easy object-oriented programming. It has many features to
317 process text files and to do system management tasks (as in
318 Perl). It is simple, straight-forward, and extensible.
319
320 %description doc
321 Ruby is the interpreted scripting language for quick and
322 easy object-oriented programming. It has many features to
323 process text files and to do system management tasks (as in
324 Perl). It is simple, straight-forward, and extensible.
325
326 This package contains the Ruby's documentation
327
328 %description -n %{libname}
329 This package includes the libruby, necessary to run Ruby.
330
331 %description devel
332 Ruby is the interpreted scripting language for quick and
333 easy object-oriented programming. It has many features to
334 process text files and to do system management tasks (as in
335 Perl). It is simple, straight-forward, and extensible.
336
337 This package contains the Ruby's devel files.
338
339 %description RubyGems
340 RubyGems is the Ruby standard for publishing and managing third party
341 libraries.
342
343 %description rake
344 Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
345 specified in standard Ruby syntax.
346
347 %description rdoc
348 RDoc produces HTML and command-line documentation for Ruby projects. RDoc
349 includes the 'rdoc' and 'ri' tools for generating and displaying online
350 documentation.
351
352 %description json
353 This is a implementation of the JSON specification according to RFC 4627.
354 You can think of it as a low fat alternative to XML, if you want to store
355 data to disk or transmit it over a network rather than use a verbose
356 markup language.
357
358 %description minitest
359 minitest/unit is a small and incredibly fast unit testing framework.
360
361 minitest/spec is a functionally complete spec engine.
362
363 minitest/benchmark is an awesome way to assert the performance of your
364 algorithms in a repeatable manner.
365
366 minitest/mock by Steven Baker, is a beautifully tiny mock object
367 framework.
368
369 minitest/pride shows pride in testing and adds coloring to your test
370 output.
371
372 %description openssl
373 OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the
374 OpenSSL library.
375
376 %description power_assert
377 Power Assert shows each value of variables and method calls in the expression.
378 It is useful for testing, providing which value wasn't correct when the
379 condition is not satisfied.
380
381 %description irb
382 The irb is acronym for Interactive Ruby. It evaluates ruby expression
383 from the terminal.
384
385 %description bigdecimal
386 Ruby provides built-in support for arbitrary precision integer arithmetic.
387 For example:
388
389 42**13 -> 1265437718438866624512
390
391 BigDecimal provides similar support for very large or very accurate floating
392 point numbers. Decimal arithmetic is also useful for general calculation,
393 because it provides the correct answers people expect–whereas normal binary
394 floating point arithmetic often introduces subtle errors because of the
395 conversion between base 10 and base 2.
396
397 %description did_you_mean
398 "did you mean?" experience in Ruby: the error message will tell you the right
399 one when you misspelled something.
400
401 %description io-console
402 IO/Console provides very simple and portable access to console. It doesn't
403 provide higher layer features, such like curses and readline.
404
405 %description psych
406 Psych is a YAML parser and emitter. Psych leverages
407 libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting
408 capabilities. In addition to wrapping libyaml, Psych also knows how to
409 serialize and de-serialize most Ruby objects to and from the YAML format.
410
411 %description net-telnet
412 Provides telnet client functionality.
413
414 This class also has, through delegation, all the methods of a socket object
415 (by default, a TCPSocket, but can be set by the Proxy option to new()). This
416 provides methods such as close() to end the session and sysread() to read data
417 directly from the host, instead of via the waitfor() mechanism. Note that if
418 you do use sysread() directly when in telnet mode, you should probably pass
419 the output through preprocess() to extract telnet command sequences.
420
421 %description test-unit
422 This library implements test/unit compatible API on minitest.
423 The test/unit means that test/unit which was bundled with Ruby 1.8.
424
425 %description xmlrpc
426 XMLRPC is a lightweight protocol that enables remote procedure calls over
427 HTTP.
428
429 %prep
430 %setup -q -n ruby-%{rubyver}
431 %autopatch -p1
432
433 %build
434 autoconf
435 CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`
436 %configure2_5x --enable-shared --disable-rpath --enable-pthread \
437 --enable-multiarch \
438 --with-rubylibprefix='%{ruby_libdir}' \
439 --with-archlibdir='%{_libdir}' \
440 --with-rubyarchprefix='%{ruby_libarchdir}' \
441 --with-sitedir='%{ruby_sitelibdir}' \
442 --with-sitearchdir='%{ruby_sitearchdir}' \
443 --with-vendordir='%{ruby_vendorlibdir}' \
444 --with-vendorarchdir='%{ruby_vendorarchdir}' \
445 --with-rubyhdrdir='%{_includedir}' \
446 --with-rubyarchhdrdir='%{_includedir}' \
447 --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
448 --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
449 --with-rubygemsdir='%{rubygems_dir}' \
450 --with-ruby-pc='%{name}.pc' \
451 --enable-multiarch \
452 --with-compress-debug-sections=no \
453 --with-ruby-version=''
454
455 %make_build Q=
456
457 %install
458 %makeinstall_std install-doc
459
460 # Version is empty if --with-ruby-version is specified.
461 # http://bugs.ruby-lang.org/issues/7807
462 sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
463
464 # Kill bundled certificates, as they should be part of ca-certificates.
465 for cert in \
466 rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem \
467 rubygems.org/AddTrustExternalCARoot.pem \
468 index.rubygems.org/GlobalSignRootCA.pem
469 do
470 rm %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert
471 rm -r $(dirname %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert)
472 done
473
474 # Ensure there is not forgotten any certificate.
475 test ! "$(ls -A %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/ 2>/dev/null)"
476
477 # Install emacs config
478 install -d %buildroot%{_datadir}/emacs/site-lisp
479 cp -a misc/ruby-mode.el %buildroot%{_datadir}/emacs/site-lisp
480
481 install -d %buildroot%{_sysconfdir}/emacs/site-start.d
482 cat <<EOF >%buildroot%{_sysconfdir}/emacs/site-start.d/%{name}.el
483 (autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
484 (add-to-list 'auto-mode-alist '("\\\\.rb$" . ruby-mode))
485 (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
486 EOF
487
488 # Install the rpm macros
489 mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d
490 cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d
491 cp %{SOURCE4} %buildroot%{_sysconfdir}/rpm/macros.d
492
493 # Install dependency generators.
494 mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
495 install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs
496 install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
497 install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir}
498
499 # Install custom operating_system.rb
500 mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
501 cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
502
503 # Move gems root into common direcotry, out of Ruby directory structure.
504 mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}
505
506 # Create folders for gem binary extensions.
507 mkdir -p %{buildroot}%{_exec_prefix}/lib{,64}/gems/%{name}
508
509 # Version is empty if --with-ruby-version is specified.
510 # http://bugs.ruby-lang.org/issues/7807
511 sed -i 's/Version: .*/Version: %{rubyver}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
512
513 # Move the binary extensions into proper place (if no gem has binary extension,
514 # the extensions directory might be empty).
515 find %{buildroot}%{gem_dir}/extensions/*-%{_target_os}/%{ruby_version}/* -maxdepth 0 \
516 -exec mv '{}' %{buildroot}%{_libdir}/gems/%{name}/ \; \
517 || echo "No gem binary extensions to move."
518
519 # Adjust the gemspec files so that the gems will load properly
520 sed -i '/^end$/ i\
521 s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec
522
523 # Move man pages into proper location
524 mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1
525
526 %check
527 DISABLE_TESTS=""
528
529 #make check TESTS="-v $DISABLE_TESTS"
530
531 %files
532 %{_bindir}/erb
533 %{_bindir}/ruby
534 %dir %{ruby_libdir}
535 %{ruby_libdir}/*.rb
536 %exclude %{ruby_libdir}/irb.rb
537 %exclude %{ruby_libdir}/json.rb
538 %exclude %{ruby_libdir}/openssl.rb
539 %{ruby_libdir}/cgi
540 %{ruby_libdir}/digest
541 %{ruby_libdir}/drb
542 %{ruby_libdir}/fiddle
543 %{ruby_libdir}/forwardable
544 %{ruby_libdir}/matrix
545 %{ruby_libdir}/net
546 %{ruby_libdir}/optparse
547 %{ruby_libdir}/psych
548 %{ruby_libdir}/racc
549 %{ruby_libdir}/rbconfig
550 %{ruby_libdir}/rexml
551 %{ruby_libdir}/rinda
552 %{ruby_libdir}/ripper
553 %{ruby_libdir}/rss
554 %{ruby_libdir}/shell
555 %{ruby_libdir}/syslog
556 %{ruby_libdir}/unicode_normalize/normalize.rb
557 %{ruby_libdir}/unicode_normalize/tables.rb
558 %{ruby_libdir}/uri
559 %{ruby_libdir}/webrick
560 %{ruby_libdir}/yaml
561 %dir %{ruby_libarchdir}
562 %{ruby_libarchdir}/cgi/escape.so
563 %{ruby_libarchdir}/continuation.so
564 %{ruby_libarchdir}/coverage.so
565 %{ruby_libarchdir}/date_core.so
566 %{ruby_libarchdir}/dbm.so
567 %dir %{ruby_libarchdir}/digest
568 %{ruby_libarchdir}/digest.so
569 %{ruby_libarchdir}/digest/*.so
570 %dir %{ruby_libarchdir}/enc
571 %{ruby_libarchdir}/enc/*.so
572 %dir %{ruby_libarchdir}/enc/trans
573 %{ruby_libarchdir}/enc/trans/*.so
574 %{ruby_libarchdir}/etc.so
575 %{ruby_libarchdir}/fcntl.so
576 %{ruby_libarchdir}/fiber.so
577 %{ruby_libarchdir}/fiddle.so
578 %{ruby_libarchdir}/gdbm.so
579 %dir %{ruby_libarchdir}/io
580 %{ruby_libarchdir}/io/nonblock.so
581 %{ruby_libarchdir}/io/wait.so
582 %dir %{ruby_libarchdir}/mathn
583 %{ruby_libarchdir}/mathn/*.so
584 %{ruby_libarchdir}/nkf.so
585 %{ruby_libarchdir}/objspace.so
586 %{ruby_libarchdir}/psych.so
587 %{ruby_libarchdir}/pathname.so
588 %{ruby_libarchdir}/pty.so
589 %dir %{ruby_libarchdir}/racc
590 %{ruby_libarchdir}/racc/*.so
591 %{ruby_libarchdir}/rbconfig.rb
592 %{ruby_libarchdir}/rbconfig/sizeof.so
593 %{ruby_libarchdir}/readline.so
594 %{ruby_libarchdir}/ripper.so
595 %{ruby_libarchdir}/sdbm.so
596 %{ruby_libarchdir}/socket.so
597 %{ruby_libarchdir}/stringio.so
598 %{ruby_libarchdir}/strscan.so
599 %{ruby_libarchdir}/syslog.so
600 %{ruby_libarchdir}/zlib.so
601 %{_mandir}/man1/erb.1.*
602 %{_mandir}/man1/ruby.1.*
603 %{_datadir}/emacs/site-lisp/*
604 %config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
605 %{_sysconfdir}/rpm/macros.d/ruby.macros
606 %{_sysconfdir}/rpm/macros.d/rubygems.macros
607 #%{_datadir}/ruby/site_ruby
608 #%{_libdir}/ruby/site_ruby
609 %{_datadir}/ruby/vendor_ruby
610 %{_libdir}/ruby/vendor_ruby
611 %{_rpmconfigdir}/fileattrs/rubygems.attr
612 %{_rpmconfigdir}/rubygems.req
613 %{_rpmconfigdir}/rubygems.prov
614 %dir %{gem_dir}
615 %dir %{gem_dir}/build_info
616 %dir %{gem_dir}/cache
617 %dir %{gem_dir}/doc
618 %dir %{gem_dir}/extensions
619 %dir %{gem_dir}/gems
620 %dir %{gem_dir}/specifications
621 %dir %{gem_dir}/specifications/default
622 %exclude %{gem_dir}/cache/*
623
624 %files doc
625 %{_datadir}/ri
626 %{_datadir}/doc/ruby
627
628 %files -n %{libname}
629 %{_libdir}/libruby.so.%{subver}
630 %{_libdir}/libruby.so.%{rubyapi}
631
632 %files devel
633 %{_includedir}/*
634 %{_libdir}/libruby.so
635 %{_libdir}/pkgconfig/*.pc
636
637 %files irb
638 %{_bindir}/irb
639 %{ruby_libdir}/irb.rb
640 %{ruby_libdir}/irb
641 %{_mandir}/man1/irb.1*
642
643 %files power_assert
644 %{gem_dir}/gems/power_assert-%{power_assert_version}
645 %{gem_dir}/specifications/power_assert-%{power_assert_version}.gemspec
646
647 %files io-console
648 %{ruby_libdir}/io
649 %{ruby_libarchdir}/io/console.so
650 %{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec
651
652 %files test-unit
653 %{gem_dir}/gems/test-unit-*
654 %{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec
655
656 %files RubyGems
657 %{_bindir}/gem
658 %dir %{rubygems_dir}
659 %{rubygems_dir}/rbconfig
660 %{rubygems_dir}/rubygems
661 %{rubygems_dir}/rubygems.rb
662 %{rubygems_dir}/ubygems.rb
663
664 %files minitest
665 %{gem_dir}/gems/minitest-%{minitest_version}
666 %{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
667
668 %files rake
669 %{_bindir}/rake
670 %{_mandir}/man1/rake.1.*
671 %{gem_dir}/gems/rake-%{rake_version}
672 %{gem_dir}/specifications/rake-%{rake_version}.gemspec
673
674 %files rdoc
675 %{_bindir}/rdoc
676 %{_bindir}/ri
677 %{_mandir}/man1/ri.1.*
678 %{ruby_libdir}/rdoc
679 %{gem_dir}/gems/rdoc-%{rdoc_version}
680 %{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec
681
682 %files json
683 %{ruby_libarchdir}/json
684 %{ruby_libdir}/json
685 %{ruby_libdir}/json.rb
686 %{gem_dir}/specifications/default/json-%{json_version}.gemspec
687
688 %files bigdecimal
689 %{ruby_libdir}/bigdecimal
690 %{ruby_libarchdir}/bigdecimal.so
691 %{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec
692
693 %files openssl
694 %{ruby_libdir}/openssl
695 %{ruby_libarchdir}/openssl.so
696 %{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec
697
698 %files psych
699 %{ruby_libdir}/psych
700 %{ruby_libdir}/psych.rb
701 %{ruby_libarchdir}/psych.so
702 %{gem_dir}/specifications/default/psych-%{psych_version}.gemspec
703
704 %files did_you_mean
705 %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}
706 %exclude %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/.*
707 %{gem_dir}/specifications/did_you_mean-%{did_you_mean_version}.gemspec
708
709 %files net-telnet
710 %{gem_dir}/gems/net-telnet-%{net_telnet_version}
711 %exclude %{gem_dir}/gems/net-telnet-%{net_telnet_version}/.*
712 %{gem_dir}/specifications/net-telnet-%{net_telnet_version}.gemspec
713
714 %files xmlrpc
715 %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}
716 %{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec

  ViewVC Help
Powered by ViewVC 1.1.30