1 |
fwang |
289958 |
%define subver 1.9 |
2 |
fwang |
290007 |
%define rubyapi 1.9.1 |
3 |
fwang |
289958 |
%define rubyver 1.9.3 |
4 |
|
|
%define patchversion p194 |
5 |
fwang |
293379 |
%define rel 9 |
6 |
blino |
1152 |
|
7 |
fwang |
291590 |
%define libname %mklibname ruby %{subver} |
8 |
|
|
|
9 |
fwang |
291557 |
%define ruby_libdir %{_datadir}/%{name} |
10 |
|
|
%define ruby_libarchdir %{_libdir}/%{name} |
11 |
|
|
|
12 |
fwang |
290007 |
# This is the local lib/arch and should not be used for packaging. |
13 |
fwang |
291557 |
%define ruby_sitelibdir %{_datadir}/ruby/site_ruby |
14 |
|
|
%define ruby_sitearchdir %{_libdir}/ruby/site_ruby |
15 |
fwang |
290007 |
|
16 |
|
|
# This is the general location for libs/archs compatible with all |
17 |
|
|
# or most of the Ruby versions available in the Fedora repositories. |
18 |
fwang |
291551 |
%define ruby_vendorlibdir %{_datadir}/ruby/vendor_ruby |
19 |
fwang |
291557 |
%define ruby_vendorarchdir %{_libdir}/ruby/vendor_ruby |
20 |
fwang |
290007 |
|
21 |
|
|
# The RubyGems library has to stay out of Ruby directory three, since the |
22 |
|
|
# RubyGems should be share by all Ruby implementations. |
23 |
fwang |
291557 |
%define rubygems_dir %{_datadir}/ruby/gems |
24 |
fwang |
291590 |
%define rubygems_version 1.8.23 |
25 |
fwang |
290007 |
|
26 |
fwang |
293395 |
%define bootstrap 0 |
27 |
fwang |
293412 |
%define build_gems 0 |
28 |
fwang |
292558 |
|
29 |
blino |
1152 |
Summary: Object Oriented Script Language |
30 |
|
|
Name: ruby |
31 |
fwang |
291590 |
Epoch: 1 |
32 |
blino |
1152 |
Version: %{rubyver}.%{patchversion} |
33 |
|
|
Release: %mkrel %rel |
34 |
|
|
License: Ruby or GPLv2 |
35 |
|
|
Group: Development/Ruby |
36 |
|
|
BuildRequires: autoconf |
37 |
|
|
BuildRequires: byacc |
38 |
shlomif |
291698 |
BuildRequires: doxygen |
39 |
blino |
1152 |
BuildRequires: ncurses-devel |
40 |
|
|
BuildRequires: readline-devel |
41 |
|
|
BuildRequires: tcl-devel tk-devel |
42 |
fwang |
276350 |
BuildRequires: db-devel |
43 |
fwang |
176940 |
BuildRequires: gdbm-devel >= 1.8.3 |
44 |
blino |
1152 |
BuildRequires: openssl-devel |
45 |
|
|
BuildRequires: zlib-devel |
46 |
fwang |
289987 |
BuildRequires: libffi-devel |
47 |
|
|
BuildRequires: yaml-devel |
48 |
fwang |
289998 |
BuildRequires: rpm-mageia-setup >= 1.158 |
49 |
blino |
1152 |
Obsoletes: ruby-rexml |
50 |
|
|
Provides: ruby-rexml |
51 |
|
|
# explicit file provides (since such requires are automatically added by find-requires) |
52 |
|
|
Provides: /usr/bin/ruby |
53 |
|
|
Provides: ruby(abi) = %subver |
54 |
|
|
|
55 |
fwang |
289958 |
Source0: http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}-%{patchversion}.tar.bz2 |
56 |
blino |
1152 |
Source3: ruby.macros |
57 |
|
|
URL: http://www.ruby-lang.org/ |
58 |
fwang |
292558 |
%if !%bootstrap |
59 |
|
|
Requires: rubygems >= %{rubygems_version} |
60 |
fwang |
293395 |
BuildRequires: ruby |
61 |
fwang |
292558 |
%endif |
62 |
blino |
1152 |
|
63 |
fwang |
290007 |
# == FEDORA PATCHES BEGINS == |
64 |
|
|
# http://redmine.ruby-lang.org/issues/5231 |
65 |
|
|
Patch0: ruby-1.9.3-disable-versioned-paths.patch |
66 |
|
|
# TODO: Should be submitted upstream? |
67 |
|
|
Patch1: ruby-1.9.3-arch-specific-dir.patch |
68 |
|
|
# http://redmine.ruby-lang.org/issues/5281 |
69 |
|
|
Patch2: ruby-1.9.3-added-site-and-vendor-arch-flags.patch |
70 |
|
|
# http://redmine.ruby-lang.org/issues/5465 |
71 |
|
|
Patch4: ruby-1.9.3-fix-s390x-build.patch |
72 |
|
|
# Fix the uninstaller, so that it doesn't say that gem doesn't exist |
73 |
|
|
# when it exists outside of the GEM_HOME (already fixed in the upstream) |
74 |
|
|
Patch5: ruby-1.9.3-rubygems-1.8.11-uninstaller.patch |
75 |
|
|
# http://redmine.ruby-lang.org/issues/5135 - see comment 29 |
76 |
|
|
Patch6: ruby-1.9.3-webrick-test-fix.patch |
77 |
|
|
# Already fixed upstream: |
78 |
|
|
# https://github.com/ruby/ruby/commit/f212df564a4e1025f9fb019ce727022a97bfff53 |
79 |
|
|
Patch7: ruby-1.9.3-bignum-test-fix.patch |
80 |
|
|
# Allows to install RubyGems into custom directory, outside of Ruby's tree. |
81 |
|
|
# http://redmine.ruby-lang.org/issues/5617 |
82 |
|
|
Patch8: ruby-1.9.3-custom-rubygems-location.patch |
83 |
|
|
# Add support for installing binary extensions according to FHS. |
84 |
|
|
# https://github.com/rubygems/rubygems/issues/210 |
85 |
|
|
Patch9: rubygems-1.8.11-binary-extensions.patch |
86 |
|
|
# == FEDORA PATCHES ENDS == |
87 |
|
|
|
88 |
fwang |
291591 |
%package -n %{libname} |
89 |
fwang |
291590 |
Summary: Libraries necessary to run Ruby |
90 |
|
|
Group: Development/Ruby |
91 |
|
|
|
92 |
blino |
1152 |
%package doc |
93 |
|
|
Summary: Documentation for the powerful language Ruby |
94 |
|
|
Group: Development/Ruby |
95 |
fwang |
202696 |
BuildArch: noarch |
96 |
blino |
1152 |
|
97 |
|
|
%package devel |
98 |
|
|
Summary: Development file for the powerful language Ruby |
99 |
|
|
Group: Development/Ruby |
100 |
fwang |
291590 |
Requires: %{name} = %{epoch}:%{version} |
101 |
|
|
Requires: %{libname} = %{epoch}:%{version} |
102 |
blino |
1152 |
|
103 |
|
|
%package tk |
104 |
|
|
Summary: Tk extension for the powerful language Ruby |
105 |
|
|
Group: Development/Ruby |
106 |
fwang |
291590 |
Requires: %{name} = %{epoch}:%{version} |
107 |
blino |
1152 |
|
108 |
fwang |
291551 |
%package RubyGems |
109 |
|
|
Summary: The Ruby standard for packaging ruby libraries |
110 |
|
|
Group: Development/Ruby |
111 |
fwang |
291590 |
Version: %{rubygems_version} |
112 |
fwang |
291551 |
Requires: ruby(abi) = %{subver} |
113 |
fwang |
291590 |
Provides: gem = %{rubygems_version} |
114 |
|
|
Provides: rubygems = %{rubygems_version} |
115 |
|
|
Provides: ruby(rubygems) = %{rubygems_version} |
116 |
fwang |
292586 |
Conflicts: rpm-mageia-setup-build < 1.159 |
117 |
fwang |
291561 |
BuildArch: noarch |
118 |
fwang |
291551 |
|
119 |
fwang |
292839 |
%define rake_ver 0.9.2.2 |
120 |
fwang |
291551 |
%package rake |
121 |
|
|
Summary: Simple ruby build program with capabilities similar to make |
122 |
|
|
Group: Development/Ruby |
123 |
shlomif |
291767 |
Version: %{rake_ver} |
124 |
fwang |
291551 |
Requires: ruby(abi) = %{subver} |
125 |
shlomif |
291767 |
Provides: rubygem(rake) = %{rake_ver} |
126 |
fwang |
291561 |
BuildArch: noarch |
127 |
fwang |
291551 |
|
128 |
shlomif |
291767 |
%define minitest_ver 2.5.1 |
129 |
fwang |
291562 |
%package minitest |
130 |
shlomif |
291733 |
Summary: Minitest provides a complete suite of testing facilities |
131 |
fwang |
291562 |
Group: Development/Ruby |
132 |
shlomif |
291767 |
Version: %{minitest_ver} |
133 |
fwang |
291562 |
License: MIT |
134 |
fwang |
291590 |
Requires: ruby(abi) = %{subver} |
135 |
|
|
Requires: ruby(rubygems) >= %{rubygems_version} |
136 |
shlomif |
291767 |
Provides: rubygem(minitest) = %{minitest_ver} |
137 |
fwang |
291562 |
BuildArch: noarch |
138 |
|
|
|
139 |
shlomif |
291767 |
%define json_ver 1.5.4 |
140 |
fwang |
291562 |
%package json |
141 |
|
|
Summary: This is a JSON implementation as a Ruby extension in C |
142 |
|
|
Group: Development/Ruby |
143 |
shlomif |
291767 |
Version: %{json_ver} |
144 |
fwang |
291562 |
License: Ruby or GPLv2 |
145 |
fwang |
291590 |
Requires: ruby(abi) = %{subver} |
146 |
|
|
Requires: ruby(rubygems) >= %{rubygems_version} |
147 |
shlomif |
291767 |
Provides: rubygem(json) = %{json_ver} |
148 |
fwang |
291562 |
|
149 |
shlomif |
291767 |
%define rdoc_ver 3.9.4 |
150 |
fwang |
291562 |
%package rdoc |
151 |
|
|
Summary: A tool to generate HTML and command-line documentation for Ruby projects |
152 |
|
|
Group: Development/Ruby |
153 |
shlomif |
291767 |
Version: %{rdoc_ver} |
154 |
fwang |
291562 |
License: GPLv2 and Ruby and MIT |
155 |
fwang |
291590 |
Requires: ruby(abi) = %{subver} |
156 |
|
|
Requires: ruby(rubygems) >= %{rubygems_version} |
157 |
|
|
Requires: ruby(irb) = %{version} |
158 |
shlomif |
291767 |
Provides: rdoc = %{rdoc_ver} |
159 |
|
|
Provides: ri = %{rdoc_ver} |
160 |
fwang |
291562 |
BuildArch: noarch |
161 |
|
|
|
162 |
fwang |
291590 |
%package irb |
163 |
|
|
Summary: The Interactive Ruby |
164 |
|
|
Group: Development/Ruby |
165 |
|
|
Provides: irb = %{version}-%{release} |
166 |
|
|
Provides: ruby(irb) = %{version}-%{release} |
167 |
|
|
BuildArch: noarch |
168 |
|
|
|
169 |
|
|
%package bigdecimal |
170 |
|
|
Summary: BigDecimal provides arbitrary-precision floating point decimal arithmetic |
171 |
|
|
Group: Development/Ruby |
172 |
|
|
Version: 1.1.0 |
173 |
|
|
License: GPL+ or Artistic |
174 |
|
|
Requires: ruby(abi) = %{subver} |
175 |
|
|
Requires: ruby(rubygems) >= %{rubygems_version} |
176 |
|
|
Provides: rubygem(bigdecimal) = 1.1.0 |
177 |
|
|
|
178 |
|
|
%package io-console |
179 |
|
|
Summary: IO/Console is a simple console utilizing library |
180 |
|
|
Group: Development/Ruby |
181 |
|
|
Version: 0.3 |
182 |
|
|
Requires: ruby(abi) = %{subver} |
183 |
|
|
Requires: ruby(rubygems) >= %{rubygems_version} |
184 |
|
|
Provides: rubygem(io-console) = 0.3 |
185 |
|
|
|
186 |
blino |
1152 |
%description |
187 |
|
|
Ruby is the interpreted scripting language for quick and |
188 |
|
|
easy object-oriented programming. It has many features to |
189 |
|
|
process text files and to do system management tasks (as in |
190 |
|
|
Perl). It is simple, straight-forward, and extensible. |
191 |
|
|
|
192 |
|
|
%description doc |
193 |
|
|
Ruby is the interpreted scripting language for quick and |
194 |
|
|
easy object-oriented programming. It has many features to |
195 |
|
|
process text files and to do system management tasks (as in |
196 |
|
|
Perl). It is simple, straight-forward, and extensible. |
197 |
|
|
|
198 |
|
|
This package contains the Ruby's documentation |
199 |
|
|
|
200 |
fwang |
291590 |
%description -n %{libname} |
201 |
|
|
This package includes the libruby, necessary to run Ruby. |
202 |
|
|
|
203 |
blino |
1152 |
%description devel |
204 |
|
|
Ruby is the interpreted scripting language for quick and |
205 |
|
|
easy object-oriented programming. It has many features to |
206 |
|
|
process text files and to do system management tasks (as in |
207 |
|
|
Perl). It is simple, straight-forward, and extensible. |
208 |
|
|
|
209 |
|
|
This package contains the Ruby's devel files. |
210 |
|
|
|
211 |
|
|
%description tk |
212 |
|
|
Ruby is the interpreted scripting language for quick and |
213 |
|
|
easy object-oriented programming. It has many features to |
214 |
|
|
process text files and to do system management tasks (as in |
215 |
|
|
Perl). It is simple, straight-forward, and extensible. |
216 |
|
|
|
217 |
|
|
This package contains the Tk extension for Ruby. |
218 |
|
|
|
219 |
fwang |
291551 |
%description RubyGems |
220 |
|
|
RubyGems is the Ruby standard for publishing and managing third party |
221 |
|
|
libraries. |
222 |
|
|
|
223 |
fwang |
291552 |
%description rake |
224 |
|
|
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are |
225 |
|
|
specified in standard Ruby syntax. |
226 |
|
|
|
227 |
fwang |
291562 |
%description rdoc |
228 |
|
|
RDoc produces HTML and command-line documentation for Ruby projects. RDoc |
229 |
|
|
includes the 'rdoc' and 'ri' tools for generating and displaying online |
230 |
|
|
documentation. |
231 |
|
|
|
232 |
|
|
%description json |
233 |
|
|
This is a implementation of the JSON specification according to RFC 4627. |
234 |
|
|
You can think of it as a low fat alternative to XML, if you want to store |
235 |
|
|
data to disk or transmit it over a network rather than use a verbose |
236 |
|
|
markup language. |
237 |
|
|
|
238 |
|
|
%description minitest |
239 |
|
|
minitest/unit is a small and incredibly fast unit testing framework. |
240 |
|
|
|
241 |
|
|
minitest/spec is a functionally complete spec engine. |
242 |
|
|
|
243 |
|
|
minitest/benchmark is an awesome way to assert the performance of your |
244 |
|
|
algorithms in a repeatable manner. |
245 |
|
|
|
246 |
|
|
minitest/mock by Steven Baker, is a beautifully tiny mock object |
247 |
|
|
framework. |
248 |
|
|
|
249 |
|
|
minitest/pride shows pride in testing and adds coloring to your test |
250 |
|
|
output. |
251 |
|
|
|
252 |
fwang |
291590 |
%description irb |
253 |
|
|
The irb is acronym for Interactive Ruby. It evaluates ruby expression |
254 |
|
|
from the terminal. |
255 |
|
|
|
256 |
|
|
%description bigdecimal |
257 |
|
|
Ruby provides built-in support for arbitrary precision integer arithmetic. |
258 |
|
|
For example: |
259 |
|
|
|
260 |
|
|
42**13 -> 1265437718438866624512 |
261 |
|
|
|
262 |
|
|
BigDecimal provides similar support for very large or very accurate floating |
263 |
|
|
point numbers. Decimal arithmetic is also useful for general calculation, |
264 |
|
|
because it provides the correct answers people expect–whereas normal binary |
265 |
|
|
floating point arithmetic often introduces subtle errors because of the |
266 |
|
|
conversion between base 10 and base 2. |
267 |
|
|
|
268 |
|
|
%description io-console |
269 |
|
|
IO/Console provides very simple and portable access to console. It doesn't |
270 |
|
|
provide higher layer features, such like curses and readline. |
271 |
|
|
|
272 |
blino |
1152 |
%prep |
273 |
|
|
%setup -q -n ruby-%{rubyver}-%{patchversion} |
274 |
fwang |
290007 |
%apply_patches |
275 |
blino |
1152 |
|
276 |
|
|
%build |
277 |
fwang |
290038 |
autoconf |
278 |
blino |
1152 |
CFLAGS=`echo %optflags | sed 's/-fomit-frame-pointer//'` |
279 |
fwang |
291557 |
%configure2_5x --enable-shared --disable-rpath --enable-pthread --disable-versioned-paths \ |
280 |
|
|
--with-rubylibprefix='%{ruby_libdir}' \ |
281 |
|
|
--with-archdir='%{ruby_libarchdir}' \ |
282 |
fwang |
290007 |
--with-sitedir='%{ruby_sitelibdir}' \ |
283 |
|
|
--with-sitearchdir='%{ruby_sitearchdir}' \ |
284 |
|
|
--with-vendordir='%{ruby_vendorlibdir}' \ |
285 |
|
|
--with-vendorarchdir='%{ruby_vendorarchdir}' \ |
286 |
fwang |
291559 |
--with-rubyhdrdir='%{_includedir}' \ |
287 |
fwang |
293412 |
--with-rubygemsdir='%{rubygems_dir}' |
288 |
blino |
1152 |
%make |
289 |
|
|
|
290 |
|
|
%install |
291 |
|
|
%makeinstall_std install-doc |
292 |
|
|
|
293 |
|
|
install -d %buildroot%{_datadir}/emacs/site-lisp |
294 |
|
|
cp -a misc/ruby-mode.el %buildroot%{_datadir}/emacs/site-lisp |
295 |
|
|
|
296 |
|
|
install -d %buildroot%{_sysconfdir}/emacs/site-start.d |
297 |
|
|
cat <<EOF >%buildroot%{_sysconfdir}/emacs/site-start.d/%{name}.el |
298 |
|
|
(autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t) |
299 |
|
|
(add-to-list 'auto-mode-alist '("\\\\.rb$" . ruby-mode)) |
300 |
|
|
(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) |
301 |
|
|
EOF |
302 |
|
|
|
303 |
|
|
# Install the rpm macros |
304 |
|
|
mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d |
305 |
|
|
cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d |
306 |
fwang |
289961 |
|
307 |
fwang |
293412 |
# drop gems if not wanted, so that we could split them out as seperated source rpm |
308 |
|
|
%if !%build_gems |
309 |
fwang |
293415 |
rm -f %{buildroot}%{_bindir}/{gem,rake,rdoc,ri} |
310 |
|
|
rm -f %{buildroot}%{_mandir}/man1/{rake,ri}.1.* |
311 |
|
|
rm -fr %{buildroot}%{ruby_libdir}/{minitest,rake,rdoc,json,bigdecimal,io} |
312 |
|
|
rm -fr %{buildroot}%{ruby_libarchdir}/{json,bigdecimal.so,io/console.so} |
313 |
fwang |
293412 |
rm -fr %{buildroot}%{rubygems_dir} |
314 |
|
|
%endif |
315 |
|
|
|
316 |
blino |
1152 |
%check |
317 |
|
|
make test |
318 |
|
|
|
319 |
fwang |
289961 |
%files |
320 |
fwang |
291551 |
%{_bindir}/erb |
321 |
|
|
%{_bindir}/ruby |
322 |
|
|
%{_bindir}/testrb |
323 |
fwang |
291560 |
%dir %{ruby_libdir} |
324 |
|
|
%{ruby_libdir}/*.rb |
325 |
fwang |
291590 |
%exclude %{ruby_libdir}/irb.rb |
326 |
fwang |
291560 |
%exclude %{ruby_libdir}/multi-tk.rb |
327 |
|
|
%exclude %{ruby_libdir}/remote-tk.rb |
328 |
|
|
%exclude %{ruby_libdir}/tcltk.rb |
329 |
|
|
%exclude %{ruby_libdir}/tk.rb |
330 |
|
|
%exclude %{ruby_libdir}/tkafter.rb |
331 |
|
|
%exclude %{ruby_libdir}/tkbgerror.rb |
332 |
|
|
%exclude %{ruby_libdir}/tkcanvas.rb |
333 |
|
|
%exclude %{ruby_libdir}/tkclass.rb |
334 |
|
|
%exclude %{ruby_libdir}/tkconsole.rb |
335 |
|
|
%exclude %{ruby_libdir}/tkdialog.rb |
336 |
|
|
%exclude %{ruby_libdir}/tkentry.rb |
337 |
|
|
%exclude %{ruby_libdir}/tkfont.rb |
338 |
|
|
%exclude %{ruby_libdir}/tkmacpkg.rb |
339 |
|
|
%exclude %{ruby_libdir}/tkmenubar.rb |
340 |
|
|
%exclude %{ruby_libdir}/tkmngfocus.rb |
341 |
|
|
%exclude %{ruby_libdir}/tkpalette.rb |
342 |
|
|
%exclude %{ruby_libdir}/tkscrollbox.rb |
343 |
|
|
%exclude %{ruby_libdir}/tktext.rb |
344 |
|
|
%exclude %{ruby_libdir}/tkvirtevent.rb |
345 |
|
|
%exclude %{ruby_libdir}/tkwinpkg.rb |
346 |
|
|
%{ruby_libdir}/cgi |
347 |
|
|
%{ruby_libdir}/date |
348 |
|
|
%{ruby_libdir}/digest |
349 |
|
|
%{ruby_libdir}/dl |
350 |
|
|
%{ruby_libdir}/drb |
351 |
|
|
%{ruby_libdir}/fiddle |
352 |
|
|
%{ruby_libdir}/matrix |
353 |
|
|
%{ruby_libdir}/net |
354 |
|
|
%{ruby_libdir}/openssl |
355 |
|
|
%{ruby_libdir}/optparse |
356 |
|
|
%{ruby_libdir}/psych |
357 |
|
|
%{ruby_libdir}/racc |
358 |
|
|
%{ruby_libdir}/rbconfig |
359 |
|
|
%{ruby_libdir}/rexml |
360 |
|
|
%{ruby_libdir}/rinda |
361 |
|
|
%{ruby_libdir}/ripper |
362 |
|
|
%{ruby_libdir}/rss |
363 |
|
|
%{ruby_libdir}/shell |
364 |
|
|
%{ruby_libdir}/syck |
365 |
|
|
%{ruby_libdir}/test |
366 |
|
|
%{ruby_libdir}/uri |
367 |
|
|
%{ruby_libdir}/webrick |
368 |
|
|
%{ruby_libdir}/xmlrpc |
369 |
|
|
%{ruby_libdir}/yaml |
370 |
|
|
%dir %{ruby_libarchdir} |
371 |
fwang |
291562 |
%{ruby_libarchdir}/bigdecimal.so |
372 |
fwang |
291560 |
%{ruby_libarchdir}/continuation.so |
373 |
|
|
%{ruby_libarchdir}/coverage.so |
374 |
|
|
%{ruby_libarchdir}/curses.so |
375 |
|
|
%{ruby_libarchdir}/date_core.so |
376 |
|
|
%{ruby_libarchdir}/dbm.so |
377 |
|
|
%dir %{ruby_libarchdir}/digest |
378 |
|
|
%{ruby_libarchdir}/digest.so |
379 |
|
|
%{ruby_libarchdir}/digest/*.so |
380 |
|
|
%dir %{ruby_libarchdir}/dl |
381 |
|
|
%{ruby_libarchdir}/dl.so |
382 |
|
|
%{ruby_libarchdir}/dl/*.so |
383 |
|
|
%dir %{ruby_libarchdir}/enc |
384 |
|
|
%{ruby_libarchdir}/enc/*.so |
385 |
fwang |
291562 |
%dir %{ruby_libarchdir}/enc/trans |
386 |
|
|
%{ruby_libarchdir}/enc/trans/*.so |
387 |
fwang |
291560 |
%{ruby_libarchdir}/etc.so |
388 |
|
|
%{ruby_libarchdir}/fcntl.so |
389 |
|
|
%{ruby_libarchdir}/fiber.so |
390 |
|
|
%{ruby_libarchdir}/fiddle.so |
391 |
|
|
%{ruby_libarchdir}/gdbm.so |
392 |
|
|
%{ruby_libarchdir}/iconv.so |
393 |
|
|
%dir %{ruby_libarchdir}/io |
394 |
|
|
%{ruby_libarchdir}/io/nonblock.so |
395 |
|
|
%{ruby_libarchdir}/io/wait.so |
396 |
|
|
%dir %{ruby_libarchdir}/mathn |
397 |
fwang |
291562 |
%{ruby_libarchdir}/mathn/*.so |
398 |
fwang |
291560 |
%{ruby_libarchdir}/nkf.so |
399 |
|
|
%{ruby_libarchdir}/objspace.so |
400 |
|
|
%{ruby_libarchdir}/openssl.so |
401 |
|
|
%{ruby_libarchdir}/pathname.so |
402 |
|
|
%{ruby_libarchdir}/psych.so |
403 |
|
|
%{ruby_libarchdir}/pty.so |
404 |
|
|
%dir %{ruby_libarchdir}/racc |
405 |
|
|
%{ruby_libarchdir}/racc/*.so |
406 |
|
|
%{ruby_libarchdir}/rbconfig.rb |
407 |
|
|
%{ruby_libarchdir}/readline.so |
408 |
|
|
%{ruby_libarchdir}/ripper.so |
409 |
|
|
%{ruby_libarchdir}/sdbm.so |
410 |
|
|
%{ruby_libarchdir}/socket.so |
411 |
|
|
%{ruby_libarchdir}/stringio.so |
412 |
|
|
%{ruby_libarchdir}/strscan.so |
413 |
|
|
%{ruby_libarchdir}/syck.so |
414 |
|
|
%{ruby_libarchdir}/syslog.so |
415 |
|
|
%{ruby_libarchdir}/zlib.so |
416 |
fwang |
291551 |
%{_mandir}/man1/erb.1.* |
417 |
|
|
%{_mandir}/man1/ri.1.* |
418 |
|
|
%{_mandir}/man1/ruby.1.* |
419 |
blino |
1152 |
%{_datadir}/emacs/site-lisp/* |
420 |
|
|
%config(noreplace) %{_sysconfdir}/emacs/site-start.d/* |
421 |
|
|
%{_sysconfdir}/rpm/macros.d/%{name}.macros |
422 |
fwang |
291560 |
%{_datadir}/ruby/site_ruby |
423 |
|
|
%{_libdir}/ruby/site_ruby |
424 |
|
|
%{_datadir}/ruby/vendor_ruby |
425 |
|
|
%{_libdir}/ruby/vendor_ruby |
426 |
blino |
1152 |
|
427 |
|
|
%files doc |
428 |
|
|
%{_datadir}/ri |
429 |
shlomif |
291698 |
%{_datadir}/doc/ruby/html/* |
430 |
blino |
1152 |
|
431 |
fwang |
291590 |
%files -n %{libname} |
432 |
|
|
%{_libdir}/libruby.so.%{subver} |
433 |
|
|
%{_libdir}/libruby.so.%{rubyapi} |
434 |
|
|
|
435 |
blino |
1152 |
%files devel |
436 |
fwang |
290003 |
%{_includedir}/* |
437 |
blino |
1152 |
%{_libdir}/libruby-static.a |
438 |
|
|
%{_libdir}/libruby.so |
439 |
fwang |
290003 |
%{_libdir}/pkgconfig/*.pc |
440 |
blino |
1152 |
|
441 |
|
|
%files tk |
442 |
fwang |
291560 |
%{ruby_libarchdir}/tcltklib.so |
443 |
|
|
%{ruby_libarchdir}/tkutil.so |
444 |
|
|
%{ruby_libdir}/multi-tk.rb |
445 |
|
|
%{ruby_libdir}/remote-tk.rb |
446 |
|
|
%{ruby_libdir}/tcltk.rb |
447 |
|
|
%{ruby_libdir}/tk.rb |
448 |
|
|
%{ruby_libdir}/tkafter.rb |
449 |
|
|
%{ruby_libdir}/tkbgerror.rb |
450 |
|
|
%{ruby_libdir}/tkcanvas.rb |
451 |
|
|
%{ruby_libdir}/tkclass.rb |
452 |
|
|
%{ruby_libdir}/tkconsole.rb |
453 |
|
|
%{ruby_libdir}/tkdialog.rb |
454 |
|
|
%{ruby_libdir}/tkentry.rb |
455 |
|
|
%{ruby_libdir}/tkfont.rb |
456 |
|
|
%{ruby_libdir}/tkmacpkg.rb |
457 |
|
|
%{ruby_libdir}/tkmenubar.rb |
458 |
|
|
%{ruby_libdir}/tkmngfocus.rb |
459 |
|
|
%{ruby_libdir}/tkpalette.rb |
460 |
|
|
%{ruby_libdir}/tkscrollbox.rb |
461 |
|
|
%{ruby_libdir}/tktext.rb |
462 |
|
|
%{ruby_libdir}/tkvirtevent.rb |
463 |
|
|
%{ruby_libdir}/tkwinpkg.rb |
464 |
|
|
%{ruby_libdir}/tk |
465 |
|
|
%{ruby_libdir}/tkextlib |
466 |
fwang |
291551 |
|
467 |
fwang |
293412 |
%files irb |
468 |
|
|
%{_bindir}/irb |
469 |
|
|
%{ruby_libdir}/irb.rb |
470 |
|
|
%{ruby_libdir}/irb |
471 |
|
|
%{_mandir}/man1/irb.1* |
472 |
|
|
|
473 |
|
|
%if %build_gems |
474 |
fwang |
291551 |
%files RubyGems |
475 |
|
|
%{_bindir}/gem |
476 |
|
|
%dir %{rubygems_dir} |
477 |
|
|
%{rubygems_dir}/rbconfig |
478 |
|
|
%{rubygems_dir}/rubygems |
479 |
|
|
%{rubygems_dir}/rubygems.rb |
480 |
|
|
%{rubygems_dir}/ubygems.rb |
481 |
|
|
|
482 |
fwang |
291562 |
%files minitest |
483 |
|
|
%{ruby_libdir}/minitest |
484 |
fwang |
291563 |
%{rubygems_dir}/%{rubyapi}/specifications/minitest-*.gemspec |
485 |
fwang |
291562 |
|
486 |
fwang |
291551 |
%files rake |
487 |
|
|
%{_bindir}/rake |
488 |
|
|
%{_mandir}/man1/rake.1.* |
489 |
fwang |
291562 |
%{ruby_libdir}/rake |
490 |
fwang |
291563 |
%{rubygems_dir}/%{rubyapi}/gems/rake-* |
491 |
fwang |
291590 |
%{rubygems_dir}/%{rubyapi}/specifications/rake-*.gemspec |
492 |
fwang |
291562 |
|
493 |
|
|
%files rdoc |
494 |
|
|
%{_bindir}/rdoc |
495 |
|
|
%{_bindir}/ri |
496 |
|
|
%{ruby_libdir}/rdoc |
497 |
fwang |
291563 |
%{rubygems_dir}/%{rubyapi}/gems/rdoc-* |
498 |
|
|
%{rubygems_dir}/%{rubyapi}/specifications/rdoc-*.gemspec |
499 |
fwang |
291562 |
%{_mandir}/man1/ri.1.* |
500 |
|
|
|
501 |
|
|
%files json |
502 |
|
|
%dir %{ruby_libarchdir}/json |
503 |
|
|
%dir %{ruby_libarchdir}/json/ext |
504 |
|
|
%{ruby_libarchdir}/json/ext/*.so |
505 |
|
|
%{ruby_libdir}/json |
506 |
fwang |
291563 |
%{rubygems_dir}/%{rubyapi}/specifications/json-*.gemspec |
507 |
fwang |
291590 |
|
508 |
|
|
%files bigdecimal |
509 |
|
|
%{ruby_libdir}/bigdecimal |
510 |
|
|
%{ruby_libarchdir}/bigdecimal.so |
511 |
shlomif |
291732 |
%{rubygems_dir}/%{rubyapi}/specifications/bigdecimal-*.gemspec |
512 |
fwang |
291590 |
|
513 |
|
|
%files io-console |
514 |
|
|
%{ruby_libdir}/io |
515 |
|
|
%{ruby_libarchdir}/io/console.so |
516 |
shlomif |
291732 |
%{rubygems_dir}/%{rubyapi}/specifications/io-console-*.gemspec |
517 |
fwang |
293378 |
%endif |