%define name chruby %define version 0.3.9 %define release 1 %define buildroot %{_topdir}/BUILDROOT BuildRoot: %{buildroot} Source0: https://github.com/postmodern/%{name}/archive/v%{version}.tar.gz Summary: Changes the current Ruby Name: %{name} Version: %{version} Release: %{release} License: MIT URL: https://github.com/postmodern/chruby#readme AutoReqProv: no BuildArch: noarch %description Changes the current Ruby. %prep %setup -q %build %install make install PREFIX=%{buildroot}/usr %files %defattr(-,root,root) %{_bindir}/chruby-exec %{_datadir}/%{name}/* %doc %{_defaultdocdir}/%{name}-%{version}/* %changelog * Sun Nov 23 2014 Postmodern - 0.3.9-1 - Rebuilt for version 0.3.9. * Wed Dec 04 2013 Postmodern - 0.3.8-1 - Rebuilt for version 0.3.8. * Sun Aug 18 2013 Postmodern - 0.3.7-1 - Rebuilt for version 0.3.7. * Mon Jun 24 2013 Postmodern - 0.3.6-1 - Rebuilt for version 0.3.6. * Tue May 28 2013 Postmodern - 0.3.5-1 - Rebuilt for version 0.3.5. * Sun Mar 24 2013 Postmodern - 0.3.4-1 - Rebuilt for version 0.3.4.