source: projects/specs/branches/6/p/python-mako/python-mako-vl.spec @ 3788

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