python-mako/python-mako.spec

197 lines
7.1 KiB
RPMSpec

Name: python-mako
Version: 1.3.6
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: https://www.makotemplates.org/
Source: https://pypi.debian.net/Mako/mako-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(markupsafe)
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{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)
%dir %{python_sitearch}/Mako-%{version}-py*.egg-info
%{python_sitearch}/Mako-%{version}-py*.egg-info/*
%doc LICENSE
#CHANGES README doc examples
%changelog
* Sun Nov 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-1mamba
- update to 1.3.6
* Wed May 15 2024 Automatic Build System <autodist@openmamba.org> 1.3.5-1mamba
- automatic version update by autodist
* Tue May 14 2024 Automatic Build System <autodist@openmamba.org> 1.3.4-1mamba
- automatic version update by autodist
* Thu Apr 11 2024 Automatic Build System <autodist@openmamba.org> 1.3.3-1mamba
- automatic version update by autodist
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 1.3.2-1mamba
- automatic version update by autodist
* Tue Jan 23 2024 Automatic Build System <autodist@openmamba.org> 1.3.1-1mamba
- automatic version update by autodist
* Thu Nov 09 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.2.4-3mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Sun Sep 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-2mamba
- rebuilt with python 3.10
* Wed Nov 16 2022 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
- automatic version update by autodist
* Fri Sep 23 2022 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Tue Aug 30 2022 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Thu Jun 30 2022 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Tue Apr 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with distdeps
* Fri Mar 11 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Wed Nov 17 2021 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
- automatic version update by autodist
* Sat Aug 21 2021 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
- automatic version update by autodist
* Mon Feb 01 2021 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic version update by autodist
* Sat May 30 2020 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic version update by autodist
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- update to 1.1.0
* Thu Jul 25 2019 Automatic Build System <autodist@mambasoft.it> 1.0.14-1mamba
- automatic version update by autodist
* Fri Jul 05 2019 Automatic Build System <autodist@mambasoft.it> 1.0.13-1mamba
- automatic version update by autodist
* Fri Jun 07 2019 Automatic Build System <autodist@mambasoft.it> 1.0.12-1mamba
- automatic version update by autodist
* Sat Jun 01 2019 Automatic Build System <autodist@mambasoft.it> 1.0.11-1mamba
- automatic version update by autodist
* Sat May 11 2019 Automatic Build System <autodist@mambasoft.it> 1.0.10-1mamba
- automatic version update by autodist
* 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