python-mako/python-mako.spec

115 lines
4.1 KiB
RPMSpec
Raw Normal View History

Name: python-mako
Version: 1.0.9
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.debian.net/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%{?pyappend}
Requires: python-markupsafe%{?pyappend}
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.
%if 0%{?with_pyver}
%pyver_package
%endif
%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} \
--record=%{name}.filelist
%if 0%{?with_pyver}
# conflicting
rm -f %{buildroot}%{_bindir}/mako-render
sed -i "/mako-render/d" %{name}.filelist
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE
#CHANGES README doc examples
%changelog
* Tue Apr 16 2019 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist
* Thu Mar 21 2019 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
- automatic version update by autodist
* Thu Nov 10 2016 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
- automatic version update by autodist
* Fri Nov 04 2016 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
- automatic version update by autodist
* Fri Aug 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- added -py3 package
* 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