3 # (to be changed to bcond_with when glib2 support is finished)
4 %bcond_with glib1 # use glib 1.2 instead of 2.x
6 Summary: DOM level2 library for accessing XML files
7 Summary(pl): Biblioteka dostêpu do plików XML, DOM poziom 2
13 Source0: http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz
14 # Source0-md5: bfc114e59eec50cbda8e4ece751ff022
15 URL: http://gdome2.cs.unibo.it/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 %{?with_glib1:BuildRequires: glib-devel >= 1.2.10}
19 %{!?with_glib1:BuildRequires: glib2-devel >= 2.2.0}
20 BuildRequires: libtool
21 BuildRequires: libxml2-devel >= 2.4.26
22 %{?with_glib1:Requires: glib >= 1.2.10}
23 %{!?with_glib1:Requires: glib2 >= 2.2.0}
24 Requires: libxml2 >= 2.4.26
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 gdome2 is a fast, light and complete DOM level2 implementation based
29 on libxml2. Although it has been written for the GNOME project, it can
32 A DOM implementation (also called a host implementation) is what makes
33 a parsed XML or HTML document available for processing via the DOM
36 gdome2 currently supports the "Core", "XML", "Events" and
37 "MutationEvents" modules from the DOM2 Recommendation (see
38 http://www.w3.org/TR/DOM-Level-2-Core/ and
39 http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a
40 full implementation of all the DOM Level2 standard.
42 Now gdome2 also partially supports the XPath module from the DOM level
46 gdome2 jest szybk±, lekk± i kompletn± implementacj± DOM poziom 2
47 opart± o libxml2. Pomimo, ¿e gdome2 zosta³o napisane z my¶l± o
48 projekcie GNOME mo¿e byæ u¿ywane samodzielnie.
50 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
51 przeparsowany dokument XML lub HTML dla dalszego przetwarzania poprzez
54 gdome2 w chwili obecnej wspiera nastêpuj±ce modu³y rekomendacji DOM2:
55 "Core", "XML", "Events" oraz "MutationEvents" (wiêcej informacji mo¿na
56 uzyskaæ pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz
57 http://www.w3.org/TR/DOM-Level-2-Events/), a w przysz³o¶ci ma zostaæ
58 pe³n± implementacj± standardu DOM Poziom 2.
60 gdome2 wspiera równie¿ czê¶ciowo DOM Poziom 3, konkretnie XPath.
63 Summary: Development files for gdome2
64 Summary(pl): Pliki nag³ówkowe gdome2
65 Group: Development/Libraries
66 Requires: %{name} = %{version}
67 %{?with_glib1:Requires: glib-devel >= 1.2.10}
68 %{!?with_glib1:Requires: glib2-devel >= 2.2.0}
69 Requires: libxml2-devel >= 2.4.26
72 This package contains the header files and configuration scripts for
73 developing with gdome2.
75 gdome2 is a fast, light and complete DOM level2 implementation based
76 on libxml2. Although it has been written for the GNOME project, it can
79 A DOM implementation (also called a host implementation) is what makes
80 a parsed XML or HTML document available for processing via the DOM
83 gdome2 currently supports the "Core", "XML", "Events" and
84 "MutationEvents" modules from the DOM2 Recommendation (see
85 http://www.w3.org/TR/DOM-Level-2-Core/ and
86 http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a
87 full implementation of all the DOM Level2 standard.
89 Now gdome2 also partially supports the XPath module from the DOM level
92 %description devel -l pl
93 Pakiet ten zawiera pliki nag³ówkowe oraz skrypty konfiguracyjne
94 potrzebne do rozwijania oprogramowania opartego o gdome2.
96 gdome2 jest szybk±, lekk± i kompletn± implementacj± DOM poziom 2
97 opart± o libxml2. Pomimo, ¿e gdome2 zosta³o napisane z my¶l± o
98 projekcie GNOME mo¿e byæ u¿ywane samodzielnie.
100 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
101 przeparsowany dokument XML lub HTML dla dalszego przetwarzania poprzez
104 gdome2 w chwili obecnej wspiera nastêpuj±ce modu³y rekomendacji DOM2:
105 "Core", "XML", "Events" oraz "MutationEvents" (wiêcej informacji mo¿na
106 uzyskaæ pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz
107 http://www.w3.org/TR/DOM-Level-2-Events/), a w przysz³o¶ci ma zostaæ
108 pe³n± implementacj± standardu DOM Poziom 2.
110 gdome2 wspiera równie¿ czê¶ciowo DOM Poziom 3, konkretnie XPath.
113 Summary: Static libraries for gdome2
114 Summary(pl): Biblioteki statyczne dla gdome2
115 Group: Development/Libraries
116 Requires: %{name}-devel = %{version}
119 This package contains static libraries for developing with gdome2.
121 %description static -l pl
122 Pakiet ten zawiera statyczne biblioteki potrzebne do rozwijania
123 oprogramowania opartego o gdome2.
128 %{!?with_glib1:echo 'AM_DEFUN([AM_PATH_GLIB], [$3])' >> acinclude.m4}
129 %{?with_glib1:echo 'AM_DEFUN([AM_PATH_GLIB_2_0], [$3]' >> acinclude.m4}
138 %{!?with_glib1:GLIB_CONFIG="pkg-config glib-2.0"} \
139 %{?with_glib1:--enable-glib-1}
144 rm -rf $RPM_BUILD_ROOT
147 DESTDIR=$RPM_BUILD_ROOT
150 rm -rf $RPM_BUILD_ROOT
152 %post -p /sbin/ldconfig
153 %postun -p /sbin/ldconfig
156 %defattr(644,root,root,755)
157 %doc AUTHORS MAINTAINERS ChangeLog README
158 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
161 %defattr(644,root,root,755)
162 %doc gtk-doc/html/*.html
163 %attr(755,root,root) %{_bindir}/gdome-config
164 %attr(755,root,root) %{_libdir}/lib*.so
166 %attr(755,root,root) %{_libdir}/*.sh
167 %{_includedir}/libgdome
168 %{_mandir}/man1/gdome-config.1*
169 %{_aclocaldir}/%{name}.m4
170 %{_pkgconfigdir}/%{name}.pc
173 %defattr(644,root,root,755)