]> git.pld-linux.org Git - packages/gdome2.git/blob - gdome2.spec
- initial; based on spec from tarball
[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.7.1
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 URL:            http://phd.cs.unibo.it/gdome2/
9 Source0:        http://phd.cs.unibo.it/gdome2/tarball/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-ac.patch
11 BuildRequires:  libxml2-devel >= 2.4.19
12 BuildRequires:  glib-devel >= 1.2.10
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 Requires:       glib >= 1.2.10
17 Requires:       libxml2 >= 2.4.19
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 gdome2 is a fast, light and complete DOM level2 implementation based
22 on libxml2. Although it has been written for the GNOME project, it can
23 be used stand-alone.
24
25 A DOM implementation (also called a host implementation) is what makes
26 a parsed XML or HTML document available for processing via the DOM
27 interface.
28
29 gdome2 currently supports the "Core", "XML", "Events" and
30 "MutationEvents" modules from the DOM2 Recommendation (see
31 http://www.w3.org/TR/DOM-Level-2-Core/ and
32 http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a
33 full implementation of all the DOM Level2 standard.
34
35 Now gdome2 also partially supports the XPath module from the DOM level
36 3 drafts.
37
38 %description -l pl
39 gdome2 jest szybk±, lekk± i kompletn± implementacj± DOM poziom 2
40 opart± o libxml2. Pomimo, ¿e gdome2 zosta³o napisane z my¶l± o
41 projekcie GNOME mo¿e byæ u¿ywane samodzielnie.
42
43 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
44 przeparsowany dokument XML lub HTML dla dalszego przetwarzania poprzez
45 interfejs DOM.
46
47 gdome2 w chwili obecnej wspiera nastêpuj±ce modu³y rekomendacji DOM2:
48 "Core", "XML", "Events" oraz "MutationEvents" (wiêcej informacji mo¿na
49 uzyskaæ pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz
50 http://www.w3.org/TR/DOM-Level-2-Events/), a w przysz³o¶ci ma zostaæ
51 pe³n± implementacj± standardu DOM Poziom 2.
52
53 gdome2 wspiera równie¿ czê¶ciowo DOM Poziom 3, konkretnie XPath.
54
55 %package devel
56 Summary:        Development files for gdome2
57 Summary(pl):    Pliki nag³ówkowe gdome2
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}
60 Requires:       glib-devel >= 1.2.10
61 Requires:       libxml2-devel >= 2.4.19
62
63 %description devel
64 This package contains the header files and configuration scripts for
65 developing with gdome2.
66
67 gdome2 is a fast, light and complete DOM level2 implementation based
68 on libxml2. Although it has been written for the GNOME project, it can
69 be used stand-alone.
70
71 A DOM implementation (also called a host implementation) is what makes
72 a parsed XML or HTML document available for processing via the DOM
73 interface.
74
75 gdome2 currently supports the "Core", "XML", "Events" and
76 "MutationEvents" modules from the DOM2 Recommendation (see
77 http://www.w3.org/TR/DOM-Level-2-Core/ and
78 http://www.w3.org/TR/DOM-Level-2-Events/), and is supposed to become a
79 full implementation of all the DOM Level2 standard.
80
81 Now gdome2 also partially supports the XPath module from the DOM level
82 3 drafts.
83
84 %description -l pl
85 Pakiet ten zawiera pliki nag³ówkowe oraz skrypty konfiguracyjne
86 potrzebne do rozwiajania oprogramowania opartego o gdome2.
87
88 gdome2 jest szybk±, lekk± i kompletn± implementacj± DOM poziom 2
89 opart± o libxml2. Pomimo, ¿e gdome2 zosta³o napisane z my¶l± o
90 projekcie GNOME mo¿e byæ u¿ywane samodzielnie.
91
92 Implementacja DOM (zwana równie¿ implementacj± hosta) udostêpnia
93 przeparsowany dokument XML lub HTML dla dalszego przetwarzania poprzez
94 interfejs DOM.
95
96 gdome2 w chwili obecnej wspiera nastêpuj±ce modu³y rekomendacji DOM2:
97 "Core", "XML", "Events" oraz "MutationEvents" (wiêcej informacji mo¿na
98 uzyskaæ pod adresem http://www.w3.org/TR/DOM-Level-2-Core/ oraz
99 http://www.w3.org/TR/DOM-Level-2-Events/), a w przysz³o¶ci ma zostaæ
100 pe³n± implementacj± standardu DOM Poziom 2.
101
102 gdome2 wspiera równie¿ czê¶ciowo DOM Poziom 3, konkretnie XPath.
103
104 %package static
105 Summary:        Static libraries for gdome2
106 Summary(pl):    Biblioteki statyczne dla gdome2
107 Group:          Development/Libraries
108 Requires:       %{name} = %{version}
109 Requires:       glib-devel >= 1.2.10
110 Requires:       libxml2-devel >= 2.4.19
111
112 %description static
113 This package contains static libraries for developing with gdome2.
114
115 %description static -l pl
116 Pakiet ten zawiera statyczne biblioteki potrzebne do rozwiajania
117 oprogramowania opartego o gdome2.
118
119 %prep
120 %setup -q
121 %patch0 -p1
122
123 %build
124 rm -f missing
125 libtoolize --copy --force
126 aclocal
127 autoconf
128 automake -a -c
129
130 %configure
131
132 %{__make}
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136 %{__make} install DESTDIR=$RPM_BUILD_ROOT
137
138 %clean
139 rm -rf $RPM_BUILD_ROOT
140
141 %post -p /sbin/ldconfig
142
143 %postun -p /sbin/ldconfig
144
145 %files
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_libdir}/lib*.so.*
148
149 %files devel
150 %defattr(644,root,root,755)
151 %doc AUTHORS MAINTAINERS ChangeLog README gtk-doc/html/*.html
152 %attr(755,root,root) %{_bindir}/gdome-config
153 %{_includedir}/*
154 %attr(755,root,root) %{_libdir}/lib*.so
155 %{_libdir}/lib*.la
156 %{_libdir}/*.sh
157 %{_mandir}/man1/gdome-config.1*
158
159 %files static
160 %defattr(644,root,root,755)
161 %{_libdir}/*.a
This page took 0.062365 seconds and 3 git commands to generate.