Author: glen Date: Wed Aug 6 17:06:39 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new, C-extension has build failures here
---- Files affected: SPECS: python-genshi.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-genshi.spec diff -u /dev/null SPECS/python-genshi.spec:1.1 --- /dev/null Wed Aug 6 19:06:39 2008 +++ SPECS/python-genshi.spec Wed Aug 6 19:06:33 2008 @@ -0,0 +1,64 @@ +# $Revision$, $Date$ +# TODO +# - WARNING: +# An optional C extension could not be compiled, speedups will not be +# available: +# - /usr/include/python2.4/pyport.h:616:2: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." +Summary: Python toolkit for generation of output for the web +Name: python-genshi +Version: 0.5.1 +Release: 0.1 +License: BSD +Group: Development/Languages/Python +Source0: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.bz2 +# Source0-md5: 822942bbc3109da9f6b472eb8ea4e3a4 +URL: http://genshi.edgewall.org/ +BuildRequires: python-devel +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.219 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Genshi is a Python library that provides an integrated set of +components for parsing, generating, and processing HTML, XML or other +textual content for output generation on the web. + +%prep +%setup -q -n Genshi-%{version} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install \ + --optimize=2 \ + --root=$RPM_BUILD_ROOT + +%py_ocomp $RPM_BUILD_ROOT%{py_sitedir} +%py_comp $RPM_BUILD_ROOT%{py_sitedir} +%py_postclean + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog +%{py_sitedir}/genshi/*.py[co] +%dir %{py_sitedir}/genshi/filters +%{py_sitedir}/genshi/filters/transform.py[co] +%dir %{py_sitedir}/genshi/template +%{py_sitedir}/genshi/template/text.py[co] + +# egg info is built with py 2.4 too +%{py_sitedir}/Genshi-*.egg-info + +%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.1 2008/08/06 17:06:33 glen +- new, C-extension has build failures here ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
