2 |
%define rubyapi 2.0.0 |
%define rubyapi 2.0.0 |
3 |
%define rubyver 2.0.0 |
%define rubyver 2.0.0 |
4 |
%define patchversion p451 |
%define patchversion p451 |
5 |
%define rel 2 |
%define rel 3 |
6 |
|
|
7 |
%define libname %mklibname ruby %{subver} |
%define libname %mklibname ruby %{subver} |
8 |
|
|
57 |
Source0: http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}-%{patchversion}.tar.bz2 |
Source0: http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}-%{patchversion}.tar.bz2 |
58 |
Source1: operating_system.rb |
Source1: operating_system.rb |
59 |
Source3: ruby.macros |
Source3: ruby.macros |
60 |
|
# From FC: |
61 |
|
# RPM dependency generators. |
62 |
|
Source8: rubygems.attr |
63 |
|
Source9: rubygems.req |
64 |
|
Source10: rubygems.prov |
65 |
URL: http://www.ruby-lang.org/ |
URL: http://www.ruby-lang.org/ |
66 |
%if !%bootstrap |
%if !%bootstrap |
67 |
Requires: rubygems >= %{rubygems_version} |
Requires: rubygems >= %{rubygems_version} |
359 |
mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d |
mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d |
360 |
cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d |
cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d |
361 |
|
|
362 |
|
# Install dependency generators. |
363 |
|
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs |
364 |
|
install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs |
365 |
|
install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir} |
366 |
|
install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir} |
367 |
|
|
368 |
# Install custom operating_system.rb |
# Install custom operating_system.rb |
369 |
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults |
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults |
370 |
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults |
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults |
515 |
%{_libdir}/libruby-static.a |
%{_libdir}/libruby-static.a |
516 |
%{_libdir}/libruby.so |
%{_libdir}/libruby.so |
517 |
%{_libdir}/pkgconfig/*.pc |
%{_libdir}/pkgconfig/*.pc |
518 |
|
%{_rpmconfigdir}/fileattrs/rubygems.attr |
519 |
|
%{_rpmconfigdir}/rubygems.req |
520 |
|
%{_rpmconfigdir}/rubygems.prov |
521 |
|
|
522 |
%files tk |
%files tk |
523 |
%{ruby_libarchdir}/tcltklib.so |
%{ruby_libarchdir}/tcltklib.so |