%global commit 78e16f5f9a085fc444d36b13876ece6b9305e106 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: turses Version: 0.2.21 Release: 1%{?dist} Summary: A Twitter client for the console License: "GPLv3 AND ASL 2.0" URL: https://github.com/alejandrogomez/%{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} . sed -i 's/tweepy==2.1/tweepy\>=2.3/g' setup.py sed -i 's/tweepy==2.1/tweepy\>=2.3/g' turses.egg-info/requires.txt %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}/%{name} %{python2_sitelib}/%{name}-*.egg-info %changelog * Sat Oct 25 2014 Rino Rondan 0.2.21-1 - Downgrade version for problem with version python package * Fri Oct 24 2014 Rino Rondan 0.2.22-5 - Added Apache2 license * 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