[python-tvrage] Initial SETUP

Christopher Meng cicku at fedoraproject.org
Tue Jun 4 15:34:30 UTC 2013


commit 43fb901d43bce7ced940c1af24fc1acf5ae09942
Author: Christopher Meng <rpm at cicku.me>
Date:   Tue Jun 4 23:33:53 2013 +0800

    Initial SETUP

 .gitignore         |    1 +
 python-tvrage.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7c41d11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-tvrage-0.4.1.tar.gz
diff --git a/python-tvrage.spec b/python-tvrage.spec
new file mode 100644
index 0000000..cda6577
--- /dev/null
+++ b/python-tvrage.spec
@@ -0,0 +1,45 @@
+%global rev c8e9781
+
+Name:            python-tvrage
+Version:         0.4.1
+Release:         3%{?dist}
+Summary:         Python client for the tvrage.com XML API
+License:         BSD
+Url:             https://pypi.python.org/pypi/python-tvrage
+Source0:         https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch:       noarch
+BuildRequires:   python2-devel python-setuptools
+Requires:        python-BeautifulSoup
+
+%description
+python-tvrage is a python based object oriented client interface for 
+tvrage.com's XML based api feeds.
+
+%prep
+%setup -q -n ckreutzer-%{name}-%{rev}
+sed -i '1,2d' tvrage/exceptions.py
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%check
+%{__python} quickinfo_tests.py && %{__python} api_tests.py
+
+%files
+%doc AUTHORS LICENSE NEWS README.rst
+%{python_sitelib}/tvrage/
+%{python_sitelib}/*.egg-info
+
+%changelog
+* Sun Jun 02 2013 Christopher Meng <rpm at cicku.me> - 0.4.1-3
+- Fix the python env issue.
+
+* Fri May 31 2013 Christopher Meng <rpm at cicku.me> - 0.4.1-2
+- Fix rpmlint issues.
+
+* Fri Dec 28 2012 Christopher Meng <rpm at cicku.me> - 0.4.1-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..8b1f42e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cdfec252158c5047b626861900186dfb  python-tvrage-0.4.1.tar.gz


More information about the scm-commits mailing list