%global commit c94e35b539056026e3d6c767f3a6644e2b271247 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: gists Version: 0.4.5 Release: 3%{?dist} Summary: A simple tool for pasting info Group: Applications/Internet License: MIT URL: http://jdevesa.github.io/gists/ Source0: https://github.com/jdevesa/%{name}/archive/%{commit}/%{name}-v%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools %description CLI interface for managing GitHub Gists. Use it: * List of Gists * Show a Gist * Download a Gist * Create a Gist * Update a Gist * Fork a Gist * Star a Gist * Unstar a Gist %prep %setup -qn %{name}-%{commit} %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %check # no presente in source %files %doc COPYING.txt README CHANGES.md %{python_sitelib}/%{name} %{python_sitelib}/%{name}-*.egg-info %{_bindir}/%{name} %changelog * Thu Jul 6 2013 Marcelo Barbosa - 0.4.5-3 - changed Summary text * Thu Jul 4 2013 Marcelo Barbosa - 0.4.5-2 - added new file in %doc: CHANGES.md * Mon Jul 1 2013 Marcelo Barbosa - 0.4.5-1 - Initial package