diff --git a/.cvsignore b/.cvsignore index e69de29..8630905 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Mako-0.1.10.tar.gz diff --git a/python-mako.spec b/python-mako.spec new file mode 100644 index 0000000..1ff11d3 --- /dev/null +++ b/python-mako.spec @@ -0,0 +1,57 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-mako +Version: 0.1.10 +Release: 2%{?dist} +Summary: Mako template library for Python + +Group: Development/Languages +License: MIT +URL: http://www.makotemplates.org/ +Source0: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: python-setuptools-devel +Requires: python-beaker + +%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 +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc CHANGES LICENSE README doc examples +%{python_sitelib}/* + + +%changelog +* Sun May 11 2008 Kyle VanderBeek - 0.1.10-2 +- Fix rpmlint warnings. +- Add docs and examples. + +* Wed Apr 9 2008 Kyle VanderBeek - 0.1.10-1 +- Initial version. diff --git a/sources b/sources index e69de29..3f76681 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fd9c9f8175b6558c2a74b3f93dedb5e7 Mako-0.1.10.tar.gz