%global commit b543bd73558810d825fc7b09ff3ea1e2a201b344
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: git-ftp
Version: 0.84
Release: 2%{?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
Patch1: git-ftp-0.83-fix-path-man-pages.patch
BuildArch: noarch
BuildRequires: pandoc
BuildRequires: man-db
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}
%patch1 -p1
%build
#Nothing to build
%install
make install-all 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}
%{_mandir}/man1/git-ftp.1*
%exclude %{_mandir}/man1/CACHEDIR.TAG.gz
%changelog
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri May 10 2013 Eduardo Echeverria <echevemaster@gmail.com> - 0.84-1
- Initial Packaging