2001-09-19 08:06:23 +00:00
Summary : Library providing XML and HTML support
Name : libxml2
2001-11-04 22:13:45 +00:00
Version : @VERSION@
2003-05-14 19:45:50 +00:00
Release : 1
2002-02-08 13:28:40 +00:00
License : MIT
2001-09-19 08:06:23 +00:00
Group : Development/Libraries
2001-11-04 22:13:45 +00:00
Source : ftp://xmlsoft.org/libxml2-%{version} .tar.gz
BuildRoot : %{_tmppath} /%{name} -%{version} -root
2002-02-02 09:17:16 +00:00
BuildRequires : python python-devel
2001-09-19 08:06:23 +00:00
URL : http://xmlsoft.org/
2001-11-04 22:13:45 +00:00
Prefix : %{_prefix}
Docdir: %{_docdir}
1998-09-25 16:58:38 +00:00
%description
2000-10-30 09:27:53 +00:00
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. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
1998-09-25 16:58:38 +00:00
%package devel
2001-09-19 08:06:23 +00:00
Summary : Libraries, includes, etc. to develop XML and HTML applications
Group : Development/Libraries
Requires : libxml2 = %{version}
2002-05-24 11:10:43 +00:00
Requires : zlib-devel
1998-09-25 16:58:38 +00:00
%description devel
2000-10-30 09:27:53 +00:00
Libraries, include files, etc you can use to develop XML applications.
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. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
1998-09-25 16:58:38 +00:00
2002-02-02 09:17:16 +00:00
%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.
2002-10-23 20:43:53 +00:00
1998-09-25 16:58:38 +00:00
%prep
2001-11-04 22:13:45 +00:00
%setup -q
1998-09-25 16:58:38 +00:00
%build
2002-10-23 20:43:53 +00:00
%configure
2003-11-11 21:12:36 +00:00
make
2003-12-10 13:24:38 +00:00
(cd doc/examples ; make clean)
1998-09-25 16:58:38 +00:00
%install
2002-10-23 20:43:53 +00:00
rm -fr %{buildroot}
1998-09-25 16:58:38 +00:00
2002-09-04 12:27:06 +00:00
%makeinstall
1998-09-25 16:58:38 +00:00
%clean
2002-10-23 20:43:53 +00:00
rm -fr %{buildroot}
1998-09-25 16:58:38 +00:00
2002-10-23 20:43:53 +00:00
%post
/sbin/ldconfig
1998-09-25 16:58:38 +00:00
2002-10-23 20:43:53 +00:00
%postun
/sbin/ldconfig
1998-09-25 16:58:38 +00:00
%files
%defattr (-, root, root)
2002-02-08 13:28:40 +00:00
%doc AUTHORS ChangeLog NEWS README Copyright TODO
2001-11-04 22:13:45 +00:00
%doc %{_mandir} /man1/xmllint.1*
%doc %{_mandir} /man1/xmlcatalog.1*
2002-03-06 18:42:40 +00:00
%doc %{_mandir} /man3/libxml.3*
2000-08-19 16:48:54 +00:00
2002-09-04 12:27:06 +00:00
%{_libdir} /lib*.so.*
2001-09-19 08:06:23 +00:00
%{prefix} /bin/xmllint
%{prefix} /bin/xmlcatalog
1998-09-25 16:58:38 +00:00
%files devel
%defattr (-, root, root)
2001-11-04 22:13:45 +00:00
%doc %{_mandir} /man1/xml2-config.1*
2002-02-08 13:28:40 +00:00
%doc AUTHORS ChangeLog NEWS README Copyright TODO
2002-03-07 10:25:29 +00:00
%doc doc/*.html doc/html doc/*.gif doc/*.png
2002-12-11 14:23:49 +00:00
%doc doc/tutorial doc/libxml2-api.xml
2003-11-15 18:24:36 +00:00
%doc doc/examples
2001-04-26 19:29:02 +00:00
2002-09-04 12:27:06 +00:00
%{_libdir} /lib*.so
%{_libdir} /*a
%{_libdir} /*.sh
2001-09-19 08:06:23 +00:00
%{prefix} /include/*
%{prefix} /bin/xml2-config
%{prefix} /share/aclocal/libxml.m4
2002-09-04 12:27:06 +00:00
%{_libdir} /pkgconfig/libxml-2.0.pc
2002-02-02 09:17:16 +00:00
%files python
%defattr (-, root, root)
2002-02-08 13:28:40 +00:00
%doc AUTHORS ChangeLog NEWS README Copyright
2002-09-04 12:27:06 +00:00
%{_libdir} /python*/site-packages/libxml2.py
2003-01-02 13:00:02 +00:00
%{_libdir} /python*/site-packages/drv_libxml2.py
2002-10-23 20:43:53 +00:00
%{_libdir} /python*/site-packages/libxml2mod*
2002-02-02 09:17:16 +00:00
%doc python/TODO
%doc python/libxml2class.txt
%doc python/tests/*.py
2002-11-22 15:57:07 +00:00
%doc doc/*.py
%doc doc/python.html
2001-11-04 22:13:45 +00:00
%changelog
2002-11-25 16:33:40 +00:00
* @RELDATE@ Daniel Veillard <veillard@redhat.com>
- upstream release @VERSION@ see http://xmlsoft.org/news.html
2003-01-02 13:00:02 +00:00
* Thu Jan 2 2003 Daniel Veillard <veillard@redhat.com>
- integrated drv_libxml2 xml.sax driver from St<EFBFBD> phane Bidoul
- provides the new XmlTextReader interfaces based on C# XML APIs
2002-10-23 20:43:53 +00:00
* Wed Oct 23 2002 Daniel Veillard <veillard@redhat.com>
- revamped the spec file, cleaned up some rpm building problems
* Fri Oct 4 2002 Jeremy Katz <katzj@redhat.com>
- build with 'make LIBTOOL=/usr/bin/libtool' to use system libtool
2002-09-04 12:27:06 +00:00
* Wed Sep 4 2002 Daniel Veillard <veillard@redhat.com>
- library paths fixed for x86-64
2002-02-02 09:17:16 +00:00
* Fri Feb 1 2002 Daniel Veillard <veillard@redhat.com>
- Added the python package
2001-11-04 22:13:45 +00:00
* Sun Nov 4 2001 Daniel Veillard <veillard@redhat.com>
- cleaned up the specfile
- 2.4.7 broke SGML catalogs badly. this fixes it.
* Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
[2.3.7]
- Added libxml.m4 to the distribution file list
- Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0
- Moved programmer documentation into the devel package
* Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com>
- corrected the spec file alpha stuff
- switched to version 1.7.1
- Added validation, XPath, nanohttp, removed memory leaks
- Renamed CHAR to xmlChar
* Wed Jun 2 1999 Daniel Veillard <daniel@veillard.com>
- Switched to version 1.1: SAX extensions, better entities support, lots of
bug fixes.
* Sun Oct 4 1998 Daniel Veillard <daniel@veillard.com>
- Added xml-config to the package
* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
- Built release 0.30