forked from pool/ruby-build
31 lines
690 B
RPMSpec
31 lines
690 B
RPMSpec
|
Name: ruby-build
|
||
|
Version: 20111030
|
||
|
Release: 0
|
||
|
BuildArch: noarch
|
||
|
License: MIT
|
||
|
Group: Development/Languages/Ruby
|
||
|
Summary: Compile and install Ruby
|
||
|
Source0: sstephenson-ruby-build-v%{version}-0-g495b248.tar.bz2
|
||
|
Requires: bash
|
||
|
|
||
|
%description
|
||
|
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n sstephenson-ruby-build-495b248
|
||
|
%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/*
|
||
|
|