123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
- %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
- Name: python-clientform
- Version: 0.2.7
- Release: 2%{?_dist_release}
- Summary: Python module for client-side HTML forms
- Summary(ja): クライアントサイドの HTML フォーム用 Python モジュール
- Group: Development/Languages
- License: BSD
- URL: http://wwwsearch.sourceforge.net/ClientForm/
- Source0: http://wwwsearch.sourceforge.net/ClientForm/src/ClientForm-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: python-devel
- BuildRequires: python-setuptools
- %description
- ClientForm is a Python module for handling HTML forms on the client side,
- useful for parsing HTML forms, filling them in and returning the completed
- forms to the server. It developed from a port of Gisle Aas' Perl module
- HTML::Form, from the libwww-perl library, but the interface is not the same.
- %prep
- %setup -q -n ClientForm-%{version}
- %build
- %{__python} setup.py build
- %install
- rm -rf $RPM_BUILD_ROOT
- %{__python} setup.py install --single-version-externally-managed -O1 \
- --skip-build --root $RPM_BUILD_ROOT
-
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc COPYING.txt GeneralFAQ.html README.txt README.html examples
- %{python_sitelib}/ClientForm.py
- %{python_sitelib}/ClientForm.pyc
- %{python_sitelib}/ClientForm.pyo
- %{python_sitelib}/ClientForm-%{version}-py%{pyver}.egg-info
- %changelog
- * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.7-2
- - rebuilt with python-2.6.4
- * Sat Dec 27 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.7-1
- - initial build for Vine Linux based on fedora package
- * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.7-3
- - Rebuild for Python 2.6
- * Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> 0.2.7-2
- - Update for python-setuptools changes in rawhide
- * Sat Aug 18 2007 Luke Macken <lmacken@redhat.com> 0.2.7-1
- - 0.2.7
- * Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> 0.2.6-1
- - 0.2.6
- * Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.2.5-2
- - Rebuild for python 2.5
- - 0.2.5
- * Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> 0.2.2-6
- - Rebuild for FC6
- * Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> 0.2.2-5
- - Include .pyo files instead of ghosting them
- * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-4
- - Install with --single-version-externally-managed flag
- - Add a few more docs
- * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-3
- - Add python-setuptools to BuildRequires
- * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-2
- - Fix version in Source0
- * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-1
- - Bump to 0.2.2
- * Tue Feb 14 2006 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-4
- - Bump for FE5 rebuild
- * Sun Oct 30 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-3
- - Fix up review comments
- * Thu Oct 6 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-2
- - Rename package to add python- prefix
- * Wed Oct 5 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-1
- - Initial spec file
|