[python-flask-oauth] Initial import (#724869).

kumarpraveen kumarpraveen at fedoraproject.org
Sat Jul 23 16:06:26 UTC 2011


commit d1d2bba1432709bbffed23d21e7de10d0065b8b8
Author: Praveen <daredevil at localhost.localdomain>
Date:   Sat Jul 23 21:35:33 2011 +0530

    Initial import (#724869).

 .gitignore              |    1 +
 python-flask-oauth.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0502b09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-OAuth-0.9.tar.gz
diff --git a/python-flask-oauth.spec b/python-flask-oauth.spec
new file mode 100644
index 0000000..ac3a96f
--- /dev/null
+++ b/python-flask-oauth.spec
@@ -0,0 +1,43 @@
+%global mod_name Flask-OAuth
+
+Name:           python-flask-oauth
+Version:        0.9
+Release:        1%{?dist}
+Summary:        Adds OAuth support to Flask
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://github.com/mitsuhiko/flask-oauth
+Source0:        http://pypi.python.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-oauth2
+BuildRequires:  python-setuptools
+
+%description
+Flask-OAuth is an extension to Flask that allows you 
+to interact with remove OAuth enabled applications.
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc README PKG-INFO
+%{python_sitelib}/*-nspkg.pth
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/flaskext/*.py*
+
+%changelog
+* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.9-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..8ff8b5b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8ca0798462b21aa264297015773b9670  Flask-OAuth-0.9.tar.gz


More information about the scm-commits mailing list