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