[python-flask-sqlalchemy] Initial import (#723792).

kumarpraveen kumarpraveen at fedoraproject.org
Fri Jul 22 03:56:26 UTC 2011


commit 788a4bdcf3e4b367c3a050bd65489e23341a309f
Author: Praveen <daredevil at localhost.localdomain>
Date:   Fri Jul 22 09:25:36 2011 +0530

    Initial import (#723792).

 .gitignore                   |    1 +
 python-flask-sqlalchemy.spec |   49 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..507f656 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-SQLAlchemy-0.14.tar.gz
diff --git a/python-flask-sqlalchemy.spec b/python-flask-sqlalchemy.spec
new file mode 100644
index 0000000..c4433c8
--- /dev/null
+++ b/python-flask-sqlalchemy.spec
@@ -0,0 +1,49 @@
+%global mod_name Flask-SQLAlchemy
+
+Name:           python-flask-sqlalchemy
+Version:        0.14
+Release:        1%{?dist}
+Summary:        Adds SQLAlchemy support to Flask application
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://github.com/mitsuhiko/flask-sqlalchemy
+Source0:        http://pypi.python.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-flask
+
+%description
+Flask-SQLAlchemy is an extension for Flask that adds support for
+SQLAlchemy to your application. It aims to simplify using SQLAlchemy with 
+Flask by providing useful defaults and extra helpers that make it easier 
+to accomplish common tasks.
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+rm -f docs/_static/.DS_Store
+rm -f docs/.DS_Store
+rm -f docs/_themes/.gitignore
+chmod -x docs/_static/flask-sqlalchemy-small.png
+
+%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 docs/ README CHANGES LICENSE PKG-INFO
+
+%{python_sitelib}/*-nspkg.pth
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/flaskext/
+
+%changelog
+* Thu Jul 21 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.14-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..c351444 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7e00ebdc0fac4d9751a7125a07d9e906  Flask-SQLAlchemy-0.14.tar.gz


More information about the scm-commits mailing list