1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
%define nam gdome2
%define ver @VERSION@
%define rel 1
Summary: DOM level2 library for accessing XML files
Name: %nam
Version: %ver
Release: %rel
License: LGPL
Group: Development/Libraries
URL: http://gdome2.cs.unibo.it/
Source: http://gdome2.cs.unibo.it/tarball/%{nam}-%{ver}.tar.gz
BuildRoot: /var/tmp/%{nam}-%{ver}-root
BuildRequires: libxml2-devel >= @XML_MIN_VERSION@
BuildRequires: glib2 >= @GLIB_MIN_VERSION@
Requires: glib2 >= @GLIB_MIN_VERSION@
Requires: libxml2 >= @XML_MIN_VERSION@
%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 (see
http://www.w3.org/TR/DOM-Level-2-Core/ and http://www.w3.org/TR/DOM-L
evel-2-Events/), 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: gdome2 = %{ver}
Requires: glib2-devel >= @GLIB_MIN_VERSION@
Requires: libxml2-devel >= @XML_MIN_VERSION@
%description devel
This package contains the header files and static libraries for
developing with gdome2.
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 (see
http://www.w3.org/TR/DOM-Level-2-Core/ and http://www.w3.org/TR/DOM-L
evel-2-Events/), 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.
%changelog
* Sun Oct 05 2003 Paolo Casarini <paolo@casarini.org>
- fixed dependencies
* Sun Dec 29 2002 Paolo Casarini <paolo@casarini.org>
patch provided by Oron Peled <oron@actcom.co.il>
- %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 <paolo@casarini.org>
- updated descriptions and summaries
* Sat Dec 15 2001 Paolo Casarini <paolo@casarini.org>
- updated descriptions and summaries
* Tue Oct 23 2001 Paolo Casarini <paolo@casarini.org>
- added the gdome-config.1 man page
* Mon Aug 6 2001 Paolo Casarini <paolo@casarini.org>
- Merge of the Andrew release with mine
* Thu Aug 2 2001 Andrew Chatham <andrew.chatham@duke.edu>
- Spec file created
* Tue Jul 3 2001 Paolo Casarini <paolo@casarini.org>
- Initial release
%prep
%setup -q
%build
if [ ! -f configure ]; then
./autogen.sh --prefix=%{_prefix} --localstatedir=/var/lib
fi
%configure --localstatedir=/var/lib
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
make
else
make
fi
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%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 COPYING.LIB
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%doc gtk-doc/html/*.html
%doc %{_prefix}/share/man/man1/gdome-config.1*
%{_bindir}/gdome-config
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/*.sh
%{_prefix}/share/aclocal/gdome2.m4
%{_libdir}/pkgconfig/gdome2.pc
|