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