SHA256
1
0
forked from pool/ruby-build
ruby-build/ruby-build.spec

35 lines
928 B
RPMSpec
Raw Normal View History

Name: ruby-build
Version: 20120524
Release: 0
BuildArch: noarch
License: MIT
Group: Development/Languages/Ruby
Url: https://github.com/sstephenson/ruby-build
Summary: Compile and install Ruby
Source0: sstephenson-ruby-build-v%{version}-0-gb53c445.tar.bz2
Requires: bash curl gcc
# ruby MRI BuildRequires
Requires: bison gdbm-devel gperf graphviz libjpeg-devel openssl-devel readline-devel tk-devel automake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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-b53c445
%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/*