1 # TODO: use system nickel (in src/plugins/ni), inih (src/plugins/ini)
4 %bcond_with full # "full" variant (libelektra-full with all plugins linked in)
5 %bcond_without java # Java support: JNA binding and JNI plugin (needs Java 8)
6 %bcond_without glib # GLib/GObject binding
7 %bcond_without lua # Lua (5.2) support: binding and plugin
8 %bcond_without python2 # Python 2 support: binding and plugin
9 %bcond_without python3 # Python 3 support: binding and plugin
10 %bcond_without qt # Qt GUI
12 Summary: A key/value pair database to store software configurations
13 Summary(pl.UTF-8): Baza kluczy/wartości do przechowywania konfiguracji oprogramowania
18 Group: Applications/System
19 Source0: http://www.libelektra.org/ftp/elektra/releases/%{name}-%{version}.tar.gz
20 # Source0-md5: a87cd3845e590bf413959dfd555e3704
21 Patch0: %{name}-elektraenv.patch
22 Patch1: %{name}-no-markdown.patch
23 Patch2: %{name}-no-deb.patch
24 URL: http://www.libelektra.org/
26 BuildRequires: Qt5Core-devel >= 5
27 BuildRequires: Qt5Gui-devel >= 5
28 BuildRequires: Qt5Qml-devel >= 5
29 BuildRequires: Qt5Quick-devel >= 5
30 BuildRequires: Qt5Widgets-devel >= 5
31 BuildRequires: Qt5Test-devel >= 5
33 BuildRequires: augeas-devel >= 1.0
34 BuildRequires: boost-devel
35 BuildRequires: cmake >= 2.8.8
36 BuildRequires: dbus-devel
37 BuildRequires: doxygen
38 BuildRequires: gettext-tools
39 %{?with_glib:BuildRequires: glib2-devel >= 1:2.36}
40 %{?with_glib:BuildRequires: gobject-introspection-devel >= 1.38}
42 %{?with_java:BuildRequires: java-jna}
43 %{?with_java:BuildRequires: jdk >= 1.8}
45 %{?with_java:BuildRequires: jre-X11 >= 1.8}
46 BuildRequires: libgcrypt-devel
47 %{?with_qt:BuildRequires: libmarkdown-devel}
48 BuildRequires: libstdc++-devel
49 BuildRequires: libxml2-devel >= 2.0
50 BuildRequires: libxslt-progs
51 %{?with_lua:BuildRequires: lua52-devel >= 5.2}
52 BuildRequires: pkgconfig
53 %{?with_python2:BuildRequires: python-devel >= 1:2.7}
54 %{?with_python3:BuildRequires: python3-devel >= 1:3.2}
56 BuildRequires: rpm-pythonprov
57 BuildRequires: rpmbuild(macros) >= 1.612
58 BuildRequires: swig >= 2
59 %if %{with python2} || %{with python3}
60 BuildRequires: swig-python >= 2
62 BuildRequires: systemd-devel
63 BuildRequires: tcl-devel
64 BuildRequires: yajl-devel
65 Requires: %{name}-libs = %{version}-%{release}
68 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71 The Elektra Project provides a framework to store generic
72 configuration data in an hierarchical key-value pair database, instead
73 of a human-readable only text file.
75 This way any software can read/save his configuration using a
76 consistent API. Also, applications can be aware of other applications
77 configurations, leveraging easy application integration.
79 %description -l pl.UTF-8
80 Projekt Elektra dostarcza szkielet do przechowywania typowych danych
81 konfiguracyjnych w postaci klucz-wartość w hierarchicznej bazie
82 danych, zamiast w pliku tekstowym czytelnym tylko dla człowieka.
84 W ten sposób oprogramowanie może odczytywać/zapisywać konfigurację za
85 pomocą spójnego API. Dodatkowo aplikacje mogą być zorientowane w
86 konfiguracji innych aplikacji, ułatwiając ich integrację.
89 Summary: Qt based GUI for Elektra
90 Summary(pl.UTF-8): Oparty na Qt graficzny interfejs do Elektry
91 Group: X11/Applications
92 Requires: %{name} = %{version}-%{release}
95 Qt based GUI for Elektra.
97 %description gui -l pl.UTF-8
98 Oparty na Qt graficzny interfejs do Elektry.
101 Summary: Java JNI plugin for Elektra
102 Summary(pl.UTF-8): Wtyczka Java JNI dla Elektry
104 Requires: %{name} = %{version}-%{release}
106 Requires: jre-X11 >= 1.8
108 %description plugin-jni
109 Java JNI plugin for Elektra. It allows to use plugins written in Java.
111 %description plugin-jni -l pl.UTF-8
112 Wtyczka Java JNI dla Elektry. Pozwala na używanie wtyczek napisanych w
116 Summary: Lua plugin for Elektra
117 Summary(pl.UTF-8): Wtyczka Lua dla Elektry
119 Requires: %{name} = %{version}-%{release}
120 Requires: lua52-libs >= 5.2
122 %description plugin-lua
123 Lua plugin for Elektra. It allows to use plugins written in Lua.
125 %description plugin-lua -l pl.UTF-8
126 Wtyczka Lua dla Elektry. Pozwala na używanie wtyczek napisanych w Lua.
128 %package plugin-python2
129 Summary: Python 2 plugin for Elektra
130 Summary(pl.UTF-8): Wtyczka Python 2 dla Elektry
132 Requires: %{name} = %{version}-%{release}
133 Requires: python-libs >= 1:2.7
135 %description plugin-python2
136 Python 2 plugin for Elektra. It allows to use plugins written in
139 %description plugin-python2 -l pl.UTF-8
140 Wtyczka 2 Python dla Elektry. Pozwala na używanie wtyczek napisanych w
143 %package plugin-python3
144 Summary: Python plugin for Elektra
145 Summary(pl.UTF-8): Wtyczka Python dla Elektry
147 Requires: %{name} = %{version}-%{release}
148 Requires: python3-libs >= 1:3.2
150 %description plugin-python3
151 Python 3 plugin for Elektra. It allows to use plugins written in
154 %description plugin-python3 -l pl.UTF-8
155 Wtyczka Python 3 dla Elektry. Pozwala na używanie wtyczek napisanych w
158 %package -n bash-completion-elektra
159 Summary: Bash completion for Elektra commands
160 Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla poleceń z pakietu Elektra
161 Group: Applications/Shells
162 Requires: %{name} = %{version}-%{release}
163 Requires: bash-completion
165 %description -n bash-completion-elektra
166 Bash completion for Elektra kdb command.
168 %description -n bash-completion-elektra -l pl.UTF-8
169 Bashowe uzupełnianie parametrów dla polecenai kdb z pakietu Elektra.
172 Summary: Elektra Project libraries
173 Summary(pl.UTF-8): Biblioteki projektu Elektra
175 Obsoletes: elektra-cpp < 0.8
176 Conflicts: elektra < 0.7
179 The Elektra Project provides a framework to store generic
180 configuration data in an hierarchical key-value pair database, instead
181 of a human-readable only text file.
183 This way any software can read/save his configuration using a
184 consistent API. Also, applications can be aware of other applications
185 configurations, leveraging easy application integration.
187 This package contains Elektra shared libraries.
189 %description libs -l pl.UTF-8
190 Projekt Elektra dostarcza szkielet do przechowywania typowych danych
191 konfiguracyjnych w postaci klucz-wartość w hierarchicznej bazie
192 danych, zamiast w pliku tekstowym czytelnym tylko dla człowieka.
194 W ten sposób oprogramowanie może odczytywać/zapisywać konfigurację za
195 pomocą spójnego API. Dodatkowo aplikacje mogą być zorientowane w
196 konfiguracji innych aplikacji, ułatwiając ich integrację.
198 Ten pakiet zawiera biblioteki współdzielone Elektry.
201 Summary: Include files and API documentation for Elektra Project
202 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja API projektu Elektra
203 Group: Development/Libraries
204 Requires: %{name}-libs = %{version}-%{release}
207 This package contains the include files and API manual pages to use
208 the Elektra API in C.
210 %description devel -l pl.UTF-8
211 Ten pakiet zawiera pliki nagłówkowe oraz strony podręcznika
212 systemowego opisującego sposób użycia API Elektry w C.
215 Summary: Static libraries for Elektra Project
216 Summary(pl.UTF-8): Statyczne biblioteki projektu Elektra
217 Group: Development/Libraries
218 Requires: %{name}-devel = %{version}-%{release}
221 This package contains static libraries for Elektra Project.
223 %description static -l pl.UTF-8
224 Ten pakiet zawiera statyczne biblioteki projektu Elektra.
227 Summary: Header files of C++ interface for Elektra library
228 Summary(pl.UTF-8): Pliki nagłówkowe interfejsu C++ do biblioteki Elektra
229 Group: Development/Libraries
230 Requires: %{name}-devel = %{version}-%{release}
231 Requires: libstdc++-devel
232 Obsoletes: elektra-cpp-static < 0.8
234 %description cpp-devel
235 Header files of C++ interface for Elektra library.
237 %description cpp-devel -l pl.UTF-8
238 Pliki nagłówkowe interfejsu C++ do biblioteki Elektra.
241 Summary: GLib/GObject binding for Elektra
242 Summary(pl.UTF-8): Wiązanie GLib/GObject do Elektry
244 Requires: %{name}-libs = %{version}-%{release}
245 Requires: glib2 >= 1:2.36
248 GLib/GObject binding for Elektra.
250 %description glib -l pl.UTF-8
251 Wiązanie GLib/GObject do Elektry.
254 Summary: GLib/GObject binding for Elektra - development files
255 Summary(pl.UTF-8): Wiązanie GLib/GObject do Elektry - pliki programistyczne
257 Requires: %{name}-devel = %{version}-%{release}
258 Requires: glib2-devel >= 1:2.36
260 %description glib-devel
261 GLib/GObject binding for Elektra - development files.
263 %description glib-devel -l pl.UTF-8
264 Wiązanie GLib/GObject do Elektry - pliki programistyczne.
266 %package -n java-elektra
267 Summary: Java binding for Elektra
268 Summary(pl.UTF-8): Wiązanie języka Java dla Elektry
270 Requires: %{name}-libs = %{version}-%{release}
274 %description -n java-elektra
275 Java binding for Elektra.
277 %description -n java-elektra -l pl.UTF-8
278 Wiązanie języka Java dla Elektry.
280 %package -n lua-elektra
281 Summary: Lua binding for Elektra
282 Summary(pl.UTF-8): Wiązanie języka Lua dla Elektry
284 Requires: %{name}-libs = %{version}-%{release}
285 Requires: lua52-libs >= 5.2
287 %description -n lua-elektra
288 Lua binding for Elektra.
290 %description -n lua-elektra -l pl.UTF-8
291 Wiązanie języka Lua dla Elektry.
293 %package -n lua-elektra-glib
294 Summary: Lua/GI binding for Elektra
295 Summary(pl.UTF-8): Wiązanie Lua/GI dla Elektry
297 Requires: %{name}-glib = %{version}-%{release}
298 Requires: lua52-libs >= 5.2
301 %description -n lua-elektra-glib
302 Lua/GI binding for Elektra.
304 %description -n lua-elektra-glib -l pl.UTF-8
305 Wiązanie Lua/GI dla Elektry.
307 %package -n python-elektra
308 Summary: Python 2 binding for Elektra
309 Summary(pl.UTF-8): Wiązanie Pythona 2 dla Elektry
311 Requires: %{name}-libs = %{version}-%{release}
312 Requires: python-libs >= 1:2.7
314 %description -n python-elektra
315 Python 2 binding for Elektra.
317 %description -n python-elektra -l pl.UTF-8
318 Wiązanie Pythona 2 dla Elektry.
320 %package -n python3-elektra
321 Summary: Python 3 binding for Elektra
322 Summary(pl.UTF-8): Wiązanie Pythona 3 dla Elektry
324 Requires: %{name}-libs = %{version}-%{release}
325 Requires: python3-libs >= 1:3.2
327 %description -n python3-elektra
328 Python 3 binding for Elektra.
330 %description -n python3-elektra -l pl.UTF-8
331 Wiązanie Pythona 3 dla Elektry.
333 %package -n python3-elektra-glib
334 Summary: Python 3 GI binding for Elektra
335 Summary(pl.UTF-8): Wiązanie Pythona 3 GI dla Elektry
337 Requires: %{name}-glib = %{version}-%{release}
338 Requires: python3-pygobject3 >= 3
340 %description -n python3-elektra-glib
341 Python 3 GI binding for Elektra.
343 %description -n python3-elektra-glib -l pl.UTF-8
344 Wiązanie Pythona 3 GI dla Elektry.
356 -DBINDINGS="cpp%{?with_glib:;glib%{?with_lua:;gi_lua}%{?with_python3:;gi_python}}%{?with_java:;jna}%{?with_lua:;swig_lua}%{?with_python2:;swig_python2}%{?with_python3:;swig_python}" \
357 %{!?with_full:-DBUILD_FULL=OFF} \
358 -DINSTALL_TESTING=FALSE \
360 -DTARGET_CMAKE_FOLDER=%{_datadir}/cmake/Modules \
361 -DTOOLS="kdb;race%{?with_gen:;gen}%{?with_qt:;qt-gui}"
366 rm -rf $RPM_BUILD_ROOT
367 install -d $RPM_BUILD_ROOT/etc/sysconfig
369 %{__make} -C build install \
370 DESTDIR=$RPM_BUILD_ROOT
372 %{__mv} $RPM_BUILD_ROOT/etc/profile.d/{kdb,kdb.sh}
373 echo 'RUN="no"' > $RPM_BUILD_ROOT/etc/sysconfig/elektra
374 install -D src/plugins/xmltool/xmlschema/elektra.xsd $RPM_BUILD_ROOT%{_datadir}/sgml/elektra/elektra.xsd
377 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
378 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
383 %py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
384 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
387 # "static" variant (with libelektra-static and thus all plugins linked in);
389 %{__rm} $RPM_BUILD_ROOT%{_bindir}/kdb-static
391 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/elektra/test_data
394 %{__rm} -rf installed-doc
395 install -d installed-doc
396 %{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-api installed-doc/elektra-api
398 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{README_md,doc_*_md,md_doc_*,md_src_*,src_plugins_*_md}.3elektra
401 rm -rf $RPM_BUILD_ROOT
403 %post libs -p /sbin/ldconfig
404 %postun libs -p /sbin/ldconfig
406 %post glib -p /sbin/ldconfig
407 %postun glib -p /sbin/ldconfig
410 %defattr(644,root,root,755)
411 %doc doc/{AUTHORS,COPYING,DESIGN.md,GOALS.md,NEWS.md,SECURITY.md,todo}
412 # doc/standards installed-doc/scripts
413 %attr(755,root,root) %{_bindir}/kdb
415 %attr(755,root,root) %{_bindir}/kdb-full
417 %dir %{_libdir}/elektra
419 %attr(755,root,root) %{_libdir}/elektra/libelektra-augeas.so
420 %attr(755,root,root) %{_libdir}/elektra/libelektra-ccode.so
421 %attr(755,root,root) %{_libdir}/elektra/libelektra-conditionals.so
422 %attr(755,root,root) %{_libdir}/elektra/libelektra-constants.so
423 %attr(755,root,root) %{_libdir}/elektra/libelektra-counter.so
425 %attr(755,root,root) %{_libdir}/elektra/libelektra-crypto.so
426 %attr(755,root,root) %{_libdir}/elektra/libelektra-csvstorage.so
428 %attr(755,root,root) %{_libdir}/elektra/libelektra-dbus.so
429 %attr(755,root,root) %{_libdir}/elektra/libelektra-doc.so
430 %attr(755,root,root) %{_libdir}/elektra/libelektra-dump.so
431 %attr(755,root,root) %{_libdir}/elektra/libelektra-enum.so
432 %attr(755,root,root) %{_libdir}/elektra/libelektra-error.so
433 %attr(755,root,root) %{_libdir}/elektra/libelektra-filecheck.so
434 %attr(755,root,root) %{_libdir}/elektra/libelektra-fstab.so
435 %attr(755,root,root) %{_libdir}/elektra/libelektra-glob.so
436 %attr(755,root,root) %{_libdir}/elektra/libelektra-hexcode.so
437 %attr(755,root,root) %{_libdir}/elektra/libelektra-hidden.so
438 %attr(755,root,root) %{_libdir}/elektra/libelektra-hosts.so
439 %attr(755,root,root) %{_libdir}/elektra/libelektra-iconv.so
440 # uses internal inih library
441 %attr(755,root,root) %{_libdir}/elektra/libelektra-ini.so
443 %attr(755,root,root) %{_libdir}/elektra/libelektra-journald.so
444 %attr(755,root,root) %{_libdir}/elektra/libelektra-keytometa.so
445 %attr(755,root,root) %{_libdir}/elektra/libelektra-line.so
446 %attr(755,root,root) %{_libdir}/elektra/libelektra-lineendings.so
447 %attr(755,root,root) %{_libdir}/elektra/libelektra-list.so
448 %attr(755,root,root) %{_libdir}/elektra/libelektra-logchange.so
449 %attr(755,root,root) %{_libdir}/elektra/libelektra-mathcheck.so
450 %attr(755,root,root) %{_libdir}/elektra/libelektra-network.so
451 %attr(755,root,root) %{_libdir}/elektra/libelektra-noresolver.so
452 # uses internal nickel library
453 %attr(755,root,root) %{_libdir}/elektra/libelektra-ni.so
454 %attr(755,root,root) %{_libdir}/elektra/libelektra-null.so
455 %attr(755,root,root) %{_libdir}/elektra/libelektra-path.so
456 %attr(755,root,root) %{_libdir}/elektra/libelektra-regexstore.so
457 %attr(755,root,root) %{_libdir}/elektra/libelektra-rename.so
458 %attr(755,root,root) %{_libdir}/elektra/libelektra-resolver.so
459 %attr(755,root,root) %{_libdir}/elektra/libelektra-resolver_fm_*.so
460 %attr(755,root,root) %{_libdir}/elektra/libelektra-simpleini.so
461 %attr(755,root,root) %{_libdir}/elektra/libelektra-struct.so
462 %attr(755,root,root) %{_libdir}/elektra/libelektra-sync.so
463 %attr(755,root,root) %{_libdir}/elektra/libelektra-syslog.so
464 %attr(755,root,root) %{_libdir}/elektra/libelektra-tcl.so
465 %attr(755,root,root) %{_libdir}/elektra/libelektra-template.so
466 %attr(755,root,root) %{_libdir}/elektra/libelektra-timeofday.so
467 %attr(755,root,root) %{_libdir}/elektra/libelektra-tracer.so
468 %attr(755,root,root) %{_libdir}/elektra/libelektra-type.so
469 %attr(755,root,root) %{_libdir}/elektra/libelektra-uname.so
470 %attr(755,root,root) %{_libdir}/elektra/libelektra-validation.so
471 %attr(755,root,root) %{_libdir}/elektra/libelektra-wresolver.so
473 %attr(755,root,root) %{_libdir}/elektra/libelektra-xmltool.so
475 %attr(755,root,root) %{_libdir}/elektra/libelektra-yajl.so
476 %dir %{_libdir}/elektra/tool_exec
477 %attr(755,root,root) %{_libdir}/elektra/tool_exec/benchmark-createtree
478 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-fstab
479 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-hosts
480 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-inittab
481 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-users
482 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-merge
483 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-mount
484 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-umount
485 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektrify-getenv
486 %attr(755,root,root) %{_libdir}/elektra/tool_exec/example-xorg
487 %attr(755,root,root) %{_libdir}/elektra/tool_exec/getenv
488 %attr(755,root,root) %{_libdir}/elektra/tool_exec/list-tools
489 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-augeas
490 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-info
491 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-kde
492 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-openicc
493 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-spec
494 %attr(755,root,root) %{_libdir}/elektra/tool_exec/race
495 %attr(755,root,root) %{_libdir}/elektra/tool_exec/umount-all
496 %attr(755,root,root) /etc/profile.d/kdb.sh
497 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/elektra
498 %{_datadir}/sgml/elektra
499 %{_mandir}/man1/kdb.1*
500 %{_mandir}/man1/kdb-check.1*
501 %{_mandir}/man1/kdb-convert.1*
502 %{_mandir}/man1/kdb-cp.1*
503 %{_mandir}/man1/kdb-elektrify-getenv.1*
504 %{_mandir}/man1/kdb-export.1*
505 %{_mandir}/man1/kdb-file.1*
506 %{_mandir}/man1/kdb-fstab.1*
507 %{_mandir}/man1/kdb-get.1*
508 %{_mandir}/man1/kdb-getmeta.1*
509 %{_mandir}/man1/kdb-help.1*
510 %{_mandir}/man1/kdb-import.1*
511 %{_mandir}/man1/kdb-info.1*
512 %{_mandir}/man1/kdb-introduction.1*
513 %{_mandir}/man1/kdb-list.1*
514 %{_mandir}/man1/kdb-list-tools.1*
515 %{_mandir}/man1/kdb-ls.1*
516 %{_mandir}/man1/kdb-lsmeta.1*
517 %{_mandir}/man1/kdb-merge.1*
518 %{_mandir}/man1/kdb-mount.1*
519 %{_mandir}/man1/kdb-mv.1*
520 %{_mandir}/man1/kdb-remount.1*
521 %{_mandir}/man1/kdb-rm.1*
522 %{_mandir}/man1/kdb-set.1*
523 %{_mandir}/man1/kdb-setmeta.1*
524 %{_mandir}/man1/kdb-sget.1*
525 %{_mandir}/man1/kdb-shell.1*
526 %{_mandir}/man1/kdb-test.1*
527 %{_mandir}/man1/kdb-umount.1*
528 %{_mandir}/man1/kdb-vset.1*
529 %{_mandir}/man7/elektra-*.7*
533 %defattr(644,root,root,755)
534 %attr(755,root,root) %{_libdir}/elektra/tool_exec/gen
535 %{py_sitescriptdir}/elektra_gen-%{version}-py*.egg-info
536 # FIXME: should be in elektra_gen subdir
537 %{py_sitescriptdir}/support
538 %{_datadir}/elektra/templates
542 %defattr(644,root,root,755)
543 %attr(755,root,root) %{_libdir}/elektra/tool_exec/qt-gui
544 %{_mandir}/man1/kdb-qt-gui.1*
548 %defattr(644,root,root,755)
550 %attr(755,root,root) %{_libdir}/elektra/libelektra-jni.so
555 %defattr(644,root,root,755)
557 %attr(755,root,root) %{_libdir}/elektra/libelektra-lua.so
561 %files plugin-python2
562 %defattr(644,root,root,755)
564 %attr(755,root,root) %{_libdir}/elektra/libelektra-python2.so
568 %files plugin-python3
569 %defattr(644,root,root,755)
571 %attr(755,root,root) %{_libdir}/elektra/libelektra-python.so
574 %files -n bash-completion-elektra
575 %defattr(644,root,root,755)
576 /etc/bash_completion.d/kdb
579 %defattr(644,root,root,755)
580 %attr(755,root,root) %{_libdir}/libelektra.so.*.*.*
581 %attr(755,root,root) %ghost %{_libdir}/libelektra.so.4
582 %attr(755,root,root) %{_libdir}/libelektragetenv.so
583 %attr(755,root,root) %{_libdir}/libelektratools.so
585 %attr(755,root,root) %{_libdir}/libelektra-full.so.*.*.*
586 %attr(755,root,root) %ghost %{_libdir}/libelektra-full.so.4
590 %defattr(644,root,root,755)
591 %doc doc/API.md installed-doc/elektra-api/html
592 %attr(755,root,root) %{_libdir}/libelektra.so
594 %attr(755,root,root) %{_libdir}/libelektra-full.so
596 %dir %{_includedir}/elektra
597 %{_includedir}/elektra/crypto_internal.h
598 %{_includedir}/elektra/kdb*.h
599 %{_pkgconfigdir}/elektra.pc
600 %{_datadir}/cmake/Modules/ElektraConfig*.cmake
601 %{_datadir}/cmake/Modules/ElektraTargetsLibelektra*.cmake
602 %{_mandir}/man3/api.3elektra*
603 %{_mandir}/man3/deprecated.3elektra*
604 %{_mandir}/man3/kdb*.3elektra*
605 %{_mandir}/man3/key*.3elektra*
606 %{_mandir}/man3/meta.3elektra*
607 %{_mandir}/man3/plugin.3elektra*
608 %{_mandir}/man3/proposal.3elektra*
609 %{_mandir}/man3/proposal.c.3elektra*
612 %defattr(644,root,root,755)
613 %{_libdir}/libelektra-static.a
614 %{_libdir}/libelektratools-static.a
617 %defattr(644,root,root,755)
618 %{_includedir}/elektra/*.hpp
619 %{_includedir}/elektra/helper
620 %{_includedir}/elektra/merging
621 # libelektratools API man pages
622 %{_mandir}/man3/automergeconfiguration.hpp.3elektra*
623 %{_mandir}/man3/automergestrategy.cpp.3elektra*
624 %{_mandir}/man3/automergestrategy.hpp.3elektra*
625 %{_mandir}/man3/comparison.cpp.3elektra*
626 %{_mandir}/man3/comparison.hpp.3elektra*
627 %{_mandir}/man3/backend.hpp.3elektra*
628 %{_mandir}/man3/backends.hpp.3elektra*
629 %{_mandir}/man3/importmergeconfiguration.hpp.3elektra*
630 %{_mandir}/man3/interactivemergestrategy.cpp.3elektra*
631 %{_mandir}/man3/interactivemergestrategy.hpp.3elektra*
632 %{_mandir}/man3/mergeconfiguration.hpp.3elektra*
633 %{_mandir}/man3/mergeconflict.hpp.3elektra*
634 %{_mandir}/man3/mergeconflictstrategy.cpp.3elektra*
635 %{_mandir}/man3/mergeconflictstrategy.hpp.3elektra*
636 %{_mandir}/man3/mergeresult.cpp.3elektra*
637 %{_mandir}/man3/mergeresult.hpp.3elektra*
638 %{_mandir}/man3/mergetask.hpp.3elektra*
639 %{_mandir}/man3/mergetestutils.cpp.3elektra*
640 %{_mandir}/man3/metamergestrategy.cpp.3elektra*
641 %{_mandir}/man3/metamergestrategy.hpp.3elektra*
642 %{_mandir}/man3/newkeystrategy.cpp.3elektra*
643 %{_mandir}/man3/newkeystrategy.hpp.3elektra*
644 %{_mandir}/man3/onesidemergeconfiguration.hpp.3elektra*
645 %{_mandir}/man3/onesidestrategy.cpp.3elektra*
646 %{_mandir}/man3/onesidestrategy.hpp.3elektra*
647 %{_mandir}/man3/onesidevaluestrategy.cpp.3elektra*
648 %{_mandir}/man3/overwritemergeconfiguration.hpp.3elektra*
649 %{_mandir}/man3/modules.cpp.3elektra*
650 %{_mandir}/man3/modules.hpp.3elektra*
651 %{_mandir}/man3/plugin.cpp.3elektra*
652 %{_mandir}/man3/plugin.hpp.3elektra*
653 %{_mandir}/man3/plugins.cpp.3elektra*
654 %{_mandir}/man3/plugins.hpp.3elektra*
655 %{_mandir}/man3/src_backend.cpp.3elektra*
656 %{_mandir}/man3/testtool_*.cpp.3elektra*
657 %{_mandir}/man3/threewaymerge.cpp.3elektra*
658 %{_mandir}/man3/threewaymerge.hpp.3elektra*
659 %{_mandir}/man3/toolexcept.hpp.3elektra*
663 %defattr(644,root,root,755)
664 %attr(755,root,root) %{_libdir}/libgelektra-4.0.so
665 %{_libdir}/girepository-1.0/GElektra-4.0.typelib
668 %defattr(644,root,root,755)
669 %{_datadir}/gir-1.0/GElektra-4.0.gir
670 %{_includedir}/elektra/gelektra-*.h
671 %{_pkgconfigdir}/gelektra-4.0.pc
675 %files -n java-elektra
676 %defattr(644,root,root,755)
677 %{_javadir}/elektra-1.jar
678 %{_javadir}/elektra.jar
682 %files -n lua-elektra
683 %defattr(644,root,root,755)
684 %attr(755,root,root) %{_libdir}/lua/5.2/kdb.so
687 %files -n lua-elektra-glib
688 %defattr(644,root,root,755)
689 %dir %{_datadir}/lua/5.2/lgi
690 %dir %{_datadir}/lua/5.2/lgi/override
691 %{_datadir}/lua/5.2/lgi/override/GElektra.lua
696 %files -n python-elektra
697 %defattr(644,root,root,755)
698 %attr(755,root,root) %{py_sitedir}/_kdb.so
699 %{py_sitedir}/kdb.py[co]
703 %files -n python3-elektra
704 %defattr(644,root,root,755)
705 %attr(755,root,root) %{py3_sitedir}/_kdb.so
706 %{py3_sitedir}/kdb.py
707 %{py3_sitedir}/__pycache__/kdb.cpython-*.py[co]
710 %files -n python3-elektra-glib
711 %defattr(644,root,root,755)
712 %{py3_sitedir}/gi/overrides/GElektra.py
713 %{py3_sitedir}/gi/overrides/__pycache__/GElektra.cpython-*.py[co]