[svn] r9781 - in /trunk/rpms/python-tweepy: ./ python-tweepy.spec

Steve Huff shuff at vecna.org
Thu Mar 24 16:00:01 CET 2011


Author: shuff
Date: Thu Mar 24 15:00:01 2011
New Revision: 9781

URL: http://svn.rpmforge.net/viewvc/rpmforge?rev=9781&view=rev
Log:
initial commit of python-tweepy-1.7.1

Added:
    trunk/rpms/python-tweepy/
    trunk/rpms/python-tweepy/python-tweepy.spec   (with props)

Added: trunk/rpms/python-tweepy/python-tweepy.spec
URL: http://svn.rpmforge.net/viewvc/rpmforge/trunk/rpms/python-tweepy/python-tweepy.spec?rev=9781&view=markup
==============================================================================
--- trunk/rpms/python-tweepy/python-tweepy.spec (added)
+++ trunk/rpms/python-tweepy/python-tweepy.spec Thu Mar 24 15:00:01 2011
@@ -1,0 +1,61 @@
+# $Id$
+# Authority: shuff
+# Upstream: Joshua Roesslein <jroesslein$gmail,com>
+
+## ExcludeDist: el3 el4
+# requires python-2.4 or greater
+
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
+
+%define real_name tweepy
+
+%{?el5:%define _needs_simplejson 1}
+
+Summary: Python library for Twitter-compatible APIs
+Name: python-tweepy
+Version: 1.7.1
+Release: 1%{?dist}
+License: MIT
+Group: Development/Libraries
+URL: https://github.com/joshthecoder/tweepy/
+
+Source: http://pypi.python.org/packages/source/t/tweepy/tweepy-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: python-devel >= 2.4
+BuildRequires: python-setuptools
+Requires: python >= 2.4
+%{?_needs_simplejson:Requires: python-simplejson}
+
+%description
+A Twitter library for Python! Also works with identi.ca/laconi.ca !
+
+Features:
+* OAuth support (including xAuth)
+* Covers the entire Twitter API
+* Actively under development
+* Streaming API support
+* Cache system (memory, file)
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc README
+%{python_sitelib}/*
+
+%changelog
+* Thu Mar 24 2011 Steve Huff <shuff at vecna.org> - 1.7.1-1
+- Initial package.

Propchange: trunk/rpms/python-tweepy/python-tweepy.spec
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/rpms/python-tweepy/python-tweepy.spec
------------------------------------------------------------------------------
    svn:keywords = Id Revision




More information about the commits mailing list