%define gitcommit master %define gitdate 20130724 Name: befrunge Version: 0.0.1 Release: 1.%{gitdate}git%{?dist} Summary: A befunge interpreter in Ruby Group: Development/Languages License: ISC URL: https://github.com/programble/befrunge # Source0 retrieved by pulling a Github tarball. # See: https://github.com/programble/befrunge/downloads Source0: programble-%{name}-%{gitcommit}.tar.gz BuildArch: noarch Requires: ruby %description A befunge interpreter in Ruby by @programble. %prep %setup -q -n %{name}-%{gitcommit} %build %check %install rm -rf %{buildroot} install -D -m 0755 %{name}.rb %{buildroot}/%{_bindir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README.md %{_bindir}/%{name} %changelog * Wed Jul 24 2013 Ricky Elrod - 0.0.1-1.20130724git - Latest upstream commit. * Fri Jun 15 2012 Ricky Elrod - 0.0.1-1.20120615gite91cfc9 - Initial build.