diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-02-02 09:17:16 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-02-02 09:17:16 +0000 |
commit | 253aa2c33bb4d781b5120dd82b404e0416abd79f (patch) | |
tree | 499c5922cf62188bd54aba35991414da455a70f5 /libxml.spec.in | |
parent | a7340c830e4bddd86201cfdb97ac81e30b0dee62 (diff) | |
download | libxml2-253aa2c33bb4d781b5120dd82b404e0416abd79f.tar.gz |
added more informations in the libxml2-python package including docs.
* configure.in libxml.spec.in python/Makefile.am python/TODO
python/generator.py python/libxml2class.txt: added more informations
in the libxml2-python package including docs. Slightly changed
the class hierarchy
* python/tests/*: added basic regression tests infrastructure too
Daniel
Diffstat (limited to 'libxml.spec.in')
-rw-r--r-- | libxml.spec.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libxml.spec.in b/libxml.spec.in index ce4de6ef..943a415d 100644 --- a/libxml.spec.in +++ b/libxml.spec.in @@ -6,6 +6,7 @@ License: LGPL Group: Development/Libraries Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: python python-devel URL: http://xmlsoft.org/ Prefix: %{_prefix} Docdir: %{_docdir} @@ -38,6 +39,21 @@ to select subnodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library. +%package python +Summary: Python bindings for the libxml2 library +Group: Development/Libraries +Requires: libxml2 = %{version} +Requires: python + +%description python +The libxml2-python 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 @@ -103,8 +119,19 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/bin/xml2-config %{prefix}/share/aclocal/libxml.m4 %{prefix}/lib/pkgconfig/libxml-2.0.pc +%files python +%defattr(-, root, root) + +%{prefix}/lib/python*/site-packages/libxml2.py +%{prefix}/lib/python*/site-packages/_libxml.so +%doc python/TODO +%doc python/libxml2class.txt +%doc python/tests/*.py %changelog +* Fri Feb 1 2002 Daniel Veillard <veillard@redhat.com> + +- Added the python package * Sun Nov 4 2001 Daniel Veillard <veillard@redhat.com> |