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