From e6f0183a0a9e0d4c4b890091cdd9beea1c09129b Mon Sep 17 00:00:00 2001 From: Toshio くらとみ Date: Aug 05 2008 15:34:45 +0000 Subject: Initial Import --- diff --git a/.cvsignore b/.cvsignore index e69de29..226e1d4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tw.forms-0.9.1.tar.gz diff --git a/python-tw-forms.spec b/python-tw-forms.spec new file mode 100644 index 0000000..f25272e --- /dev/null +++ b/python-tw-forms.spec @@ -0,0 +1,52 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +%define srcname tw.forms +Name: python-tw-forms +Version: 0.9.1 +Release: 1%{?dist} +Summary: Web Widgets for building and validating forms in ToscaWidgets +Group: Development/Languages +# The javascript for the calendar widget is licensed under LGPLv2.1+ +License: MIT and LGPLv2+ +URL: http://toscawidgets.org/ +Source0: http://pypi.python.org/packages/source/t/%{srcname}/%{srcname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-toscawidgets +Requires: python-formencode >= 1.0.1 + +%description +tw.forms is a set of html and javascript widgets for the ToscaWidgets +framework. They give authors basic html form elements as building blocks +for their own web pages and widgets. + + +%prep +%setup -q -n %{srcname}-%{version} + + +%build +chmod 0644 tw/forms/static/grid.css +sed -i 's/\r//' tw/forms/static/grid.css +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* + + +%changelog +* Sun Jul 27 2008 Toshio Kuratomi 0.9.1-1 +- Initial Fedora Build diff --git a/sources b/sources index e69de29..ab50cc4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fd8b0b491c9a9812e12276b8fc86609f tw.forms-0.9.1.tar.gz