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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1187965 - (hide annotations) (download)
Sat Dec 30 17:15:36 2017 UTC (2 years, 8 months ago) by luigiwalser
File size: 19014 byte(s)
add patches from debian to fix CVE-2017-17405 and CVE-2017-17790
1 pterjan 435211 %define subver 2.0
2     %define rubyapi 2.0.0
3     %define rubyver 2.0.0
4 luigiwalser 920553 %define patchversion p648
5 pterjan 796908 %define rel 1
6 luigiwalser 1187965 %define subrel 6
7 blino 1152
8 fwang 291590 %define libname %mklibname ruby %{subver}
9    
10 fwang 291557 %define ruby_libdir %{_datadir}/%{name}
11     %define ruby_libarchdir %{_libdir}/%{name}
12    
13 fwang 290007 # This is the local lib/arch and should not be used for packaging.
14 fwang 291557 %define ruby_sitelibdir %{_datadir}/ruby/site_ruby
15     %define ruby_sitearchdir %{_libdir}/ruby/site_ruby
16 fwang 290007
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 fwang 291551 %define ruby_vendorlibdir %{_datadir}/ruby/vendor_ruby
20 fwang 291557 %define ruby_vendorarchdir %{_libdir}/ruby/vendor_ruby
21 fwang 290007
22 pterjan 601596 # The RubyGems library has to stay out of Ruby directory tree, since the
23     # RubyGems should be shared by all Ruby implementations.
24 pterjan 560984 %define rubygems_dir %{_datadir}/rubygems
25 pterjan 560987 %define gems_dir %{_datadir}/ruby/gems
26 pterjan 435211 %define rubygems_version 2.0.2
27 fwang 290007
28 fwang 468908 %define bootstrap 0
29 fwang 468812 %define build_gems 0
30 fwang 292558
31 blino 1152 Summary: Object Oriented Script Language
32     Name: ruby
33     Version: %{rubyver}.%{patchversion}
34     Release: %mkrel %rel
35 kamil 397518 License: Ruby or BSD
36 blino 1152 Group: Development/Ruby
37     BuildRequires: autoconf
38     BuildRequires: byacc
39 shlomif 291698 BuildRequires: doxygen
40 blino 1152 BuildRequires: ncurses-devel
41     BuildRequires: readline-devel
42 ovitters 648773 BuildRequires: tcl-devel
43     BuildRequires: tk-devel
44 fwang 276350 BuildRequires: db-devel
45 fwang 176940 BuildRequires: gdbm-devel >= 1.8.3
46 blino 1152 BuildRequires: openssl-devel
47     BuildRequires: zlib-devel
48 fwang 289987 BuildRequires: libffi-devel
49     BuildRequires: yaml-devel
50 fwang 289998 BuildRequires: rpm-mageia-setup >= 1.158
51 tv 674762 Conflicts: ruby-devel < 2.0.0.p451-4.mga5
52 blino 1152 Obsoletes: ruby-rexml
53     Provides: ruby-rexml
54 pterjan 435566 # Couldn't get the standalone gem to work
55     Provides: rubygem(psych)
56 blino 1152 # explicit file provides (since such requires are automatically added by find-requires)
57     Provides: /usr/bin/ruby
58 fwang 293445 Provides: ruby(abi) = %rubyapi
59 fwang 463762 Source0: http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}-%{patchversion}.tar.bz2
60 pterjan 435211 Source1: operating_system.rb
61 blino 1152 Source3: ruby.macros
62 tv 673709 # From FC:
63     # RPM dependency generators.
64     Source8: rubygems.attr
65     Source9: rubygems.req
66     Source10: rubygems.prov
67 blino 1152 URL: http://www.ruby-lang.org/
68 fwang 292558 %if !%bootstrap
69     Requires: rubygems >= %{rubygems_version}
70 fwang 293395 BuildRequires: ruby
71 fwang 292558 %endif
72 blino 1152
73 fwang 290007 # == FEDORA PATCHES BEGINS ==
74 pterjan 435211 # 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 fwang 290007 # 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 pterjan 435211 # 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 fwang 290007 # == FEDORA PATCHES ENDS ==
99 pterjan 601634 # 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 fwang 290007
103 luigiwalser 795834 Patch21: ruby-2.0.0-CVE-2014-4975.patch
104 pterjan 1058297 Patch22: ruby-2.0.0-CVE-2016-7798.patch
105 pterjan 1109440 Patch23: ruby-2.0.0-CVE-2016-2339.patch
106 pterjan 1141714 Patch24: ruby-2.0.0-CVE-2015-9096.patch
107     Patch25: ruby-2.0.0-CVE-2016-2337.patch
108 pterjan 1170821 Patch26: ruby-2.0.0-CVE-2017-14064.patch
109 pterjan 1170822 Patch27: ruby-2.0.0-CVE-2017-14033.patch
110 pterjan 1170823 Patch28: ruby-2.0.0-CVE-2017-10784.patch
111 pterjan 1170824 Patch29: ruby-2.0.0-CVE-2017-0898.patch
112 luigiwalser 1187965 Patch30: ruby-2.0.0-CVE-2017-17405.patch
113     Patch31: ruby-2.0.0-CVE-2017-17790.patch
114 luigiwalser 795834
115 fwang 291591 %package -n %{libname}
116 fwang 291590 Summary: Libraries necessary to run Ruby
117     Group: Development/Ruby
118    
119 blino 1152 %package doc
120     Summary: Documentation for the powerful language Ruby
121     Group: Development/Ruby
122 fwang 202696 BuildArch: noarch
123 blino 1152
124     %package devel
125     Summary: Development file for the powerful language Ruby
126     Group: Development/Ruby
127 fwang 311925 Requires: %{name} = %{version}
128     Requires: %{libname} = %{version}
129 blino 1152
130     %package tk
131     Summary: Tk extension for the powerful language Ruby
132     Group: Development/Ruby
133 fwang 311925 Requires: %{name} = %{version}
134 blino 1152
135 fwang 291551 %package RubyGems
136     Summary: The Ruby standard for packaging ruby libraries
137     Group: Development/Ruby
138 fwang 291590 Version: %{rubygems_version}
139 fwang 291551 Requires: ruby(abi) = %{subver}
140 fwang 291590 Provides: gem = %{rubygems_version}
141     Provides: rubygems = %{rubygems_version}
142     Provides: ruby(rubygems) = %{rubygems_version}
143 fwang 292586 Conflicts: rpm-mageia-setup-build < 1.159
144 fwang 291561 BuildArch: noarch
145 fwang 291551
146 pterjan 435211 %define rake_ver 0.9.6
147 fwang 291551 %package rake
148     Summary: Simple ruby build program with capabilities similar to make
149     Group: Development/Ruby
150 shlomif 291767 Version: %{rake_ver}
151 fwang 291551 Requires: ruby(abi) = %{subver}
152 fwang 291561 BuildArch: noarch
153 fwang 291551
154 pterjan 435211 %define minitest_ver 4.3.2
155 fwang 291562 %package minitest
156 shlomif 291733 Summary: Minitest provides a complete suite of testing facilities
157 fwang 291562 Group: Development/Ruby
158 shlomif 291767 Version: %{minitest_ver}
159 fwang 291562 License: MIT
160 fwang 291590 Requires: ruby(abi) = %{subver}
161     Requires: ruby(rubygems) >= %{rubygems_version}
162 fwang 291562 BuildArch: noarch
163    
164 pterjan 435211 %define json_ver 1.7.7
165 fwang 291562 %package json
166     Summary: This is a JSON implementation as a Ruby extension in C
167     Group: Development/Ruby
168 shlomif 291767 Version: %{json_ver}
169 fwang 291562 License: Ruby or GPLv2
170 fwang 291590 Requires: ruby(abi) = %{subver}
171     Requires: ruby(rubygems) >= %{rubygems_version}
172 fwang 291562
173 pterjan 435211 %define rdoc_ver 4.0.0
174 fwang 291562 %package rdoc
175     Summary: A tool to generate HTML and command-line documentation for Ruby projects
176     Group: Development/Ruby
177 shlomif 291767 Version: %{rdoc_ver}
178 fwang 291562 License: GPLv2 and Ruby and MIT
179 fwang 291590 Requires: ruby(abi) = %{subver}
180     Requires: ruby(rubygems) >= %{rubygems_version}
181     Requires: ruby(irb) = %{version}
182 shlomif 291767 Provides: rdoc = %{rdoc_ver}
183     Provides: ri = %{rdoc_ver}
184 fwang 291562 BuildArch: noarch
185    
186 fwang 291590 %package irb
187     Summary: The Interactive Ruby
188     Group: Development/Ruby
189     Provides: irb = %{version}-%{release}
190     Provides: ruby(irb) = %{version}-%{release}
191 fwang 313459 Conflicts: ruby < 1.9
192 fwang 313460 BuildArch: noarch
193 fwang 291590
194 pterjan 435211 %define bigdecimal_ver 1.2.0
195 fwang 291590 %package bigdecimal
196     Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic
197     Group: Development/Ruby
198 pterjan 435211 Version: %{bigdecimal_ver}
199 fwang 291590 License: GPL+ or Artistic
200     Requires: ruby(abi) = %{subver}
201     Requires: ruby(rubygems) >= %{rubygems_version}
202    
203 pterjan 435211 %define io_console_ver 0.4.2
204 fwang 291590 %package io-console
205     Summary: IO/Console is a simple console utilizing library
206     Group: Development/Ruby
207 pterjan 435211 Version: %{io_console_ver}
208 fwang 291590 Requires: ruby(abi) = %{subver}
209     Requires: ruby(rubygems) >= %{rubygems_version}
210    
211 pterjan 435211 %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 blino 1152 %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 fwang 291590 %description -n %{libname}
247     This package includes the libruby, necessary to run Ruby.
248    
249 blino 1152 %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 fwang 291551 %description RubyGems
266     RubyGems is the Ruby standard for publishing and managing third party
267     libraries.
268    
269 fwang 291552 %description rake
270     Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
271     specified in standard Ruby syntax.
272    
273 fwang 291562 %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 fwang 291590 %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 pterjan 435211 %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 blino 1152 %prep
329     %setup -q -n ruby-%{rubyver}-%{patchversion}
330 fwang 290007 %apply_patches
331 pterjan 391153 # When patching mkmf.rb the mkmf.rb.0010 gets installed
332     rm lib/mkmf.rb.0*
333 blino 1152
334     %build
335 fwang 290038 autoconf
336 blino 1152 CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'`
337 pterjan 435211 %configure2_5x --enable-shared --disable-rpath --enable-pthread \
338 fwang 291557 --with-rubylibprefix='%{ruby_libdir}' \
339 pterjan 435211 --with-rubyarchprefix='%{ruby_libarchdir}' \
340 fwang 290007 --with-sitedir='%{ruby_sitelibdir}' \
341     --with-sitearchdir='%{ruby_sitearchdir}' \
342     --with-vendordir='%{ruby_vendorlibdir}' \
343     --with-vendorarchdir='%{ruby_vendorarchdir}' \
344 fwang 291559 --with-rubyhdrdir='%{_includedir}' \
345 pterjan 435211 --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 blino 1152 %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 fwang 289961
371 tv 673709 # 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 pterjan 435211 # Install custom operating_system.rb
378     mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
379     cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
380    
381 pterjan 617250 # 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 fwang 293412 # drop gems if not wanted, so that we could split them out as seperated source rpm
386     %if !%build_gems
387 pterjan 435211 rm -f %{buildroot}%{_bindir}/{rake,rdoc,ri,testrb}
388 fwang 293421 rm -f %{buildroot}%{_mandir}/man1/{rake,ri}.*
389 pterjan 435566 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 pterjan 560987 rm -fr %{buildroot}%{gems_dir}/{gems,specifications}
392 fwang 311915 %if !%bootstrap
393 fwang 311914 rm -f %{buildroot}%{_bindir}/gem
394 fwang 311924 rm -fr %{buildroot}%{rubygems_dir}/rbconfig
395     rm -fr %{buildroot}%{rubygems_dir}/rubygems
396 fwang 311914 rm -f %{buildroot}%{rubygems_dir}/rubygems.rb
397     rm -f %{buildroot}%{rubygems_dir}/ubygems.rb
398 fwang 293412 %endif
399 fwang 311914 %endif
400 fwang 293412
401 blino 1152 %check
402     make test
403    
404 fwang 289961 %files
405 fwang 291551 %{_bindir}/erb
406     %{_bindir}/ruby
407 fwang 291560 %dir %{ruby_libdir}
408     %{ruby_libdir}/*.rb
409 fwang 291590 %exclude %{ruby_libdir}/irb.rb
410 fwang 291560 %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 pterjan 435566 %{ruby_libdir}/psych
441 fwang 291560 %{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 pterjan 435211 %{ruby_libdir}/syslog
449 fwang 291560 %{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 fwang 291562 %dir %{ruby_libarchdir}/enc/trans
468     %{ruby_libarchdir}/enc/trans/*.so
469 fwang 291560 %{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 fwang 291562 %{ruby_libarchdir}/mathn/*.so
479 fwang 291560 %{ruby_libarchdir}/nkf.so
480     %{ruby_libarchdir}/objspace.so
481     %{ruby_libarchdir}/openssl.so
482 pterjan 435566 %{ruby_libarchdir}/psych.so
483 fwang 291560 %{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 fwang 291551 %{_mandir}/man1/erb.1.*
497     %{_mandir}/man1/ruby.1.*
498 blino 1152 %{_datadir}/emacs/site-lisp/*
499     %config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
500     %{_sysconfdir}/rpm/macros.d/%{name}.macros
501 fwang 291560 %{_datadir}/ruby/site_ruby
502     %{_libdir}/ruby/site_ruby
503     %{_datadir}/ruby/vendor_ruby
504     %{_libdir}/ruby/vendor_ruby
505 fwang 311914 %if %bootstrap
506     %{_bindir}/gem
507 fwang 448831 %dir %{rubygems_dir}
508     %{rubygems_dir}/rbconfig
509     %{rubygems_dir}/rubygems
510     %{rubygems_dir}/rubygems.rb
511     %{rubygems_dir}/ubygems.rb
512 fwang 311914 %endif
513 tv 674762 %{_rpmconfigdir}/fileattrs/rubygems.attr
514     %{_rpmconfigdir}/rubygems.req
515     %{_rpmconfigdir}/rubygems.prov
516 blino 1152
517     %files doc
518     %{_datadir}/ri
519 pterjan 435211 %{_datadir}/doc/ruby
520 blino 1152
521 fwang 291590 %files -n %{libname}
522     %{_libdir}/libruby.so.%{subver}
523     %{_libdir}/libruby.so.%{rubyapi}
524    
525 blino 1152 %files devel
526 fwang 290003 %{_includedir}/*
527 blino 1152 %{_libdir}/libruby-static.a
528     %{_libdir}/libruby.so
529 fwang 290003 %{_libdir}/pkgconfig/*.pc
530 blino 1152
531     %files tk
532 fwang 291560 %{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 fwang 291551
557 fwang 293412 %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 fwang 291551 %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 fwang 291562 %files minitest
573     %{ruby_libdir}/minitest
574 pterjan 435211 %{rubygems_dir}/specifications/default/minitest-*.gemspec
575 fwang 291562
576 fwang 291551 %files rake
577     %{_bindir}/rake
578     %{_mandir}/man1/rake.1.*
579 fwang 291562 %{ruby_libdir}/rake
580 pterjan 560987 %{gems_dir}/gems/rake-*
581     %{gems_dir}/specifications/default/rake-*.gemspec
582 fwang 291562
583     %files rdoc
584     %{_bindir}/rdoc
585     %{_bindir}/ri
586     %{ruby_libdir}/rdoc
587 pterjan 560987 %{gems_dir}/gems/rdoc-*
588     %{gems_dir}/specifications/default/rdoc-*.gemspec
589 fwang 291562 %{_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 pterjan 560987 %{gems_dir}/specifications/default/json-*.gemspec
597 fwang 291590
598     %files bigdecimal
599     %{ruby_libdir}/bigdecimal
600     %{ruby_libarchdir}/bigdecimal.so
601 pterjan 560987 %{gems_dir}/specifications/default/bigdecimal-*.gemspec
602 fwang 291590
603     %files io-console
604     %{ruby_libdir}/io
605     %{ruby_libarchdir}/io/console.so
606 pterjan 560987 %{gems_dir}/specifications/default/io-console-*.gemspec
607 pterjan 435211
608     %files psych
609     %{ruby_libdir}/psych
610     %{ruby_libarchdir}/psych.so
611 pterjan 560987 %{gems_dir}/specifications/default/psych-*.gemspec
612 pterjan 435211
613     %files test-unit
614     %{_bindir}/testrb
615     %{ruby_libdir}/test
616 pterjan 560987 %{gems_dir}/gems/test-unit-*
617 pterjan 435211 %{rubygems_dir}/specifications/default/test-unit-*.gemspec
618 fwang 293378 %endif

  ViewVC Help
Powered by ViewVC 1.1.28