%global commit b543bd73558810d825fc7b09ff3ea1e2a201b344 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: git-ftp Version: 0.84 Release: 1%{?dist} Summary: Git powered FTP client written as shell script License: GPLv3 URL: https://github.com/git-ftp Source0: https://github.com/resmo/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: pandoc Requires: git Requires: curl %description A shell script for pushing git tracked changed files to a remote host by FTP %prep %setup -qn %{name}-%{commit} %build #Nothing to build %install make install DESTDIR=%{buildroot}%{_prefix} %check # The testing environment expects to have Xampp installed # not applicable in this case %files %doc LICENSE README.md AUTHORS CHANGELOG.md %{_bindir}/%{name} %changelog * Fri May 10 2013 Eduardo Echeverria - 0.84-1 - Initial Packaging