[607] | 1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | |
---|
| 3 | Name: python-mako |
---|
[6163] | 4 | Version: 0.7.0 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[607] | 6 | Summary: Mako template library for Python |
---|
| 7 | Summary(ja): Python の Mako テンプレートライブラリ |
---|
| 8 | |
---|
| 9 | Group: Development/Languages |
---|
| 10 | License: MIT |
---|
| 11 | URL: http://www.makotemplates.org/ |
---|
| 12 | Source0: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: python-setuptools |
---|
| 16 | Requires: python-beaker |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Mako is a template library written in Python. It provides a familiar, non-XML |
---|
| 20 | syntax which compiles into Python modules for maximum performance. Mako's |
---|
| 21 | syntax and API borrows from the best ideas of many others, including Django |
---|
| 22 | templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded |
---|
| 23 | Python (i.e. Python Server Page) language, which refines the familiar ideas of |
---|
| 24 | componentized layout and inheritance to produce one of the most straightforward |
---|
| 25 | and flexible models available, while also maintaining close ties to Python |
---|
| 26 | calling and scoping semantics. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n Mako-%{version} |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %{__python} setup.py build |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %files |
---|
| 47 | %defattr(-,root,root,-) |
---|
[5591] | 48 | %doc CHANGES LICENSE README.rst doc/ examples/ |
---|
[607] | 49 | %{_bindir}/mako-render |
---|
| 50 | %{python_sitelib}/* |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %changelog |
---|
[6163] | 54 | * Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.0-1 |
---|
| 55 | - new upstream release |
---|
| 56 | |
---|
[5701] | 57 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.2-2 |
---|
| 58 | - rebuild with python-2.7.2 |
---|
| 59 | |
---|
[5591] | 60 | * Wed Feb 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-1 |
---|
| 61 | - new upstream release |
---|
| 62 | |
---|
[5143] | 63 | * Sat Nov 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1 |
---|
| 64 | - new upstream release |
---|
| 65 | |
---|
[4624] | 66 | * Sat Aug 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1 |
---|
| 67 | - new upstream release |
---|
| 68 | |
---|
[3788] | 69 | * Sun May 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
[2785] | 72 | * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.0-1 |
---|
| 73 | - new upstream release |
---|
| 74 | |
---|
[2281] | 75 | * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.6-1 |
---|
| 76 | - new upstream release |
---|
| 77 | |
---|
[2184] | 78 | * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.5-1 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
[1980] | 81 | * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-2 |
---|
| 82 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 83 | |
---|
[1264] | 84 | * Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.4-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[1142] | 87 | * Sat Jun 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.3-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[607] | 90 | * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1 |
---|
| 91 | - initial build for VineSeed |
---|
| 92 | |
---|
| 93 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3 |
---|
| 94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 95 | |
---|
| 96 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2 |
---|
| 97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 98 | |
---|
| 99 | * Tue Jan 06 2009 Luke Macken <lmacken@redhat.com> - 0.2.4-1 |
---|
| 100 | - Update to 0.2.4 |
---|
| 101 | |
---|
| 102 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.10-3 |
---|
| 103 | - Rebuild for Python 2.6 |
---|
| 104 | |
---|
| 105 | * Sun May 11 2008 Kyle VanderBeek <kylev@kylev.com> - 0.1.10-2 |
---|
| 106 | - Fix rpmlint warnings. |
---|
| 107 | - Add docs and examples. |
---|
| 108 | |
---|
| 109 | * Wed Apr 9 2008 Kyle VanderBeek <kylev@kylev.com> - 0.1.10-1 |
---|
| 110 | - Initial version. |
---|