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 touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
61 %configure --disable-static \
62 --docdir=%_docdir/%name \
63 --with-html-dir=%_docdir/%name/html \
74 make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name"
77 # qemu-arm can't keep up atm, disabling check for arm
83 make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name"
84 ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
88 %post -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
93 %manifest %{name}.manifest
94 %defattr(-, root, root)
99 %manifest %{name}.manifest
100 %defattr(-, root, root)
102 %{_bindir}/xmlcatalog
105 %manifest %{name}.manifest
106 %defattr(-, root, root)
107 %{_bindir}/xml2-config
108 %dir %{_datadir}/aclocal
109 %{_datadir}/aclocal/libxml.m4
110 %{_includedir}/libxml
111 %{_includedir}/libxml2
113 # libxml2.la is needed for the python-libxml2 build. Deleting it breaks build of python-libxml2.
114 %{_libdir}/libxml2.la
116 %{_libdir}/pkgconfig/*.pc
117 %{_libdir}/cmake/libxml2/libxml2-config.cmake