forked from pool/ruby-build
ffcbef2ae6
Updated to the latest (v20161121) version; replaced bulky tar.gz with a `_service` file pointing to the GitHub release. OBS-URL: https://build.opensuse.org/request/show/447045 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=19
46 lines
996 B
RPMSpec
46 lines
996 B
RPMSpec
Name: ruby-build
|
|
Version: 20161121
|
|
Release: 0
|
|
BuildArch: noarch
|
|
License: MIT
|
|
Group: Development/Languages/Ruby
|
|
Url: https://github.com/rbenv/ruby-build
|
|
Summary: Compile and install Ruby
|
|
Source0: v%{version}.tar.gz
|
|
Requires: bash
|
|
Requires: curl
|
|
Requires: gcc
|
|
# ruby MRI BuildRequires
|
|
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
|
|
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
|
|
%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/*
|
|
|