Author: glen Date: Sun Dec 9 12:07:36 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - update to 2.0.1
---- Files affected: SPECS: python-cheetah.spec (1.33 -> 1.34) ---- Diffs: ================================================================ Index: SPECS/python-cheetah.spec diff -u SPECS/python-cheetah.spec:1.33 SPECS/python-cheetah.spec:1.34 --- SPECS/python-cheetah.spec:1.33 Thu Apr 5 23:35:56 2007 +++ SPECS/python-cheetah.spec Sun Dec 9 13:07:31 2007 @@ -2,17 +2,17 @@ Summary: Python-powered template engine and code-generator Summary(pl.UTF-8): System szablonów dla języka Python Name: python-cheetah -Version: 1.0 -Release: 4 +Version: 2.0.1 +Release: 0.1 License: Python Group: Libraries/Python Source0: http://dl.sourceforge.net/cheetahtemplate/Cheetah-%{version}.tar.gz -# Source0-md5: aaa4907b8877093b9bb11e6cea6b029b -Patch0: %{name}-setuptools.patch +# Source0-md5: 7845a2950ea850a13c488a26b61ac50a URL: http://www.cheetahtemplate.org/ BuildRequires: python >= 2.2.1 BuildRequires: python-devel >= 2.2.1 BuildRequires: python-setuptools >= 0.6-0.a9.1 +BuildRequires: rpmbuild(macros) >= 1.219 %pyrequires_eq python-modules BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -24,21 +24,20 @@ %prep %setup -q -n Cheetah-%{version} -%patch0 -p1 +#%patch0 -p1 %build python setup.py build %install rm -rf $RPM_BUILD_ROOT -PYTHONPATH=$RPM_BUILD_ROOT%{py_sitedir}; export PYTHONPATH - +export CHEETAH_USE_SETUPTOOLS=1 python setup.py install \ --single-version-externally-managed \ --optimize=2 \ --root=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \; +%py_postclean %clean rm -rf $RPM_BUILD_ROOT @@ -47,6 +46,7 @@ %defattr(644,root,root,755) %doc README %dir %{py_sitedir}/Cheetah +%dir %{py_sitedir}/Cheetah/Macros %dir %{py_sitedir}/Cheetah/Templates %dir %{py_sitedir}/Cheetah/Tests %dir %{py_sitedir}/Cheetah/Tools @@ -55,10 +55,12 @@ %{py_sitedir}/Cheetah/*.py[oc] %{py_sitedir}/Cheetah/*.so +%{py_sitedir}/Cheetah/Macros/*.py[oc] %{py_sitedir}/Cheetah/Templates/*.py[oc] %{py_sitedir}/Cheetah/Templates/*.tmpl %{py_sitedir}/Cheetah/Tests/*.py[oc] %{py_sitedir}/Cheetah/Tools/*.py[oc] +%{py_sitedir}/Cheetah/Tools/*.txt %{py_sitedir}/Cheetah/Utils/*.py[oc] %{py_sitedir}/Cheetah/Utils/optik/*.py[oc] %{py_sitedir}/Cheetah-*.egg-info @@ -66,12 +68,16 @@ %attr(755,root,root) %{_bindir}/cheetah %attr(755,root,root) %{_bindir}/cheetah-compile + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.34 2007-12-09 12:07:31 glen +- update to 2.0.1 + Revision 1.33 2007-04-05 21:35:56 megabajt - fix %files section - release 4 @@ -89,7 +95,7 @@ - tab Revision 1.28 2006/04/16 19:25:55 radzio -BR: python-setuptools (can we use release numbers in BRs?) +- BR: python-setuptools (can we use release numbers in BRs?) Revision 1.27 2006/04/16 19:16:35 radzio - add Patch0 to use setuptools (needed by python-PasteScript.spec) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-cheetah.spec?r1=1.33&r2=1.34&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
