diff --git a/README.md b/README.md index b5d4558..9a679b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-Jinja2 +Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. + diff --git a/python-Jinja2.spec b/python-Jinja2.spec new file mode 100644 index 0000000..2df34bc --- /dev/null +++ b/python-Jinja2.spec @@ -0,0 +1,68 @@ +Name: python-Jinja2 +Version: 2.7.2 +Release: 1mamba +Summary: A small but fast and easy to use stand-alone template engine written in pure python. +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://jinja.pocoo.org/ +Source: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. + +%prep +%setup -q -n Jinja2-%{version} + +%build +CFLAGS="%{optflags}" 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) +%{python_sitearch}/jinja2/* +%{python_sitearch}/Jinja2-%{version}-py*.egg-info/* + +%changelog +* Sun Feb 23 2014 Automatic Build System 2.7.2-1mamba +- automatic update by autodist + +* Sun Aug 11 2013 Automatic Build System 2.7.1-1mamba +- automatic update by autodist + +* Sun Jun 09 2013 Automatic Build System 2.7-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Silvan Calarco 2.6-2mamba +- python 2.7 mass rebuild + +* Sat Jul 30 2011 Automatic Build System 2.6-1mamba +- automatic update by autodist + +* Tue Nov 09 2010 Automatic Build System 2.5.5-1mamba +- automatic update by autodist + +* Fri Aug 20 2010 Automatic Build System 2.5.2-1mamba +- automatic update by autodist + +* Thu Jun 24 2010 Automatic Build System 2.5-1mamba +- automatic update by autodist + +* Sat Jan 02 2010 Silvan Calarco 2.2.1-1mamba +- package created by autospec