python-genshi-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %define ver 0.6
  3. %define rel 4
  4. Summary: Python toolkit for generation of output for the web
  5. Name: python-genshi
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.gz
  9. License: modified BSD-style License
  10. Group: Development/Libraries
  11. URL: http://genshi.edgewall.org/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: python-babel >= 0.8 python-setuptools >= 0.6a2
  14. BuildRequires: python-devel
  15. BuildRequires: python-babel >= 0.8 python-setuptools >= 0.6a2
  16. BuildArch: noarch
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web.
  21. %prep
  22. %setup -q -n Genshi-%{version}
  23. %build
  24. python setup.py build
  25. %install
  26. %{__rm} -rf ${RPM_BUILD_ROOT}
  27. python setup.py install --root=${RPM_BUILD_ROOT}
  28. %clean
  29. %{__rm} -rf ${RPM_BUILD_ROOT}
  30. %files
  31. %defattr(-,root,root)
  32. %doc COPYING ChangeLog README.txt doc examples
  33. ##%{python_sitearch}/Genshi-*.egg-info
  34. ##%{python_sitearch}/genshi
  35. %{python_sitelib}/Genshi-*.egg-info
  36. %{python_sitelib}/genshi
  37. %changelog
  38. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-4
  39. - rebuild with VineSeed environment
  40. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-3
  41. - rebuild with python-2.7.2
  42. * Wed Apr 13 2011 Shu KONNO <owa@bg.wakwak.com> 0.6-2
  43. - fixed python path
  44. - added BuildArch: noarch
  45. * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.6-1
  46. - new upstream release
  47. - add BuildRequires: python-devel
  48. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.5.1-2
  49. - rebuild with python-2.6
  50. * Sun Apr 5 2009 IWAI, Masaharu <iwai@alib.jp> 0.5.1-1
  51. - initial release