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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.28