python-mako/python-mako.spec

97 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-mako
Version: 1.0.4
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 <silvan.calarco@mambasoft.it>
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
* Fri Mar 11 2016 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic version update by autodist
* Sat Nov 14 2015 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic version update by autodist
* Sat Sep 12 2015 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Fri Jan 23 2015 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Thu Jun 12 2014 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- update to 0.9.1
* Sat Sep 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic version update by autodist
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-2mamba
- python 2.7 mass rebuild
* Wed Apr 24 2013 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Wed Mar 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.3-1mamba
- update to 0.7.3
* Sat May 01 2010 gil <puntogil@libero.it> 0.3.2-1mamba
- update to 0.3.2
* Fri Nov 27 2009 gil <puntogil@libero.it> 0.2.5-1mamba
- package created by autospec