1 Summary: Library providing XML and HTML support
6 Group: Development/Libraries
7 Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
8 BuildRoot: %{_tmppath}/%{name}-%{version}-root
9 BuildRequires: python python-devel
10 URL: http://xmlsoft.org/
15 This library allows to manipulate XML files. It includes support
16 to read, modify and write XML and HTML files. There is DTDs support
17 this includes parsing and validation even with complex DtDs, either
18 at parse time or later once the document has been modified. The output
19 can be a simple SAX stream or and in-memory DOM like representations.
20 In this case one can use the built-in XPath and XPointer implementation
21 to select subnodes or ranges. A flexible Input/Output mechanism is
22 available, with existing HTTP and FTP modules and combined to an
26 Summary: Libraries, includes, etc. to develop XML and HTML applications
27 Group: Development/Libraries
28 Requires: libxml2 = %{version}
32 Libraries, include files, etc you can use to develop XML applications.
33 This library allows to manipulate XML files. It includes support
34 to read, modify and write XML and HTML files. There is DTDs support
35 this includes parsing and validation even with complex DtDs, either
36 at parse time or later once the document has been modified. The output
37 can be a simple SAX stream or and in-memory DOM like representations.
38 In this case one can use the built-in XPath and XPointer implementation
39 to select subnodes or ranges. A flexible Input/Output mechanism is
40 available, with existing HTTP and FTP modules and combined to an
44 Summary: Python bindings for the libxml2 library
45 Group: Development/Libraries
46 Requires: libxml2 = %{version}
50 The libxml2-python package contains a module that permits applications
51 written in the Python programming language to use the interface
52 supplied by the libxml2 library to manipulate XML files.
54 This library allows to manipulate XML files. It includes support
55 to read, modify and write XML and HTML files. There is DTDs support
56 this includes parsing and validation even with complex DTDs, either
57 at parse time or later once the document has been modified.
64 make LIBTOOL=/usr/bin/libtool
72 # this is a bit ugly but tries to generate the bindings for all versions
75 for i in %{prefix}/include/python*
77 py_version=`echo $i | sed "s+%{prefix}/include/python++"`
78 if test -x %{prefix}/bin/python$py_version
80 echo generating bindings for Python $py_version
81 (cd python ; make clean ; \
82 make PYTHON="%{prefix}/bin/python$py_version" \
83 PYTHON_INCLUDES="%{prefix}/include/python$py_version" \
84 PYTHON_VERSION="$py_version"; \
85 %makeinstall PYTHON="%{prefix}/bin/python$py_version" \
86 PYTHON_INCLUDES="%{prefix}/include/python$py_version" \
87 PYTHON_VERSION="$py_version" )
101 %defattr(-, root, root)
103 %doc AUTHORS ChangeLog NEWS README Copyright TODO
104 %doc %{_mandir}/man1/xmllint.1*
105 %doc %{_mandir}/man1/xmlcatalog.1*
106 %doc %{_mandir}/man3/libxml.3*
109 %{prefix}/bin/xmllint
110 %{prefix}/bin/xmlcatalog
113 %defattr(-, root, root)
115 %doc %{_mandir}/man1/xml2-config.1*
116 %doc AUTHORS ChangeLog NEWS README Copyright TODO
117 %doc doc/*.html doc/html doc/*.gif doc/*.png
118 %doc doc/tutorial doc/libxml2-api.xml
124 %{prefix}/bin/xml2-config
125 %{prefix}/share/aclocal/libxml.m4
126 %{_libdir}/pkgconfig/libxml-2.0.pc
128 %defattr(-, root, root)
130 %doc AUTHORS ChangeLog NEWS README Copyright
131 %{_libdir}/python*/site-packages/libxml2.py
132 %{_libdir}/python*/site-packages/drv_libxml2.py
133 %{_libdir}/python*/site-packages/libxml2mod*
135 %doc python/libxml2class.txt
136 %doc python/tests/*.py
141 * Thu Aug 7 2003 Daniel Veillard <veillard@redhat.com>
142 - upstream release 2.5.4 see http://xmlsoft.org/news.html
144 * Thu Jan 2 2003 Daniel Veillard <veillard@redhat.com>
145 - integrated drv_libxml2 xml.sax driver from Stéphane Bidoul
146 - provides the new XmlTextReader interfaces based on C# XML APIs
148 * Wed Oct 23 2002 Daniel Veillard <veillard@redhat.com>
149 - revamped the spec file, cleaned up some rpm building problems
151 * Fri Oct 4 2002 Jeremy Katz <katzj@redhat.com>
152 - build with 'make LIBTOOL=/usr/bin/libtool' to use system libtool
154 * Wed Sep 4 2002 Daniel Veillard <veillard@redhat.com>
156 - library paths fixed for x86-64
158 * Fri Feb 1 2002 Daniel Veillard <veillard@redhat.com>
160 - Added the python package
162 * Sun Nov 4 2001 Daniel Veillard <veillard@redhat.com>
164 - cleaned up the specfile
165 - 2.4.7 broke SGML catalogs badly. this fixes it.
167 * Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
170 - Added libxml.m4 to the distribution file list
171 - Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0
172 - Moved programmer documentation into the devel package
174 * Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com>
176 - corrected the spec file alpha stuff
177 - switched to version 1.7.1
178 - Added validation, XPath, nanohttp, removed memory leaks
179 - Renamed CHAR to xmlChar
181 * Wed Jun 2 1999 Daniel Veillard <daniel@veillard.com>
183 - Switched to version 1.1: SAX extensions, better entities support, lots of
186 * Sun Oct 4 1998 Daniel Veillard <daniel@veillard.com>
188 - Added xml-config to the package
190 * Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>