SPECS: python-jinja.spec (NEW) - based on sphinx-pdg.spec

wrobell wrobell at pld-linux.org
Thu Oct 16 21:48:42 CEST 2008


Author: wrobell                      Date: Thu Oct 16 19:48:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on sphinx-pdg.spec

---- Files affected:
SPECS:
   python-jinja.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-jinja.spec
diff -u /dev/null SPECS/python-jinja.spec:1.1
--- /dev/null	Thu Oct 16 21:48:42 2008
+++ SPECS/python-jinja.spec	Thu Oct 16 21:48:37 2008
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+
+%define module jinja
+Summary:	Template engine
+Name:		python-%{module}
+Version:	1.2
+Release:	1
+License:	BSD
+Group:		Development/Languages/Python
+Source0:	http://pypi.python.org/packages/source/J/Jinja/Jinja-%{version}.tar.gz
+# Source0-md5:	1235a005ade00b213800ff1e798c0241
+URL:		http://jinja.pocoo.org/1/
+Requires:	python-docutils >= 0.5
+BuildRequires:	python-devel
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Jinja is a sandboxed  template engine written in pure Python  licensed
+under the BSD license. It provides a Django-like non-XML syntax and
+compiles templates into executable python code. It's basically a
+combination of Django templates and python code.
+
+%prep
+%setup -q -n Jinja-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+		--optimize=2 \
+		--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc PKG-INFO TODO AUTHORS
+%{py_sitedir}/%{module}
+%{py_sitedir}/*Jinja*.egg*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/16 19:48:37  wrobell
+- based on sphinx-pdg.spec
+
================================================================


More information about the pld-cvs-commit mailing list