Summary: DOM level2 library for accessing XML files Name: gdome2 Version: 0.8.1 Release: 2.n0i.1 Group: Development/Libraries License: LGPL URL: http://gdome2.cs.unibo.it/ Source: http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libxml2-devel >= 0:2.4.26 Requires: libxml2 >= 0:2.4.26 BuildRequires: glib2 >= 0:2.2.0 Requires: glib2 >= 0:2.2.0 Requires: pkgconfig %description gdome2 is a fast, light and complete DOM level2 implementation based on libxml2. Although it has been written for the GNOME project, it can be used stand-alone. A DOM implementation (also called a host implementation) is what makes a parsed XML or HTML document available for processing via the DOM interface. gdome2 currently supports the "Core", "XML", "Events" and "MutationEvents" modules from the DOM2 Recommendation, and is supposed to become a full implementation of all the DOM Level2 standard. Now gdome2 also partially supports the XPath module from the DOM level 3 drafts. %package devel Summary: Development files for gdome2 Group: Development/Libraries Requires: %{name} >= %{version} Requires: glib2-devel >= 0:2.2.0 Requires: libxml2-devel >= 0:2.4.26 %description devel This package contains the header files and static libraries for developing with gdome2. %prep %setup %build [ -f configure ] || ./autogen.sh --prefix=%{_prefix} --localstatedir=/var/lib %configure --localstatedir=%{_var}/lib %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %makeinstall echo -e '#!/bin/sh\npkg-config gdome2 $*' > $RPM_BUILD_ROOT%{_bindir}/gdome-config chmod 755 $RPM_BUILD_ROOT%{_bindir}/gdome-config %clean %{__rm} -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS MAINTAINERS ChangeLog INSTALL NEWS README COPYING* %{_libdir}/*.so.* %files devel %defattr(-, root, root) %doc %{_datadir}/gtk-doc/html/* %{_mandir}/man?/gdome-config.* %{_bindir}/gdome-config %{_includedir}/* %{_libdir}/*.so %{_libdir}/*a %{_libdir}/*.sh %{_datadir}/aclocal/* %{_libdir}/pkgconfig/* %changelog * Wed Jul 27 2005 Marius FERARU 0.8.1-2.n0i.1 - rebuild * Sat Dec 04 2004 Marius FERARU 0:0.8.1-1.n0i.2 - automatic rebuild * Sat Apr 03 2004 Marius FERARU 0:0.8.1-1.n0i.1 - version 0.8.1 - added epoch to all requirements - twisted gdome-config plugging a pkgconfig wrapper :) * Wed Dec 31 2003 Marius FERARU 0:0.8.0-0.n0i.1 - Fedora-ized spec file * Sun Dec 29 2002 Paolo Casarini patch provided by Oron Peled - %defattr(-,root,root) wasn't set for documents in the devel package. This cause wrong ownership of docs in non-root builds. - Update URL: and Source: locations - s/Copyright:/License:/ * Sun Mar 31 2002 Paolo Casarini - updated descriptions and summaries * Sat Dec 15 2001 Paolo Casarini - updated descriptions and summaries * Tue Oct 23 2001 Paolo Casarini - added the gdome-config.1 man page * Mon Aug 6 2001 Paolo Casarini - Merge of the Andrew release with mine * Thu Aug 2 2001 Andrew Chatham - Spec file created * Tue Jul 3 2001 Paolo Casarini - Initial release