%global commit 1a4645351e1f657b98f95ae5dc86ca67254e1545 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: turses Version: 0.2.23 Release: 1%{?dist} Summary: A Twitter client for the console License: GPLv3 URL: https://github.com/dialelo/%{name} Source0: https://pypi.python.org/packages/source/t/turses/%{name}-%{version}.tar.gz Source1: https://raw.githubusercontent.com/alejandrogomez/turses/master/LICENSE BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-urwid BuildRequires: python-oauth2 BuildRequires: python-httplib2 BuildRequires: python-mock BuildRequires: python-nose BuildRequires: tweepy BuildRequires: python-tox BuildRequires: python-coverage %description Twitter client for the console, a text client for twitter accounts, lightweight, and extremely configurable Twitter client %prep %setup -q cp -a %{SOURCE1} . %build %{__python2} setup.py build %install %{__python2} setup.py install -O1 --skip-build --root %{buildroot} %check %{__python2} setup.py test %files %doc LICENSE README.rst %{_bindir}/turses %{python2_sitelib}/* %changelog *Sat Sep 20 2014 Rino Rondan 0.2.23-1 - Update new version * Tue Sep 16 2014 Rino Rondan 0.2.22-4 - Fix some items from bugzilla 1092828 * Thu Jun 05 2014 Rino Rondan 0.2.22-3 - Added tweepy with the correct version updated from Bugzilla * Thu May 01 2014 Rino Rondan 0.2.22-2 - Added python-nose on BuildRequires * Wed Apr 30 2014 Rino Rondan 0.2.22-1 - Initial Packaging