SPECS: python-ezt.spec (NEW) - simple templating engine
arekm
arekm at pld-linux.org
Tue Jul 1 22:31:27 CEST 2008
Author: arekm Date: Tue Jul 1 20:31:27 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- simple templating engine
---- Files affected:
SPECS:
python-ezt.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-ezt.spec
diff -u /dev/null SPECS/python-ezt.spec:1.1
--- /dev/null Tue Jul 1 22:31:27 2008
+++ SPECS/python-ezt.spec Tue Jul 1 22:31:22 2008
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%bcond_without tests
+Summary: EZT is a very clean and simple module for templating in Python
+Name: python-ezt
+# 0.svnrevision
+Version: 0.22
+Release: 1
+License: LGPL
+Group: Libraries/Python
+# http://ezt.googlecode.com/svn/trunk/ ezt
+Source0: ezt-20080701.tar.gz
+# Source0-md5: 82b3eb1fefd547e543d0c1ee5be051b9
+URL: http://code.google.com/p/ezt/
+BuildRequires: python >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+EZT is a very clean and simple module for templating in Python.
+
+%prep
+%setup -q -n ezt
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/ezt
+
+:> $RPM_BUILD_ROOT%{py_sitescriptdir}/ezt/__init__.py
+install ezt.py $RPM_BUILD_ROOT%{py_sitescriptdir}/ezt
+
+%py_comp $RPM_BUILD_ROOT
+%py_ocomp $RPM_BUILD_ROOT
+%py_postclean
+
+%{?with_tests:cd tests; %{__python} ezt_test.py}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/ezt
+%{py_sitescriptdir}/ezt/*.py[co]
+
+%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/07/01 20:31:22 arekm
+- simple templating engine
+
================================================================
More information about the pld-cvs-commit
mailing list