File python-mako.spec of Package python-mako

%define modname Mako
Name:           python-mako
Version:        0.2.4
Release:        1
Summary:        A Super-Fast Templating Language
URL:            http://www.makotemplates.org/
License:        MIT
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires:  python-beaker python-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.

Authors:
--------
    Mike Bayer <mike@zzzcomputing.com>

%prep
%setup -q -n %{modname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc examples CHANGES LICENSE README

%changelog

* Wed Mar 04 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 0.2.4
- Update to 0.2.4

* Tue Dec 02 2008 - James Oakley <jfunk@funktronics.ca> - 0.2.3-1
- Initial release

openSUSE Build Service is sponsored by