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