[python-flask-restless] Initial Import (#995283)
Yohan Graterol
yograterol at fedoraproject.org
Sat Aug 10 03:36:16 UTC 2013
commit a15946662ab5d34fe247622ef4e7301b5a271d49
Author: Yohan Graterol <yohangraterol92 at gmail.com>
Date: Fri Aug 9 23:06:01 2013 -0430
Initial Import (#995283)
.gitignore | 1 +
python-flask-restless.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e5cb75a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flask-restless-0.11-838b57d.tar.gz
diff --git a/python-flask-restless.spec b/python-flask-restless.spec
new file mode 100644
index 0000000..42ffc14
--- /dev/null
+++ b/python-flask-restless.spec
@@ -0,0 +1,50 @@
+%global commit 838b57d255cf009acc5a81f5d627a77dff2301df
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global pkgname flask-restless
+
+Name: python-flask-restless
+Version: 0.11
+Release: 1%{?dist}
+Summary: Flask-Restless provides simple generation of ReSTful APIs
+
+License: AGPLv3 and BSD
+URL: http://flask-restless.readthedocs.org/
+Source0: https://github.com/jfinkels/flask-restless/archive/%{commit}/%{pkgname}-%{version}-%{shortcommit}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-flask
+BuildRequires: python-sqlalchemy
+BuildRequires: python-dateutil
+BuildRequires: python-nose
+
+%description
+Flask-Restless provides simple generation of ReSTful APIs for database
+models defined using SQLAlchemy (or Flask-SQLAlchemy). The generated
+APIs send and receive messages in JSON format.
+
+%prep
+%setup -qn %{pkgname}-%{commit}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%check
+%{__python} setup.py test
+
+
+%files
+%doc README LICENSE.AGPL LICENSE.BSD CHANGES AUTHORS
+%{python_sitelib}/flask_restless
+%{python_sitelib}/Flask_Restless-*.egg-info
+
+
+%changelog
+* Wed Aug 07 2013 Yohan Graterol <yohangraterol92 at gmail.com> - 0.11-1
+- Initial Packaging
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..a9dc164 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eb9560193321f3171c88a2261ad2b673 flask-restless-0.11-838b57d.tar.gz
More information about the scm-commits
mailing list