%define name ruby-install %define version 0.6.1 %define release 1 %define buildroot %{_topdir}/BUILDROOT BuildRoot: %{buildroot} Source0: https://github.com/postmodern/%{name}/archive/v%{version}.tar.gz Summary: Installs Ruby, JRuby, Rubinius, TruffleRuby or mruby Name: %{name} Version: %{version} Release: %{release} License: MIT URL: https://github.com/postmodern/ruby-install#readme AutoReqProv: no BuildArch: noarch Requires: bash, wget > 1.12, tar, bzip2, patch %description Installs Ruby, JRuby, Rubinius, TruffleRuby or mruby %prep %setup -q %build %install make install PREFIX=%{buildroot}/usr %files %defattr(-,root,root) %{_bindir}/ruby-install %{_datadir}/%{name}/* %{_mandir}/man1/* %doc %{_defaultdocdir}/%{name}-%{version}/* %changelog * Sat Dec 24 2016 Postmodern - 0.6.1-1 - Rebuilt for version 0.6.1. - Added patch as dependency. * Fri Dec 25 2015 Postmodern - 0.6.0-1 - Rebuilt for version 0.6.0. * Thu May 08 2014 Postmodern - 0.4.3-1 - Rebuilt for version 0.4.3. * Thu Apr 17 2014 Postmodern - 0.4.2-1 - Rebuilt for version 0.4.2. * Mon Mar 03 2014 Postmodern - 0.4.1-1 - Rebuilt for version 0.4.1. * Thu Feb 13 2014 Postmodern - 0.4.0-1 - Rebuilt for version 0.4.0. * Wed Dec 25 2013 Postmodern - 0.3.4-1 - Rebuilt for version 0.3.4. * Wed Dec 04 2013 Postmodern - 0.3.3-1 - Rebuilt for version 0.3.3. * Fri Nov 22 2013 Postmodern - 0.3.2-1 - Rebuilt for version 0.3.2. * Fri Oct 18 2013 Postmodern - 0.3.1-1 - Rebuilt for version 0.3.1. * Tue Aug 06 2013 Postmodern - 0.3.0-1 - Rebuilt for version 0.3.0. * Sat Jun 29 2013 Postmodern - 0.2.1-1 - Rebuilt for version 0.2.1. * Mon Jun 24 2013 Postmodern - 0.2.0-1 - Rebuilt for version 0.2.0.