[python-flask-wtf] Initial import (#724006).
kumarpraveen
kumarpraveen at fedoraproject.org
Sat Jul 23 15:50:16 UTC 2011
commit c2ee0494269138df1f5add7f0c37d0f352d28d74
Author: Praveen <daredevil at localhost.localdomain>
Date: Sat Jul 23 21:18:59 2011 +0530
Initial import (#724006).
.gitignore | 1 +
python-flask-wtf.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9793bce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-WTF-0.5.2.tar.gz
diff --git a/python-flask-wtf.spec b/python-flask-wtf.spec
new file mode 100644
index 0000000..fcec890
--- /dev/null
+++ b/python-flask-wtf.spec
@@ -0,0 +1,45 @@
+%global mod_name Flask-WTF
+
+Name: python-flask-wtf
+Version: 0.5.2
+Release: 1%{?dist}
+Summary: Simple integration of Flask and WTForms
+
+Group: Development/Libraries
+License: BSD
+URL: http://bitbucket.org/danjac/flask-wtf
+Source0: http://pypi.python.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-wtforms
+BuildRequires: python-setuptools
+
+%description
+Flask-WTF offers simple integration with WTForms. This integration
+includes optional CSRF handling for greater security.
+
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+rm -f docs/index.rst.orig
+
+%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/ LICENSE PKG-INFO README
+
+%{python_sitelib}/*-nspkg.pth
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/flaskext/
+
+%changelog
+* Thu Jul 21 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.5.2-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..be43f65 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a291ad7f8b7fbf710c0d4b3f2aa0c175 Flask-WTF-0.5.2.tar.gz
More information about the scm-commits
mailing list