3 # (to be changed to bcond_with when glib2 support is finished)
4 %bcond_without glib1 # don't 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 URL: http://gdome2.cs.unibo.it/
14 Source0: http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz
15 # Source0-md5: 143db4b396b968288c154332cae186c8
16 Patch0: %{name}-ac.patch
17 BuildRequires: libxml2-devel >= 2.4.26
18 %{!?with_glib1:BuildRequires: glib2-devel}
19 %{?with_glib1:BuildRequires: glib-devel >= 1.2.10}
20 BuildRequires: glib2-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: libtool
24 %{?with_glib1:Requires: glib >= 1.2.10}
25 Requires: libxml2 >= 2.4.26
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 gdome2 is a fast, light and complete DOM level2 implementation based
30 on libxml2. Although it has been written for the GNOME project, it can
33 A DOM implementation (also called a host implementation) is what makes
34 a parsed XML or HTML document available for processing via the DOM
37 gdome2 currently supports the "Core", "XML", "Events" and
38 "MutationEvents" modules from the DOM2 Recommendation (see
39 http://www.w3.org/TR/DOM-Level-2-Core/ and
40 http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a
41 full implementation of all the DOM Level2 standard.
43 Now gdome2 also partially supports the XPath module from the DOM level
47 gdome2 jest szybk±, lekk± i kompletn± implementacj± DOM poziom 2
48 opart± o libxml2. Pomimo, ¿e gdome2 zosta³o napisane z my¶l± o
49 projekcie GNOME mo¿e byæ u¿ywane samodzielnie.
51 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
52 przeparsowany dokument XML lub HTML dla dalszego przetwarzania poprzez
55 gdome2 w chwili obecnej wspiera nastêpuj±ce modu³y rekomendacji DOM2:
56 "Core", "XML", "Events" oraz "MutationEvents" (wiêcej informacji mo¿na
57 uzyskaæ pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz
58 http://www.w3.org/TR/DOM-Level-2-Events/), a w przysz³o¶ci ma zostaæ
59 pe³n± implementacj± standardu DOM Poziom 2.
61 gdome2 wspiera równie¿ czê¶ciowo DOM Poziom 3, konkretnie XPath.
64 Summary: Development files for gdome2
65 Summary(pl): Pliki nag³ówkowe gdome2
66 Group: Development/Libraries
67 Requires: %{name} = %{version}
68 %{!?with_glib1:Requires: glib2-devel}
69 %{?with_glib1:Requires: glib-devel >= 1.2.10}
70 Requires: libxml2-devel >= 2.4.21
73 This package contains the header files and configuration scripts for
74 developing with gdome2.
76 gdome2 is a fast, light and complete DOM level2 implementation based
77 on libxml2. Although it has been written for the GNOME project, it can
80 A DOM implementation (also called a host implementation) is what makes
81 a parsed XML or HTML document available for processing via the DOM
84 gdome2 currently supports the "Core", "XML", "Events" and
85 "MutationEvents" modules from the DOM2 Recommendation (see
86 http://www.w3.org/TR/DOM-Level-2-Core/ and
87 http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a
88 full implementation of all the DOM Level2 standard.
90 Now gdome2 also partially supports the XPath module from the DOM level
93 %description devel -l pl
94 Pakiet ten zawiera pliki nag³ówkowe oraz skrypty konfiguracyjne
95 potrzebne do rozwijania oprogramowania opartego o gdome2.
97 gdome2 jest szybk±, lekk± i kompletn± implementacj± DOM poziom 2
98 opart± o libxml2. Pomimo, ¿e gdome2 zosta³o napisane z my¶l± o
99 projekcie GNOME mo¿e byæ u¿ywane samodzielnie.
101 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
102 przeparsowany dokument XML lub HTML dla dalszego przetwarzania poprzez
105 gdome2 w chwili obecnej wspiera nastêpuj±ce modu³y rekomendacji DOM2:
106 "Core", "XML", "Events" oraz "MutationEvents" (wiêcej informacji mo¿na
107 uzyskaæ pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz
108 http://www.w3.org/TR/DOM-Level-2-Events/), a w przysz³o¶ci ma zostaæ
109 pe³n± implementacj± standardu DOM Poziom 2.
111 gdome2 wspiera równie¿ czê¶ciowo DOM Poziom 3, konkretnie XPath.
114 Summary: Static libraries for gdome2
115 Summary(pl): Biblioteki statyczne dla gdome2
116 Group: Development/Libraries
117 Requires: %{name}-devel = %{version}
120 This package contains static libraries for developing with gdome2.
122 %description static -l pl
123 Pakiet ten zawiera statyczne biblioteki potrzebne do rozwijania
124 oprogramowania opartego o gdome2.
137 %{!?with_glib1:GLIB_2=yes}
142 rm -rf $RPM_BUILD_ROOT
145 DESTDIR=$RPM_BUILD_ROOT
148 rm -rf $RPM_BUILD_ROOT
150 %post -p /sbin/ldconfig
151 %postun -p /sbin/ldconfig
154 %defattr(644,root,root,755)
155 %doc AUTHORS MAINTAINERS ChangeLog README
156 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
159 %defattr(644,root,root,755)
160 %doc gtk-doc/html/*.html
161 %attr(755,root,root) %{_bindir}/gdome-config
162 %attr(755,root,root) %{_libdir}/lib*.so
164 %attr(755,root,root) %{_libdir}/*.sh
165 %{_includedir}/libgdome
166 %{_mandir}/man1/gdome-config.1*
167 %{_aclocaldir}/%{name}.m4
168 %{_pkgconfigdir}/%{name}.pc
171 %defattr(644,root,root,755)