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