]> git.pld-linux.org Git - packages/gdome2.git/blob - gdome2.spec
- fix unset @GLIB_CONFIG@ in gdome-config, rel. 6
[packages/gdome2.git] / gdome2.spec
1 Summary:        DOM level2 library for accessing XML files
2 Summary(pl):    Biblioteka dostêpu do plików XML, DOM poziom 2
3 Name:           gdome2
4 Version:        0.8.1
5 Release:        6
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz
9 # Source0-md5:  bfc114e59eec50cbda8e4ece751ff022
10 Patch0:         %{name}-glib2.patch
11 URL:            http://gdome2.cs.unibo.it/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel >= 2.2.0
15 BuildRequires:  libtool
16 BuildRequires:  libxml2-devel >= 2.4.26
17 BuildRequires:  pkgconfig
18 Requires:       libxml2 >= 2.4.26
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
39 %description -l pl
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.
43
44 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
45 przeanalizowany sk³adniowo dokument XML lub HTML w celu dalszego
46 jego przetwarzania poprzez interfejs DOM.
47
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.
53
54 gdome2 wspiera równie¿ czê¶ciowo poziom 3 DOM, konkretnie XPath.
55
56 %package devel
57 Summary:        Development files for gdome2
58 Summary(pl):    Pliki nag³ówkowe gdome2
59 Group:          Development/Libraries
60 Requires:       %{name} = %{version}-%{release}
61 Requires:       glib2-devel >= 2.2.0
62 Requires:       libxml2-devel >= 2.4.26
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
85 %description devel -l pl
86 Pakiet ten zawiera pliki nag³ówkowe oraz skrypty konfiguracyjne
87 potrzebne do rozwijania oprogramowania opartego o gdome2.
88
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.
92
93 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
94 przeanalizowany sk³adniowo dokument XML lub HTML w celu dalszego
95 jego przetwarzania poprzez interfejs DOM.
96
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.
102
103 gdome2 wspiera równie¿ czê¶ciowo poziom 3 DOM, konkretnie XPath.
104
105 %package static
106 Summary:        Static libraries for gdome2
107 Summary(pl):    Biblioteki statyczne dla gdome2
108 Group:          Development/Libraries
109 Requires:       %{name}-devel = %{version}-%{release}
110
111 %description static
112 This package contains static libraries for developing with gdome2.
113
114 %description static -l pl
115 Pakiet ten zawiera statyczne biblioteki potrzebne do rozwijania
116 oprogramowania opartego o gdome2.
117
118 %prep
119 %setup -q
120 %patch0 -p1
121
122 echo 'AM_DEFUN([AM_PATH_GLIB], [$3])' >> acinclude.m4
123
124 %build
125 %{__libtoolize}
126 %{__aclocal}
127 %{__autoconf}
128 %{__automake}
129 %configure
130
131 %{__make}
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135
136 %{__make} install \
137         DESTDIR=$RPM_BUILD_ROOT
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %post   -p /sbin/ldconfig
143 %postun -p /sbin/ldconfig
144
145 %files
146 %defattr(644,root,root,755)
147 %doc AUTHORS MAINTAINERS ChangeLog README
148 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
149
150 %files devel
151 %defattr(644,root,root,755)
152 %doc gtk-doc/html/*.html
153 %attr(755,root,root) %{_bindir}/gdome-config
154 %attr(755,root,root) %{_libdir}/lib*.so
155 %{_libdir}/lib*.la
156 %attr(755,root,root) %{_libdir}/*.sh
157 %{_includedir}/libgdome
158 %{_mandir}/man1/gdome-config.1*
159 %{_aclocaldir}/%{name}.m4
160 %{_pkgconfigdir}/%{name}.pc
161
162 %files static
163 %defattr(644,root,root,755)
164 %{_libdir}/*.a
This page took 0.085602 seconds and 3 git commands to generate.