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