[python-wtforms] Initial import (#723966).
kumarpraveen
kumarpraveen at fedoraproject.org
Sat Jul 23 15:56:38 UTC 2011
commit 4ee03fec42c5299e6496e671606ab17d841c33ae
Author: Praveen <daredevil at localhost.localdomain>
Date: Sat Jul 23 21:25:37 2011 +0530
Initial import (#723966).
.gitignore | 1 +
python-wtforms.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fa57fdd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WTForms-0.6.3.zip
diff --git a/python-wtforms.spec b/python-wtforms.spec
new file mode 100644
index 0000000..d8bec86
--- /dev/null
+++ b/python-wtforms.spec
@@ -0,0 +1,49 @@
+%global mod_name WTForms
+
+Name: python-wtforms
+Version: 0.6.3
+Release: 1%{?dist}
+Summary: Forms validation and rendering library for python
+
+Group: Development/Libraries
+License: BSD
+URL: http://wtforms.simplecodes.com/
+Source0: http://pypi.python.org/packages/source/W/WTForms/WTForms-0.6.3.zip
+
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+
+%description
+With wtforms, your form field HTML can be generated for you.
+This allows you to maintain separation of code and presentation,
+and keep those messy parameters out of your python code.
+
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+sed -i "s|\r||g" docs/html/_sources/index.txt
+sed -i "s|\r||g" docs/conf.py
+sed -i "s|\r||g" CHANGES.txt
+sed -i "s|\r||g" docs/Makefile
+sed -i "s|\r||g" docs/index.rst
+rm -f docs/html/.buildinfo
+
+%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.txt CHANGES.txt LICENSE.txt PKG-INFO
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/wtforms/
+
+
+%changelog
+* Thu Jul 21 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.6.3-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..23b6058 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e0a64ff0b37b925e03621446cbfdba85 WTForms-0.6.3.zip
More information about the scm-commits
mailing list