Name: libxml Summary: Old XML library for Gnome-1 application compatibility Epoch: 1 Version: 1.8.17 Release: 24%{?dist} License: LGPLv2+ or W3C Group: Development/Libraries URL: http://veillard.com/XML/ Source: ftp://xmlsoft.org/libxml/old/libxml-%{version}.tar.gz Patch0: libxml-1.8.17-CAN-2004-0110.patch Patch1: libxml-1.8.17-ficora-245608.patch Patch10: libxml-1.8.17-open-mode.patch Patch11: libxml-1.8.17-multiarch.patch Patch12: libxml-1.8.17-declarations.patch Patch13: libxml-1.8.17-ppc64-config.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This library allows old Gnome-1 applications to manipulate XML files. %package devel Summary: Libraries, includes, etc. to build old libxml-based applications Group: Development/Libraries Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}, pkgconfig %description devel Libraries, includes, etc. to build old libxml-based applications. %prep %setup -q # fix CAN-2004-0110 & CAN-2004-0989 (arbitrary code execution via a long URL) %patch0 -p1 # fix CVE-2009-2414 (stack consumption DoS vulnerabilities) # fix CVE-2009-2416 (use-after-free DoS vulnerabilities) %patch1 -p0 # open() with O_CREAT must have 3 arguments %patch10 -p1 # make xml-config script arch-independent for multiarch compatibility %patch11 -p1 # silence warnings about implicit function declarations %patch12 -p1 -b .decl # fix ppc64 builds %patch13 -p1 # recode ChangeLog as UTF-8 /usr/bin/iconv -f iso-8859-1 -t utf-8 < ChangeLog > ChangeLog.utf-8 %{__mv} -f ChangeLog.utf-8 ChangeLog %build export CFLAGS="%{optflags} -Werror-implicit-function-declaration" %configure --disable-static # Makefile doesn't work with %{_smp_mflags} %{__make} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} INSTALL="%{__install} -p" install # hack to get /usr/include/gnome-xml/libxml/ if [ -d %{buildroot}/%{prefix}/include/gnome-xml ]; then %{__ln_s} -f . %{buildroot}/%{_includedir}/gnome-xml/libxml fi %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README COPYING.LIB TODO %{_libdir}/libxml.so.* %files devel %defattr(-,root,root,-) %{_bindir}/xml-config %{_datadir}/gnome-xml/ %{_includedir}/gnome-xml/ %{_libdir}/libxml.so %{_libdir}/xmlConf.sh %{_libdir}/pkgconfig/libxml.pc %exclude %{_libdir}/libxml.la %changelog * Wed Aug 12 2009 Paul Howarth <paul@city-fan.org> 1:1.8.17-24 - renumber existing patches to free up low-numbered patches for EL-3 patches - add patch for CAN-2004-0110 and CAN-2004-0989 (#139090) - add patch for CVE-2009-2414 and CVE-2009-2416 (#515195, #515205) * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1:1.8.17-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Apr 20 2009 Paul Howarth <paul@city-fan.org> 1:1.8.17-22 - rebuild for %%{_isa} provides/requires * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1:1.8.17-21 - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed May 21 2008 Paul Howarth <paul@city-fan.org> 1:1.8.17-20 - fixes for building with -Werror-implicit-function-declaration and some of the compiler warnings - fix config.guess and config.sub to support build on ppc64 * Wed Feb 13 2008 Paul Howarth <paul@city-fan.org> 1:1.8.17-19 - rebuild with gcc 4.3.0 for Fedora 9 * Fri Oct 26 2007 Paul Howarth <paul@city-fan.org> 1:1.8.17-18 - fix multiarch conflict in xml-config (#342501) - preserve timestamps for files copied from source to installed package - re-encode ChangeLog as UTF-8 * Thu Aug 30 2007 Paul Howarth <paul@city-fan.org> 1:1.8.17-17 - rebuild for BuildID inclusion (http://fedoraproject.org/wiki/Releases/FeatureBuildId) * Fri Aug 17 2007 Paul Howarth <paul@city-fan.org> 1:1.8.17-16 - add mode to fix call to open() with O_CREAT and only 2 args - unexpand tabs in spec - update license tag * Mon Sep 11 2006 Paul Howarth <paul@city-fan.org> 1:1.8.17-15 - add release to versioned dependency of libxml-devel on libxml - drop COPYING file; license is dual W3C/LGPL and the only GPL bits are in the build system (e.g. libtool), which is not distributed * Sat Aug 26 2006 Paul Howarth <paul@city-fan.org> 1:1.8.17-14 - add dist tag - devel package requires pkgconfig - update URL to http://veillard.com/XML/ - update source URL - use Fedora Extras standard buildroot - own %%{_datadir}/gnome-xml/ - don't include empty NEWS file - don't include static library or libtool archive - add note about Makefile being broken with %%{_smp_mflags} - use make/DESTDIR instead of %%makeinstall - remove pointless prereq: /sbin/install-info - cosmetic clean-up of spec file * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1:1.8.17-13.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1:1.8.17-13.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.8.17-13.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - rebuilt * Wed Feb 9 2005 Daniel Veillard <veillard@redhat.com> 1.8.17-13 - rebuilt * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt * Sun Jun 8 2003 Tim Powers <timp@redhat.com> 1:1.8.17-9.1 - build for RHEL * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt * Tue Jun 3 2003 Jeff Johnson <jbj@redhat.com> - add explicit epochs where needed. * Wed Jan 22 2003 Tim Powers <timp@redhat.com> - rebuilt * Sun Jan 19 2003 Daniel Veillard <veillard@redhat.com> 1.8.17-7 - apparently there was an old 1.8.17-6 laying around * Tue Jan 14 2003 Daniel Veillard <veillard@redhat.com> 1.8.17-6 - cleaned up the spec file, rebuild for RawHide * Fri Jun 21 2002 Tim Powers <timp@redhat.com> - automated rebuild * Thu May 23 2002 Tim Powers <timp@redhat.com> - automated rebuild * Mon Jan 28 2002 Daniel Veillard <veillard@redhat.com> - updated to 1.8.17 - made sure the Epoch is set * Sun Aug 05 2001 Jens Finke <jens@triq.net> - Merged GPP spec file with spec.in file from CVS. - Added %%{_datadir}/gnome-xml to devel package to include documentation. - Added libxml.pc file. * Wed Jul 18 2001 Gregory Leblanc <gleblanc@cu-portland.edu> - removed unncessary %%defines - made %%setup -quiet - fixed buildroot - fixed source line * Thu Feb 22 2001 Gregory Leblanc <gleblanc@cu-portland.edu> - fixed macros, removed hard-coded paths, that sort of thing. * Thu Sep 23 1999 Daniel Veillard <Daniel.Veillard@w3.org> - corrected the spec file alpha stuff - switched to version 1.7.1 - Added validation, XPath, nanohttp, removed memory leaks - Renamed CHAR to xmlChar * Wed Jun 2 1999 Daniel Veillard <Daniel.Veillard@w3.org> - Switched to version 1.1: SAX extensions, better entities support, lots of bug fixes. * Sun Oct 4 1998 Daniel Veillard <Daniel.Veillard@w3.org> - Added xml-config to the package * Thu Sep 24 1998 Michael Fulbright <msf@redhat.com> - Built release 0.30