Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 1151c7e004fdb86aec59d3029fdfa145 > files > 3

python-pyxml-0.8.4-13mdv2010.1.src.rpm

%define module	PyXML
%define name	python-pyxml
%define version 0.8.4
%define release %mkrel 13

Name:		%{name}
Version:	%{version}
Release:	%{release}
URL:		http://pyxml.sourceforge.net/
Source0:	http://downloads.sourceforge.net/pyxml/%{module}-%{version}.tar.bz2
Patch0:     python-pyxml-fix_python_2.6.patch 
License:	MIT and Python and ZPLv1.0 and BSD
Group:		System/Libraries
Summary:	XML libraries for python
BuildRequires:	libexpat-devel >= 2.0.1
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
Obsoletes:	%{module}
Provides:	%{module}
%py_requires -d

%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 %{module}-%{version}
%patch0 -p0

%build
CFLAGS="%{optflags}" python setup.py build --with-libexpat=%{_prefix}

%install
rm -fr %{buildroot}
python setup.py install -O 1 --root=%{buildroot} --record=INSTALLED_FILES 

%clean
rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%doc LICENCE ANNOUNCE CREDITS README README.dom README.pyexpat README.sgmlop TODO doc/*
%py_platsitedir/*
%_bindir/*
%lang(de) %{py_platsitedir}/*/dom/de/
%lang(en_US) %{py_platsitedir}/*/dom/en_US/
%lang(fr) %{py_platsitedir}/*/dom/fr/


%changelog
* Wed Mar 17 2010 Oden Eriksson <oeriksson@mandriva.com> 0.8.4-13mdv2010.1
+ Revision: 523855
- rebuilt for 2010.1

* Mon Jan 12 2009 Michael Scherer <misc@mandriva.org> 0.8.4-12mdv2009.1
+ Revision: 328796
- fix usage with python 2.6, patch from p. Christeas, on bug 46709

  + Adam Williamson <awilliamson@mandriva.org>
    - rebuild with python 2.6
    - correct license (from Fedora, thanks)

* Thu Dec 25 2008 Funda Wang <fwang@mandriva.org> 0.8.4-11mdv2009.1
+ Revision: 318985
- rebuild for new python

* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 0.8.4-10mdv2009.0
+ Revision: 225139
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.8.4-9mdv2008.1
+ Revision: 136460
- restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Thu Sep 13 2007 Michael Scherer <misc@mandriva.org> 0.8.4-9mdv2008.0
+ Revision: 85024
- fix bug 32835 ( missing .pyo in pacakges )

* Thu Jun 07 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.8.4-8mdv2008.0
+ Revision: 36932
- rebuild for expat


* Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 0.8.4-7mdv2007.0
+ Revision: 88167
- Import python-pyxml

* Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 0.8.4-7mdv2007.1
- update file list

* Wed Feb 01 2006 Michael Scherer <misc@mandriva.org> 0.8.4-6mdk
- really fix file listing for amd64

* Mon Jan 30 2006 Michael Scherer <misc@mandriva.org> 0.8.4-5mdk
- fix file listing, and no longer ship .pyo

* Tue Jan 17 2006 Götz Waschk <waschk@mandriva.org> 0.8.4-4mdk
- depend on python

* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 0.8.4-3mdk
- Rebuild

* Thu May 05 2005 Götz Waschk <waschk@mandriva.org> 0.8.4-2mdk
- use external libexpat
- enable xpath and xslt

* Thu Dec 16 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.8.4-1mdk
- new version
- changed name

* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.8.3-4mdk
- Rebuild for new python

* Mon Nov 01 2004 Michael Scherer <misc@mandrake.org> 0.8.3-3mdk
- [DIRM]

* Sun Apr 11 2004 Michael Scherer <misc@mandrake.org> 0.8.3-2mdk 
- [DIRM]