commit 349123936b5b7c80abadcc5170af0fb9bb3166fc
Author: Ratnadeep Debnath <rtnpro(a)gmail.com>
Date: Tue Mar 1 09:37:02 2011 +0530
Imported tweepy to master
.gitignore | 1 +
MIT_LICENSE | 20 ++++++++++++++++++++
sources | 1 +
tweepy.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c8ef283 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tweepy-1.7.1.tar.gz
diff --git a/MIT_LICENSE b/MIT_LICENSE
new file mode 100644
index 0000000..8a91f2c
--- /dev/null
+++ b/MIT_LICENSE
@@ -0,0 +1,20 @@
+MIT License
+Copyright (c) 2009-2010 Joshua Roesslein
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/sources b/sources
index e69de29..c660ca7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+57905b4e6fd8ec52a22be37ee6ffcc31 tweepy-1.7.1.tar.gz
diff --git a/tweepy.spec b/tweepy.spec
new file mode 100644
index 0000000..7d954ae
--- /dev/null
+++ b/tweepy.spec
@@ -0,0 +1,43 @@
+Name: tweepy
+Version: 1.7.1
+Release: 3%{?dist}
+Summary: Twitter library for python
+Source0: http://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz
+Source1: MIT_LICENSE
+License: MIT
+Group: Development/Libraries
+URL: http://pypi.python.org/pypi/tweepy/
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools python-simplejson
+Requires: python-simplejson
+
+%description
+A library for accessing the Twitter.com API. Supports OAuth, covers the
+entire API, and streaming API.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp -p %SOURCE1 ./LICENSE
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc README LICENSE
+%{python_sitelib}/%{name}
+%{python_sitelib}/%{name}-*.egg-info
+
+%changelog
+* Mon Feb 21 2011 rtnpro <rtnpro(a)gmail.com> 1.7.1-3
+- Added LICENSE, removed unnecessary macros
+
+* Sat Feb 05 2011 rtnpro <rtnpro(a)gmail.com> 1.7.1-2
+- Some fixes in the SPEC file
+
+* Fri Feb 04 2011 rtnpro <rtnpro(a)gmail.com> 1.7.1-1
+- Intial RPM package for tweepy