python-mako-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-mako
  3. Version: 0.3.5
  4. Release: 1%{?_dist_release}
  5. Summary: Mako template library for Python
  6. Summary(ja): Python の Mako テンプレートライブラリ
  7. Group: Development/Languages
  8. License: MIT
  9. URL: http://www.makotemplates.org/
  10. Source0: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: python-setuptools
  14. Requires: python-beaker
  15. %description
  16. Mako is a template library written in Python. It provides a familiar, non-XML
  17. syntax which compiles into Python modules for maximum performance. Mako's
  18. syntax and API borrows from the best ideas of many others, including Django
  19. templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
  20. Python (i.e. Python Server Page) language, which refines the familiar ideas of
  21. componentized layout and inheritance to produce one of the most straightforward
  22. and flexible models available, while also maintaining close ties to Python
  23. calling and scoping semantics.
  24. %prep
  25. %setup -q -n Mako-%{version}
  26. %build
  27. %{__python} setup.py build
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc CHANGES LICENSE README doc examples
  36. %{_bindir}/mako-render
  37. %{python_sitelib}/*
  38. %changelog
  39. * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.5-1
  40. - new upstream release
  41. * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-2
  42. - rebuilt with rpm-4.8.1 for pkg-config
  43. * Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-1
  44. - new upstream release
  45. * Sat Jun 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.3-1
  46. - new upstream release
  47. * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  48. - initial build for VineSeed
  49. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  51. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  53. * Tue Jan 06 2009 Luke Macken <lmacken@redhat.com> - 0.2.4-1
  54. - Update to 0.2.4
  55. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.10-3
  56. - Rebuild for Python 2.6
  57. * Sun May 11 2008 Kyle VanderBeek <kylev@kylev.com> - 0.1.10-2
  58. - Fix rpmlint warnings.
  59. - Add docs and examples.
  60. * Wed Apr 9 2008 Kyle VanderBeek <kylev@kylev.com> - 0.1.10-1
  61. - Initial version.