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