blob: 5f125dac0363eae4fbaf8c9cf10d195727ce85e4 [file] [log] [blame]
Daniel Veillard1a123612001-09-19 08:06:23 +00001Summary: Library providing XML and HTML support
2Name: libxml2
Daniel Veillardea898282001-11-04 22:13:45 +00003Version: @VERSION@
Daniel Veillard6f7e24b2003-05-14 19:45:50 +00004Release: 1
Daniel Veillardc575b992002-02-08 13:28:40 +00005License: MIT
Daniel Veillard1a123612001-09-19 08:06:23 +00006Group: Development/Libraries
Daniel Veillardea898282001-11-04 22:13:45 +00007Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
8BuildRoot: %{_tmppath}/%{name}-%{version}-root
Daniel Veillard253aa2c2002-02-02 09:17:16 +00009BuildRequires: python python-devel
Daniel Veillard1a123612001-09-19 08:06:23 +000010URL: http://xmlsoft.org/
Daniel Veillardea898282001-11-04 22:13:45 +000011Prefix: %{_prefix}
12Docdir: %{_docdir}
Michael Fulbright62e8e801998-09-25 16:58:38 +000013
14%description
Daniel Veillard6db58192000-10-30 09:27:53 +000015This library allows to manipulate XML files. It includes support
16to read, modify and write XML and HTML files. There is DTDs support
17this includes parsing and validation even with complex DtDs, either
18at parse time or later once the document has been modified. The output
19can be a simple SAX stream or and in-memory DOM like representations.
20In this case one can use the built-in XPath and XPointer implementation
21to select subnodes or ranges. A flexible Input/Output mechanism is
22available, with existing HTTP and FTP modules and combined to an
23URI library.
Michael Fulbright62e8e801998-09-25 16:58:38 +000024
25%package devel
Daniel Veillard1a123612001-09-19 08:06:23 +000026Summary: Libraries, includes, etc. to develop XML and HTML applications
27Group: Development/Libraries
28Requires: libxml2 = %{version}
Daniel Veillardc6924812002-05-24 11:10:43 +000029Requires: zlib-devel
Michael Fulbright62e8e801998-09-25 16:58:38 +000030
31%description devel
Daniel Veillard6db58192000-10-30 09:27:53 +000032Libraries, include files, etc you can use to develop XML applications.
33This library allows to manipulate XML files. It includes support
34to read, modify and write XML and HTML files. There is DTDs support
35this includes parsing and validation even with complex DtDs, either
36at parse time or later once the document has been modified. The output
37can be a simple SAX stream or and in-memory DOM like representations.
38In this case one can use the built-in XPath and XPointer implementation
39to select subnodes or ranges. A flexible Input/Output mechanism is
40available, with existing HTTP and FTP modules and combined to an
41URI library.
Michael Fulbright62e8e801998-09-25 16:58:38 +000042
Daniel Veillard253aa2c2002-02-02 09:17:16 +000043%package python
44Summary: Python bindings for the libxml2 library
45Group: Development/Libraries
46Requires: libxml2 = %{version}
47Requires: python
48
49%description python
50The libxml2-python package contains a module that permits applications
51written in the Python programming language to use the interface
52supplied by the libxml2 library to manipulate XML files.
53
54This library allows to manipulate XML files. It includes support
55to read, modify and write XML and HTML files. There is DTDs support
56this includes parsing and validation even with complex DTDs, either
57at parse time or later once the document has been modified.
Daniel Veillard366a9152002-10-23 20:43:53 +000058
Daniel Veillardea898282001-11-04 22:13:45 +000059%prep
60%setup -q
61
62%build
Daniel Veillard366a9152002-10-23 20:43:53 +000063%configure
Daniel Veillardd437d322003-05-13 21:07:01 +000064#
65# Note: it seems that this may break on older version of Red Hat,
66# and that replacing the following line with just "make" can
67# fix the problem
68#
Daniel Veillard231d7912003-02-09 14:22:17 +000069make LIBTOOL=/usr/bin/libtool
Daniel Veillardea898282001-11-04 22:13:45 +000070
71%install
Daniel Veillard366a9152002-10-23 20:43:53 +000072rm -fr %{buildroot}
Daniel Veillardea898282001-11-04 22:13:45 +000073
Daniel Veillard5643b5a2002-09-04 12:27:06 +000074%makeinstall
Daniel Veillardea898282001-11-04 22:13:45 +000075
76%clean
Daniel Veillard366a9152002-10-23 20:43:53 +000077rm -fr %{buildroot}
Daniel Veillardea898282001-11-04 22:13:45 +000078
Daniel Veillard366a9152002-10-23 20:43:53 +000079%post
80/sbin/ldconfig
Daniel Veillardea898282001-11-04 22:13:45 +000081
Daniel Veillard366a9152002-10-23 20:43:53 +000082%postun
83/sbin/ldconfig
Daniel Veillardea898282001-11-04 22:13:45 +000084
85%files
86%defattr(-, root, root)
87
Daniel Veillardc575b992002-02-08 13:28:40 +000088%doc AUTHORS ChangeLog NEWS README Copyright TODO
Daniel Veillardea898282001-11-04 22:13:45 +000089%doc %{_mandir}/man1/xmllint.1*
90%doc %{_mandir}/man1/xmlcatalog.1*
Daniel Veillarde915b2d2002-03-06 18:42:40 +000091%doc %{_mandir}/man3/libxml.3*
Daniel Veillardea898282001-11-04 22:13:45 +000092
Daniel Veillard5643b5a2002-09-04 12:27:06 +000093%{_libdir}/lib*.so.*
Daniel Veillardea898282001-11-04 22:13:45 +000094%{prefix}/bin/xmllint
95%{prefix}/bin/xmlcatalog
96
97%files devel
98%defattr(-, root, root)
99
100%doc %{_mandir}/man1/xml2-config.1*
Daniel Veillardc575b992002-02-08 13:28:40 +0000101%doc AUTHORS ChangeLog NEWS README Copyright TODO
Daniel Veillardf5a457a2002-03-07 10:25:29 +0000102%doc doc/*.html doc/html doc/*.gif doc/*.png
Daniel Veillarda9b66d02002-12-11 14:23:49 +0000103%doc doc/tutorial doc/libxml2-api.xml
Daniel Veillardea898282001-11-04 22:13:45 +0000104
Daniel Veillard5643b5a2002-09-04 12:27:06 +0000105%{_libdir}/lib*.so
106%{_libdir}/*a
107%{_libdir}/*.sh
Daniel Veillardea898282001-11-04 22:13:45 +0000108%{prefix}/include/*
109%{prefix}/bin/xml2-config
110%{prefix}/share/aclocal/libxml.m4
Daniel Veillard5643b5a2002-09-04 12:27:06 +0000111%{_libdir}/pkgconfig/libxml-2.0.pc
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000112%files python
113%defattr(-, root, root)
114
Daniel Veillardc575b992002-02-08 13:28:40 +0000115%doc AUTHORS ChangeLog NEWS README Copyright
Daniel Veillard5643b5a2002-09-04 12:27:06 +0000116%{_libdir}/python*/site-packages/libxml2.py
Daniel Veillard4f860202003-01-02 13:00:02 +0000117%{_libdir}/python*/site-packages/drv_libxml2.py
Daniel Veillard366a9152002-10-23 20:43:53 +0000118%{_libdir}/python*/site-packages/libxml2mod*
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000119%doc python/TODO
120%doc python/libxml2class.txt
121%doc python/tests/*.py
Daniel Veillardf9c4cad2002-11-22 15:57:07 +0000122%doc doc/*.py
123%doc doc/python.html
Michael Fulbright62e8e801998-09-25 16:58:38 +0000124
125%changelog
Daniel Veillard9715c172002-11-25 16:33:40 +0000126* @RELDATE@ Daniel Veillard <veillard@redhat.com>
127- upstream release @VERSION@ see http://xmlsoft.org/news.html
128
Daniel Veillard4f860202003-01-02 13:00:02 +0000129* Thu Jan 2 2003 Daniel Veillard <veillard@redhat.com>
130- integrated drv_libxml2 xml.sax driver from Stéphane Bidoul
131- provides the new XmlTextReader interfaces based on C# XML APIs
132
Daniel Veillard366a9152002-10-23 20:43:53 +0000133* Wed Oct 23 2002 Daniel Veillard <veillard@redhat.com>
134- revamped the spec file, cleaned up some rpm building problems
135
136* Fri Oct 4 2002 Jeremy Katz <katzj@redhat.com>
137- build with 'make LIBTOOL=/usr/bin/libtool' to use system libtool
138
Daniel Veillard5643b5a2002-09-04 12:27:06 +0000139* Wed Sep 4 2002 Daniel Veillard <veillard@redhat.com>
140
141- library paths fixed for x86-64
142
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000143* Fri Feb 1 2002 Daniel Veillard <veillard@redhat.com>
144
145- Added the python package
Michael Fulbright62e8e801998-09-25 16:58:38 +0000146
Daniel Veillardcd21dc72001-11-04 20:03:38 +0000147* Sun Nov 4 2001 Daniel Veillard <veillard@redhat.com>
148
Daniel Veillardea898282001-11-04 22:13:45 +0000149- cleaned up the specfile
Daniel Veillardcd21dc72001-11-04 20:03:38 +0000150- 2.4.7 broke SGML catalogs badly. this fixes it.
151
Daniel Veillard2913e4c2001-04-26 19:29:02 +0000152* Thu Apr 26 2001 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
Daniel Veillard1a123612001-09-19 08:06:23 +0000153
154[2.3.7]
Daniel Veillard2913e4c2001-04-26 19:29:02 +0000155- Added libxml.m4 to the distribution file list
156- Moved the man pages from /usr/man to /usr/share/man to conform to FHS2.0
157- Moved programmer documentation into the devel package
158
Daniel Veillardc5d64342001-06-24 12:13:24 +0000159* Thu Sep 23 1999 Daniel Veillard <daniel@veillard.com>
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000160
161- corrected the spec file alpha stuff
162- switched to version 1.7.1
163- Added validation, XPath, nanohttp, removed memory leaks
164- Renamed CHAR to xmlChar
165
Daniel Veillardc5d64342001-06-24 12:13:24 +0000166* Wed Jun 2 1999 Daniel Veillard <daniel@veillard.com>
Daniel Veillard011b63c1999-06-02 17:44:04 +0000167
168- Switched to version 1.1: SAX extensions, better entities support, lots of
169 bug fixes.
170
Daniel Veillardc5d64342001-06-24 12:13:24 +0000171* Sun Oct 4 1998 Daniel Veillard <daniel@veillard.com>
Daniel Veillard8631b781998-10-04 14:50:58 +0000172
173- Added xml-config to the package
174
Michael Fulbright62e8e801998-09-25 16:58:38 +0000175* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
176
177- Built release 0.30
Daniel Veillard1a123612001-09-19 08:06:23 +0000178