python-clientform-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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: 4%{?_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. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. ClientForm is a Python module for handling HTML forms on the client side,
  20. useful for parsing HTML forms, filling them in and returning the completed
  21. forms to the server. It developed from a port of Gisle Aas' Perl module
  22. HTML::Form, from the libwww-perl library, but the interface is not the same.
  23. %prep
  24. %setup -q -n ClientForm-%{version}
  25. %build
  26. %{__python} setup.py build
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. %{__python} setup.py install --single-version-externally-managed -O1 \
  30. --skip-build --root $RPM_BUILD_ROOT
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc COPYING.txt GeneralFAQ.html README.txt README.html examples
  36. %{python_sitelib}/ClientForm.py
  37. %{python_sitelib}/ClientForm.pyc
  38. %{python_sitelib}/ClientForm.pyo
  39. %{python_sitelib}/ClientForm-%{version}-py%{pyver}.egg-info
  40. %changelog
  41. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-4
  42. - rebuild with VineSeed environment
  43. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-3
  44. - rebuild with python-2.7.2
  45. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.7-2
  46. - rebuilt with python-2.6.4
  47. * Sat Dec 27 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.7-1
  48. - initial build for Vine Linux based on fedora package
  49. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.7-3
  50. - Rebuild for Python 2.6
  51. * Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> 0.2.7-2
  52. - Update for python-setuptools changes in rawhide
  53. * Sat Aug 18 2007 Luke Macken <lmacken@redhat.com> 0.2.7-1
  54. - 0.2.7
  55. * Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> 0.2.6-1
  56. - 0.2.6
  57. * Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.2.5-2
  58. - Rebuild for python 2.5
  59. - 0.2.5
  60. * Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> 0.2.2-6
  61. - Rebuild for FC6
  62. * Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> 0.2.2-5
  63. - Include .pyo files instead of ghosting them
  64. * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-4
  65. - Install with --single-version-externally-managed flag
  66. - Add a few more docs
  67. * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-3
  68. - Add python-setuptools to BuildRequires
  69. * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-2
  70. - Fix version in Source0
  71. * Thu May 11 2006 Luke Macken <lmacken@redhat.com> 0.2.2-1
  72. - Bump to 0.2.2
  73. * Tue Feb 14 2006 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-4
  74. - Bump for FE5 rebuild
  75. * Sun Oct 30 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-3
  76. - Fix up review comments
  77. * Thu Oct 6 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-2
  78. - Rename package to add python- prefix
  79. * Wed Oct 5 2005 Josh Boyer <jwboyer@jdub.homelinux.org> 0.1.17-1
  80. - Initial spec file