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