4 Summary: A Library to Manipulate XML Files
6 Group: System/Libraries
7 Url: http://xmlsoft.org
8 # Source ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz changes every day
9 Source: ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
10 Source2: baselibs.conf
11 Source1001: libxml2.manifest
12 BuildRequires: pkg-config
13 BuildRequires: readline-devel
14 BuildRequires: xz-devel
15 BuildRequires: zlib-devel
18 The XML C library was initially developed for the GNOME project. It is
19 now used by many programs to load and save extensible data structures
20 or manipulate any kind of XML files.
22 This library implements a number of existing standards related to
23 markup languages, including the XML standard, name spaces in XML, XML
24 Base, RFC 2396, XPath, XPointer, HTML4, XInclude, SGML catalogs, and
25 XML catalogs. In most cases, libxml tries to implement the
26 specification in a rather strict way. To some extent, it provides
27 support for the following specifications, but does not claim to
28 implement them: DOM, FTP client, HTTP client, and SAX.
30 The library also supports RelaxNG. Support for W3C XML Schemas is in
35 Summary: Tools using libxml
36 Group: System/Libraries
39 This package contains xmllint, a very useful tool proving libxml's power.
42 Summary: Include Files and Libraries mandatory for Development
43 Group: Development/Libraries
44 Requires: %{name} = %{version}
45 Requires: %{name}-tools = %{version}
47 Requires: readline-devel
52 This package contains all necessary include files and libraries needed
53 to develop applications that require these.
60 %configure --disable-static \
61 --docdir=%_docdir/%name \
62 --with-html-dir=%_docdir/%name/html \
73 make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name"
76 # qemu-arm can't keep up atm, disabling check for arm
82 make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name"
83 ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
87 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %manifest %{name}.manifest
93 %defattr(-, root, root)
98 %manifest %{name}.manifest
99 %defattr(-, root, root)
101 %{_bindir}/xmlcatalog
104 %manifest %{name}.manifest
105 %defattr(-, root, root)
106 %{_bindir}/xml2-config
107 %dir %{_datadir}/aclocal
108 %{_datadir}/aclocal/libxml.m4
109 %{_includedir}/libxml
110 %{_includedir}/libxml2
112 # libxml2.la is needed for the python-libxml2 build. Deleting it breaks build of python-libxml2.
113 %{_libdir}/libxml2.la
115 %{_libdir}/pkgconfig/*.pc