]> git.pld-linux.org Git - packages/python-jinja.git/blob - python-jinja.spec
705af83bfb6bf6c1c78bdd4bfcbe36d08f96dc64
[packages/python-jinja.git] / python-jinja.spec
1
2 %define module jinja
3 Summary:        Template engine
4 Name:           python-%{module}
5 Version:        1.2
6 Release:        3
7 License:        BSD
8 Group:          Development/Languages/Python
9 Source0:        http://pypi.python.org/packages/source/J/Jinja/Jinja-%{version}.tar.gz
10 # Source0-md5:  1235a005ade00b213800ff1e798c0241
11 URL:            http://jinja.pocoo.org/1/
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 Requires:       python-docutils >= 0.5
14 BuildRequires:  python-devel
15 %pyrequires_eq  python-modules
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Jinja is a sandboxed  template engine written in pure Python  licensed
20 under the BSD license. It provides a Django-like non-XML syntax and
21 compiles templates into executable python code. It's basically a
22 combination of Django templates and python code.
23
24 %prep
25 %setup -q -n Jinja-%{version}
26
27 %build
28 %py_build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %py_install
34
35 %py_postclean
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc PKG-INFO TODO AUTHORS
43 %{py_sitedir}/%{module}
44 %{py_sitedir}/*Jinja*.egg*
This page took 0.060648 seconds and 2 git commands to generate.