/[packages]/updates/5/ruby/current/SPECS/ruby.spec
ViewVC logotype

Contents of /updates/5/ruby/current/SPECS/ruby.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1187980 - (show annotations) (download)
Sat Dec 30 17:31:32 2017 UTC (17 months, 3 weeks ago) by luigiwalser
File size: 19034 byte(s)
SILENT: remove unpackaged file
1 %define subver 2.0
2 %define rubyapi 2.0.0
3 %define rubyver 2.0.0
4 %define patchversion p648
5 %define rel 1
6 %define subrel 6
7
8 %define libname %mklibname ruby %{subver}
9
10 %define ruby_libdir %{_datadir}/%{name}
11 %define ruby_libarchdir %{_libdir}/%{name}
12
13 # This is the local lib/arch and should not be used for packaging.
14 %define ruby_sitelibdir %{_datadir}/ruby/site_ruby
15 %define ruby_sitearchdir %{_libdir}/ruby/site_ruby
16
17 # This is the general location for libs/archs compatible with all
18 # or most of the Ruby versions available in the Fedora repositories.
19 %define ruby_vendorlibdir %{_datadir}/ruby/vendor_ruby
20 %define ruby_vendorarchdir %{_libdir}/ruby/vendor_ruby
21
22 # The RubyGems library has to stay out of Ruby directory tree, since the
23 # RubyGems should be shared by all Ruby implementations.
24 %define rubygems_dir %{_datadir}/rubygems
25 %define gems_dir %{_datadir}/ruby/gems
26 %define rubygems_version 2.0.2
27
28 %define bootstrap 0
29 %define build_gems 0
30
31 Summary: Object Oriented Script Language
32 Name: ruby
33 Version: %{rubyver}.%{patchversion}
34 Release: %mkrel %rel
35 License: Ruby or BSD
36 Group: Development/Ruby
37 BuildRequires: autoconf
38 BuildRequires: byacc
39 BuildRequires: doxygen
40 BuildRequires: ncurses-devel
41 BuildRequires: readline-devel
42 BuildRequires: tcl-devel
43 BuildRequires: tk-devel
44 BuildRequires: db-devel
45 BuildRequires: gdbm-devel >= 1.8.3
46 BuildRequires: openssl-devel
47 BuildRequires: zlib-devel
48 BuildRequires: libffi-devel
49 BuildRequires: yaml-devel
50 BuildRequires: rpm-mageia-setup >= 1.158
51 Conflicts: ruby-devel < 2.0.0.p451-4.mga5
52 Obsoletes: ruby-rexml
53 Provides: ruby-rexml
54 # Couldn't get the standalone gem to work
55 Provides: rubygem(psych)
56 # explicit file provides (since such requires are automatically added by find-requires)
57 Provides: /usr/bin/ruby
58 Provides: ruby(abi) = %rubyapi
59 Source0: http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}-%{patchversion}.tar.bz2
60 Source1: operating_system.rb
61 Source3: ruby.macros
62 # From FC:
63 # RPM dependency generators.
64 Source8: rubygems.attr
65 Source9: rubygems.req
66 Source10: rubygems.prov
67 URL: http://www.ruby-lang.org/
68 %if !%bootstrap
69 Requires: rubygems >= %{rubygems_version}
70 BuildRequires: ruby
71 %endif
72
73 # == FEDORA PATCHES BEGINS ==
74 # http://bugs.ruby-lang.org/issues/7807
75 Patch0: ruby-2.0.0-Prevent-duplicated-paths-when-empty-version-string-i.patch
76 # Fixes random WEBRick test failures.
77 # https://bugs.ruby-lang.org/issues/6573.
78 Patch5: ruby-1.9.3.p195-fix-webrick-tests.patch
79 # Allows to install RubyGems into custom directory, outside of Ruby's tree.
80 # http://redmine.ruby-lang.org/issues/5617
81 Patch8: ruby-1.9.3-custom-rubygems-location.patch
82 # Add support for installing binary extensions according to FHS.
83 # https://github.com/rubygems/rubygems/issues/210
84 # Note that 8th patch might be resolved by
85 # https://bugs.ruby-lang.org/issues/7897
86 Patch9: rubygems-2.0.0-binary-extensions.patch
87 # Make mkmf verbose by default
88 Patch12: ruby-1.9.3-mkmf-verbose.patch
89 # This slightly changes behavior of "gem install --install-dir" behavior.
90 # Without this patch, Specifications.dirs is modified and gems installed on
91 # the system cannot be required anymore. This causes later issues when RDoc
92 # documentation should be generated, since json gem is sudenly not accessible.
93 # https://github.com/rubygems/rubygems/pull/452
94 Patch13: rubygems-2.0.0-Do-not-modify-global-Specification.dirs-during-insta.patch
95 # This prevents issues, when ruby configuration specifies --with-ruby-version=''.
96 # https://github.com/rubygems/rubygems/pull/455
97 Patch14: rubygems-2.0.0-Fixes-for-empty-ruby-version.patch
98 # == FEDORA PATCHES ENDS ==
99 # operating_system.rb sets default_dir to user_dir for non root, this causes the build
100 # to install gems into user dir
101 Patch20: ruby-2.0.0-p451-Do-not-install-to-user-dir.patch
102
103 Patch21: ruby-2.0.0-CVE-2014-4975.patch
104 Patch22: ruby-2.0.0-CVE-2016-7798.patch
105 Patch23: ruby-2.0.0-CVE-2016-2339.patch
106 Patch24: ruby-2.0.0-CVE-2015-9096.patch
107 Patch25: ruby-2.0.0-CVE-2016-2337.patch
108 Patch26: ruby-2.0.0-CVE-2017-14064.patch
109 Patch27: ruby-2.0.0-CVE-2017-14033.patch
110 Patch28: ruby-2.0.0-CVE-2017-10784.patch
111 Patch29: ruby-2.0.0-CVE-2017-0898.patch
112 Patch30: ruby-2.0.0-CVE-2017-17405.patch
113 Patch31: ruby-2.0.0-CVE-2017-17790.patch
114
115 %package -n %{libname}
116 Summary: Libraries necessary to run Ruby
117 Group: Development/Ruby
118
119 %package doc
120 Summary: Documentation for the powerful language Ruby
121 Group: Development/Ruby
122 BuildArch: noarch
123
124 %package devel
125 Summary: Development file for the powerful language Ruby
126 Group: Development/Ruby
127 Requires: %{name} = %{version}
128 Requires: %{libname} = %{version}
129
130 %package tk
131 Summary: Tk extension for the powerful language Ruby
132 Group: Development/Ruby
133 Requires: %{name} = %{version}
134
135 %package RubyGems
136 Summary: The Ruby standard for packaging ruby libraries
137 Group: Development/Ruby
138 Version: %{rubygems_version}
139 Requires: ruby(abi) = %{subver}
140 Provides: gem = %{rubygems_version}
141 Provides: rubygems = %{rubygems_version}
142 Provides: ruby(rubygems) = %{rubygems_version}
143 Conflicts: rpm-mageia-setup-build < 1.159
144 BuildArch: noarch
145
146 %define rake_ver 0.9.6
147 %package rake
148 Summary: Simple ruby build program with capabilities similar to make
149 Group: Development/Ruby
150 Version: %{rake_ver}
151 Requires: ruby(abi) = %{subver}
152 BuildArch: noarch
153
154 %define minitest_ver 4.3.2
155 %package minitest
156 Summary: Minitest provides a complete suite of testing facilities
157 Group: Development/Ruby
158 Version: %{minitest_ver}
159 License: MIT
160 Requires: ruby(abi) = %{subver}
161 Requires: ruby(rubygems) >= %{rubygems_version}
162 BuildArch: noarch
163
164 %define json_ver 1.7.7
165 %package json
166 Summary: This is a JSON implementation as a Ruby extension in C
167 Group: Development/Ruby
168 Version: %{json_ver}
169 License: Ruby or GPLv2
170 Requires: ruby(abi) = %{subver}
171 Requires: ruby(rubygems) >= %{rubygems_version}
172
173 %define rdoc_ver 4.0.0
174 %package rdoc
175 Summary: A tool to generate HTML and command-line documentation for Ruby projects
176 Group: Development/Ruby
177 Version: %{rdoc_ver}
178 License: GPLv2 and Ruby and MIT
179 Requires: ruby(abi) = %{subver}
180 Requires: ruby(rubygems) >= %{rubygems_version}
181 Requires: ruby(irb) = %{version}
182 Provides: rdoc = %{rdoc_ver}
183 Provides: ri = %{rdoc_ver}
184 BuildArch: noarch
185
186 %package irb
187 Summary: The Interactive Ruby
188 Group: Development/Ruby
189 Provides: irb = %{version}-%{release}
190 Provides: ruby(irb) = %{version}-%{release}
191 Conflicts: ruby < 1.9
192 BuildArch: noarch
193
194 %define bigdecimal_ver 1.2.0
195 %package bigdecimal
196 Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
197 Group: Development/Ruby
198 Version: %{bigdecimal_ver}
199 License: GPL+ or Artistic
200 Requires: ruby(abi) = %{subver}
201 Requires: ruby(rubygems) >= %{rubygems_version}
202
203 %define io_console_ver 0.4.2
204 %package io-console
205 Summary: IO/Console is a simple console utilizing library
206 Group: Development/Ruby
207 Version: %{io_console_ver}
208 Requires: ruby(abi) = %{subver}
209 Requires: ruby(rubygems) >= %{rubygems_version}
210
211 %define psych_ver 2.0.0
212 %package psych
213 Summary: A libyaml wrapper for Ruby
214 Version: %{psych_ver}
215 Group: Development/Ruby
216 License: MIT
217 Requires: ruby(abi) = %{subver}
218 Requires: ruby(rubygems) >= %{rubygems_version}
219 Conflicts: ruby < 2.0.0
220
221 %define test_unit_ver 2.0.0
222 %package test-unit
223 Summary: test/unit compatible API testing framework
224 Version: %{psych_ver}
225 Group: Development/Ruby
226 License: MIT
227 Requires: ruby(abi) = %{subver}
228 Requires: ruby(rubygems) >= %{rubygems_version}
229 Conflicts: ruby < 2.0.0
230 BuildArch: noarch
231
232 %description
233 Ruby is the interpreted scripting language for quick and
234 easy object-oriented programming. It has many features to
235 process text files and to do system management tasks (as in
236 Perl). It is simple, straight-forward, and extensible.
237
238 %description doc
239 Ruby is the interpreted scripting language for quick and
240 easy object-oriented programming. It has many features to
241 process text files and to do system management tasks (as in
242 Perl). It is simple, straight-forward, and extensible.
243
244 This package contains the Ruby's documentation
245
246 %description -n %{libname}
247 This package includes the libruby, necessary to run Ruby.
248
249 %description devel
250 Ruby is the interpreted scripting language for quick and
251 easy object-oriented programming. It has many features to
252 process text files and to do system management tasks (as in
253 Perl). It is simple, straight-forward, and extensible.
254
255 This package contains the Ruby's devel files.
256
257 %description tk
258 Ruby is the interpreted scripting language for quick and
259 easy object-oriented programming. It has many features to
260 process text files and to do system management tasks (as in
261 Perl). It is simple, straight-forward, and extensible.
262
263 This package contains the Tk extension for Ruby.
264
265 %description RubyGems
266 RubyGems is the Ruby standard for publishing and managing third party
267 libraries.
268
269 %description rake
270 Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
271 specified in standard Ruby syntax.
272
273 %description rdoc
274 RDoc produces HTML and command-line documentation for Ruby projects. RDoc
275 includes the 'rdoc' and 'ri' tools for generating and displaying online
276 documentation.
277
278 %description json
279 This is a implementation of the JSON specification according to RFC 4627.
280 You can think of it as a low fat alternative to XML, if you want to store
281 data to disk or transmit it over a network rather than use a verbose
282 markup language.
283
284 %description minitest
285 minitest/unit is a small and incredibly fast unit testing framework.
286
287 minitest/spec is a functionally complete spec engine.
288
289 minitest/benchmark is an awesome way to assert the performance of your
290 algorithms in a repeatable manner.
291
292 minitest/mock by Steven Baker, is a beautifully tiny mock object
293 framework.
294
295 minitest/pride shows pride in testing and adds coloring to your test
296 output.
297
298 %description irb
299 The irb is acronym for Interactive Ruby. It evaluates ruby expression
300 from the terminal.
301
302 %description bigdecimal
303 Ruby provides built-in support for arbitrary precision integer arithmetic.
304 For example:
305
306 42**13 -> 1265437718438866624512
307
308 BigDecimal provides similar support for very large or very accurate floating
309 point numbers. Decimal arithmetic is also useful for general calculation,
310 because it provides the correct answers people expect–whereas normal binary
311 floating point arithmetic often introduces subtle errors because of the
312 conversion between base 10 and base 2.
313
314 %description io-console
315 IO/Console provides very simple and portable access to console. It doesn't
316 provide higher layer features, such like curses and readline.
317
318 %description psych
319 Psych is a YAML parser and emitter. Psych leverages
320 libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting
321 capabilities. In addition to wrapping libyaml, Psych also knows how to
322 serialize and de-serialize most Ruby objects to and from the YAML format.
323
324 %description test-unit
325 This library implements test/unit compatible API on minitest.
326 The test/unit means that test/unit which was bundled with Ruby 1.8.
327
328 %prep
329 %setup -q -n ruby-%{rubyver}-%{patchversion}
330 %apply_patches
331 # When patching mkmf.rb the mkmf.rb.0010 gets installed
332 rm lib/mkmf.rb.0*
333 rm lib/resolv.rb.0*
334
335 %build
336 autoconf
337 CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`
338 %configure2_5x --enable-shared --disable-rpath --enable-pthread \
339 --with-rubylibprefix='%{ruby_libdir}' \
340 --with-rubyarchprefix='%{ruby_libarchdir}' \
341 --with-sitedir='%{ruby_sitelibdir}' \
342 --with-sitearchdir='%{ruby_sitearchdir}' \
343 --with-vendordir='%{ruby_vendorlibdir}' \
344 --with-vendorarchdir='%{ruby_vendorarchdir}' \
345 --with-rubyhdrdir='%{_includedir}' \
346 --with-rubyarchhdrdir='$(archincludedir)' \
347 --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
348 --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
349 --with-rubygemsdir='%{rubygems_dir}' \
350 --with-ruby-pc='%{name}.pc' \
351 --enable-multiarch \
352 --with-ruby-version=''
353 %make
354
355 %install
356 %makeinstall_std install-doc
357
358 install -d %buildroot%{_datadir}/emacs/site-lisp
359 cp -a misc/ruby-mode.el %buildroot%{_datadir}/emacs/site-lisp
360
361 install -d %buildroot%{_sysconfdir}/emacs/site-start.d
362 cat <<EOF >%buildroot%{_sysconfdir}/emacs/site-start.d/%{name}.el
363 (autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
364 (add-to-list 'auto-mode-alist '("\\\\.rb$" . ruby-mode))
365 (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
366 EOF
367
368 # Install the rpm macros
369 mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d
370 cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d
371
372 # Install dependency generators.
373 mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
374 install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs
375 install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
376 install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir}
377
378 # Install custom operating_system.rb
379 mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
380 cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
381
382 # Version is empty if --with-ruby-version is specified.
383 # http://bugs.ruby-lang.org/issues/7807
384 sed -i 's/Version: .*/Version: %{rubyver}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
385
386 # drop gems if not wanted, so that we could split them out as seperated source rpm
387 %if !%build_gems
388 rm -f %{buildroot}%{_bindir}/{rake,rdoc,ri,testrb}
389 rm -f %{buildroot}%{_mandir}/man1/{rake,ri}.*
390 rm -fr %{buildroot}%{ruby_libdir}/{minitest,rake,rdoc,json,bigdecimal,io,test}
391 rm -fr %{buildroot}%{ruby_libarchdir}/{json,bigdecimal.so,io/console.so}
392 rm -fr %{buildroot}%{gems_dir}/{gems,specifications}
393 %if !%bootstrap
394 rm -f %{buildroot}%{_bindir}/gem
395 rm -fr %{buildroot}%{rubygems_dir}/rbconfig
396 rm -fr %{buildroot}%{rubygems_dir}/rubygems
397 rm -f %{buildroot}%{rubygems_dir}/rubygems.rb
398 rm -f %{buildroot}%{rubygems_dir}/ubygems.rb
399 %endif
400 %endif
401
402 %check
403 make test
404
405 %files
406 %{_bindir}/erb
407 %{_bindir}/ruby
408 %dir %{ruby_libdir}
409 %{ruby_libdir}/*.rb
410 %exclude %{ruby_libdir}/irb.rb
411 %exclude %{ruby_libdir}/multi-tk.rb
412 %exclude %{ruby_libdir}/remote-tk.rb
413 %exclude %{ruby_libdir}/tcltk.rb
414 %exclude %{ruby_libdir}/tk.rb
415 %exclude %{ruby_libdir}/tkafter.rb
416 %exclude %{ruby_libdir}/tkbgerror.rb
417 %exclude %{ruby_libdir}/tkcanvas.rb
418 %exclude %{ruby_libdir}/tkclass.rb
419 %exclude %{ruby_libdir}/tkconsole.rb
420 %exclude %{ruby_libdir}/tkdialog.rb
421 %exclude %{ruby_libdir}/tkentry.rb
422 %exclude %{ruby_libdir}/tkfont.rb
423 %exclude %{ruby_libdir}/tkmacpkg.rb
424 %exclude %{ruby_libdir}/tkmenubar.rb
425 %exclude %{ruby_libdir}/tkmngfocus.rb
426 %exclude %{ruby_libdir}/tkpalette.rb
427 %exclude %{ruby_libdir}/tkscrollbox.rb
428 %exclude %{ruby_libdir}/tktext.rb
429 %exclude %{ruby_libdir}/tkvirtevent.rb
430 %exclude %{ruby_libdir}/tkwinpkg.rb
431 %{ruby_libdir}/cgi
432 %{ruby_libdir}/date
433 %{ruby_libdir}/digest
434 %{ruby_libdir}/dl
435 %{ruby_libdir}/drb
436 %{ruby_libdir}/fiddle
437 %{ruby_libdir}/matrix
438 %{ruby_libdir}/net
439 %{ruby_libdir}/openssl
440 %{ruby_libdir}/optparse
441 %{ruby_libdir}/psych
442 %{ruby_libdir}/racc
443 %{ruby_libdir}/rbconfig
444 %{ruby_libdir}/rexml
445 %{ruby_libdir}/rinda
446 %{ruby_libdir}/ripper
447 %{ruby_libdir}/rss
448 %{ruby_libdir}/shell
449 %{ruby_libdir}/syslog
450 %{ruby_libdir}/uri
451 %{ruby_libdir}/webrick
452 %{ruby_libdir}/xmlrpc
453 %{ruby_libdir}/yaml
454 %dir %{ruby_libarchdir}
455 %{ruby_libarchdir}/continuation.so
456 %{ruby_libarchdir}/coverage.so
457 %{ruby_libarchdir}/curses.so
458 %{ruby_libarchdir}/date_core.so
459 %{ruby_libarchdir}/dbm.so
460 %dir %{ruby_libarchdir}/digest
461 %{ruby_libarchdir}/digest.so
462 %{ruby_libarchdir}/digest/*.so
463 %dir %{ruby_libarchdir}/dl
464 %{ruby_libarchdir}/dl.so
465 %{ruby_libarchdir}/dl/*.so
466 %dir %{ruby_libarchdir}/enc
467 %{ruby_libarchdir}/enc/*.so
468 %dir %{ruby_libarchdir}/enc/trans
469 %{ruby_libarchdir}/enc/trans/*.so
470 %{ruby_libarchdir}/etc.so
471 %{ruby_libarchdir}/fcntl.so
472 %{ruby_libarchdir}/fiber.so
473 %{ruby_libarchdir}/fiddle.so
474 %{ruby_libarchdir}/gdbm.so
475 %dir %{ruby_libarchdir}/io
476 %{ruby_libarchdir}/io/nonblock.so
477 %{ruby_libarchdir}/io/wait.so
478 %dir %{ruby_libarchdir}/mathn
479 %{ruby_libarchdir}/mathn/*.so
480 %{ruby_libarchdir}/nkf.so
481 %{ruby_libarchdir}/objspace.so
482 %{ruby_libarchdir}/openssl.so
483 %{ruby_libarchdir}/psych.so
484 %{ruby_libarchdir}/pathname.so
485 %{ruby_libarchdir}/pty.so
486 %dir %{ruby_libarchdir}/racc
487 %{ruby_libarchdir}/racc/*.so
488 %{ruby_libarchdir}/rbconfig.rb
489 %{ruby_libarchdir}/readline.so
490 %{ruby_libarchdir}/ripper.so
491 %{ruby_libarchdir}/sdbm.so
492 %{ruby_libarchdir}/socket.so
493 %{ruby_libarchdir}/stringio.so
494 %{ruby_libarchdir}/strscan.so
495 %{ruby_libarchdir}/syslog.so
496 %{ruby_libarchdir}/zlib.so
497 %{_mandir}/man1/erb.1.*
498 %{_mandir}/man1/ruby.1.*
499 %{_datadir}/emacs/site-lisp/*
500 %config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
501 %{_sysconfdir}/rpm/macros.d/%{name}.macros
502 %{_datadir}/ruby/site_ruby
503 %{_libdir}/ruby/site_ruby
504 %{_datadir}/ruby/vendor_ruby
505 %{_libdir}/ruby/vendor_ruby
506 %if %bootstrap
507 %{_bindir}/gem
508 %dir %{rubygems_dir}
509 %{rubygems_dir}/rbconfig
510 %{rubygems_dir}/rubygems
511 %{rubygems_dir}/rubygems.rb
512 %{rubygems_dir}/ubygems.rb
513 %endif
514 %{_rpmconfigdir}/fileattrs/rubygems.attr
515 %{_rpmconfigdir}/rubygems.req
516 %{_rpmconfigdir}/rubygems.prov
517
518 %files doc
519 %{_datadir}/ri
520 %{_datadir}/doc/ruby
521
522 %files -n %{libname}
523 %{_libdir}/libruby.so.%{subver}
524 %{_libdir}/libruby.so.%{rubyapi}
525
526 %files devel
527 %{_includedir}/*
528 %{_libdir}/libruby-static.a
529 %{_libdir}/libruby.so
530 %{_libdir}/pkgconfig/*.pc
531
532 %files tk
533 %{ruby_libarchdir}/tcltklib.so
534 %{ruby_libarchdir}/tkutil.so
535 %{ruby_libdir}/multi-tk.rb
536 %{ruby_libdir}/remote-tk.rb
537 %{ruby_libdir}/tcltk.rb
538 %{ruby_libdir}/tk.rb
539 %{ruby_libdir}/tkafter.rb
540 %{ruby_libdir}/tkbgerror.rb
541 %{ruby_libdir}/tkcanvas.rb
542 %{ruby_libdir}/tkclass.rb
543 %{ruby_libdir}/tkconsole.rb
544 %{ruby_libdir}/tkdialog.rb
545 %{ruby_libdir}/tkentry.rb
546 %{ruby_libdir}/tkfont.rb
547 %{ruby_libdir}/tkmacpkg.rb
548 %{ruby_libdir}/tkmenubar.rb
549 %{ruby_libdir}/tkmngfocus.rb
550 %{ruby_libdir}/tkpalette.rb
551 %{ruby_libdir}/tkscrollbox.rb
552 %{ruby_libdir}/tktext.rb
553 %{ruby_libdir}/tkvirtevent.rb
554 %{ruby_libdir}/tkwinpkg.rb
555 %{ruby_libdir}/tk
556 %{ruby_libdir}/tkextlib
557
558 %files irb
559 %{_bindir}/irb
560 %{ruby_libdir}/irb.rb
561 %{ruby_libdir}/irb
562 %{_mandir}/man1/irb.1*
563
564 %if %build_gems
565 %files RubyGems
566 %{_bindir}/gem
567 %dir %{rubygems_dir}
568 %{rubygems_dir}/rbconfig
569 %{rubygems_dir}/rubygems
570 %{rubygems_dir}/rubygems.rb
571 %{rubygems_dir}/ubygems.rb
572
573 %files minitest
574 %{ruby_libdir}/minitest
575 %{rubygems_dir}/specifications/default/minitest-*.gemspec
576
577 %files rake
578 %{_bindir}/rake
579 %{_mandir}/man1/rake.1.*
580 %{ruby_libdir}/rake
581 %{gems_dir}/gems/rake-*
582 %{gems_dir}/specifications/default/rake-*.gemspec
583
584 %files rdoc
585 %{_bindir}/rdoc
586 %{_bindir}/ri
587 %{ruby_libdir}/rdoc
588 %{gems_dir}/gems/rdoc-*
589 %{gems_dir}/specifications/default/rdoc-*.gemspec
590 %{_mandir}/man1/ri.1.*
591
592 %files json
593 %dir %{ruby_libarchdir}/json
594 %dir %{ruby_libarchdir}/json/ext
595 %{ruby_libarchdir}/json/ext/*.so
596 %{ruby_libdir}/json
597 %{gems_dir}/specifications/default/json-*.gemspec
598
599 %files bigdecimal
600 %{ruby_libdir}/bigdecimal
601 %{ruby_libarchdir}/bigdecimal.so
602 %{gems_dir}/specifications/default/bigdecimal-*.gemspec
603
604 %files io-console
605 %{ruby_libdir}/io
606 %{ruby_libarchdir}/io/console.so
607 %{gems_dir}/specifications/default/io-console-*.gemspec
608
609 %files psych
610 %{ruby_libdir}/psych
611 %{ruby_libarchdir}/psych.so
612 %{gems_dir}/specifications/default/psych-*.gemspec
613
614 %files test-unit
615 %{_bindir}/testrb
616 %{ruby_libdir}/test
617 %{gems_dir}/gems/test-unit-*
618 %{rubygems_dir}/specifications/default/test-unit-*.gemspec
619 %endif

  ViewVC Help
Powered by ViewVC 1.1.26