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