Group :: Development/Python
RPM: python-module-PyXML
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: python-module-PyXML
Version: 0.8.4
Release: alt1
Summary: XML libraries for python
Group: Development/Python
License: Various
Url: http://pyxml.sourceforge.net/
Source: http://prdownloads.sourceforge.net/pyxml/PyXML-%version.tar.bz2
%define python_optlevel 2
%setup_python_module PyXML
# hack for unknown deps
%add_python_req_skip XMLFactory XMLinter xml_dc
Provides: PyXML
Obsoletes: PyXML
# Automatically added by buildreq on Tue Mar 22 2005
BuildRequires: libexpat-devel python-base python-dev python-modules-encodings
%description
An XML package for Python. The distribution contains a
validating XML parser, an implementation of the SAX and DOM
programming interfaces and an interface to the Expat parser.
%prep
%setup -q -n PyXML-%version
%build
CFLAGS="$RPM_OPT_FLAGS" python setup.py build --with-libexpat=%_prefix
%install
python setup.py install \
--optimize=%python_optlevel \
--root=$RPM_BUILD_ROOT \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc LICENCE ANNOUNCE CREDITS README* TODO doc/*
%changelog
…
Full changelog you can see here
Version: 0.8.4
Release: alt1
Summary: XML libraries for python
Group: Development/Python
License: Various
Url: http://pyxml.sourceforge.net/
Source: http://prdownloads.sourceforge.net/pyxml/PyXML-%version.tar.bz2
%define python_optlevel 2
%setup_python_module PyXML
# hack for unknown deps
%add_python_req_skip XMLFactory XMLinter xml_dc
Provides: PyXML
Obsoletes: PyXML
# Automatically added by buildreq on Tue Mar 22 2005
BuildRequires: libexpat-devel python-base python-dev python-modules-encodings
%description
An XML package for Python. The distribution contains a
validating XML parser, an implementation of the SAX and DOM
programming interfaces and an interface to the Expat parser.
%prep
%setup -q -n PyXML-%version
%build
CFLAGS="$RPM_OPT_FLAGS" python setup.py build --with-libexpat=%_prefix
%install
python setup.py install \
--optimize=%python_optlevel \
--root=$RPM_BUILD_ROOT \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc LICENCE ANNOUNCE CREDITS README* TODO doc/*
%changelog
…
Full changelog you can see here