Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-jinja2
> python-jinja2.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-jinja2.spec of Package python-jinja2 (Revision 2)
Currently displaying revision
2
,
show latest
Name: python-jinja2 Version: 2.6 Release: 1 Url: http://jinja.pocoo.org/ License: BSD Summary: Python template engine Group: Development/Languages/Python Source0: Jinja2-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-distribute BuildRequires: python BuildRequires: python-devel Requires: python Requires: python-distribute %description Jinja2 is a full featured template engine for Python. It has full unicode support, an optional integrated sandboxed execution environment, widely used and BSD licensed. %prep %setup -n Jinja2-%{version} %build python setup.py build %install %if 0%{?suse_version} python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} \ --record-rpm=%{name}.filelist %else python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > %{_builddir}/Jinja2-%{version}/%{name}.filelist find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/Jinja2-%{version}/%{name}.filelist find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/Jinja2-%{version}/%{name}.filelist sed -i s@"\.py$"@"\.py\*"@g %{_builddir}/Jinja2-%{version}/%{name}.filelist %endif %clean rm -rf %{buildroot} %files -f %{name}.filelist %defattr(-,root,root) %doc AUTHORS CHANGES %changelog