1 Summary: Library providing XML and HTML support
4 Release: 1%{?dist}%{?extra_release}
6 Group: Development
/Libraries
7 Source: ftp
://xmlsoft.org
/libxml2
/libxml2
-%{version}.tar.gz
8 BuildRoot: %{_tmppath}/%{name}-%{version}-root
9 BuildRequires
: python python
-devel zlib
-devel pkgconfig xz
-devel
10 URL: http
://xmlsoft.org
/
13 This library allows to manipulate XML files. It includes support
14 to
read, modify and write XML and HTML files. There is DTDs support
15 this includes parsing and validation even with complex DtDs
, either
16 at parse
time or later once the document has been modified. The output
17 can be a simple SAX stream or and
in-memory DOM like representations.
18 In this
case one can use the built
-in XPath and XPointer implementation
19 to
select sub nodes or ranges. A flexible Input
/Output mechanism is
20 available
, with existing HTTP and FTP modules and combined to an
24 Summary: Libraries
, includes
, etc. to develop XML and HTML applications
25 Group: Development
/Libraries
26 Requires: libxml2
= %{version}-%{release}
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 sub nodes or ranges. A flexible Input
/Output mechanism is
40 available
, with existing HTTP and FTP modules and combined to an
44 Summary: Static library
for libxml2
45 Group: Development
/Libraries
46 Requires: libxml2
= %{version}-%{release}
49 Static library
for libxml2 provided
for specific uses or shaving a few
50 microseconds when parsing
, do not link to them
for generic purpose packages.
53 Summary: Python bindings
for the libxml2 library
54 Group: Development
/Libraries
55 Requires: libxml2
= %{version}-%{release}
58 The libxml2
-python package contains a module that permits applications
59 written
in the Python programming language to use the interface
60 supplied by the libxml2 library to manipulate XML files.
62 This library allows to manipulate XML files. It includes support
63 to
read, modify and write XML and HTML files. There is DTDs support
64 this includes parsing and validation even with complex DTDs
, either
65 at parse
time or later once the document has been modified.
77 make install DESTDIR
=%{buildroot}
79 rm -f $RPM_BUILD_ROOT
%{_libdir}/*.la
80 rm -f $RPM_BUILD_ROOT
%{_libdir}/python
*/site
-packages
/*.a
81 rm -f $RPM_BUILD_ROOT
%{_libdir}/python
*/site
-packages
/*.la
82 rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/libxml2-%{version}/*
83 rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/libxml2-python-%{version}/*
84 (cd doc
/examples
; make clean
; rm -rf .deps Makefile
)
85 gzip
-9 -c doc
/libxml2
-api.xml
> doc
/libxml2
-api.xml.gz
93 %post -p
/sbin
/ldconfig
95 %postun -p
/sbin
/ldconfig
98 %defattr(-, root
, root
)
100 %doc AUTHORS NEWS README
Copyright TODO
101 %doc %{_mandir}/man1
/xmllint
.1*
102 %doc %{_mandir}/man1
/xmlcatalog
.1*
103 %doc %{_mandir}/man3
/libxml
.3*
107 %{_bindir}/xmlcatalog
110 %defattr(-, root
, root
)
112 %doc %{_mandir}/man1
/xml2
-config
.1*
113 %doc AUTHORS NEWS README
Copyright
114 %doc doc
/*.html doc
/html doc
/*.gif doc
/*.png
115 %doc doc
/tutorial doc
/libxml2
-api.xml.gz
117 %doc %dir %{_datadir}/gtk
-doc
/html
/libxml2
118 %doc %{_datadir}/gtk
-doc
/html
/libxml2
/*.devhelp
119 %doc %{_datadir}/gtk
-doc
/html
/libxml2
/*.html
120 %doc %{_datadir}/gtk
-doc
/html
/libxml2
/*.png
121 %doc %{_datadir}/gtk
-doc
/html
/libxml2
/*.css
126 %{_bindir}/xml2
-config
127 %{_datadir}/aclocal
/libxml.m4
128 %{_libdir}/pkgconfig
/libxml
-2.0.pc
129 %{_libdir}/cmake
/libxml2
/libxml2
-config.cmake
132 %defattr(-, root
, root
)
137 %defattr(-, root
, root
)
139 %{_libdir}/python
*/site
-packages
/libxml2.py
*
140 %{_libdir}/python
*/site
-packages
/drv_libxml2.py
*
141 %{_libdir}/python
*/site
-packages
/libxml2mod
*
143 %doc python
/libxml2class.txt
144 %doc python
/tests
/*.py
149 * @RELDATE@ Daniel Veillard
<veillard@redhat.com
>
150 - upstream release @VERSION@ see http
://xmlsoft.org
/news.html