Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python-jinja2
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 14
[-]
[+]
Added
python-jinja2.spec
@@ -0,0 +1,50 @@ +# +# spec file for package python-jinja2 for Mer, based on OpenSUSE version +# + +%define modname jinja2 +Name: python-%{modname} +Version: 2.7.2 +Release: 1 +Summary: General purpose template engine +License: BSD +Group: Development/Libraries +URL: http://jinja.pocoo.org/ +Packager: Roberto Colistete Jr. <rcolistete.maemo@gmail.com> +Source: Jinja2-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-markupsafe +BuildArch: noarch + +%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. + +If you have any exposure to other text-based template languages, such +as Smarty or Django, you should feel right at home with Jinja2. It's +both designer and developer friendly by sticking to Python's principles +and adding functionality useful for templating environments. + +%prep +%setup -q -n Jinja2-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGES LICENSE +%doc ext +%doc examples +%{python_sitelib}/* + +%changelog +* Mon May 05 2014 Roberto Colistete Jr. <rcolistete.maemo@gmail.com> - 2.7.2 +- python-jinja2 2.7.2 (10/01/2014) version for Mer : +- * first release (05/05/2014).