diff --git a/README.md b/README.md index f96f4e4..43fa336 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # python-mako +Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. +Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics. + diff --git a/python-mako.spec b/python-mako.spec new file mode 100644 index 0000000..743e4d7 --- /dev/null +++ b/python-mako.spec @@ -0,0 +1,81 @@ +Name: python-mako +Version: 0.9.1 +Release: 1mamba +Summary: A super-fast templating language that borrows the best ideas from the existing templating languages +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.makotemplates.org/ +Source: https://pypi.python.org/packages/source/M/Mako/Mako-%{version}.tar.gz +#Source: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel >= %python_version +## AUTOBUILDREQ-END +BuildRequires: python-setuptools-devel +Requires: python >= %python_version +Requires: python-beaker +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. +Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics. + +%prep + +%setup -q -n Mako-%{version} + +%build +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mako-render +%dir %{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info +%{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info/PKG-INFO +%{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info/*.txt +%{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info/not-zip-safe +%dir %{python_sitearch}/mako +%{python_sitearch}/mako/*.py +%{python_sitearch}/mako/*.pyc +%dir %{python_sitearch}/mako/ext +%{python_sitearch}/mako/ext/*.py +%{python_sitearch}/mako/ext/*.pyc +%doc LICENSE +#CHANGES README doc examples + +%changelog +* Sun Jan 12 2014 Silvan Calarco 0.9.1-1mamba +- update to 0.9.1 + +* Sat Sep 21 2013 Automatic Build System 0.9.0-1mamba +- automatic version update by autodist + +* Wed Jun 05 2013 Automatic Build System 0.8.1-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Silvan Calarco 0.8.0-2mamba +- python 2.7 mass rebuild + +* Wed Apr 24 2013 Automatic Build System 0.8.0-1mamba +- automatic version update by autodist + +* Wed Mar 06 2013 Silvan Calarco 0.7.3-1mamba +- update to 0.7.3 + +* Sat May 01 2010 gil 0.3.2-1mamba +- update to 0.3.2 + +* Fri Nov 27 2009 gil 0.2.5-1mamba +- package created by autospec