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_with 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}
41 %{?with_java:BuildRequires: java-jna}
42 %{?with_java:BuildRequires: jdk >= 1.8}
43 BuildRequires: libgcrypt-devel
44 %{?with_qt:BuildRequires: libmarkdown-devel}
45 BuildRequires: libstdc++-devel
46 BuildRequires: libxml2-devel >= 2.0
47 BuildRequires: libxslt-progs
48 %{?with_lua:BuildRequires: lua52-devel >= 5.2}
49 BuildRequires: pkgconfig
50 %{?with_python2:BuildRequires: python-devel >= 1:2.7}
51 %{?with_python3:BuildRequires: python3-devel >= 1:3.2}
52 BuildRequires: rpm-pythonprov
53 BuildRequires: rpmbuild(macros) >= 1.612
54 BuildRequires: swig >= 2
55 %if %{with python2} || %{with python3}
56 BuildRequires: swig-python >= 2
58 BuildRequires: systemd-devel
59 BuildRequires: tcl-devel
60 BuildRequires: yajl-devel
61 Requires: %{name}-libs = %{version}-%{release}
64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67 The Elektra Project provides a framework to store generic
68 configuration data in an hierarchical key-value pair database, instead
69 of a human-readable only text file.
71 This way any software can read/save his configuration using a
72 consistent API. Also, applications can be aware of other applications
73 configurations, leveraging easy application integration.
75 %description -l pl.UTF-8
76 Projekt Elektra dostarcza szkielet do przechowywania typowych danych
77 konfiguracyjnych w postaci klucz-wartość w hierarchicznej bazie
78 danych, zamiast w pliku tekstowym czytelnym tylko dla człowieka.
80 W ten sposób oprogramowanie może odczytywać/zapisywać konfigurację za
81 pomocą spójnego API. Dodatkowo aplikacje mogą być zorientowane w
82 konfiguracji innych aplikacji, ułatwiając ich integrację.
85 Summary: Qt based GUI for Elektra
86 Summary(pl.UTF-8): Oparty na Qt graficzny interfejs do Elektry
87 Group: X11/Applications
88 Requires: %{name} = %{version}-%{release}
91 Qt based GUI for Elektra.
93 %description gui -l pl.UTF-8
94 Oparty na Qt graficzny interfejs do Elektry.
96 %package -n bash-completion-elektra
97 Summary: Bash completion for Elektra commands
98 Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla poleceń z pakietu Elektra
99 Group: Applications/Shells
100 Requires: %{name} = %{version}-%{release}
101 Requires: bash-completion
103 %description -n bash-completion-elektra
104 Bash completion for Elektra kdb command.
106 %description -n bash-completion-elektra -l pl.UTF-8
107 Bashowe uzupełnianie parametrów dla polecenai kdb z pakietu Elektra.
110 Summary: Elektra Project libraries
111 Summary(pl.UTF-8): Biblioteki projektu Elektra
113 Obsoletes: elektra-cpp < 0.8
114 Conflicts: elektra < 0.7
117 The Elektra Project provides a framework to store generic
118 configuration data in an hierarchical key-value pair database, instead
119 of a human-readable only text file.
121 This way any software can read/save his configuration using a
122 consistent API. Also, applications can be aware of other applications
123 configurations, leveraging easy application integration.
125 This package contains Elektra shared libraries.
127 %description libs -l pl.UTF-8
128 Projekt Elektra dostarcza szkielet do przechowywania typowych danych
129 konfiguracyjnych w postaci klucz-wartość w hierarchicznej bazie
130 danych, zamiast w pliku tekstowym czytelnym tylko dla człowieka.
132 W ten sposób oprogramowanie może odczytywać/zapisywać konfigurację za
133 pomocą spójnego API. Dodatkowo aplikacje mogą być zorientowane w
134 konfiguracji innych aplikacji, ułatwiając ich integrację.
136 Ten pakiet zawiera biblioteki współdzielone Elektry.
139 Summary: Include files and API documentation for Elektra Project
140 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja API projektu Elektra
141 Group: Development/Libraries
142 Requires: %{name}-libs = %{version}-%{release}
145 This package contains the include files and API manual pages to use
146 the Elektra API in C.
148 %description devel -l pl.UTF-8
149 Ten pakiet zawiera pliki nagłówkowe oraz strony podręcznika
150 systemowego opisującego sposób użycia API Elektry w C.
153 Summary: Static libraries for Elektra Project
154 Summary(pl.UTF-8): Statyczne biblioteki projektu Elektra
155 Group: Development/Libraries
156 Requires: %{name}-devel = %{version}-%{release}
159 This package contains static libraries for Elektra Project.
161 %description static -l pl.UTF-8
162 Ten pakiet zawiera statyczne biblioteki projektu Elektra.
165 Summary: Header files of C++ interface for Elektra library
166 Summary(pl.UTF-8): Pliki nagłówkowe interfejsu C++ do biblioteki Elektra
167 Group: Development/Libraries
168 Requires: %{name}-devel = %{version}-%{release}
169 Requires: libstdc++-devel
170 Obsoletes: elektra-cpp-static < 0.8
172 %description cpp-devel
173 Header files of C++ interface for Elektra library.
175 %description cpp-devel -l pl.UTF-8
176 Pliki nagłówkowe interfejsu C++ do biblioteki Elektra.
179 Summary: GLib/GObject binding for Elektra
180 Summary(pl.UTF-8): Wiązanie GLib/GObject do Elektry
182 Requires: %{name}-libs = %{version}-%{release}
183 Requires: glib2 >= 1:2.36
186 GLib/GObject binding for Elektra.
188 %description glib -l pl.UTF-8
189 Wiązanie GLib/GObject do Elektry.
192 Summary: GLib/GObject binding for Elektra - development files
193 Summary(pl.UTF-8): Wiązanie GLib/GObject do Elektry - pliki programistyczne
195 Requires: %{name}-devel = %{version}-%{release}
196 Requires: glib2-devel >= 1:2.36
198 %description glib-devel
199 GLib/GObject binding for Elektra - development files.
201 %description glib-devel -l pl.UTF-8
202 Wiązanie GLib/GObject do Elektry - pliki programistyczne.
204 %package -n lua-elektra
205 Summary: Lua binding for Elektra
206 Summary(pl.UTF-8): Wiązanie języka Lua dla Elektry
208 Requires: %{name}-libs = %{version}-%{release}
209 Requires: lua52-libs >= 5.2
211 %description -n lua-elektra
212 Lua binding for Elektra.
214 %description -n lua-elektra -l pl.UTF-8
215 Wiązanie języka Lua dla Elektry.
217 %package -n lua-elektra-glib
218 Summary: Lua/GI binding for Elektra
219 Summary(pl.UTF-8): Wiązanie Lua/GI dla Elektry
221 Requires: %{name}-glib = %{version}-%{release}
222 Requires: lua52-libs >= 5.2
225 %description -n lua-elektra-glib
226 Lua/GI binding for Elektra.
228 %description -n lua-elektra-glib -l pl.UTF-8
229 Wiązanie Lua/GI dla Elektry.
231 %package -n python-elektra
232 Summary: Python 2 binding for Elektra
233 Summary(pl.UTF-8): Wiązanie Pythona 2 dla Elektry
235 Requires: %{name}-libs = %{version}-%{release}
236 Requires: python-libs >= 1:2.7
238 %description -n python-elektra
239 Python 2 binding for Elektra.
241 %description -n python-elektra -l pl.UTF-8
242 Wiązanie Pythona 2 dla Elektry.
244 %package -n python3-elektra
245 Summary: Python 3 binding for Elektra
246 Summary(pl.UTF-8): Wiązanie Pythona 3 dla Elektry
248 Requires: %{name}-libs = %{version}-%{release}
249 Requires: python3-libs >= 1:3.2
251 %description -n python3-elektra
252 Python 3 binding for Elektra.
254 %description -n python3-elektra -l pl.UTF-8
255 Wiązanie Pythona 3 dla Elektry.
257 %package -n python3-elektra-glib
258 Summary: Python 3 GI binding for Elektra
259 Summary(pl.UTF-8): Wiązanie Pythona 3 GI dla Elektry
261 Requires: %{name}-glib = %{version}-%{release}
262 Requires: python3-pygobject3 >= 3
264 %description -n python3-elektra-glib
265 Python 3 GI binding for Elektra.
267 %description -n python3-elektra-glib -l pl.UTF-8
268 Wiązanie Pythona 3 GI dla Elektry.
280 -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}" \
281 %{!?with_full:-DBUILD_FULL=OFF} \
282 -DINSTALL_TESTING=FALSE \
284 -DTARGET_CMAKE_FOLDER=%{_datadir}/cmake/Modules \
285 -DTOOLS="kdb;race%{?with_gen:;gen}%{?with_qt:;qt-gui}"
290 rm -rf $RPM_BUILD_ROOT
291 install -d $RPM_BUILD_ROOT/etc/sysconfig
293 %{__make} -C build install \
294 DESTDIR=$RPM_BUILD_ROOT
296 %{__mv} $RPM_BUILD_ROOT/etc/profile.d/{kdb,kdb.sh}
297 echo 'RUN="no"' > $RPM_BUILD_ROOT/etc/sysconfig/elektra
298 install -D src/plugins/xmltool/xmlschema/elektra.xsd $RPM_BUILD_ROOT%{_datadir}/sgml/elektra/elektra.xsd
301 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
302 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
307 %py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
308 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
311 # "static" variant (with libelektra-static and thus all plugins linked in);
313 %{__rm} $RPM_BUILD_ROOT%{_bindir}/kdb-static
315 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/elektra/test_data
318 %{__rm} -rf installed-doc
319 install -d installed-doc
320 %{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-api installed-doc/elektra-api
322 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{README_md,doc_*_md,md_doc_*,md_src_*,src_plugins_*_md}.3elektra
325 rm -rf $RPM_BUILD_ROOT
327 %post libs -p /sbin/ldconfig
328 %postun libs -p /sbin/ldconfig
330 %post glib -p /sbin/ldconfig
331 %postun glib -p /sbin/ldconfig
334 %defattr(644,root,root,755)
335 %doc doc/{AUTHORS,COPYING,DESIGN.md,GOALS.md,NEWS.md,SECURITY.md,todo}
336 # doc/standards installed-doc/scripts
337 %attr(755,root,root) %{_bindir}/kdb
339 %attr(755,root,root) %{_bindir}/kdb-full
341 %dir %{_libdir}/elektra
343 %attr(755,root,root) %{_libdir}/elektra/libelektra-augeas.so
344 %attr(755,root,root) %{_libdir}/elektra/libelektra-ccode.so
345 %attr(755,root,root) %{_libdir}/elektra/libelektra-conditionals.so
346 %attr(755,root,root) %{_libdir}/elektra/libelektra-constants.so
347 %attr(755,root,root) %{_libdir}/elektra/libelektra-counter.so
349 %attr(755,root,root) %{_libdir}/elektra/libelektra-crypto.so
350 %attr(755,root,root) %{_libdir}/elektra/libelektra-csvstorage.so
352 %attr(755,root,root) %{_libdir}/elektra/libelektra-dbus.so
353 %attr(755,root,root) %{_libdir}/elektra/libelektra-doc.so
354 %attr(755,root,root) %{_libdir}/elektra/libelektra-dump.so
355 %attr(755,root,root) %{_libdir}/elektra/libelektra-enum.so
356 %attr(755,root,root) %{_libdir}/elektra/libelektra-error.so
357 %attr(755,root,root) %{_libdir}/elektra/libelektra-filecheck.so
358 %attr(755,root,root) %{_libdir}/elektra/libelektra-fstab.so
359 %attr(755,root,root) %{_libdir}/elektra/libelektra-glob.so
360 %attr(755,root,root) %{_libdir}/elektra/libelektra-hexcode.so
361 %attr(755,root,root) %{_libdir}/elektra/libelektra-hidden.so
362 %attr(755,root,root) %{_libdir}/elektra/libelektra-hosts.so
363 %attr(755,root,root) %{_libdir}/elektra/libelektra-iconv.so
364 # uses internal inih library
365 %attr(755,root,root) %{_libdir}/elektra/libelektra-ini.so
367 %attr(755,root,root) %{_libdir}/elektra/libelektra-journald.so
368 %attr(755,root,root) %{_libdir}/elektra/libelektra-keytometa.so
369 %attr(755,root,root) %{_libdir}/elektra/libelektra-line.so
370 %attr(755,root,root) %{_libdir}/elektra/libelektra-lineendings.so
371 %attr(755,root,root) %{_libdir}/elektra/libelektra-list.so
372 %attr(755,root,root) %{_libdir}/elektra/libelektra-logchange.so
375 %attr(755,root,root) %{_libdir}/elektra/libelektra-lua.so
377 %attr(755,root,root) %{_libdir}/elektra/libelektra-mathcheck.so
378 %attr(755,root,root) %{_libdir}/elektra/libelektra-network.so
379 %attr(755,root,root) %{_libdir}/elektra/libelektra-noresolver.so
380 # uses internal nickel library
381 %attr(755,root,root) %{_libdir}/elektra/libelektra-ni.so
382 %attr(755,root,root) %{_libdir}/elektra/libelektra-null.so
383 %attr(755,root,root) %{_libdir}/elektra/libelektra-path.so
386 %attr(755,root,root) %{_libdir}/elektra/libelektra-python2.so
390 %attr(755,root,root) %{_libdir}/elektra/libelektra-python.so
392 %attr(755,root,root) %{_libdir}/elektra/libelektra-regexstore.so
393 %attr(755,root,root) %{_libdir}/elektra/libelektra-rename.so
394 %attr(755,root,root) %{_libdir}/elektra/libelektra-resolver.so
395 %attr(755,root,root) %{_libdir}/elektra/libelektra-resolver_fm_*.so
396 %attr(755,root,root) %{_libdir}/elektra/libelektra-simpleini.so
397 %attr(755,root,root) %{_libdir}/elektra/libelektra-struct.so
398 %attr(755,root,root) %{_libdir}/elektra/libelektra-sync.so
399 %attr(755,root,root) %{_libdir}/elektra/libelektra-syslog.so
400 %attr(755,root,root) %{_libdir}/elektra/libelektra-tcl.so
401 %attr(755,root,root) %{_libdir}/elektra/libelektra-template.so
402 %attr(755,root,root) %{_libdir}/elektra/libelektra-timeofday.so
403 %attr(755,root,root) %{_libdir}/elektra/libelektra-tracer.so
404 %attr(755,root,root) %{_libdir}/elektra/libelektra-type.so
405 %attr(755,root,root) %{_libdir}/elektra/libelektra-uname.so
406 %attr(755,root,root) %{_libdir}/elektra/libelektra-validation.so
407 %attr(755,root,root) %{_libdir}/elektra/libelektra-wresolver.so
409 %attr(755,root,root) %{_libdir}/elektra/libelektra-xmltool.so
411 %attr(755,root,root) %{_libdir}/elektra/libelektra-yajl.so
412 %dir %{_libdir}/elektra/tool_exec
413 %attr(755,root,root) %{_libdir}/elektra/tool_exec/benchmark-createtree
414 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-fstab
415 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-hosts
416 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-inittab
417 %attr(755,root,root) %{_libdir}/elektra/tool_exec/convert-users
418 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-merge
419 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-mount
420 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektra-umount
421 %attr(755,root,root) %{_libdir}/elektra/tool_exec/elektrify-getenv
422 %attr(755,root,root) %{_libdir}/elektra/tool_exec/example-xorg
423 %attr(755,root,root) %{_libdir}/elektra/tool_exec/getenv
424 %attr(755,root,root) %{_libdir}/elektra/tool_exec/list-tools
425 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-augeas
426 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-info
427 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-kde
428 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-openicc
429 %attr(755,root,root) %{_libdir}/elektra/tool_exec/mount-spec
430 %attr(755,root,root) %{_libdir}/elektra/tool_exec/race
431 %attr(755,root,root) %{_libdir}/elektra/tool_exec/umount-all
433 %attr(755,root,root) /etc/profile.d/kdb.sh
434 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/elektra
435 %{_datadir}/sgml/elektra
439 %defattr(644,root,root,755)
440 %attr(755,root,root) %{_libdir}/elektra/tool_exec/gen
441 %{py_sitescriptdir}/elektra_gen-%{version}-py*.egg-info
442 # FIXME: should be in elektra_gen subdir
443 %{py_sitescriptdir}/support
444 %{_datadir}/elektra/templates
448 %defattr(644,root,root,755)
449 %attr(755,root,root) %{_libdir}/elektra/tool_exec/qt-gui
451 %files -n bash-completion-elektra
452 %defattr(644,root,root,755)
453 /etc/bash_completion.d/kdb
456 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_libdir}/libelektra.so.*.*.*
458 %attr(755,root,root) %ghost %{_libdir}/libelektra.so.4
459 %attr(755,root,root) %{_libdir}/libelektragetenv.so
460 %attr(755,root,root) %{_libdir}/libelektratools.so
462 %attr(755,root,root) %{_libdir}/libelektra-full.so.*.*.*
463 %attr(755,root,root) %ghost %{_libdir}/libelektra-full.so.4
467 %defattr(644,root,root,755)
468 %doc doc/API.md installed-doc/elektra-api/html
469 %attr(755,root,root) %{_libdir}/libelektra.so
471 %attr(755,root,root) %{_libdir}/libelektra-full.so
473 %dir %{_includedir}/elektra
474 %{_includedir}/elektra/crypto_internal.h
475 %{_includedir}/elektra/kdb*.h
476 %{_pkgconfigdir}/elektra.pc
477 %{_datadir}/cmake/Modules/ElektraConfig*.cmake
478 %{_datadir}/cmake/Modules/ElektraTargetsLibelektra*.cmake
479 %{_mandir}/man3/api.3elektra*
480 %{_mandir}/man3/deprecated.3elektra*
481 %{_mandir}/man3/kdb*.3elektra*
482 %{_mandir}/man3/key*.3elektra*
483 %{_mandir}/man3/meta.3elektra*
484 %{_mandir}/man3/plugin.3elektra*
485 %{_mandir}/man3/proposal.3elektra*
486 %{_mandir}/man3/proposal.c.3elektra*
489 %defattr(644,root,root,755)
490 %{_libdir}/libelektra-static.a
491 %{_libdir}/libelektratools-static.a
494 %defattr(644,root,root,755)
495 %{_includedir}/elektra/*.hpp
496 %{_includedir}/elektra/helper
497 %{_includedir}/elektra/merging
498 # libelektratools API man pages
499 %{_mandir}/man3/automergeconfiguration.hpp.3elektra*
500 %{_mandir}/man3/automergestrategy.cpp.3elektra*
501 %{_mandir}/man3/automergestrategy.hpp.3elektra*
502 %{_mandir}/man3/comparison.cpp.3elektra*
503 %{_mandir}/man3/comparison.hpp.3elektra*
504 %{_mandir}/man3/backend.hpp.3elektra*
505 %{_mandir}/man3/backends.hpp.3elektra*
506 %{_mandir}/man3/importmergeconfiguration.hpp.3elektra*
507 %{_mandir}/man3/interactivemergestrategy.cpp.3elektra*
508 %{_mandir}/man3/interactivemergestrategy.hpp.3elektra*
509 %{_mandir}/man3/mergeconfiguration.hpp.3elektra*
510 %{_mandir}/man3/mergeconflict.hpp.3elektra*
511 %{_mandir}/man3/mergeconflictstrategy.cpp.3elektra*
512 %{_mandir}/man3/mergeconflictstrategy.hpp.3elektra*
513 %{_mandir}/man3/mergeresult.cpp.3elektra*
514 %{_mandir}/man3/mergeresult.hpp.3elektra*
515 %{_mandir}/man3/mergetask.hpp.3elektra*
516 %{_mandir}/man3/mergetestutils.cpp.3elektra*
517 %{_mandir}/man3/metamergestrategy.cpp.3elektra*
518 %{_mandir}/man3/metamergestrategy.hpp.3elektra*
519 %{_mandir}/man3/newkeystrategy.cpp.3elektra*
520 %{_mandir}/man3/newkeystrategy.hpp.3elektra*
521 %{_mandir}/man3/onesidemergeconfiguration.hpp.3elektra*
522 %{_mandir}/man3/onesidestrategy.cpp.3elektra*
523 %{_mandir}/man3/onesidestrategy.hpp.3elektra*
524 %{_mandir}/man3/onesidevaluestrategy.cpp.3elektra*
525 %{_mandir}/man3/overwritemergeconfiguration.hpp.3elektra*
526 %{_mandir}/man3/modules.cpp.3elektra*
527 %{_mandir}/man3/modules.hpp.3elektra*
528 %{_mandir}/man3/plugin.cpp.3elektra*
529 %{_mandir}/man3/plugin.hpp.3elektra*
530 %{_mandir}/man3/plugins.cpp.3elektra*
531 %{_mandir}/man3/plugins.hpp.3elektra*
532 %{_mandir}/man3/src_backend.cpp.3elektra*
533 %{_mandir}/man3/testtool_*.cpp.3elektra*
534 %{_mandir}/man3/threewaymerge.cpp.3elektra*
535 %{_mandir}/man3/threewaymerge.hpp.3elektra*
536 %{_mandir}/man3/toolexcept.hpp.3elektra*
540 %defattr(644,root,root,755)
541 %attr(755,root,root) %{_libdir}/libgelektra-4.0.so
542 %{_libdir}/girepository-1.0/GElektra-4.0.typelib
545 %defattr(644,root,root,755)
546 %{_datadir}/gir-1.0/GElektra-4.0.gir
547 %{_includedir}/elektra/gelektra-*.h
548 %{_pkgconfigdir}/gelektra-4.0.pc
552 %files -n lua-elektra
553 %defattr(644,root,root,755)
554 %attr(755,root,root) %{_libdir}/lua/5.2/kdb.so
557 %files -n lua-elektra-glib
558 %defattr(644,root,root,755)
559 %dir %{_datadir}/lua/5.2/lgi
560 %dir %{_datadir}/lua/5.2/lgi/override
561 %{_datadir}/lua/5.2/lgi/override/GElektra.lua
566 %files -n python-elektra
567 %defattr(644,root,root,755)
568 %attr(755,root,root) %{py_sitedir}/_kdb.so
569 %{py_sitedir}/kdb.py[co]
573 %files -n python3-elektra
574 %defattr(644,root,root,755)
575 %attr(755,root,root) %{py3_sitedir}/_kdb.so
576 %{py3_sitedir}/kdb.py
577 %{py3_sitedir}/__pycache__/kdb.cpython-*.py[co]
580 %files -n python3-elektra-glib
581 %defattr(644,root,root,755)
582 %{py3_sitedir}/gi/overrides/GElektra.py
583 %{py3_sitedir}/gi/overrides/__pycache__/GElektra.cpython-*.py[co]