[Erp5-report] r15654 - in /spec/mandriva/2007.1/libxml2-python2.4: ./ libxml2-python2.4.spec

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 13 18:18:24 CEST 2007


Author: kazuhiko
Date: Mon Aug 13 18:18:24 2007
New Revision: 15654

URL: http://svn.erp5.org?rev=15654&view=rev
Log:
import libxml2-python2.4.

Added:
    spec/mandriva/2007.1/libxml2-python2.4/
    spec/mandriva/2007.1/libxml2-python2.4/libxml2-python2.4.spec

Added: spec/mandriva/2007.1/libxml2-python2.4/libxml2-python2.4.spec
URL: http://svn.erp5.org/spec/mandriva/2007.1/libxml2-python2.4/libxml2-python2.4.spec?rev=15654&view=auto
==============================================================================
--- spec/mandriva/2007.1/libxml2-python2.4/libxml2-python2.4.spec (added)
+++ spec/mandriva/2007.1/libxml2-python2.4/libxml2-python2.4.spec Mon Aug 13 18:18:24 2007
@@ -1,0 +1,51 @@
+%define name		libxml2-python2.4
+%define version		2.6.27
+%define rel		1
+%define __python	/usr/bin/python2.4
+
+Name: 		%{name}
+Version: 	%{version}
+Release: 	%mkrel %rel
+License:	MIT
+Summary:	Python bindings for the libxml2 library
+Group:		Development/Python
+Source0:	ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.bz2
+Requires:	python2.4 >= 2.2
+BuildRequires:	python2.4 >= 2.2, libxml2-devel
+BuildRoot:	%_tmppath/%name-%version-%release-root
+
+%description
+The libxml2-python2.4 package contains a module that permits
+applications written in the Python programming language to use the
+interface supplied by the libxml2 library to manipulate XML files.
+
+This library allows to manipulate XML files. It includes support 
+to read, modify and write XML and HTML files. There is DTDs support
+this includes parsing and validation even with complex DTDs, either
+at parse time or later once the document has been modified.
+
+%prep
+%setup -q -n libxml2-%{version}
+
+%build
+cd python
+%{__python} setup.py build
+%install
+cd python
+rm -rf %{buildroot}
+%{__python} setup.py install --root=%{buildroot} --record INSTALLED_FILES
+
+%clean
+rm -rf %{buildroot}
+
+%files -f python/INSTALLED_FILES
+%defattr(-,root,root)
+%doc doc/*.py doc/python.html
+%doc python/README
+%doc python/TODO
+%doc python/libxml2class.txt
+%doc python/tests/*.py
+
+%changelog 
+* Thu Aug  9 2007 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 2.6.27-1mdv2007.1
+- initial package for python2.4




More information about the Erp5-report mailing list