File libxml.spec of Package libxml
#
# spec file for package libxml (Version 1.8.17)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libxml
BuildRequires: zlib-devel
License: GPL v2 or later; LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
Summary: A Library to Manipulate XML Files
Version: 1.8.17
Release: 480.<RELEASE52>
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml-%{version}.tar.bz2
Patch: libxml-makefile-am.diff
Patch1: libxml-retval.diff
Patch2: libxml-open.diff
# PATCH-FIX-SECURITY libxml-CVE-2009-2414_CVE-2009-2616.patch bnc530661 sbrabec@suse.cz -- Fixes multiple pointer use-after-free CVE-2009-2416, segfault when parsing recursive XML structures CVE-2009-2414.
Patch3: libxml-CVE-2009-2414_CVE-2009-2616.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://xmlsoft.org
%description
XML is said to be the upcoming standard file format of the World Wide
Web.
Applications use libxml to load and save extensible data structures and
the new Web format.
New applications should use version 2 of libxml (libxml2).
Authors:
--------
Daniel Veillard <Daniel.Veillard@w3.org>
Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey <tromey@cygnus.com>
Christopher Blizzard <blizzard@appliedtheory.com>
%package -n libxml-devel
License: GPL v2 or later
Summary: libxml Development Package (Version 1)
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} zlib-devel
%description -n libxml-devel
Libraries and includes for compiling applications that use libxml.
Authors:
--------
cf. package "libxml"
%prep
%setup -q
%patch -p1
%patch1
%patch2
%patch3
%build
autoreconf -f -i
%configure
%install
# [# 51381 (suse36381)]
make -C example clean
rm -r example/.deps
%makeinstall
# Unwanted doc stuff
rm -r $RPM_BUILD_ROOT%{_datadir}/gnome-xml
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING COPYING.LIB TODO
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%doc doc/*.{html,gif}
%doc doc/html
%doc example
%{_bindir}/*
%{_libdir}/*.so
%{_libdir}/*.sh
%{_libdir}/*.*a
%{_includedir}/*
%{_libdir}/pkgconfig/*
%changelog