python-mako-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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: 1.0.1
  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.rst doc/ examples/
  36. %{_bindir}/mako-render
  37. %{python_sitelib}/*
  38. %changelog
  39. * Sat May 09 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.1-1
  40. - new upstream release
  41. * Sat Dec 14 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-1
  42. - new upstream release
  43. * Sun Apr 28 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.0-1
  44. - new upstream release
  45. * Fri Nov 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.3-1
  46. - new upstream release
  47. * Fri Aug 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
  48. - new upstream release
  49. * Thu Jul 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.1-1
  50. - new upstream release
  51. * Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.0-1
  52. - new upstream release
  53. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.2-2
  54. - rebuild with python-2.7.2
  55. * Wed Feb 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-1
  56. - new upstream release
  57. * Sat Nov 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
  58. - new upstream release
  59. * Sat Aug 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1
  60. - new upstream release
  61. * Sun May 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
  62. - new upstream release
  63. * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.0-1
  64. - new upstream release
  65. * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.6-1
  66. - new upstream release
  67. * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.5-1
  68. - new upstream release
  69. * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-2
  70. - rebuilt with rpm-4.8.1 for pkg-config
  71. * Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-1
  72. - new upstream release
  73. * Sat Jun 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.3-1
  74. - new upstream release
  75. * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  76. - initial build for VineSeed
  77. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  79. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  81. * Tue Jan 06 2009 Luke Macken <lmacken@redhat.com> - 0.2.4-1
  82. - Update to 0.2.4
  83. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.10-3
  84. - Rebuild for Python 2.6
  85. * Sun May 11 2008 Kyle VanderBeek <kylev@kylev.com> - 0.1.10-2
  86. - Fix rpmlint warnings.
  87. - Add docs and examples.
  88. * Wed Apr 9 2008 Kyle VanderBeek <kylev@kylev.com> - 0.1.10-1
  89. - Initial version.