/[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 1187965 - (show annotations) (download)
Sat Dec 30 17:15:36 2017 UTC (2 years, 7 months ago) by luigiwalser
File size: 19014 byte(s)
add patches from debian to fix CVE-2017-17405 and CVE-2017-17790
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
334 %build
335 autoconf
336 CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`
337 %configure2_5x --enable-shared --disable-rpath --enable-pthread \
338 --with-rubylibprefix='%{ruby_libdir}' \
339 --with-rubyarchprefix='%{ruby_libarchdir}' \
340 --with-sitedir='%{ruby_sitelibdir}' \
341 --with-sitearchdir='%{ruby_sitearchdir}' \
342 --with-vendordir='%{ruby_vendorlibdir}' \
343 --with-vendorarchdir='%{ruby_vendorarchdir}' \
344 --with-rubyhdrdir='%{_includedir}' \
345 --with-rubyarchhdrdir='$(archincludedir)' \
346 --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
347 --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
348 --with-rubygemsdir='%{rubygems_dir}' \
349 --with-ruby-pc='%{name}.pc' \
350 --enable-multiarch \
351 --with-ruby-version=''
352 %make
353
354 %install
355 %makeinstall_std install-doc
356
357 install -d %buildroot%{_datadir}/emacs/site-lisp
358 cp -a misc/ruby-mode.el %buildroot%{_datadir}/emacs/site-lisp
359
360 install -d %buildroot%{_sysconfdir}/emacs/site-start.d
361 cat <<EOF >%buildroot%{_sysconfdir}/emacs/site-start.d/%{name}.el
362 (autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
363 (add-to-list 'auto-mode-alist '("\\\\.rb$" . ruby-mode))
364 (add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
365 EOF
366
367 # Install the rpm macros
368 mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d
369 cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d
370
371 # Install dependency generators.
372 mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
373 install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs
374 install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
375 install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir}
376
377 # Install custom operating_system.rb
378 mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
379 cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
380
381 # Version is empty if --with-ruby-version is specified.
382 # http://bugs.ruby-lang.org/issues/7807
383 sed -i 's/Version: .*/Version: %{rubyver}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
384
385 # drop gems if not wanted, so that we could split them out as seperated source rpm
386 %if !%build_gems
387 rm -f %{buildroot}%{_bindir}/{rake,rdoc,ri,testrb}
388 rm -f %{buildroot}%{_mandir}/man1/{rake,ri}.*
389 rm -fr %{buildroot}%{ruby_libdir}/{minitest,rake,rdoc,json,bigdecimal,io,test}
390 rm -fr %{buildroot}%{ruby_libarchdir}/{json,bigdecimal.so,io/console.so}
391 rm -fr %{buildroot}%{gems_dir}/{gems,specifications}
392 %if !%bootstrap
393 rm -f %{buildroot}%{_bindir}/gem
394 rm -fr %{buildroot}%{rubygems_dir}/rbconfig
395 rm -fr %{buildroot}%{rubygems_dir}/rubygems
396 rm -f %{buildroot}%{rubygems_dir}/rubygems.rb
397 rm -f %{buildroot}%{rubygems_dir}/ubygems.rb
398 %endif
399 %endif
400
401 %check
402 make test
403
404 %files
405 %{_bindir}/erb
406 %{_bindir}/ruby
407 %dir %{ruby_libdir}
408 %{ruby_libdir}/*.rb
409 %exclude %{ruby_libdir}/irb.rb
410 %exclude %{ruby_libdir}/multi-tk.rb
411 %exclude %{ruby_libdir}/remote-tk.rb
412 %exclude %{ruby_libdir}/tcltk.rb
413 %exclude %{ruby_libdir}/tk.rb
414 %exclude %{ruby_libdir}/tkafter.rb
415 %exclude %{ruby_libdir}/tkbgerror.rb
416 %exclude %{ruby_libdir}/tkcanvas.rb
417 %exclude %{ruby_libdir}/tkclass.rb
418 %exclude %{ruby_libdir}/tkconsole.rb
419 %exclude %{ruby_libdir}/tkdialog.rb
420 %exclude %{ruby_libdir}/tkentry.rb
421 %exclude %{ruby_libdir}/tkfont.rb
422 %exclude %{ruby_libdir}/tkmacpkg.rb
423 %exclude %{ruby_libdir}/tkmenubar.rb
424 %exclude %{ruby_libdir}/tkmngfocus.rb
425 %exclude %{ruby_libdir}/tkpalette.rb
426 %exclude %{ruby_libdir}/tkscrollbox.rb
427 %exclude %{ruby_libdir}/tktext.rb
428 %exclude %{ruby_libdir}/tkvirtevent.rb
429 %exclude %{ruby_libdir}/tkwinpkg.rb
430 %{ruby_libdir}/cgi
431 %{ruby_libdir}/date
432 %{ruby_libdir}/digest
433 %{ruby_libdir}/dl
434 %{ruby_libdir}/drb
435 %{ruby_libdir}/fiddle
436 %{ruby_libdir}/matrix
437 %{ruby_libdir}/net
438 %{ruby_libdir}/openssl
439 %{ruby_libdir}/optparse
440 %{ruby_libdir}/psych
441 %{ruby_libdir}/racc
442 %{ruby_libdir}/rbconfig
443 %{ruby_libdir}/rexml
444 %{ruby_libdir}/rinda
445 %{ruby_libdir}/ripper
446 %{ruby_libdir}/rss
447 %{ruby_libdir}/shell
448 %{ruby_libdir}/syslog
449 %{ruby_libdir}/uri
450 %{ruby_libdir}/webrick
451 %{ruby_libdir}/xmlrpc
452 %{ruby_libdir}/yaml
453 %dir %{ruby_libarchdir}
454 %{ruby_libarchdir}/continuation.so
455 %{ruby_libarchdir}/coverage.so
456 %{ruby_libarchdir}/curses.so
457 %{ruby_libarchdir}/date_core.so
458 %{ruby_libarchdir}/dbm.so
459 %dir %{ruby_libarchdir}/digest
460 %{ruby_libarchdir}/digest.so
461 %{ruby_libarchdir}/digest/*.so
462 %dir %{ruby_libarchdir}/dl
463 %{ruby_libarchdir}/dl.so
464 %{ruby_libarchdir}/dl/*.so
465 %dir %{ruby_libarchdir}/enc
466 %{ruby_libarchdir}/enc/*.so
467 %dir %{ruby_libarchdir}/enc/trans
468 %{ruby_libarchdir}/enc/trans/*.so
469 %{ruby_libarchdir}/etc.so
470 %{ruby_libarchdir}/fcntl.so
471 %{ruby_libarchdir}/fiber.so
472 %{ruby_libarchdir}/fiddle.so
473 %{ruby_libarchdir}/gdbm.so
474 %dir %{ruby_libarchdir}/io
475 %{ruby_libarchdir}/io/nonblock.so
476 %{ruby_libarchdir}/io/wait.so
477 %dir %{ruby_libarchdir}/mathn
478 %{ruby_libarchdir}/mathn/*.so
479 %{ruby_libarchdir}/nkf.so
480 %{ruby_libarchdir}/objspace.so
481 %{ruby_libarchdir}/openssl.so
482 %{ruby_libarchdir}/psych.so
483 %{ruby_libarchdir}/pathname.so
484 %{ruby_libarchdir}/pty.so
485 %dir %{ruby_libarchdir}/racc
486 %{ruby_libarchdir}/racc/*.so
487 %{ruby_libarchdir}/rbconfig.rb
488 %{ruby_libarchdir}/readline.so
489 %{ruby_libarchdir}/ripper.so
490 %{ruby_libarchdir}/sdbm.so
491 %{ruby_libarchdir}/socket.so
492 %{ruby_libarchdir}/stringio.so
493 %{ruby_libarchdir}/strscan.so
494 %{ruby_libarchdir}/syslog.so
495 %{ruby_libarchdir}/zlib.so
496 %{_mandir}/man1/erb.1.*
497 %{_mandir}/man1/ruby.1.*
498 %{_datadir}/emacs/site-lisp/*
499 %config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
500 %{_sysconfdir}/rpm/macros.d/%{name}.macros
501 %{_datadir}/ruby/site_ruby
502 %{_libdir}/ruby/site_ruby
503 %{_datadir}/ruby/vendor_ruby
504 %{_libdir}/ruby/vendor_ruby
505 %if %bootstrap
506 %{_bindir}/gem
507 %dir %{rubygems_dir}
508 %{rubygems_dir}/rbconfig
509 %{rubygems_dir}/rubygems
510 %{rubygems_dir}/rubygems.rb
511 %{rubygems_dir}/ubygems.rb
512 %endif
513 %{_rpmconfigdir}/fileattrs/rubygems.attr
514 %{_rpmconfigdir}/rubygems.req
515 %{_rpmconfigdir}/rubygems.prov
516
517 %files doc
518 %{_datadir}/ri
519 %{_datadir}/doc/ruby
520
521 %files -n %{libname}
522 %{_libdir}/libruby.so.%{subver}
523 %{_libdir}/libruby.so.%{rubyapi}
524
525 %files devel
526 %{_includedir}/*
527 %{_libdir}/libruby-static.a
528 %{_libdir}/libruby.so
529 %{_libdir}/pkgconfig/*.pc
530
531 %files tk
532 %{ruby_libarchdir}/tcltklib.so
533 %{ruby_libarchdir}/tkutil.so
534 %{ruby_libdir}/multi-tk.rb
535 %{ruby_libdir}/remote-tk.rb
536 %{ruby_libdir}/tcltk.rb
537 %{ruby_libdir}/tk.rb
538 %{ruby_libdir}/tkafter.rb
539 %{ruby_libdir}/tkbgerror.rb
540 %{ruby_libdir}/tkcanvas.rb
541 %{ruby_libdir}/tkclass.rb
542 %{ruby_libdir}/tkconsole.rb
543 %{ruby_libdir}/tkdialog.rb
544 %{ruby_libdir}/tkentry.rb
545 %{ruby_libdir}/tkfont.rb
546 %{ruby_libdir}/tkmacpkg.rb
547 %{ruby_libdir}/tkmenubar.rb
548 %{ruby_libdir}/tkmngfocus.rb
549 %{ruby_libdir}/tkpalette.rb
550 %{ruby_libdir}/tkscrollbox.rb
551 %{ruby_libdir}/tktext.rb
552 %{ruby_libdir}/tkvirtevent.rb
553 %{ruby_libdir}/tkwinpkg.rb
554 %{ruby_libdir}/tk
555 %{ruby_libdir}/tkextlib
556
557 %files irb
558 %{_bindir}/irb
559 %{ruby_libdir}/irb.rb
560 %{ruby_libdir}/irb
561 %{_mandir}/man1/irb.1*
562
563 %if %build_gems
564 %files RubyGems
565 %{_bindir}/gem
566 %dir %{rubygems_dir}
567 %{rubygems_dir}/rbconfig
568 %{rubygems_dir}/rubygems
569 %{rubygems_dir}/rubygems.rb
570 %{rubygems_dir}/ubygems.rb
571
572 %files minitest
573 %{ruby_libdir}/minitest
574 %{rubygems_dir}/specifications/default/minitest-*.gemspec
575
576 %files rake
577 %{_bindir}/rake
578 %{_mandir}/man1/rake.1.*
579 %{ruby_libdir}/rake
580 %{gems_dir}/gems/rake-*
581 %{gems_dir}/specifications/default/rake-*.gemspec
582
583 %files rdoc
584 %{_bindir}/rdoc
585 %{_bindir}/ri
586 %{ruby_libdir}/rdoc
587 %{gems_dir}/gems/rdoc-*
588 %{gems_dir}/specifications/default/rdoc-*.gemspec
589 %{_mandir}/man1/ri.1.*
590
591 %files json
592 %dir %{ruby_libarchdir}/json
593 %dir %{ruby_libarchdir}/json/ext
594 %{ruby_libarchdir}/json/ext/*.so
595 %{ruby_libdir}/json
596 %{gems_dir}/specifications/default/json-*.gemspec
597
598 %files bigdecimal
599 %{ruby_libdir}/bigdecimal
600 %{ruby_libarchdir}/bigdecimal.so
601 %{gems_dir}/specifications/default/bigdecimal-*.gemspec
602
603 %files io-console
604 %{ruby_libdir}/io
605 %{ruby_libarchdir}/io/console.so
606 %{gems_dir}/specifications/default/io-console-*.gemspec
607
608 %files psych
609 %{ruby_libdir}/psych
610 %{ruby_libarchdir}/psych.so
611 %{gems_dir}/specifications/default/psych-*.gemspec
612
613 %files test-unit
614 %{_bindir}/testrb
615 %{ruby_libdir}/test
616 %{gems_dir}/gems/test-unit-*
617 %{rubygems_dir}/specifications/default/test-unit-*.gemspec
618 %endif

  ViewVC Help
Powered by ViewVC 1.1.28