]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - force maven to work without network, enable java_mvn | |
3 | # - haskell plugin (BR: ghc >= 8.0.0, cabal) | |
4 | # - rest-backend (BR: cppcms boost >= 1.45 libjwt openssl) | |
5 | # - rest-frontend, web (BR: npm) | |
6 | # - use system nickel (1.1.0, in src/plugins/ni), inih (r29, src/plugins/ini) | |
7 | # | |
8 | # Conditonal build: | |
9 | %bcond_with full # "full" variant (libelektra-full with all plugins linked in) | |
10 | %bcond_without gen # gen tool packaging | |
11 | %bcond_without glib # GLib/GObject/GSetttings (+ GI) bindings | |
12 | %bcond_without gsettings # GSetttings module | |
13 | %bcond_without java # Java support: JNA binding and JNI plugin (needs Java 8) | |
14 | %bcond_with java_mvn # Java JNA binding (needs Java 8 and maven) | |
15 | %bcond_without lua # Lua (5.2) support: bindings and plugin | |
16 | %bcond_without python2 # Python 2 support: bindings and plugin | |
17 | %bcond_without python3 # Python 3 support: bindings and plugin | |
18 | %bcond_without qt # Qt GUI | |
19 | %bcond_without ruby # Ruby binding and plugin | |
20 | ||
21 | %if %{without glib} | |
22 | %undefine with_gsettings | |
23 | %endif | |
24 | %if %{without java} | |
25 | %undefine with_java_mvn | |
26 | %endif | |
27 | Summary: A key/value pair database to store software configurations | |
28 | Summary(pl.UTF-8): Baza kluczy/wartości do przechowywania konfiguracji oprogramowania | |
29 | Name: elektra | |
30 | Version: 0.8.23 | |
31 | Release: 14 | |
32 | License: BSD | |
33 | Group: Applications/System | |
34 | Source0: https://www.libelektra.org/ftp/elektra/releases/%{name}-%{version}.tar.gz | |
35 | # Source0-md5: 0a065ed381a59b6213bd46fd3c82ba83 | |
36 | Patch0: %{name}-zsh.patch | |
37 | Patch1: %{name}-no-markdown.patch | |
38 | Patch2: disable-broken-tests.patch | |
39 | Patch3: gcc11.patch | |
40 | URL: https://www.libelektra.org/ | |
41 | %if %{with qt} | |
42 | BuildRequires: Qt5Core-devel >= 5.3 | |
43 | BuildRequires: Qt5Gui-devel >= 5.3 | |
44 | BuildRequires: Qt5Qml-devel >= 5.3 | |
45 | BuildRequires: Qt5Quick-devel >= 5.3 | |
46 | BuildRequires: Qt5Svg-devel >= 5.3 | |
47 | BuildRequires: Qt5Test-devel >= 5.3 | |
48 | BuildRequires: Qt5Widgets-devel >= 5.3 | |
49 | %endif | |
50 | BuildRequires: augeas-devel >= 1.0 | |
51 | BuildRequires: boost-devel | |
52 | BuildRequires: cmake >= 3.0 | |
53 | BuildRequires: curl-devel >= 7.28.0 | |
54 | BuildRequires: dbus-devel | |
55 | BuildRequires: doxygen | |
56 | BuildRequires: gcc >= 6:4.8 | |
57 | BuildRequires: gettext-tools | |
58 | %{?with_glib:BuildRequires: glib2-devel >= 1:2.36} | |
59 | %{?with_gsettings:BuildRequires: glib2-devel >= 1:2.42} | |
60 | %{?with_glib:BuildRequires: gobject-introspection-devel >= 1.38} | |
61 | # for binding | |
62 | %{?with_java_mvn:BuildRequires: java-jna >= 4.5.0} | |
63 | %{?with_java_mvn:BuildRequires: java-junit >= 4.12} | |
64 | %{?with_java:BuildRequires: jdk >= 1.8} | |
65 | # jawt for plugin | |
66 | %{?with_java:BuildRequires: jre-X11 >= 1.8} | |
67 | BuildRequires: libgcrypt-devel | |
68 | BuildRequires: libgit2-devel >= 0.24.1 | |
69 | %{?with_qt:BuildRequires: libmarkdown-devel} | |
70 | BuildRequires: libstdc++-devel | |
71 | BuildRequires: libuv-devel | |
72 | BuildRequires: libxml2-devel >= 2.0 | |
73 | BuildRequires: libxslt-progs | |
74 | %{?with_lua:BuildRequires: lua52-devel >= 5.2} | |
75 | %{?with_java_mvn:BuildRequires: maven} | |
76 | %{?with_java_mvn:BuildRequires: maven-plugin-compiler >= 3.6.0} | |
77 | %{?with_java_mvn:BuildRequires: maven-plugin-surefire >= 2.19.1} | |
78 | BuildRequires: openssl-devel | |
79 | BuildRequires: pkgconfig | |
80 | %{?with_python2:BuildRequires: python-devel >= 1:2.7} | |
81 | %{?with_python3:BuildRequires: python3-devel >= 1:3.2} | |
82 | BuildRequires: ronn | |
83 | BuildRequires: rpm-pythonprov | |
84 | BuildRequires: rpmbuild(macros) >= 1.612 | |
85 | %{?with_ruby:BuildRequires: ruby-devel} | |
86 | BuildRequires: sed >= 4.0 | |
87 | BuildRequires: swig >= 3 | |
88 | %if %{with python2} || %{with python3} | |
89 | BuildRequires: swig-python >= 3 | |
90 | %endif | |
91 | %{?with_ruby:BuildRequires: swig-ruby >= 3.0.8} | |
92 | BuildRequires: systemd-devel | |
93 | BuildRequires: tcl-devel | |
94 | BuildRequires: xerces-c-devel >= 3.0.0 | |
95 | BuildRequires: yajl-devel | |
96 | BuildRequires: yaml-cpp-devel >= 0.5 | |
97 | Requires: %{name}-libs = %{version}-%{release} | |
98 | Requires: mktemp | |
99 | # plugins dependencies (move to individual plugin subpackage if created) | |
100 | Requires: augeas-libs >= 1.0 | |
101 | Requires: curl-libs >= 7.28.0 | |
102 | Requires: libgit2 >= 0.24.1 | |
103 | Requires: yaml-cpp >= 0.5 | |
104 | Obsoletes: registry | |
105 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
106 | ||
107 | %description | |
108 | The Elektra Project provides a framework to store generic | |
109 | configuration data in an hierarchical key-value pair database, instead | |
110 | of a human-readable only text file. | |
111 | ||
112 | This way any software can read/save his configuration using a | |
113 | consistent API. Also, applications can be aware of other applications | |
114 | configurations, leveraging easy application integration. | |
115 | ||
116 | %description -l pl.UTF-8 | |
117 | Projekt Elektra dostarcza szkielet do przechowywania typowych danych | |
118 | konfiguracyjnych w postaci klucz-wartość w hierarchicznej bazie | |
119 | danych, zamiast w pliku tekstowym czytelnym tylko dla człowieka. | |
120 | ||
121 | W ten sposób oprogramowanie może odczytywać/zapisywać konfigurację za | |
122 | pomocą spójnego API. Dodatkowo aplikacje mogą być zorientowane w | |
123 | konfiguracji innych aplikacji, ułatwiając ich integrację. | |
124 | ||
125 | %package gen | |
126 | Summary: Elektra kbd-gen code generation utility | |
127 | Summary(pl.UTF-8): Narzędzie Elektra kbd-gen do generowania kodu | |
128 | Group: Development/Tools | |
129 | Requires: %{name} = %{version}-%{release} | |
130 | Requires: python-modules >= 1:2.7 | |
131 | ||
132 | %description gen | |
133 | Elektra kbd-gen code generation utility. | |
134 | ||
135 | %description gen -l pl.UTF-8 | |
136 | Narzędzie Elektra kbd-gen do generowania kodu. | |
137 | ||
138 | %package gui | |
139 | Summary: Qt based GUI for Elektra | |
140 | Summary(pl.UTF-8): Oparty na Qt graficzny interfejs do Elektry | |
141 | Group: X11/Applications | |
142 | Requires: %{name} = %{version}-%{release} | |
143 | ||
144 | %description gui | |
145 | Qt based GUI for Elektra. | |
146 | ||
147 | %description gui -l pl.UTF-8 | |
148 | Oparty na Qt graficzny interfejs do Elektry. | |
149 | ||
150 | %package plugin-jni | |
151 | Summary: Java JNI plugin for Elektra | |
152 | Summary(pl.UTF-8): Wtyczka Java JNI dla Elektry | |
153 | Group: Libraries | |
154 | Requires: %{name} = %{version}-%{release} | |
155 | # jawt | |
156 | Requires: jre-X11 >= 1.8 | |
157 | ||
158 | %description plugin-jni | |
159 | Java JNI plugin for Elektra. It allows to use plugins written in Java. | |
160 | ||
161 | %description plugin-jni -l pl.UTF-8 | |
162 | Wtyczka Java JNI dla Elektry. Pozwala na używanie wtyczek napisanych w | |
163 | Javie. | |
164 | ||
165 | %package plugin-lua | |
166 | Summary: Lua plugin for Elektra | |
167 | Summary(pl.UTF-8): Wtyczka Lua dla Elektry | |
168 | Group: Libraries | |
169 | Requires: %{name} = %{version}-%{release} | |
170 | Requires: lua52-libs >= 5.2 | |
171 | ||
172 | %description plugin-lua | |
173 | Lua plugin for Elektra. It allows to use plugins written in Lua. | |
174 | ||
175 | %description plugin-lua -l pl.UTF-8 | |
176 | Wtyczka Lua dla Elektry. Pozwala na używanie wtyczek napisanych w Lua. | |
177 | ||
178 | %package plugin-python2 | |
179 | Summary: Python 2 plugin for Elektra | |
180 | Summary(pl.UTF-8): Wtyczka Python 2 dla Elektry | |
181 | Group: Libraries | |
182 | Requires: %{name} = %{version}-%{release} | |
183 | Requires: python-libs >= 1:2.7 | |
184 | ||
185 | %description plugin-python2 | |
186 | Python 2 plugin for Elektra. It allows to use plugins written in | |
187 | Python 2. | |
188 | ||
189 | %description plugin-python2 -l pl.UTF-8 | |
190 | Wtyczka 2 Python dla Elektry. Pozwala na używanie wtyczek napisanych w | |
191 | Pythonie 2. | |
192 | ||
193 | %package plugin-python3 | |
194 | Summary: Python 3 plugin for Elektra | |
195 | Summary(pl.UTF-8): Wtyczka Python 3 dla Elektry | |
196 | Group: Libraries | |
197 | Requires: %{name} = %{version}-%{release} | |
198 | Requires: python3-libs >= 1:3.2 | |
199 | ||
200 | %description plugin-python3 | |
201 | Python 3 plugin for Elektra. It allows to use plugins written in | |
202 | Python 3. | |
203 | ||
204 | %description plugin-python3 -l pl.UTF-8 | |
205 | Wtyczka Python 3 dla Elektry. Pozwala na używanie wtyczek napisanych w | |
206 | Pythonie 3. | |
207 | ||
208 | %package plugin-ruby | |
209 | Summary: Ruby plugin for Elektra | |
210 | Summary(pl.UTF-8): Wtyczka Ruby dla Elektry | |
211 | Group: Libraries | |
212 | Requires: %{name} = %{version}-%{release} | |
213 | Requires: ruby | |
214 | ||
215 | %description plugin-ruby | |
216 | Ruby plugin for Elektra. It allows to use plugins written in Ruby. | |
217 | ||
218 | %description plugin-ruby -l pl.UTF-8 | |
219 | Wtyczka Ruby dla Elektry. Pozwala na używanie wtyczek napisanych w | |
220 | języku Ruby. | |
221 | ||
222 | %package -n bash-completion-elektra | |
223 | Summary: Bash completion for Elektra commands | |
224 | Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla poleceń z pakietu Elektra | |
225 | Group: Applications/Shells | |
226 | Requires: %{name} = %{version}-%{release} | |
227 | Requires: bash-completion >= 2 | |
228 | BuildArch: noarch | |
229 | ||
230 | %description -n bash-completion-elektra | |
231 | Bash completion for Elektra kdb command. | |
232 | ||
233 | %description -n bash-completion-elektra -l pl.UTF-8 | |
234 | Bashowe uzupełnianie parametrów dla polecenia kdb z pakietu Elektra. | |
235 | ||
236 | %package -n fish-completion-elektra | |
237 | Summary: Fish completion for Elektra commands | |
238 | Summary(pl.UTF-8): Uzupełnianie parametrów w fish dla poleceń z pakietu Elektra | |
239 | Group: Applications/Shells | |
240 | Requires: %{name} = %{version}-%{release} | |
241 | Requires: fish | |
242 | BuildArch: noarch | |
243 | ||
244 | %description -n fish-completion-elektra | |
245 | Fish completion for Elektra kdb command. | |
246 | ||
247 | %description -n fish-completion-elektra -l pl.UTF-8 | |
248 | Uzupełnianie parametrów w fish dla polecenia kdb z pakietu Elektra. | |
249 | ||
250 | %package -n zsh-completion-elektra | |
251 | Summary: ZSH completion for Elektra commands | |
252 | Summary(pl.UTF-8): Uzupełnianie parametrów dla poleceń z pakietu Elektra w powłoce ZSH | |
253 | Group: Applications/Shells | |
254 | Requires: %{name} = %{version}-%{release} | |
255 | Requires: zsh | |
256 | BuildArch: noarch | |
257 | ||
258 | %description -n zsh-completion-elektra | |
259 | ZSH completion for Elektra kdb command. | |
260 | ||
261 | %description -n zsh-completion-elektra -l pl.UTF-8 | |
262 | Uzupełnianie parametrów dla polecenia kdb z pakietu Elektra w powłoce | |
263 | ZSH. | |
264 | ||
265 | %package libs | |
266 | Summary: Elektra Project libraries | |
267 | Summary(pl.UTF-8): Biblioteki projektu Elektra | |
268 | Group: Libraries | |
269 | Obsoletes: elektra-cpp < 0.8 | |
270 | Conflicts: elektra < 0.7 | |
271 | ||
272 | %description libs | |
273 | The Elektra Project provides a framework to store generic | |
274 | configuration data in an hierarchical key-value pair database, instead | |
275 | of a human-readable only text file. | |
276 | ||
277 | This way any software can read/save his configuration using a | |
278 | consistent API. Also, applications can be aware of other applications | |
279 | configurations, leveraging easy application integration. | |
280 | ||
281 | This package contains Elektra shared libraries. | |
282 | ||
283 | %description libs -l pl.UTF-8 | |
284 | Projekt Elektra dostarcza szkielet do przechowywania typowych danych | |
285 | konfiguracyjnych w postaci klucz-wartość w hierarchicznej bazie | |
286 | danych, zamiast w pliku tekstowym czytelnym tylko dla człowieka. | |
287 | ||
288 | W ten sposób oprogramowanie może odczytywać/zapisywać konfigurację za | |
289 | pomocą spójnego API. Dodatkowo aplikacje mogą być zorientowane w | |
290 | konfiguracji innych aplikacji, ułatwiając ich integrację. | |
291 | ||
292 | Ten pakiet zawiera biblioteki współdzielone Elektry. | |
293 | ||
294 | %package devel | |
295 | Summary: Include files and API documentation for Elektra Project | |
296 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja API projektu Elektra | |
297 | Group: Development/Libraries | |
298 | Requires: %{name}-libs = %{version}-%{release} | |
299 | ||
300 | %description devel | |
301 | This package contains the include files and API manual pages to use | |
302 | the Elektra API in C. | |
303 | ||
304 | %description devel -l pl.UTF-8 | |
305 | Ten pakiet zawiera pliki nagłówkowe oraz strony podręcznika | |
306 | systemowego opisującego sposób użycia API Elektry w C. | |
307 | ||
308 | %package static | |
309 | Summary: Static libraries for Elektra Project | |
310 | Summary(pl.UTF-8): Statyczne biblioteki projektu Elektra | |
311 | Group: Development/Libraries | |
312 | Requires: %{name}-devel = %{version}-%{release} | |
313 | ||
314 | %description static | |
315 | This package contains static libraries for Elektra Project. | |
316 | ||
317 | %description static -l pl.UTF-8 | |
318 | Ten pakiet zawiera statyczne biblioteki projektu Elektra. | |
319 | ||
320 | %package cpp-devel | |
321 | Summary: Header files of C++ interface for Elektra library | |
322 | Summary(pl.UTF-8): Pliki nagłówkowe interfejsu C++ do biblioteki Elektra | |
323 | Group: Development/Libraries | |
324 | Requires: %{name}-devel = %{version}-%{release} | |
325 | Requires: libstdc++-devel | |
326 | Obsoletes: elektra-cpp-static < 0.8 | |
327 | ||
328 | %description cpp-devel | |
329 | Header files of C++ interface for Elektra library. | |
330 | ||
331 | %description cpp-devel -l pl.UTF-8 | |
332 | Pliki nagłówkowe interfejsu C++ do biblioteki Elektra. | |
333 | ||
334 | %package glib | |
335 | Summary: GLib/GObject binding for Elektra | |
336 | Summary(pl.UTF-8): Wiązanie GLib/GObject do Elektry | |
337 | Group: Libraries | |
338 | Requires: %{name}-libs = %{version}-%{release} | |
339 | %if %{with gsettings} | |
340 | Requires: glib2 >= 1:2.42 | |
341 | %else | |
342 | Requires: glib2 >= 1:2.36 | |
343 | %endif | |
344 | ||
345 | %description glib | |
346 | GLib/GObject binding for Elektra. | |
347 | ||
348 | %description glib -l pl.UTF-8 | |
349 | Wiązanie GLib/GObject do Elektry. | |
350 | ||
351 | %package glib-devel | |
352 | Summary: GLib/GObject binding for Elektra - development files | |
353 | Summary(pl.UTF-8): Wiązanie GLib/GObject do Elektry - pliki programistyczne | |
354 | Group: Libraries | |
355 | Requires: %{name}-devel = %{version}-%{release} | |
356 | %if %{with gsettings} | |
357 | Requires: glib2-devel >= 1:2.42 | |
358 | %else | |
359 | Requires: glib2-devel >= 1:2.36 | |
360 | %endif | |
361 | ||
362 | %description glib-devel | |
363 | GLib/GObject binding for Elektra - development files. | |
364 | ||
365 | %description glib-devel -l pl.UTF-8 | |
366 | Wiązanie GLib/GObject do Elektry - pliki programistyczne. | |
367 | ||
368 | %package io-glib | |
369 | Summary: Elektra I/O binding using GLib | |
370 | Summary(pl.UTF-8): Wiązanie we/wy Elektry wykorzystujące GLib | |
371 | Group: Libraries | |
372 | Requires: %{name}-libs = %{version}-%{release} | |
373 | ||
374 | %description io-glib | |
375 | Elektra I/O binding using GLib. | |
376 | ||
377 | %description io-glib -l pl.UTF-8 | |
378 | Wiązanie we/wy Elektry wykorzystujące GLib. | |
379 | ||
380 | %package io-glib-devel | |
381 | Summary: Development files for Elektra I/O GLib binding | |
382 | Summary(pl.UTF-8): Pliki programistyczne wiązania we/wy Elektry GLib | |
383 | Group: Development/Libraries | |
384 | Requires: %{name}-devel = %{version}-%{release} | |
385 | Requires: %{name}-io-glib = %{version}-%{release} | |
386 | Requires: glib2-devel >= 2.0 | |
387 | ||
388 | %description io-glib-devel | |
389 | Development files for Elektra I/O GLib binding. | |
390 | ||
391 | %description io-glib-devel -l pl.UTF-8 | |
392 | Pliki programistyczne wiązania we/wy Elektry GLib. | |
393 | ||
394 | %package io-uv | |
395 | Summary: Elektra I/O binding using uv | |
396 | Summary(pl.UTF-8): Wiązanie we/wy Elektry wykorzystujące uv | |
397 | Group: Libraries | |
398 | Requires: %{name}-libs = %{version}-%{release} | |
399 | ||
400 | %description io-uv | |
401 | Elektra I/O binding using uv. | |
402 | ||
403 | %description io-uv -l pl.UTF-8 | |
404 | Wiązanie we/wy Elektry wykorzystujące uv. | |
405 | ||
406 | %package io-uv-devel | |
407 | Summary: Development files for Elektra I/O uv binding | |
408 | Summary(pl.UTF-8): Pliki programistyczne wiązania we/wy Elektry uv | |
409 | Group: Development/Libraries | |
410 | Requires: %{name}-devel = %{version}-%{release} | |
411 | Requires: %{name}-io-uv = %{version}-%{release} | |
412 | Requires: libuv-devel | |
413 | ||
414 | %description io-uv-devel | |
415 | Development files for Elektra I/O uv binding. | |
416 | ||
417 | %description io-uv-devel -l pl.UTF-8 | |
418 | Pliki programistyczne wiązania we/wy Elektry uv. | |
419 | ||
420 | %package -n java-elektra | |
421 | Summary: Java binding for Elektra | |
422 | Summary(pl.UTF-8): Wiązanie języka Java dla Elektry | |
423 | Group: Libraries | |
424 | Requires: %{name}-libs = %{version}-%{release} | |
425 | Requires: java-jna >= 4.5.0 | |
426 | Requires: jre >= 1.8 | |
427 | ||
428 | %description -n java-elektra | |
429 | Java binding for Elektra. | |
430 | ||
431 | %description -n java-elektra -l pl.UTF-8 | |
432 | Wiązanie języka Java dla Elektry. | |
433 | ||
434 | %package -n lua-elektra | |
435 | Summary: Lua binding for Elektra | |
436 | Summary(pl.UTF-8): Wiązanie języka Lua dla Elektry | |
437 | Group: Libraries | |
438 | Requires: %{name}-libs = %{version}-%{release} | |
439 | Requires: lua52-libs >= 5.2 | |
440 | ||
441 | %description -n lua-elektra | |
442 | Lua binding for Elektra. | |
443 | ||
444 | %description -n lua-elektra -l pl.UTF-8 | |
445 | Wiązanie języka Lua dla Elektry. | |
446 | ||
447 | %package -n lua-elektra-glib | |
448 | Summary: Lua/GI binding for Elektra | |
449 | Summary(pl.UTF-8): Wiązanie Lua/GI dla Elektry | |
450 | Group: Libraries | |
451 | Requires: %{name}-glib = %{version}-%{release} | |
452 | Requires: lua52-libs >= 5.2 | |
453 | #R: lua52-lgi ? | |
454 | ||
455 | %description -n lua-elektra-glib | |
456 | Lua/GI binding for Elektra. Note: this bindings is deprecated, it's | |
457 | better to use SWIG (lua-elektra) binding. | |
458 | ||
459 | %description -n lua-elektra-glib -l pl.UTF-8 | |
460 | Wiązanie Lua/GI dla Elektry. Uwaga: to wiązanie jest przestarzałe, | |
461 | lepiej używać wiązania SWIG (lua-elektra). | |
462 | ||
463 | %package -n python-elektra | |
464 | Summary: Python 2 binding for Elektra | |
465 | Summary(pl.UTF-8): Wiązanie Pythona 2 dla Elektry | |
466 | Group: Libraries | |
467 | Requires: %{name}-libs = %{version}-%{release} | |
468 | Requires: python-libs >= 1:2.7 | |
469 | ||
470 | %description -n python-elektra | |
471 | Python 2 binding for Elektra. | |
472 | ||
473 | %description -n python-elektra -l pl.UTF-8 | |
474 | Wiązanie Pythona 2 dla Elektry. | |
475 | ||
476 | %package -n python3-elektra | |
477 | Summary: Python 3 binding for Elektra | |
478 | Summary(pl.UTF-8): Wiązanie Pythona 3 dla Elektry | |
479 | Group: Libraries | |
480 | Requires: %{name}-libs = %{version}-%{release} | |
481 | Requires: python3-libs >= 1:3.2 | |
482 | ||
483 | %description -n python3-elektra | |
484 | Python 3 binding for Elektra. | |
485 | ||
486 | %description -n python3-elektra -l pl.UTF-8 | |
487 | Wiązanie Pythona 3 dla Elektry. | |
488 | ||
489 | %package -n python3-elektra-glib | |
490 | Summary: Python 3 GI binding for Elektra | |
491 | Summary(pl.UTF-8): Wiązanie Pythona 3 GI dla Elektry | |
492 | Group: Libraries | |
493 | Requires: %{name}-glib = %{version}-%{release} | |
494 | Requires: python3-pygobject3 >= 3 | |
495 | ||
496 | %description -n python3-elektra-glib | |
497 | Python 3 GI binding for Elektra. Note: this bindings is deprecated, | |
498 | it's better to use SWIG (python*-elektra) binding. | |
499 | ||
500 | ||
501 | %description -n python3-elektra-glib -l pl.UTF-8 | |
502 | Wiązanie Pythona 3 GI dla Elektry. Uwaga: to wiązanie jest | |
503 | przestarzałe, lepiej używać wiązania SWIG (python*-elektra). | |
504 | ||
505 | %package -n ruby-elektra | |
506 | Summary: Ruby binding for Elektra | |
507 | Summary(pl.UTF-8): Wiązanie języka Ruby dla Elektry | |
508 | Group: Libraries | |
509 | Requires: %{name}-libs = %{version}-%{release} | |
510 | ||
511 | %description -n ruby-elektra | |
512 | Ruby binding for Elektra. | |
513 | ||
514 | %description -n ruby-elektra -l pl.UTF-8 | |
515 | Wiązanie języka Ruby dla Elektry. | |
516 | ||
517 | %prep | |
518 | %setup -q | |
519 | %patch0 -p1 | |
520 | %patch1 -p1 | |
521 | %patch2 -p1 | |
522 | %patch3 -p1 | |
523 | ||
524 | %{__sed} -i -e '1s,/usr/bin/env bash,/bin/bash,' $(grep -l '/usr/bin/env bash' -r scripts) | |
525 | %{__sed} -i -e '1s,/usr/bin/env python,%{__python},' scripts/{find-tools,update-infos-status} | |
526 | ||
527 | %{__rm} -r src/bindings/io/test | |
528 | %{__rm} src/bindings/io/uv/testio_uv.c | |
529 | %{__rm} src/bindings/io/glib/testio_glib.c | |
530 | ||
531 | %build | |
532 | install -d build | |
533 | cd build | |
534 | %cmake .. \ | |
535 | -DBINDINGS="INTERCEPT;cpp;io_uv%{?with_glib:;glib;io_glib%{?with_gsettings:;gsettings}%{?with_lua:;gi_lua}%{?with_python3:;gi_python}}%{?with_java_mvn:;jna}%{?with_lua:;swig_lua}%{?with_python2:;swig_python2}%{?with_python3:;swig_python}%{?with_ruby:;swig_ruby}" \ | |
536 | %{!?with_full:-DBUILD_FULL=OFF} \ | |
537 | -DINSTALL_TESTING=FALSE \ | |
538 | -DPLUGINS=ALL \ | |
539 | -DTARGET_CMAKE_FOLDER=%{_datadir}/cmake/Modules \ | |
540 | -DTOOLS="kdb;race%{?with_gen:;gen}%{?with_qt:;qt-gui}" \ | |
541 | -DBUILD_STATIC=ON | |
542 | ||
543 | %{__make} | |
544 | ||
545 | %install | |
546 | rm -rf $RPM_BUILD_ROOT | |
547 | ||
548 | %{__make} -C build install \ | |
549 | DESTDIR=$RPM_BUILD_ROOT | |
550 | ||
551 | # unneeded compat symlink | |
552 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libelektragetenv.so.0 | |
553 | ||
554 | install -D src/plugins/xmltool/xmlschema/elektra.xsd $RPM_BUILD_ROOT%{_datadir}/sgml/elektra/elektra.xsd | |
555 | ||
556 | %if %{with python2} | |
557 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
558 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
559 | %py_postclean | |
560 | %endif | |
561 | ||
562 | %if %{with python3} | |
563 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} | |
564 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
565 | %endif | |
566 | ||
567 | # "static" variant (with libelektra-static and thus all plugins linked in); | |
568 | # we don't need it | |
569 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/kdb-static | |
570 | ||
571 | # prepare docs | |
572 | %{__rm} -rf installed-doc | |
573 | install -d installed-doc | |
574 | %{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-api installed-doc/elektra-api | |
575 | # packaged as %doc | |
576 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
577 | ||
578 | # these don't belong to man3 | |
579 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{README_md,doc_*_md,md_doc_*,md_src_*,md_scripts_README,src_libs_{getenv,notification_example}_README_md}.3elektra | |
580 | # internal or example, not part of API | |
581 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{DocBindingData,DocOperationData,SomeIoLibHandle}.3elektra | |
582 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/doc.h.3elektra | |
583 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{array,backend,dl,doc,ease_keyname,elektra_{keyname,plugin,proposal},example_notification*,exportsymbols,functional,internal,kdbenum,log,markdownlinkconverter,meta,mount,nolog,owner,plugin_plugin,proposal_proposal,split,static,testio_doc,testlib_notification,trie,try_compile_dbus}.c.3elektra | |
584 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{benchmark_crypto_comparison,benchmark_plugins,examples_backend}.cpp.3elektra | |
585 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/std_hash_*_.3elektra | |
586 | ||
587 | %if %{without java_mvn} | |
588 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/org_libelektra_*.3elektra | |
589 | %endif | |
590 | ||
591 | %clean | |
592 | rm -rf $RPM_BUILD_ROOT | |
593 | ||
594 | %post libs -p /sbin/ldconfig | |
595 | %postun libs -p /sbin/ldconfig | |
596 | ||
597 | %post glib -p /sbin/ldconfig | |
598 | %postun glib -p /sbin/ldconfig | |
599 | ||
600 | %post io-glib -p /sbin/ldconfig | |
601 | %postun io-glib -p /sbin/ldconfig | |
602 | ||
603 | %post io-uv -p /sbin/ldconfig | |
604 | %postun io-uv -p /sbin/ldconfig | |
605 | ||
606 | %files | |
607 | %defattr(644,root,root,755) | |
608 | %doc LICENSE.md README.md doc/{AUTHORS,BIGPICTURE.md,DESIGN.md,GOALS.md,SECURITY.md,WHY.md,todo} build/doc/NEWS.md | |
609 | # doc/standards installed-doc/scripts | |
610 | %attr(755,root,root) %{_bindir}/kdb | |
611 | %if %{with full} | |
612 | %attr(755,root,root) %{_bindir}/kdb-full | |
613 | %endif | |
614 | %dir %{_libdir}/elektra | |
615 | # R: augeas-libs >= 1.0 libxml2 | |
616 | %attr(755,root,root) %{_libdir}/elektra/libelektra-augeas.so | |
617 | %attr(755,root,root) %{_libdir}/elektra/libelektra-base64.so | |
618 | %attr(755,root,root) %{_libdir}/elektra/libelektra-blockresolver.so | |
619 | %attr(755,root,root) %{_libdir}/elektra/libelektra-boolean.so | |
620 | %attr(755,root,root) %{_libdir}/elektra/libelektra-c.so | |
621 | %attr(755,root,root) %{_libdir}/elektra/libelektra-cachefilter.so | |
622 | %attr(755,root,root) %{_libdir}/elektra/libelektra-camel.so | |
623 | %attr(755,root,root) %{_libdir}/elektra/libelektra-ccode.so | |
624 | %attr(755,root,root) %{_libdir}/elektra/libelektra-conditionals.so | |
625 | %attr(755,root,root) %{_libdir}/elektra/libelektra-constants.so | |
626 | %attr(755,root,root) %{_libdir}/elektra/libelektra-counter.so | |
627 | # TODO: R: botan | |
628 | #%attr(755,root,root) %{_libdir}/elektra/libelektra-crypto_botan.so | |
629 | # R: libgcrypt | |
630 | %attr(755,root,root) %{_libdir}/elektra/libelektra-crypto_gcrypt.so | |
631 | # R: openssl | |
632 | %attr(755,root,root) %{_libdir}/elektra/libelektra-crypto_openssl.so | |
633 | %attr(755,root,root) %{_libdir}/elektra/libelektra-csvstorage.so | |
634 | # R: curl-libs >= 7.28.0 | |
635 | %attr(755,root,root) %{_libdir}/elektra/libelektra-curlget.so | |
636 | %attr(755,root,root) %{_libdir}/elektra/libelektra-date.so | |
637 | # R: dbus | |
638 | %attr(755,root,root) %{_libdir}/elektra/libelektra-dbus.so | |
639 | # R: dbus | |
640 | %attr(755,root,root) %{_libdir}/elektra/libelektra-dbusrecv.so | |
641 | %attr(755,root,root) %{_libdir}/elektra/libelektra-desktop.so | |
642 | %attr(755,root,root) %{_libdir}/elektra/libelektra-dini.so | |
643 | %attr(755,root,root) %{_libdir}/elektra/libelektra-directoryvalue.so | |
644 | %attr(755,root,root) %{_libdir}/elektra/libelektra-doc.so | |
645 | %attr(755,root,root) %{_libdir}/elektra/libelektra-dpkg.so | |
646 | %attr(755,root,root) %{_libdir}/elektra/libelektra-dump.so | |
647 | %attr(755,root,root) %{_libdir}/elektra/libelektra-enum.so | |
648 | %attr(755,root,root) %{_libdir}/elektra/libelektra-error.so | |
649 | %attr(755,root,root) %{_libdir}/elektra/libelektra-fcrypt.so | |
650 | %attr(755,root,root) %{_libdir}/elektra/libelektra-file.so | |
651 | %attr(755,root,root) %{_libdir}/elektra/libelektra-filecheck.so | |
652 | %attr(755,root,root) %{_libdir}/elektra/libelektra-fstab.so | |
653 | # R: libgit2 >= 0.24.1 | |
654 | %attr(755,root,root) %{_libdir}/elektra/libelektra-gitresolver.so | |
655 | %attr(755,root,root) %{_libdir}/elektra/libelektra-glob.so | |
656 | %attr(755,root,root) %{_libdir}/elektra/libelektra-hexcode.so | |
657 | %attr(755,root,root) %{_libdir}/elektra/libelektra-hidden.so | |
658 | %attr(755,root,root) %{_libdir}/elektra/libelektra-hosts.so | |
659 | %attr(755,root,root) %{_libdir}/elektra/libelektra-iconv.so | |
660 | # uses internal inih library | |
661 | %attr(755,root,root) %{_libdir}/elektra/libelektra-ini.so | |
662 | %attr(755,root,root) %{_libdir}/elektra/libelektra-internalnotification.so | |
663 | %attr(755,root,root) %{_libdir}/elektra/libelektra-ipaddr.so | |
664 | %attr(755,root,root) %{_libdir}/elektra/libelektra-iterate.so | |
665 | # R: systemd-libs | |
666 | %attr(755,root,root) %{_libdir}/elektra/libelektra-journald.so | |
667 | %attr(755,root,root) %{_libdir}/elektra/libelektra-keytometa.so | |
668 | %attr(755,root,root) %{_libdir}/elektra/libelektra-line.so | |
669 | %attr(755,root,root) %{_libdir}/elektra/libelektra-lineendings.so | |
670 | %attr(755,root,root) %{_libdir}/elektra/libelektra-list.so | |
671 | %attr(755,root,root) %{_libdir}/elektra/libelektra-logchange.so | |
672 | %attr(755,root,root) %{_libdir}/elektra/libelektra-mathcheck.so | |
673 | %attr(755,root,root) %{_libdir}/elektra/libelektra-mini.so | |
674 | %attr(755,root,root) %{_libdir}/elektra/libelektra-mozprefs.so | |
675 | %attr(755,root,root) %{_libdir}/elektra/libelektra-multifile.so | |
676 | %attr(755,root,root) %{_libdir}/elektra/libelektra-network.so | |
677 | %attr(755,root,root) %{_libdir}/elektra/libelektra-noresolver.so | |
678 | # uses internal nickel library | |
679 | %attr(755,root,root) %{_libdir}/elektra/libelektra-ni.so | |
680 | %attr(755,root,root) %{_libdir}/elektra/libelektra-null.so | |
681 | %attr(755,root,root) %{_libdir}/elektra/libelektra-passwd.so | |
682 | %attr(755,root,root) %{_libdir}/elektra/libelektra-path.so | |
683 | %attr(755,root,root) %{_libdir}/elektra/libelektra-profile.so | |
684 | %attr(755,root,root) %{_libdir}/elektra/libelektra-range.so | |
685 | %attr(755,root,root) %{_libdir}/elektra/libelektra-regexstore.so | |
686 | %attr(755,root,root) %{_libdir}/elektra/libelektra-rename.so | |
687 | %attr(755,root,root) %{_libdir}/elektra/libelektra-resolver.so | |
688 | %attr(755,root,root) %{_libdir}/elektra/libelektra-resolver_fm_*.so | |
689 | %attr(755,root,root) %{_libdir}/elektra/libelektra-required.so | |
690 | %attr(755,root,root) %{_libdir}/elektra/libelektra-semlock.so | |
691 | %attr(755,root,root) %{_libdir}/elektra/libelektra-shell.so | |
692 | %attr(755,root,root) %{_libdir}/elektra/libelektra-simplespeclang.so | |
693 | %attr(755,root,root) %{_libdir}/elektra/libelektra-simpleini.so | |
694 | %attr(755,root,root) %{_libdir}/elektra/libelektra-spec.so | |
695 | %attr(755,root,root) %{_libdir}/elektra/libelektra-storage.so | |
696 | %attr(755,root,root) %{_libdir}/elektra/libelektra-struct.so | |
697 | %attr(755,root,root) %{_libdir}/elektra/libelektra-sync.so | |
698 | %attr(755,root,root) %{_libdir}/elektra/libelektra-syslog.so | |
699 | %attr(755,root,root) %{_libdir}/elektra/libelektra-tcl.so | |
700 | %attr(755,root,root) %{_libdir}/elektra/libelektra-template.so | |
701 | %attr(755,root,root) %{_libdir}/elektra/libelektra-timeofday.so | |
702 | %attr(755,root,root) %{_libdir}/elektra/libelektra-tracer.so | |
703 | %attr(755,root,root) %{_libdir}/elektra/libelektra-type.so | |
704 | # R: xerces-c >= 3.0.0 | |
705 | %attr(755,root,root) %{_libdir}/elektra/libelektra-xerces.so | |
706 | %attr(755,root,root) %{_libdir}/elektra/libelektra-uname.so | |
707 | %attr(755,root,root) %{_libdir}/elektra/libelektra-validation.so | |
708 | %attr(755,root,root) %{_libdir}/elektra/libelektra-wresolver.so | |
709 | # R: libxml2 | |
710 | %attr(755,root,root) %{_libdir}/elektra/libelektra-xmltool.so | |
711 | # R: yajl | |
712 | %attr(755,root,root) %{_libdir}/elektra/libelektra-yajl.so | |
713 | # R: yaml-cpp >= 0.5 | |
714 | %attr(755,root,root) %{_libdir}/elektra/libelektra-yamlcpp.so | |
715 | %dir %{_libdir}/elektra/tool_exec | |
716 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/backup | |
717 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/benchmark-createtree | |
718 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/change-resolver-symlink | |
719 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/change-storage-symlink | |
720 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/check-env-dep | |
721 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/configure-firefox | |
722 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-fstab | |
723 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-hosts | |
724 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-inittab | |
725 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-users | |
726 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-merge | |
727 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-mount | |
728 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-umount | |
729 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektrify-open | |
730 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektrify-getenv | |
731 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/example-xorg | |
732 | %dir %{_libdir}/elektra/tool_exec/ffconfig | |
733 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/ffconfig/setupConfig | |
734 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/ffconfig/setupHomepage | |
735 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/ffconfig/setupProxy | |
736 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/ffconfig/writeConfigFiles | |
737 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/find-tools | |
738 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/getenv | |
739 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/install-sh-completion | |
740 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/list-tools | |
741 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-augeas | |
742 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-info | |
743 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-list-all-files | |
744 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-kde | |
745 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-openicc | |
746 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/mountpoint-info | |
747 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/race | |
748 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/restore | |
749 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/stash | |
750 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/umount-all | |
751 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/update-snippet-repository | |
752 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/upgrade-bootstrap | |
753 | %{_datadir}/sgml/elektra | |
754 | %{_mandir}/man1/kdb.1* | |
755 | %{_mandir}/man1/kdb-backup.1* | |
756 | %{_mandir}/man1/kdb-change-resolver-symlink.1* | |
757 | %{_mandir}/man1/kdb-change-storage-symlink.1* | |
758 | %{_mandir}/man1/kdb-check.1* | |
759 | %{_mandir}/man1/kdb-check-env-dep.1* | |
760 | %{_mandir}/man1/kdb-complete.1* | |
761 | %{_mandir}/man1/kdb-convert.1* | |
762 | %{_mandir}/man1/kdb-cp.1* | |
763 | %{_mandir}/man1/kdb-editor.1* | |
764 | %{_mandir}/man1/kdb-elektrify-getenv.1* | |
765 | %{_mandir}/man1/kdb-export.1* | |
766 | %{_mandir}/man1/kdb-file.1* | |
767 | %{_mandir}/man1/kdb-find-tools.1* | |
768 | %{_mandir}/man1/kdb-fstab.1* | |
769 | %{_mandir}/man1/kdb-get.1* | |
770 | %{_mandir}/man1/kdb-getmeta.1* | |
771 | %{_mandir}/man1/kdb-global-mount.1* | |
772 | %{_mandir}/man1/kdb-global-umount.1* | |
773 | %{_mandir}/man1/kdb-help.1* | |
774 | %{_mandir}/man1/kdb-import.1* | |
775 | %{_mandir}/man1/kdb-info.1* | |
776 | %{_mandir}/man1/kdb-introduction.1* | |
777 | %{_mandir}/man1/kdb-list.1* | |
778 | %{_mandir}/man1/kdb-list-commands.1* | |
779 | %{_mandir}/man1/kdb-list-tools.1* | |
780 | %{_mandir}/man1/kdb-ls.1* | |
781 | %{_mandir}/man1/kdb-lsmeta.1* | |
782 | %{_mandir}/man1/kdb-merge.1* | |
783 | %{_mandir}/man1/kdb-mount.1* | |
784 | %{_mandir}/man1/kdb-mount-list-all-files.1* | |
785 | %{_mandir}/man1/kdb-mountpoint-info.* | |
786 | %{_mandir}/man1/kdb-mv.1* | |
787 | %{_mandir}/man1/kdb-remount.1* | |
788 | %{_mandir}/man1/kdb-restore.1* | |
789 | %{_mandir}/man1/kdb-rm.1* | |
790 | %{_mandir}/man1/kdb-rmmeta.1* | |
791 | %{_mandir}/man1/kdb-set.1* | |
792 | %{_mandir}/man1/kdb-setmeta.1* | |
793 | %{_mandir}/man1/kdb-sget.1* | |
794 | %{_mandir}/man1/kdb-shell.1* | |
795 | %{_mandir}/man1/kdb-spec-mount.1* | |
796 | %{_mandir}/man1/kdb-stash.1* | |
797 | %{_mandir}/man1/kdb-test.1* | |
798 | %{_mandir}/man1/kdb-umount.1* | |
799 | %{_mandir}/man1/kdb-vset.1* | |
800 | %{_mandir}/man7/elektra-*.7* | |
801 | ||
802 | %if %{with gen} | |
803 | %files gen | |
804 | %defattr(644,root,root,755) | |
805 | %doc src/tools/gen/README.md | |
806 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/gen | |
807 | %{py_sitedir}/elektra_gen-%{version}-py*.egg-info | |
808 | # FIXME: should be in elektra_gen subdir | |
809 | %{py_sitedir}/support | |
810 | %dir %{_datadir}/elektra | |
811 | %{_datadir}/elektra/templates | |
812 | %{_mandir}/man1/kdb-gen.1* | |
813 | %endif | |
814 | ||
815 | %files gui | |
816 | %defattr(644,root,root,755) | |
817 | %doc src/tools/qt-gui/README.md | |
818 | %attr(755,root,root) %{_bindir}/elektra-qt-editor | |
819 | %attr(755,root,root) %{_libdir}/elektra/tool_exec/qt-gui | |
820 | %{_datadir}/appdata/org.libelektra.elektra-qt-editor.appdata.xml | |
821 | %{_desktopdir}/org.libelektra.elektra-qt-editor.desktop | |
822 | %{_iconsdir}/hicolor/scalable/apps/elektra-symbolic.svg | |
823 | %{_iconsdir}/hicolor/scalable/apps/elektra.svg | |
824 | %{_mandir}/man1/kdb-qt-gui.1* | |
825 | ||
826 | %if %{with java} | |
827 | %files plugin-jni | |
828 | %defattr(644,root,root,755) | |
829 | # R: jre with jawt | |
830 | %attr(755,root,root) %{_libdir}/elektra/libelektra-jni.so | |
831 | %endif | |
832 | ||
833 | %if %{with lua} | |
834 | %files plugin-lua | |
835 | %defattr(644,root,root,755) | |
836 | # R: lua52-libs | |
837 | %attr(755,root,root) %{_libdir}/elektra/libelektra-lua.so | |
838 | %endif | |
839 | ||
840 | %if %{with python2} | |
841 | %files plugin-python2 | |
842 | %defattr(644,root,root,755) | |
843 | # R: python-libs | |
844 | %attr(755,root,root) %{_libdir}/elektra/libelektra-python2.so | |
845 | %endif | |
846 | ||
847 | %if %{with python3} | |
848 | %files plugin-python3 | |
849 | %defattr(644,root,root,755) | |
850 | # R: python3-libs | |
851 | %attr(755,root,root) %{_libdir}/elektra/libelektra-python.so | |
852 | %endif | |
853 | ||
854 | %if %{with ruby} | |
855 | %files plugin-ruby | |
856 | %defattr(644,root,root,755) | |
857 | # R: ruby | |
858 | %attr(755,root,root) %{_libdir}/elektra/libelektra-ruby.so | |
859 | %endif | |
860 | ||
861 | %files -n bash-completion-elektra | |
862 | %defattr(644,root,root,755) | |
863 | %{bash_compdir}/kdb | |
864 | ||
865 | %files -n fish-completion-elektra | |
866 | %defattr(644,root,root,755) | |
867 | %{_datadir}/fish/vendor_completions.d/kdb.fish | |
868 | ||
869 | %files -n zsh-completion-elektra | |
870 | %defattr(644,root,root,755) | |
871 | %{_datadir}/zsh/site-functions/_kdb | |
872 | ||
873 | %files libs | |
874 | %defattr(644,root,root,755) | |
875 | %attr(755,root,root) %{_libdir}/libelektra.so.*.*.* | |
876 | %attr(755,root,root) %ghost %{_libdir}/libelektra.so.4 | |
877 | %attr(755,root,root) %{_libdir}/libelektra-core.so.*.*.* | |
878 | %attr(755,root,root) %ghost %{_libdir}/libelektra-core.so.4 | |
879 | %attr(755,root,root) %{_libdir}/libelektra-ease.so.*.*.* | |
880 | %attr(755,root,root) %ghost %{_libdir}/libelektra-ease.so.4 | |
881 | %attr(755,root,root) %{_libdir}/libelektra-invoke.so.*.*.* | |
882 | %attr(755,root,root) %ghost %{_libdir}/libelektra-invoke.so.4 | |
883 | %attr(755,root,root) %{_libdir}/libelektra-kdb.so.*.*.* | |
884 | %attr(755,root,root) %ghost %{_libdir}/libelektra-kdb.so.4 | |
885 | %attr(755,root,root) %{_libdir}/libelektra-meta.so.*.*.* | |
886 | %attr(755,root,root) %ghost %{_libdir}/libelektra-meta.so.4 | |
887 | %attr(755,root,root) %{_libdir}/libelektra-io.so.*.*.* | |
888 | %attr(755,root,root) %ghost %{_libdir}/libelektra-io.so.4 | |
889 | %attr(755,root,root) %{_libdir}/libelektra-notification.so.*.*.* | |
890 | %attr(755,root,root) %ghost %{_libdir}/libelektra-notification.so.4 | |
891 | %attr(755,root,root) %{_libdir}/libelektra-plugin.so.*.*.* | |
892 | %attr(755,root,root) %ghost %{_libdir}/libelektra-plugin.so.4 | |
893 | %attr(755,root,root) %{_libdir}/libelektra-pluginprocess.so.*.*.* | |
894 | %attr(755,root,root) %ghost %{_libdir}/libelektra-pluginprocess.so.4 | |
895 | %attr(755,root,root) %{_libdir}/libelektra-proposal.so.*.*.* | |
896 | %attr(755,root,root) %ghost %{_libdir}/libelektra-proposal.so.4 | |
897 | %attr(755,root,root) %{_libdir}/libelektra-utility.so.*.*.* | |
898 | %attr(755,root,root) %ghost %{_libdir}/libelektra-utility.so.4 | |
899 | %attr(755,root,root) %{_libdir}/libelektraintercept-env.so.*.*.* | |
900 | %attr(755,root,root) %ghost %{_libdir}/libelektraintercept-env.so.0 | |
901 | %attr(755,root,root) %{_libdir}/libelektraintercept-fs.so | |
902 | %attr(755,root,root) %{_libdir}/libelektratools.so.*.*.* | |
903 | %attr(755,root,root) %ghost %{_libdir}/libelektratools.so.2 | |
904 | %if %{with full} | |
905 | %attr(755,root,root) %{_libdir}/libelektra-full.so.*.*.* | |
906 | %attr(755,root,root) %ghost %{_libdir}/libelektra-full.so.4 | |
907 | %endif | |
908 | ||
909 | %files devel | |
910 | %defattr(644,root,root,755) | |
911 | %doc doc/API.md installed-doc/elektra-api/html | |
912 | %attr(755,root,root) %{_libdir}/libelektra.so | |
913 | %attr(755,root,root) %{_libdir}/libelektra-core.so | |
914 | %attr(755,root,root) %{_libdir}/libelektra-ease.so | |
915 | %attr(755,root,root) %{_libdir}/libelektra-kdb.so | |
916 | %attr(755,root,root) %{_libdir}/libelektra-invoke.so | |
917 | %attr(755,root,root) %{_libdir}/libelektra-io.so | |
918 | %attr(755,root,root) %{_libdir}/libelektra-meta.so | |
919 | %attr(755,root,root) %{_libdir}/libelektra-notification.so | |
920 | %attr(755,root,root) %{_libdir}/libelektra-plugin.so | |
921 | %attr(755,root,root) %{_libdir}/libelektra-pluginprocess.so | |
922 | %attr(755,root,root) %{_libdir}/libelektra-proposal.so | |
923 | %attr(755,root,root) %{_libdir}/libelektra-utility.so | |
924 | %attr(755,root,root) %{_libdir}/libelektragetenv.so | |
925 | %attr(755,root,root) %{_libdir}/libelektraintercept-env.so | |
926 | %attr(755,root,root) %{_libdir}/libelektraintercept.so | |
927 | %attr(755,root,root) %{_libdir}/libelektratools.so | |
928 | %if %{with full} | |
929 | %attr(755,root,root) %{_libdir}/libelektra-full.so | |
930 | %endif | |
931 | %dir %{_includedir}/elektra | |
932 | %{_includedir}/elektra/kdb.h | |
933 | %{_includedir}/elektra/kdbconfig.h | |
934 | %{_includedir}/elektra/kdbease.h | |
935 | %{_includedir}/elektra/kdbextension.h | |
936 | %{_includedir}/elektra/kdbgetenv.h | |
937 | %{_includedir}/elektra/kdbhelper.h | |
938 | %{_includedir}/elektra/kdbinvoke.h | |
939 | %{_includedir}/elektra/kdbio.h | |
940 | %{_includedir}/elektra/kdbmeta.h | |
941 | %{_includedir}/elektra/kdbmodule.h | |
942 | %{_includedir}/elektra/kdbnotification.h | |
943 | %{_includedir}/elektra/kdbos.h | |
944 | %{_includedir}/elektra/kdbplugin.h | |
945 | %{_includedir}/elektra/kdbpluginprocess.h | |
946 | %{_includedir}/elektra/kdbprivate.h | |
947 | %{_includedir}/elektra/kdbproposal.h | |
948 | %{_includedir}/elektra/kdbtypes.h | |
949 | %{_includedir}/elektra/kdbutility.h | |
950 | %{_includedir}/elektra/kdbversion.h | |
951 | %{_pkgconfigdir}/elektra.pc | |
952 | %{_pkgconfigdir}/elektra-io.pc | |
953 | %{_pkgconfigdir}/elektra-notification.pc | |
954 | %{_datadir}/cmake/Modules/ElektraConfig*.cmake | |
955 | %{_datadir}/cmake/Modules/ElektraTargetsLibelektra*.cmake | |
956 | %{_mandir}/man3/Opmphm*.3elektra* | |
957 | %{_mandir}/man3/api.3elektra* | |
958 | %{_mandir}/man3/dbus.c.3elektra* | |
959 | %{_mandir}/man3/deprecated.3elektra* | |
960 | %{_mandir}/man3/global.c.3elektra* | |
961 | %{_mandir}/man3/invoke.c.3elektra* | |
962 | %{_mandir}/man3/io.c.3elektra* | |
963 | %{_mandir}/man3/io_doc.c.3elektra* | |
964 | %{_mandir}/man3/kdb.3elektra* | |
965 | %{_mandir}/man3/kdb.c.3elektra* | |
966 | %{_mandir}/man3/kdb_*.3elektra* | |
967 | %{_mandir}/man3/kdb*.h.3elektra* | |
968 | %{_mandir}/man3/kdbio.3elektra* | |
969 | %{_mandir}/man3/kdbnotification.3elektra* | |
970 | %{_mandir}/man3/key.3elektra* | |
971 | %{_mandir}/man3/keymeta.3elektra* | |
972 | %{_mandir}/man3/keyname.3elektra* | |
973 | %{_mandir}/man3/keyset.3elektra* | |
974 | %{_mandir}/man3/keytest.3elektra* | |
975 | %{_mandir}/man3/keyvalue.3elektra* | |
976 | %{_mandir}/man3/key.c.3elektra* | |
977 | %{_mandir}/man3/keyhelpers.c.3elektra* | |
978 | %{_mandir}/man3/keymeta.c.3elektra* | |
979 | %{_mandir}/man3/keyset.c.3elektra* | |
980 | %{_mandir}/man3/keytest.c.3elektra* | |
981 | %{_mandir}/man3/keyvalue.c.3elektra* | |
982 | %{_mandir}/man3/meta.3elektra* | |
983 | %{_mandir}/man3/modules.3elektra* | |
984 | %{_mandir}/man3/notification.c.3elektra* | |
985 | %{_mandir}/man3/opmphm.c.3elektra* | |
986 | %{_mandir}/man3/plugin.3elektra* | |
987 | %{_mandir}/man3/pluginprocess.c.3elektra* | |
988 | %{_mandir}/man3/proposal.3elektra* | |
989 | %{_mandir}/man3/rand.c.3elektra* | |
990 | ||
991 | %files static | |
992 | %defattr(644,root,root,755) | |
993 | %{_libdir}/libelektra-static.a | |
994 | %{_libdir}/libelektratools-static.a | |
995 | ||
996 | %files cpp-devel | |
997 | %defattr(644,root,root,755) | |
998 | %doc src/bindings/cpp/README.md | |
999 | %{_includedir}/elektra/*.hpp | |
1000 | %{_includedir}/elektra/helper | |
1001 | %{_includedir}/elektra/merging | |
1002 | # libelektratools API man pages | |
1003 | %{_mandir}/man3/automergeconfiguration.cpp.3elektra* | |
1004 | %{_mandir}/man3/automergeconfiguration.hpp.3elektra* | |
1005 | %{_mandir}/man3/automergestrategy.cpp.3elektra* | |
1006 | %{_mandir}/man3/automergestrategy.hpp.3elektra* | |
1007 | %{_mandir}/man3/backend.hpp.3elektra* | |
1008 | %{_mandir}/man3/backendbuilder.cpp.3elektra* | |
1009 | %{_mandir}/man3/backendbuilder.hpp.3elektra* | |
1010 | %{_mandir}/man3/backendparser.cpp.3elektra* | |
1011 | %{_mandir}/man3/backendparser.hpp.3elektra* | |
1012 | %{_mandir}/man3/backends.cpp.3elektra* | |
1013 | %{_mandir}/man3/backends.hpp.3elektra* | |
1014 | %{_mandir}/man3/comparison.cpp.3elektra* | |
1015 | %{_mandir}/man3/comparison.hpp.3elektra* | |
1016 | %{_mandir}/man3/importmergeconfiguration.cpp.3elektra* | |
1017 | %{_mandir}/man3/importmergeconfiguration.hpp.3elektra* | |
1018 | %{_mandir}/man3/interactivemergestrategy.cpp.3elektra* | |
1019 | %{_mandir}/man3/interactivemergestrategy.hpp.3elektra* | |
1020 | %{_mandir}/man3/kdb*.hpp.3elektra* | |
1021 | %{_mandir}/man3/key*.hpp.3elektra* | |
1022 | %{_mandir}/man3/keyhelper.cpp.3elektra* | |
1023 | %{_mandir}/man3/mergeconfiguration.hpp.3elektra* | |
1024 | %{_mandir}/man3/mergeconflict.hpp.3elektra* | |
1025 | %{_mandir}/man3/mergeconflictstrategy.cpp.3elektra* | |
1026 | %{_mandir}/man3/mergeconflictstrategy.hpp.3elektra* | |
1027 | %{_mandir}/man3/mergeresult.cpp.3elektra* | |
1028 | %{_mandir}/man3/mergeresult.hpp.3elektra* | |
1029 | %{_mandir}/man3/mergetask.hpp.3elektra* | |
1030 | %{_mandir}/man3/mergetestutils.cpp.3elektra* | |
1031 | %{_mandir}/man3/merging.cpp.3elektra* | |
1032 | %{_mandir}/man3/mergingkdb.cpp.3elektra* | |
1033 | %{_mandir}/man3/mergingkdb.hpp.3elektra* | |
1034 | %{_mandir}/man3/metamergestrategy.cpp.3elektra* | |
1035 | %{_mandir}/man3/metamergestrategy.hpp.3elektra* | |
1036 | %{_mandir}/man3/newkeystrategy.cpp.3elektra* | |
1037 | %{_mandir}/man3/newkeystrategy.hpp.3elektra* | |
1038 | %{_mandir}/man3/onesidemergeconfiguration.cpp.3elektra* | |
1039 | %{_mandir}/man3/onesidemergeconfiguration.hpp.3elektra* | |
1040 | %{_mandir}/man3/onesidestrategy.cpp.3elektra* | |
1041 | %{_mandir}/man3/onesidestrategy.hpp.3elektra* | |
1042 | %{_mandir}/man3/onesidevaluestrategy.cpp.3elektra* | |
1043 | %{_mandir}/man3/onesidevaluestrategy.hpp.3elektra* | |
1044 | %{_mandir}/man3/overwritemergeconfiguration.cpp.3elektra* | |
1045 | %{_mandir}/man3/overwritemergeconfiguration.hpp.3elektra* | |
1046 | %{_mandir}/man3/modules.cpp.3elektra* | |
1047 | %{_mandir}/man3/modules.hpp.3elektra* | |
1048 | %{_mandir}/man3/plugin.cpp.3elektra* | |
1049 | %{_mandir}/man3/plugin.hpp.3elektra* | |
1050 | %{_mandir}/man3/plugindatabase.cpp.3elektra* | |
1051 | %{_mandir}/man3/plugindatabase.hpp.3elektra* | |
1052 | %{_mandir}/man3/plugins.cpp.3elektra* | |
1053 | %{_mandir}/man3/plugins.hpp.3elektra* | |
1054 | %{_mandir}/man3/pluginspec.cpp.3elektra* | |
1055 | %{_mandir}/man3/pluginspec.hpp.3elektra* | |
1056 | %{_mandir}/man3/specreader.hpp.3elektra* | |
1057 | %{_mandir}/man3/src_backend.cpp.3elektra* | |
1058 | %{_mandir}/man3/testtool_*.cpp.3elektra* | |
1059 | %{_mandir}/man3/threewaymerge.cpp.3elektra* | |
1060 | %{_mandir}/man3/threewaymerge.hpp.3elektra* | |
1061 | %{_mandir}/man3/toolexcept.hpp.3elektra* | |
1062 | ||
1063 | %if %{with glib} | |
1064 | %files glib | |
1065 | %defattr(644,root,root,755) | |
1066 | %doc src/bindings/glib/README.md | |
1067 | %attr(755,root,root) %{_libdir}/libgelektra-4.0.so | |
1068 | %if %{with gsettings} | |
1069 | %attr(755,root,root) %{_libdir}/gio/modules/libelektrasettings.so | |
1070 | %endif | |
1071 | %{_libdir}/girepository-1.0/GElektra-4.0.typelib | |
1072 | ||
1073 | %files glib-devel | |
1074 | %defattr(644,root,root,755) | |
1075 | %{_datadir}/gir-1.0/GElektra-4.0.gir | |
1076 | %{_includedir}/elektra/gelektra-*.h | |
1077 | %{_pkgconfigdir}/gelektra-4.0.pc | |
1078 | %endif | |
1079 | ||
1080 | %files io-glib | |
1081 | %defattr(644,root,root,755) | |
1082 | %doc src/bindings/io/glib/README.md | |
1083 | %attr(755,root,root) %{_libdir}/libelektra-io-glib.so | |
1084 | ||
1085 | %files io-glib-devel | |
1086 | %defattr(644,root,root,755) | |
1087 | %{_includedir}/elektra/kdbio_glib.h | |
1088 | %{_pkgconfigdir}/elektra-io-glib.pc | |
1089 | ||
1090 | %files io-uv | |
1091 | %defattr(644,root,root,755) | |
1092 | %doc src/bindings/io/uv/README.md | |
1093 | %attr(755,root,root) %{_libdir}/libelektra-io-uv.so | |
1094 | ||
1095 | %files io-uv-devel | |
1096 | %defattr(644,root,root,755) | |
1097 | %{_includedir}/elektra/kdbio_uv.h | |
1098 | %{_pkgconfigdir}/elektra-io-uv.pc | |
1099 | ||
1100 | %if %{with java_mvn} | |
1101 | %files -n java-elektra | |
1102 | %defattr(644,root,root,755) | |
1103 | %doc src/bindings/jna/README.md | |
1104 | %{_javadir}/libelektra-1.jar | |
1105 | %{_javadir}/libelektra.jar | |
1106 | %{_mandir}/man3/org_libelektra_*.3elektra* | |
1107 | %endif | |
1108 | ||
1109 | %if %{with lua} | |
1110 | %files -n lua-elektra | |
1111 | %defattr(644,root,root,755) | |
1112 | %doc src/bindings/swig/lua/README.md | |
1113 | %attr(755,root,root) %{_libdir}/lua/5.2/kdb.so | |
1114 | ||
1115 | %if %{with glib} | |
1116 | %files -n lua-elektra-glib | |
1117 | %defattr(644,root,root,755) | |
1118 | %doc src/bindings/gi/lua/README.md | |
1119 | %dir %{_datadir}/lua/5.2/lgi | |
1120 | %dir %{_datadir}/lua/5.2/lgi/override | |
1121 | %{_datadir}/lua/5.2/lgi/override/GElektra.lua | |
1122 | %endif | |
1123 | %endif | |
1124 | ||
1125 | %if %{with python2} | |
1126 | %files -n python-elektra | |
1127 | %defattr(644,root,root,755) | |
1128 | %doc src/bindings/swig/python2/README.md | |
1129 | %attr(755,root,root) %{py_sitedir}/_kdb.so | |
1130 | %{py_sitedir}/kdb.py[co] | |
1131 | %endif | |
1132 | ||
1133 | %if %{with python3} | |
1134 | %files -n python3-elektra | |
1135 | %defattr(644,root,root,755) | |
1136 | %doc src/bindings/swig/python/README.md | |
1137 | %attr(755,root,root) %{py3_sitedir}/_kdb.so | |
1138 | %{py3_sitedir}/kdb.py | |
1139 | %{py3_sitedir}/__pycache__/kdb.cpython-*.py[co] | |
1140 | ||
1141 | %if %{with glib} | |
1142 | %files -n python3-elektra-glib | |
1143 | %defattr(644,root,root,755) | |
1144 | %doc src/bindings/gi/python/README.md | |
1145 | %{py3_sitedir}/gi/overrides/GElektra.py | |
1146 | %{py3_sitedir}/gi/overrides/__pycache__/GElektra.cpython-*.py[co] | |
1147 | %endif | |
1148 | %endif | |
1149 | ||
1150 | %if %{with ruby} | |
1151 | %files -n ruby-elektra | |
1152 | %defattr(644,root,root,755) | |
1153 | %doc src/bindings/swig/ruby/README.md | |
1154 | %attr(755,root,root) %{ruby_vendorarchdir}/_kdb.so | |
1155 | %attr(755,root,root) %{ruby_vendorarchdir}/_kdbtools.so | |
1156 | %{ruby_vendorlibdir}/kdb.rb | |
1157 | %{ruby_vendorlibdir}/kdbtools.rb | |
1158 | %endif |