2015-12-30 03:31:54 +01:00
|
|
|
Name: ruby-build
|
2017-07-24 15:11:57 +02:00
|
|
|
Version: 20170523
|
2015-12-30 03:31:54 +01:00
|
|
|
Release: 0
|
2011-11-16 11:36:05 +01:00
|
|
|
BuildArch: noarch
|
2015-12-30 03:31:54 +01:00
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
Url: https://github.com/rbenv/ruby-build
|
|
|
|
Summary: Compile and install Ruby
|
2017-01-25 11:55:40 +01:00
|
|
|
Source0: v%{version}.tar.gz
|
2015-12-30 03:31:54 +01:00
|
|
|
Requires: bash
|
|
|
|
Requires: curl
|
|
|
|
Requires: gcc
|
2012-01-04 12:36:47 +01:00
|
|
|
# ruby MRI BuildRequires
|
2015-12-30 03:31:54 +01:00
|
|
|
Requires: bison
|
|
|
|
Requires: gdbm-devel
|
|
|
|
Requires: gperf
|
|
|
|
Requires: graphviz
|
|
|
|
Requires: libjpeg-devel
|
|
|
|
Requires: openssl-devel
|
|
|
|
Requires: readline-devel
|
|
|
|
Requires: tk-devel
|
|
|
|
Requires: automake
|
|
|
|
Requires: libffi-devel
|
2014-11-12 10:25:12 +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-12-12 13:43:00 +01:00
|
|
|
%setup -q
|
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/*
|
|
|
|
|