[python-tw2-dynforms] Initial import (#811769)
Ralph Bean
ralph at fedoraproject.org
Fri May 4 15:38:38 UTC 2012
commit d00bd6f1f97c8f573455312c4df7a4667cb3d5e4
Author: Ralph Bean <rbean at redhat.com>
Date: Fri May 4 11:38:30 2012 -0400
Initial import (#811769)
.gitignore | 1 +
python-tw2-dynforms.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e510630 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tw2.dynforms-2.0.1.tar.gz
diff --git a/python-tw2-dynforms.spec b/python-tw2-dynforms.spec
new file mode 100644
index 0000000..1269185
--- /dev/null
+++ b/python-tw2-dynforms.spec
@@ -0,0 +1,85 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%global modname tw2.dynforms
+
+Name: python-tw2-dynforms
+Version: 2.0.1
+Release: 2%{?dist}
+Summary: Dynamic forms for ToscaWidgets2
+
+Group: Development/Languages
+License: MIT
+URL: http://toscawidgets.org
+Source0: http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+BuildArch: noarch
+
+# For building
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-tw2-core
+BuildRequires: python-tw2-forms
+BuildRequires: python-genshi
+
+# For tests
+BuildRequires: python-nose
+BuildRequires: python-formencode
+BuildRequires: python-BeautifulSoup
+BuildRequires: python-strainer
+BuildRequires: python-webtest
+
+# Runtime requirements
+Requires: python-tw2-core
+Requires: python-tw2-forms
+Requires: python-genshi
+
+%description
+ToscaWidgets is a web widget toolkit for Python to aid in the creation,
+packaging and distribution of common view elements normally used in the web.
+
+tw2.dynforms includes dynamic form building widgets that use JavaScript.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%if %{?rhel}%{!?rhel:0} >= 6
+
+# Make sure that epel/rhel picks up the correct version of webob
+awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' setup.py > setup.py.tmp
+mv setup.py.tmp setup.py
+
+# Remove all the fancy nosetests configuration for older python
+rm setup.cfg
+
+%endif
+
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build \
+ --install-data=%{_datadir} --root %{buildroot}
+
+%check
+PYTHONPATH=$(pwd) python setup.py test
+
+%files
+%doc README.rst LICENSE
+%{python_sitelib}/tw2/dynforms
+%{python_sitelib}/%{modname}-%{version}-*.egg
+
+%changelog
+* Thu May 03 2012 Ralph Bean <rbean at redhat.com> - 2.0.1-2
+- Fixed incoherent-version-in-changelog.
+- Fixed directory ownership issue.
+
+* Wed May 02 2012 Ralph Bean <rbean at redhat.com> - 2.0.1-1
+- New upstream release. Contains license file.
+
+* Wed May 02 2012 Ralph Bean <rbean at redhat.com> - 2.0.0-2
+- Removed clean section
+- Removed defattr in files section
+- Removed unnecessary references to buildroot
+
+* Wed Apr 11 2012 Ralph Bean <rbean at redhat.com> - 2.0.0-1
+- Initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..6caf861 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0d1644e87ed7d165bf4196c3d3d2ec04 tw2.dynforms-2.0.1.tar.gz
More information about the scm-commits
mailing list