rpms/python-tw-forms/EL-5 python-tw-forms.spec,NONE,1.1
Toshio くらとみ
toshio at fedoraproject.org
Fri Dec 5 20:12:11 UTC 2008
Author: toshio
Update of /cvs/pkgs/rpms/python-tw-forms/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18697
Added Files:
python-tw-forms.spec
Log Message:
And the spec file.
--- NEW FILE python-tw-forms.spec ---
%{!?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.2
Release: 2%{?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
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.9.2-2
- Rebuild for Python 2.6
* Thu Oct 23 2008 Luke Macken <lmacken at redhat.com> - 0.9.2-1
- Update to tw.forms 0.9.2
* Sun Jul 27 2008 Toshio Kuratomi <toshio at fedoraproject.org> 0.9.1-1
- Initial Fedora Build
More information about the fedora-extras-commits
mailing list