python-clientform-vl.spec 3.2 KB

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