[Erp5-report] r19877 - in /spec/mandriva/2008.0/libxml2-python2.4: ./ libxml2-python2.4.spec
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 13 19:14:06 CET 2008
Author: julieng
Date: Thu Mar 13 19:14:05 2008
New Revision: 19877
URL: http://svn.erp5.org?rev=19877&view=rev
Log:
First commit for this
Added:
spec/mandriva/2008.0/libxml2-python2.4/
spec/mandriva/2008.0/libxml2-python2.4/libxml2-python2.4.spec
Added: spec/mandriva/2008.0/libxml2-python2.4/libxml2-python2.4.spec
URL: http://svn.erp5.org/spec/mandriva/2008.0/libxml2-python2.4/libxml2-python2.4.spec?rev=19877&view=auto
==============================================================================
--- spec/mandriva/2008.0/libxml2-python2.4/libxml2-python2.4.spec (added)
+++ spec/mandriva/2008.0/libxml2-python2.4/libxml2-python2.4.spec Thu Mar 13 19:14:05 2008
@@ -1,0 +1,54 @@
+%define name libxml2-python2.4
+%define version 2.6.27
+%define rel 2
+%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, python2.4-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
+* Wed Mar 5 2008 Julien Gormotte <julien at nexedi.com> 2.6.27-1mdv2008.0
+- rebuild for mandriva 2008.0
+
+* 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