]>
Commit | Line | Data |
---|---|---|
733c4f31 | 1 | Summary: DOM level2 library for accessing XML files |
5f7ffb30 | 2 | Summary(pl.UTF-8): Biblioteka dostępu do plików XML, DOM poziom 2 |
733c4f31 | 3 | Name: gdome2 |
a2353270 | 4 | Version: 0.8.1 |
c22f2889 | 5 | Release: 8 |
733c4f31 MM |
6 | License: LGPL |
7 | Group: Libraries | |
a9b4c886 | 8 | Source0: http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz |
a2353270 | 9 | # Source0-md5: bfc114e59eec50cbda8e4ece751ff022 |
1ddb50bf | 10 | Patch0: %{name}-glib2.patch |
1ae58361 | 11 | URL: http://gdome2.cs.unibo.it/ |
733c4f31 MM |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
1ddb50bf | 14 | BuildRequires: glib2-devel >= 2.2.0 |
733c4f31 | 15 | BuildRequires: libtool |
1ae58361 | 16 | BuildRequires: libxml2-devel >= 2.4.26 |
1b9e0a9c | 17 | BuildRequires: pkgconfig |
59ab3a2b | 18 | Requires: libxml2 >= 2.4.26 |
733c4f31 MM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | gdome2 is a fast, light and complete DOM level2 implementation based | |
23 | on libxml2. Although it has been written for the GNOME project, it can | |
24 | be used stand-alone. | |
25 | ||
26 | A DOM implementation (also called a host implementation) is what makes | |
27 | a parsed XML or HTML document available for processing via the DOM | |
28 | interface. | |
29 | ||
30 | gdome2 currently supports the "Core", "XML", "Events" and | |
31 | "MutationEvents" modules from the DOM2 Recommendation (see | |
32 | http://www.w3.org/TR/DOM-Level-2-Core/ and | |
33 | http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a | |
34 | full implementation of all the DOM Level2 standard. | |
35 | ||
36 | Now gdome2 also partially supports the XPath module from the DOM level | |
37 | 3 drafts. | |
38 | ||
cd3afcf9 JR |
39 | %description -l pl.UTF-8 |
40 | gdome2 jest szybką, lekką i kompletną implementacją poziomu 2 DOM | |
41 | opartą o libxml2. Pomimo, że gdome2 zostało napisane z myślą o | |
42 | projekcie GNOME, może być używane samodzielnie. | |
733c4f31 | 43 | |
cd3afcf9 JR |
44 | Implementacja DOM (zwana również implementacją hosta) udostępnia |
45 | przeanalizowany składniowo dokument XML lub HTML w celu dalszego | |
2543afd2 | 46 | jego przetwarzania poprzez interfejs DOM. |
733c4f31 | 47 | |
cd3afcf9 JR |
48 | gdome2 w chwili obecnej wspiera następujące moduły rekomendacji DOM2: |
49 | "Core", "XML", "Events" oraz "MutationEvents" (więcej informacji można | |
50 | uzyskać pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz | |
51 | http://www.w3.org/TR/DOM-Level-2-Events/), a w przyszłości ma zostać | |
52 | pełną implementacją standardu poziomu 2 DOM. | |
733c4f31 | 53 | |
cd3afcf9 | 54 | gdome2 wspiera również częściowo poziom 3 DOM, konkretnie XPath. |
733c4f31 MM |
55 | |
56 | %package devel | |
57 | Summary: Development files for gdome2 | |
5f7ffb30 | 58 | Summary(pl.UTF-8): Pliki nagłówkowe gdome2 |
733c4f31 | 59 | Group: Development/Libraries |
f79d81a0 | 60 | Requires: %{name} = %{version}-%{release} |
1ddb50bf | 61 | Requires: glib2-devel >= 2.2.0 |
4d71b314 | 62 | Requires: libxml2-devel >= 2.4.26 |
733c4f31 MM |
63 | |
64 | %description devel | |
65 | This package contains the header files and configuration scripts for | |
66 | developing with gdome2. | |
67 | ||
68 | gdome2 is a fast, light and complete DOM level2 implementation based | |
69 | on libxml2. Although it has been written for the GNOME project, it can | |
70 | be used stand-alone. | |
71 | ||
72 | A DOM implementation (also called a host implementation) is what makes | |
73 | a parsed XML or HTML document available for processing via the DOM | |
74 | interface. | |
75 | ||
76 | gdome2 currently supports the "Core", "XML", "Events" and | |
77 | "MutationEvents" modules from the DOM2 Recommendation (see | |
78 | http://www.w3.org/TR/DOM-Level-2-Core/ and | |
79 | http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a | |
80 | full implementation of all the DOM Level2 standard. | |
81 | ||
82 | Now gdome2 also partially supports the XPath module from the DOM level | |
83 | 3 drafts. | |
84 | ||
cd3afcf9 JR |
85 | %description devel -l pl.UTF-8 |
86 | Pakiet ten zawiera pliki nagłówkowe oraz skrypty konfiguracyjne | |
c1785122 | 87 | potrzebne do rozwijania oprogramowania opartego o gdome2. |
733c4f31 | 88 | |
cd3afcf9 JR |
89 | gdome2 jest szybką, lekką i kompletną implementacją poziomu 2 DOM |
90 | opartą o libxml2. Pomimo, że gdome2 zostało napisane z myślą o | |
91 | projekcie GNOME, może być używane samodzielnie. | |
733c4f31 | 92 | |
cd3afcf9 JR |
93 | Implementacja DOM (zwana również implementacją hosta) udostępnia |
94 | przeanalizowany składniowo dokument XML lub HTML w celu dalszego | |
2543afd2 | 95 | jego przetwarzania poprzez interfejs DOM. |
733c4f31 | 96 | |
cd3afcf9 JR |
97 | gdome2 w chwili obecnej wspiera następujące moduły rekomendacji DOM2: |
98 | "Core", "XML", "Events" oraz "MutationEvents" (więcej informacji można | |
99 | uzyskać pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz | |
100 | http://www.w3.org/TR/DOM-Level-2-Events/), a w przyszłości ma zostać | |
101 | pełną implementacją standardu poziomu 2 DOM. | |
733c4f31 | 102 | |
cd3afcf9 | 103 | gdome2 wspiera również częściowo poziom 3 DOM, konkretnie XPath. |
733c4f31 MM |
104 | |
105 | %package static | |
106 | Summary: Static libraries for gdome2 | |
5f7ffb30 | 107 | Summary(pl.UTF-8): Biblioteki statyczne dla gdome2 |
733c4f31 | 108 | Group: Development/Libraries |
f79d81a0 | 109 | Requires: %{name}-devel = %{version}-%{release} |
733c4f31 MM |
110 | |
111 | %description static | |
112 | This package contains static libraries for developing with gdome2. | |
113 | ||
cd3afcf9 | 114 | %description static -l pl.UTF-8 |
c1785122 | 115 | Pakiet ten zawiera statyczne biblioteki potrzebne do rozwijania |
733c4f31 MM |
116 | oprogramowania opartego o gdome2. |
117 | ||
118 | %prep | |
119 | %setup -q | |
1ddb50bf | 120 | %patch0 -p1 |
733c4f31 | 121 | |
1ddb50bf | 122 | echo 'AM_DEFUN([AM_PATH_GLIB], [$3])' >> acinclude.m4 |
4d71b314 | 123 | |
733c4f31 | 124 | %build |
b6cd2f3f | 125 | %{__libtoolize} |
2d4ce043 | 126 | %{__aclocal} |
14f44c1e | 127 | %{__autoconf} |
2d4ce043 | 128 | %{__automake} |
1ddb50bf | 129 | %configure |
733c4f31 MM |
130 | |
131 | %{__make} | |
132 | ||
133 | %install | |
134 | rm -rf $RPM_BUILD_ROOT | |
2d4ce043 | 135 | |
c1785122 | 136 | %{__make} install \ |
1ae58361 | 137 | DESTDIR=$RPM_BUILD_ROOT |
733c4f31 MM |
138 | |
139 | %clean | |
140 | rm -rf $RPM_BUILD_ROOT | |
141 | ||
2d4ce043 | 142 | %post -p /sbin/ldconfig |
733c4f31 MM |
143 | %postun -p /sbin/ldconfig |
144 | ||
145 | %files | |
146 | %defattr(644,root,root,755) | |
c1785122 JB |
147 | %doc AUTHORS MAINTAINERS ChangeLog README |
148 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
733c4f31 MM |
149 | |
150 | %files devel | |
151 | %defattr(644,root,root,755) | |
c1785122 | 152 | %doc gtk-doc/html/*.html |
733c4f31 | 153 | %attr(755,root,root) %{_bindir}/gdome-config |
733c4f31 | 154 | %attr(755,root,root) %{_libdir}/lib*.so |
f1c9f701 | 155 | %{_libdir}/lib*.la |
2d4ce043 | 156 | %attr(755,root,root) %{_libdir}/*.sh |
c1785122 | 157 | %{_includedir}/libgdome |
733c4f31 | 158 | %{_mandir}/man1/gdome-config.1* |
cb65ca98 | 159 | %{_aclocaldir}/%{name}.m4 |
160 | %{_pkgconfigdir}/%{name}.pc | |
733c4f31 MM |
161 | |
162 | %files static | |
163 | %defattr(644,root,root,755) | |
164 | %{_libdir}/*.a |