2011-11-16 11:36:05 +01:00
|
|
|
Name: ruby-build
|
2012-05-25 11:48:28 +02:00
|
|
|
Version: 20120524
|
2011-11-16 11:36:05 +01:00
|
|
|
Release: 0
|
|
|
|
BuildArch: noarch
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/Ruby
|
2012-01-20 00:18:04 +01:00
|
|
|
Url: https://github.com/sstephenson/ruby-build
|
2011-11-16 11:36:05 +01:00
|
|
|
Summary: Compile and install Ruby
|
2012-05-25 11:48:28 +02:00
|
|
|
Source0: sstephenson-ruby-build-v%{version}-0-gb53c445.tar.bz2
|
2012-01-04 12:36:47 +01:00
|
|
|
Requires: bash curl gcc
|
|
|
|
# ruby MRI BuildRequires
|
|
|
|
Requires: bison gdbm-devel gperf graphviz libjpeg-devel openssl-devel readline-devel tk-devel automake
|
2012-01-04 12:03:22 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-11-16 11:36:05 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
|
|
|
|
|
|
|
|
%prep
|
2012-05-25 11:48:28 +02:00
|
|
|
%setup -q -n sstephenson-ruby-build-b53c445
|
2011-11-16 11:36:05 +01:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%__mkdir_p %{buildroot}%{_bindir}
|
|
|
|
cp bin/* %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
%__mkdir_p %{buildroot}%{_datadir}/ruby-build
|
|
|
|
cp share/ruby-build/* %{buildroot}%{_datadir}/ruby-build
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{_datadir}/ruby-build
|
|
|
|
%{_datadir}/ruby-build/*
|
|
|
|
|