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