Debian Codegraph @

po/de/man7/rpm-macros.7.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Mario Blättermann <[email protected]>, 2025-2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.27.0\n"
8 "POT-Creation-Date: 2026-05-01 04:44+0200\n"
9 "PO-Revision-Date: 2026-01-05 16:54+0100\n"
10 "Last-Translator: Mario Blättermann <[email protected]>\n"
11 "Language-Team: German <[email protected]>\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17 "X-Generator: Lokalize 25.12.0\n"
18
19 #. type: TH
20 #: archlinux debian-unstable fedora-44 fedora-rawhide
21 #, no-wrap
22 msgid "RPM-MACROS"
23 msgstr "RPM-MACROS"
24
25 #. type: TH
26 #: archlinux
27 #, no-wrap
28 msgid "2026-03-06"
29 msgstr "6. März 2026"
30
31 #. type: TH
32 #: archlinux debian-unstable fedora-44 fedora-rawhide
33 #, no-wrap
34 msgid "RPM 6.0.1"
35 msgstr "RPM 6.0.1"
36
37 #. type: SH
38 #: archlinux debian-unstable fedora-44 fedora-rawhide
39 #, no-wrap
40 msgid "NAME"
41 msgstr "BEZEICHNUNG"
42
43 #. type: Plain text
44 #: archlinux debian-unstable fedora-44 fedora-rawhide
45 msgid "rpm-macros - RPM macro processor"
46 msgstr "rpm-macros - RPM-Makroprozessor"
47
48 #. type: SH
49 #: archlinux debian-unstable fedora-44 fedora-rawhide
50 #, no-wrap
51 msgid "SYNOPSIS"
52 msgstr "ÜBERSICHT"
53
54 #. type: SS
55 #: archlinux debian-unstable fedora-44 fedora-rawhide
56 #, no-wrap
57 msgid "Defining"
58 msgstr "Definieren"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide
62 msgid "B<%>I<NAME> I<BODY>"
63 msgstr "B<%>I<NAME> I<TEXTKÖRPER>"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide
67 msgid "B<%>I<NAME>B<(>[I<OPTIONS>]B<)> I<BODY>"
68 msgstr "B<%>I<NAME>B<(>[I<OPTIONEN>]B<)> I<TEXTKÖRPER>"
69
70 #. type: SS
71 #: archlinux debian-unstable fedora-44 fedora-rawhide
72 #, no-wrap
73 msgid "Expanding"
74 msgstr "Expandieren"
75
76 #. type: Plain text
77 #: archlinux debian-unstable fedora-44 fedora-rawhide
78 msgid "B<%>I<NAME>"
79 msgstr "B<%>I<NAME>"
80
81 #. type: Plain text
82 #: archlinux debian-unstable fedora-44 fedora-rawhide
83 msgid "B<%>I<NAME> [I<OPTIONS>] [I<ARGUMENTS>]"
84 msgstr "B<%>I<NAME> [I<OPTIONEN>] [I<ARGUMENTE>]"
85
86 #. type: Plain text
87 #: archlinux debian-unstable fedora-44 fedora-rawhide
88 msgid "B<%{>I<NAME>B<}>"
89 msgstr "B<%{>I<NAME>B<}>"
90
91 #. type: Plain text
92 #: archlinux debian-unstable fedora-44 fedora-rawhide
93 msgid "B<%{>I<NAME> [I<OPTIONS>] I<ARGUMENTS>B<}>"
94 msgstr "B<%{>I<NAME> [I<OPTIONEN>] I<ARGUMENTE>B<}>"
95
96 #. type: Plain text
97 #: archlinux debian-unstable fedora-44 fedora-rawhide
98 msgid "B<%{>I<NAME>B<:>I<ARGUMENT>B<}>"
99 msgstr "B<%{>I<NAME>B<:>I<ARGUMENT>B<}>"
100
101 #. type: Plain text
102 #: archlinux debian-unstable fedora-44 fedora-rawhide
103 msgid "B<%{?\\&>I<NAME>B<}>"
104 msgstr "B<%{?\\&>I<NAME>B<}>"
105
106 #. type: Plain text
107 #: archlinux debian-unstable fedora-44 fedora-rawhide
108 msgid "B<%{?\\&>I<NAME>B<:>I<VALUE-IF-DEFINED>B<}>"
109 msgstr "B<%{?\\&>I<NAME>B<:>I<WERT-FALLS-DEFINIERT>B<}>"
110
111 #. type: Plain text
112 #: archlinux debian-unstable fedora-44 fedora-rawhide
113 msgid "B<%{!\\&?\\&>I<NAME>B<:>I<VALUE-IF-NOT-DEFINED>B<}>"
114 msgstr "B<%{!\\&?\\&>I<NAME>B<:>I<WERT-FALLS-NICHT-DEFINIERT>B<}>"
115
116 #. type: Plain text
117 #: archlinux debian-unstable fedora-44 fedora-rawhide
118 msgid "B<%(>I<SHELL-COMMAND>B<)>"
119 msgstr "B<%(>I<SHELL-BEFEHL>B<)>"
120
121 #. type: Plain text
122 #: archlinux debian-unstable fedora-44 fedora-rawhide
123 msgid "B<%[>I<EXPRESSION>B<]>"
124 msgstr "B<%[>I<AUSDRUCK>B<]>"
125
126 #. type: Plain text
127 #: archlinux debian-unstable fedora-44 fedora-rawhide
128 msgid "B<%[>I<EXPRESSION> B<?\\&> I<VALUE-IF-TRUE> B<:> I<VALUE-IF-FALSE>B<]>"
129 msgstr ""
130 "B<%[>I<AUSDRUCK> B<?\\&> I<WERT-FALLS-WAHR> B<:> I<WERT-FALLS-FALSCH>B<]>"
131
132 #. type: Plain text
133 #: archlinux debian-unstable fedora-44 fedora-rawhide
134 msgid "B<%{lua:>I<LUA-CODE>B<}>"
135 msgstr "B<%{lua:>I<LUA-CODE>B<}>"
136
137 #. type: SH
138 #: archlinux debian-unstable fedora-44 fedora-rawhide
139 #, no-wrap
140 msgid "DESCRIPTION"
141 msgstr "BESCHREIBUNG"
142
143 #. type: Plain text
144 #: archlinux debian-unstable fedora-44 fedora-rawhide
145 msgid ""
146 "RPM has a powerful built-in macro processor.\\& The primary uses of macros "
147 "are configuration and other utility functions for RPM itself, and as a "
148 "packaging aid in spec files.\\&"
149 msgstr ""
150 "RPM verfügt über einen leistungsstarken integrierten Makroprozessor. Makros "
151 "werden hauptsächlich für die Konfiguration und andere "
152 "Dienstprogrammfunktionen von RPM selbst sowie als Paketierungshilfe in Spec-"
153 "Dateien verwendet."
154
155 #. type: Plain text
156 #: archlinux debian-unstable fedora-44 fedora-rawhide
157 msgid ""
158 "In addition to simple text substitution, the macro processor supports the "
159 "following facilities:"
160 msgstr ""
161 "Neben der einfachen Textersetzung unterstützt der Makroprozessor die "
162 "folgenden Funktionen:"
163
164 #. type: IP
165 #: archlinux debian-unstable fedora-44 fedora-rawhide
166 #, no-wrap
167 msgid "\\(bu"
168 msgstr "\\(bu"
169
170 #. type: Plain text
171 #: archlinux debian-unstable fedora-44 fedora-rawhide
172 msgid ""
173 "function-like B<PARAMETRIC MACROS> with options and arguments processing and "
174 "locally scoped automatic and user-defined macros"
175 msgstr ""
176 "funktionsähnliche B<PARAMETRISCHE MAKROS> mit Optionen und "
177 "Argumentverarbeitung sowie lokal begrenzten automatischen und "
178 "benutzerdefinierten Makros"
179
180 #. type: Plain text
181 #: archlinux debian-unstable fedora-44 fedora-rawhide
182 msgid "B<Shell expansion>"
183 msgstr "B<Shell-Expansion>"
184
185 #. type: Plain text
186 #: archlinux debian-unstable fedora-44 fedora-rawhide
187 msgid "B<Expression expansion>"
188 msgstr "B<Ausdrucksexpansion>"
189
190 #. type: Plain text
191 #: archlinux debian-unstable fedora-44 fedora-rawhide
192 msgid "B<Lua expansion> for embedded Lua processing"
193 msgstr "B<Lua-Expansion> für die eingebettete Lua-Verarbeitung"
194
195 #. type: Plain text
196 #: archlinux debian-unstable fedora-44 fedora-rawhide
197 msgid "various B<BUILT-IN MACROS> for string processing and OS interaction"
198 msgstr ""
199 "verschiedene B<EINGEBAUTE MAKROS> für die Verarbeitung von Zeichenketten und "
200 "Interaktion mit dem Betriebssystem"
201
202 #. type: Plain text
203 #: archlinux debian-unstable fedora-44 fedora-rawhide
204 msgid "The syntax for defining simple macros is:"
205 msgstr "Die Syntax zum Definieren einfacher Makros lautet:"
206
207 #. type: Plain text
208 #: archlinux debian-unstable fedora-44 fedora-rawhide
209 msgid "I<NAME> I<BODY>"
210 msgstr "I<NAME> I<TEXTKÖRPER>"
211
212 #. type: Plain text
213 #: archlinux debian-unstable fedora-44 fedora-rawhide
214 msgid ""
215 "All whitespace surrounding I<BODY> is removed.\\& I<NAME> may be composed of "
216 "alphanumeric characters and the underscore (B<_>), and must be at least two "
217 "characters in length.\\& The body is (re-)expanded on each macro invocation."
218 "\\& Macro names and options are case-sensitive.\\&"
219 msgstr ""
220 "Jeglicher Leerraum um den I<TEXTKÖRPER> wird entfernt. Der I<NAME> kann aus "
221 "alphanumerischen Zeichen und dem Unterstrich (B<_>) bestehen und muss "
222 "mindestens zwei Zeichen lang sein. Der Textkörper wird bei jedem Makroaufruf "
223 "(erneut) expandiert. Bei Makronamen und -optionen wird die Groß- und "
224 "Kleinschreibung beachtet."
225
226 #. type: Plain text
227 #: archlinux debian-unstable fedora-44 fedora-rawhide
228 msgid ""
229 "See B<PARAMETRIC MACROS> for the more advanced macro variant with options "
230 "and arguments processing.\\&"
231 msgstr ""
232 "Siehe B<PARAMETRISCHE MAKROS> für die fortgeschrittene Makrovariante mit "
233 "Options- und Argumentverarbeitung."
234
235 #. type: Plain text
236 #: archlinux debian-unstable fedora-44 fedora-rawhide
237 msgid ""
238 "Macros can be defined via B<rpm-macrofile>(5) files, and fully managed with "
239 "macro primitives B<%define>, B<%global> and B<%undefine>, RPM command-line "
240 "described in B<rpm-common>(8) and the API (C, Python, Lua).\\&"
241 msgstr ""
242 "Makros können über B<rpm-macrofile>(5)-Dateien definiert und vollständig mit "
243 "den Makroprimitiven B<%define>, B<%global> und B<%undefine>, der RPM-"
244 "Befehlszeile (beschrieben in B<rpm-common>(8)) und der API (C, Python, Lua) "
245 "verwaltet werden."
246
247 #. type: Plain text
248 #: archlinux debian-unstable fedora-44 fedora-rawhide
249 msgid ""
250 "Except for those defined inside parametric macros, macros are always global "
251 "in scope.\\&"
252 msgstr ""
253 "Mit Ausnahme derjenigen, die in parametrischen Makros definiert sind, haben "
254 "Makros immer einen globalen Gültigkeitsbereich."
255
256 # FIXME ie. → i.e.
257 #. type: Plain text
258 #: archlinux debian-unstable fedora-44 fedora-rawhide
259 msgid ""
260 "RPM macros are stacked, ie.\\& when redefining an already existing macro, it "
261 "shadows the previous definition instead of replacing it, and undefining a "
262 "macro only pops the topmost definition, thus activating the previous macro "
263 "definition.\\&"
264 msgstr ""
265 "RPM-Makros werden gestapelt, das heißt, wenn ein bereits vorhandenes Makro "
266 "neu definiert wird, wird die vorherige Definition lediglich überdeckt, "
267 "anstatt sie zu ersetzen. Beim Aufheben der Definition eines Makros wird nur "
268 "die oberste Definition entfernt, wodurch die vorherige Makrodefinition "
269 "wieder aktiviert wird."
270
271 #. type: Plain text
272 #: archlinux debian-unstable fedora-44 fedora-rawhide
273 msgid ""
274 "Note that this manual only describes the macro processor engine itself.\\& "
275 "On a normal RPM based system, there are a vast number of other macros "
276 "defined through B<rpm-macrofile>(5) files that will not be covered here.\\&"
277 msgstr ""
278 "Beachten Sie, dass diese Handbuchseite nur die Makroprozessor-Engine selbst "
279 "beschreibt. Auf einem normalen RPM-basierten System gibt es eine Vielzahl "
280 "weiterer Makros, die über B<rpm-macrofile>(5)-Dateien definiert sind und "
281 "hier nicht behandelt werden."
282
283 #. type: SH
284 #: archlinux debian-unstable fedora-44 fedora-rawhide
285 #, no-wrap
286 msgid "EXPANSION"
287 msgstr "EXPANSION"
288
289 #. type: Plain text
290 #: archlinux debian-unstable fedora-44 fedora-rawhide
291 msgid ""
292 "To expand a macro, place B<%> in front of it.\\& Several forms are supported:"
293 msgstr ""
294 "Um ein Makro zu expandieren, stellen Sie ein B<%> voran. Es werden mehrere "
295 "Formen unterstützt:"
296
297 #. type: Plain text
298 #: archlinux debian-unstable fedora-44 fedora-rawhide
299 msgid "Expand the macro I<NAME>.\\&"
300 msgstr "Expandieren des Makros I<NAME>."
301
302 #. type: Plain text
303 #: archlinux debian-unstable fedora-44 fedora-rawhide
304 msgid ""
305 "Expand the macro I<NAME>, allowing placement adjacent to other text (similar "
306 "to B<${ENV}> in shell).\\&"
307 msgstr ""
308 "Expandieren des Makros I<NAME>, wobei die Platzierung neben anderem Text "
309 "erlaubt ist (ähnlich wie in B<${ENV}> in der Shell)."
310
311 #. type: Plain text
312 #: archlinux debian-unstable fedora-44 fedora-rawhide
313 msgid ""
314 "Expand the parametric/built-in macro I<NAME>, using options and arguments "
315 "parsed up to the string end or next newline.\\&"
316 msgstr ""
317 "Expandieren des parametrischen/eingebauten Makros I<NAME>, wobei Optionen "
318 "und Argumente bis zum Ende der Zeichenkette oder dem nächsten Zeilenvorschub "
319 "eingelesen werden."
320
321 #. type: Plain text
322 #: archlinux debian-unstable fedora-44 fedora-rawhide
323 msgid "B<--> can be used to separate options from arguments.\\&"
324 msgstr "B<--> kann dazu verwendet werden, Optionen von Argumenten zu trennen."
325
326 #. type: Plain text
327 #: archlinux debian-unstable fedora-44 fedora-rawhide
328 msgid "B<%{>I<NAME> [I<OPTIONS>] [I<ARGUMENTS>]B<}>"
329 msgstr "B<%{>I<NAME> [I<OPTIONEN>] [I<ARGUMENTE>]B<}>"
330
331 #. type: Plain text
332 #: archlinux debian-unstable fedora-44 fedora-rawhide
333 msgid ""
334 "Expand the parametric/built-in macro I<NAME>, using options and arguments "
335 "parsed up to the closing B<}>.\\& Allows usage adjacent to other text.\\&"
336 msgstr ""
337 "Expandieren des parametrischen/eingebauten Makros I<NAME>, wobei Optionen "
338 "und Argumente bis zur schließenden geschweiften Klammer B<}> eingelesen "
339 "werden. Dies ermöglicht die Verwendung neben anderem Text."
340
341 #. type: Plain text
342 #: archlinux debian-unstable fedora-44 fedora-rawhide
343 msgid ""
344 "Expand the parametric/built-in macro I<NAME>, using the string after B<:> as "
345 "the sole argument.\\& Allows usage adjacent to other text.\\&"
346 msgstr ""
347 "Expandieren des parametrischen/eingebauten Makros I<NAME>, wobei die "
348 "Zeichenkette nach dem Doppelpunkt B<:> als einziges Argument verwendet wird. "
349 "Dies ermöglicht die Verwendung neben anderem Text."
350
351 #. type: Plain text
352 #: archlinux debian-unstable fedora-44 fedora-rawhide
353 msgid ""
354 "Note: The syntaxes for calling parametric and built-in macros are generally "
355 "interchangeable now, but prior to 4.\\&18, the B<%{>I<NAME>B<:>I<ARGUMENT>B<}"
356 "> syntax was exclusive to built-in macros.\\&"
357 msgstr ""
358 "Hinweis: Die Syntax für den Aufruf parametrischer und eingebauter Makros ist "
359 "jetzt generell austauschbar, aber vor Version 4.18 war die Syntax B<%"
360 "{>I<NAME>B<:>I<ARGUMENT>B<}> auf eingebaute Makros beschränkt."
361
362 #. type: Plain text
363 #: archlinux debian-unstable fedora-44 fedora-rawhide
364 msgid ""
365 "Macro expansion can be escaped by placing a second B<%> in front of the "
366 "macro, for example B<%%{name}> would be expanded to B<%{name}>.\\&"
367 msgstr ""
368 "Die Makroexpansion kann durch Platzieren eines zweiten B<%> vor dem Makro "
369 "vermieden werden. Beispielsweise würde B<%%{name}> zu B<%{name}> expandiert."
370
371 #. type: Plain text
372 #: archlinux debian-unstable fedora-44 fedora-rawhide
373 msgid ""
374 "Attempting to expand an undefined macro expands to the literal invocation, e."
375 "\\&g.\\& B<%_undefined> expands to B<%_undefined>.\\& If this is not "
376 "desired, use conditionals.\\&"
377 msgstr ""
378 "Der Versuch, ein undefiniertes Makro zu expandieren, führt zum wörtlichen "
379 "Aufruf, z.B. wird B<%_undefined> zu B<%_undefined>. Wenn dies nicht "
380 "erwünscht ist, verwenden Sie Bedingungen."
381
382 #. type: Plain text
383 #: archlinux debian-unstable fedora-44 fedora-rawhide
384 msgid "Macro expansions can recurse up to 64 levels.\\&"
385 msgstr "Makro-Expansionen können bis zu 64 Ebenen rekursiv sein."
386
387 #. type: SS
388 #: archlinux debian-unstable fedora-44 fedora-rawhide
389 #, no-wrap
390 msgid "Shell expansion"
391 msgstr "Shell-Expansion"
392
393 #. type: Plain text
394 #: archlinux debian-unstable fedora-44 fedora-rawhide
395 msgid ""
396 "Shell expansion can be performed using B<%(>I<shell command>B<)>.\\& "
397 "I<shell_command> is expanded before executing it with I</bin/sh>, whose "
398 "output becomes the expansion of the macro.\\& The trailing newline is "
399 "deleted.\\&"
400 msgstr ""
401 "Die Shell-Expansion kann mit B<%(>I<Shell-Befehl>B<)> durchgeführt werden. "
402 "Der I<Shell_Befehl> wird expandiert, bevor er mit I</bin/sh> ausgeführt "
403 "wird, dessen Ausgabe die Expansion des Makros darstellt. Der abschließende "
404 "Zeilenumbruch wird gelöscht."
405
406 #. type: Plain text
407 #: archlinux debian-unstable fedora-44 fedora-rawhide
408 msgid "Example:"
409 msgstr "Beispiel:"
410
411 #. type: Plain text
412 #: archlinux debian-unstable fedora-44 fedora-rawhide
413 #, no-wrap
414 msgid "%(echo aa-bb-cc | tr \\&'-\\&' \\&'\\&.\\&')\n"
415 msgstr "%(echo aa-bb-cc | tr \\&'-\\&' \\&'\\&.\\&')\n"
416
417 #. type: SS
418 #: archlinux debian-unstable fedora-44 fedora-rawhide
419 #, no-wrap
420 msgid "Conditional expansion"
421 msgstr "Bedingte Expansion"
422
423 #. type: Plain text
424 #: archlinux debian-unstable fedora-44 fedora-rawhide
425 msgid ""
426 "The macro processor supports testing whether a macro is defined or not.\\&"
427 msgstr ""
428 "Der Makroprozessor unterstützt das Testen, ob ein Makro definiert ist oder "
429 "nicht."
430
431 #. type: Plain text
432 #: archlinux debian-unstable fedora-44 fedora-rawhide
433 msgid "B<%{?\\&>I<NAME>B<:>I<VALUE>B<}>"
434 msgstr "B<%{?\\&>I<NAME>B<:>I<WERT>B<}>"
435
436 #. type: Plain text
437 #: archlinux debian-unstable fedora-44 fedora-rawhide
438 msgid ""
439 "Expands to the expansion of I<VALUE> if I<NAME> is defined, otherwise to an "
440 "empty string.\\&"
441 msgstr ""
442 "Wird auf die Expansion des I<WERTES> expandiert, wenn der I<NAME> definiert "
443 "ist, anderenfalls auf eine leere Zeichenkette."
444
445 #. type: Plain text
446 #: archlinux debian-unstable fedora-44 fedora-rawhide
447 msgid "B<%{!\\&?\\&>I<NAME>B<:>I<VALUE>B<}>"
448 msgstr "B<%{!\\&?\\&>I<NAME>B<:>I<WERT>B<}>"
449
450 #. type: Plain text
451 #: archlinux debian-unstable fedora-44 fedora-rawhide
452 msgid ""
453 "Expands to the expansion of I<VALUE> if I<NAME> is I<not> defined, otherwise "
454 "it expands to an empty string.\\&"
455 msgstr ""
456 "Wird auf die Expansion des I<WERTES> expandiert, wenn der I<NAME> I<nicht> "
457 "definiert ist, anderenfalls auf eine leere Zeichenkette."
458
459 #. type: Plain text
460 #: archlinux debian-unstable fedora-44 fedora-rawhide
461 msgid "Shorthand for B<%{?\\&>I<NAME>B<:%{>I<NAME>B<}}>.\\&"
462 msgstr "Kürzel für B<%{?\\&>I<NAME>B<:%{>I<NAME>B<}}>."
463
464 #. type: Plain text
465 #: archlinux debian-unstable fedora-44 fedora-rawhide
466 msgid ""
467 "For more complex tests, use B<Expression expansion> or B<Lua expansion>.\\& "
468 "Note that B<%if>, B<%ifarch> and the like are not macros, they are spec "
469 "directives and only usable in that context.\\&"
470 msgstr ""
471 "Für komplexere Tests verwenden Sie die B<Expansion von Ausdrücken> oder die "
472 "B<Lua-Expansion>. Beachten Sie, dass B<%if>, B<%ifarch> und ähnliche keine "
473 "Makros, sondern Spec-Datei-Direktiven und nur in diesem Kontext verwendbar "
474 "sind."
475
476 #. type: Plain text
477 #: archlinux debian-unstable fedora-44 fedora-rawhide
478 msgid ""
479 "Note that in RPM E<gt>= 4.\\&17, conditionals on built-in macros simply test "
480 "for existence of that built-in, just like with any other macros.\\& In older "
481 "versions, the behavior of conditionals on built-ins is undefined.\\&"
482 msgstr ""
483 "Beachten Sie, dass in RPM E<gt>= 4.17 Bedingungen für integrierte Makros "
484 "lediglich die Existenz des integrierten Makros prüfen, genau wie bei allen "
485 "anderen Makros. In älteren Versionen ist das Verhalten von Bedingungen für "
486 "integrierte Makros undefiniert."
487
488 #. type: SS
489 #: archlinux debian-unstable fedora-44 fedora-rawhide
490 #, no-wrap
491 msgid "Expression expansion"
492 msgstr "Expansion von Ausdrücken"
493
494 #. type: Plain text
495 #: archlinux debian-unstable fedora-44 fedora-rawhide
496 msgid ""
497 "Expression expansion can be performed using B<%[>I<EXPRESSION>B<]>.\\& An "
498 "expression consists of terms that can be combined using operators.\\&"
499 msgstr ""
500 "Ausdrücke können in der Form B<%[>I<AUSDRUCK>B<]> expandiert werden. Ein "
501 "Ausdruck besteht aus Termen, die mittels Operatoren kombiniert werden können."
502
503 #. type: Plain text
504 #: archlinux debian-unstable fedora-44 fedora-rawhide
505 msgid "RPM supports three kinds of terms:"
506 msgstr "RPM unterstützt drei Arten von Termen:"
507
508 #. type: Plain text
509 #: archlinux debian-unstable fedora-44 fedora-rawhide
510 msgid "numbers made up from digits"
511 msgstr "Zahlen, bestehend aus Ziffern"
512
513 # FIXME e.\\&g → e.\\&g.
514 #. type: Plain text
515 #: archlinux debian-unstable fedora-44 fedora-rawhide
516 msgid "strings enclosed in double quotes (e.\\&g B<\"somestring\">)"
517 msgstr ""
518 "in hochgestellte doppelte Anführungszeichen eingeschlossene Zeichenketten "
519 "(z.B. B<\"Zeichenkette\">)"
520
521 # FIXME e.\\&g → e.\\&g.
522 #. type: Plain text
523 #: archlinux debian-unstable fedora-44 fedora-rawhide
524 msgid ""
525 "versions enclosed in double quotes preceded by B<v> (e.\\&g "
526 "B<v\"3:1.\\&2-1\">)"
527 msgstr ""
528 "in hochgestellte doppelte Anführungszeichen eingeschlossene Versionen, denen "
529 "ein B<v> vorangestellt ist (z.B. B<v\"3:1.2-1\">)"
530
531 #. type: Plain text
532 #: archlinux debian-unstable fedora-44 fedora-rawhide
533 msgid "RPM will expand macros when evaluating terms.\\&"
534 msgstr "RPM expandiert Makros, wenn Terme ausgewertet werden."
535
536 #. type: Plain text
537 #: archlinux debian-unstable fedora-44 fedora-rawhide
538 msgid "You can use the standard operators to combine terms:"
539 msgstr "Sie können die Standard-Operatoren verwenden, um Terme zu verknüpfen:"
540
541 #. type: Plain text
542 #: archlinux debian-unstable fedora-44 fedora-rawhide
543 msgid "logical operators B<&&>, B<||>, B<!\\&>"
544 msgstr "die logischen Operatoren B<&&>, B<||>, B<!\\&>"
545
546 #. type: Plain text
547 #: archlinux debian-unstable fedora-44 fedora-rawhide
548 msgid ""
549 "relational operators B<!\\&=>, B<==>, B<E<lt>>, B<E<gt>>, B<E<lt>=>, "
550 "B<E<gt>=>"
551 msgstr ""
552 "die relationalen Operatoren B<!\\&=>, B<==>, B<E<lt>>, B<E<gt>>, B<E<lt>=>, "
553 "B<E<gt>=>"
554
555 #. type: Plain text
556 #: archlinux debian-unstable fedora-44 fedora-rawhide
557 msgid "arithmetic operators B<+>, B<->, B</>, B<*>,"
558 msgstr "die arithmetischen Operatoren B<+>, B<->, B</>, B<*>,"
559
560 #. type: Plain text
561 #: archlinux debian-unstable fedora-44 fedora-rawhide
562 msgid "the ternary operator B<?\\& :>"
563 msgstr "den ternären Operator B<?\\& :>"
564
565 #. type: Plain text
566 #: archlinux debian-unstable fedora-44 fedora-rawhide
567 msgid "parentheses"
568 msgstr "Klammern"
569
570 #. type: Plain text
571 #: archlinux debian-unstable fedora-44 fedora-rawhide
572 msgid ""
573 "For example, B<%[ 3 + 4 * (1 + %two) ]> will expand to B<15> if B<%two> "
574 "expands to B<2>.\\& Version terms are compared using RPM version "
575 "([I<epoch>:]I<version>[-I<release>]) comparison algorithm, rather than "
576 "regular string comparison.\\&"
577 msgstr ""
578 "Beispielsweise wird B<%[ 3 + 4 * (1 + %two) ]> zu B<15> expandiert, wenn "
579 "B<%two> zu B<2> expandiert wird. Versionsterme werden mit dem RPM-"
580 "Versionsvergleichsalgorithmus ([I<Epoche>:]I<Version>[-I<Veröffentlichung>]) "
581 "verglichen, nicht mit einem regulären Zeichenkettenvergleich."
582
583 #. type: Plain text
584 #: archlinux debian-unstable fedora-44 fedora-rawhide
585 msgid ""
586 "Note that the B<%[>I<EXPRESSION>B<]> expansion is different to the B<%"
587 "{expr:>I<EXPRESSION>B<}> macro.\\& With the latter, the macros in the "
588 "expression are expanded first and then the expression is evaluated (without "
589 "re-expanding the terms).\\& Thus"
590 msgstr ""
591 "Beachten Sie, dass sich die Expansion der Form B<%[>I<AUSDRUCK>B<]> vom "
592 "Makro B<%{expr:>I<AUSDRUCK>B<}> unterscheidet. Bei Letzterem werden zuerst "
593 "die Makros im Ausdruck expandiert und dann der Ausdruck ausgewertet (ohne "
594 "die Terme erneut zu expandieren). Somit wird"
595
596 #. type: Plain text
597 #: archlinux debian-unstable fedora-44 fedora-rawhide
598 #, no-wrap
599 msgid "rpm --define \\&'foo 1 + 2\\&' --eval \\&'%{expr:%foo}\\&'\n"
600 msgstr "rpm --define \\&'foo 1 + 2\\&' --eval \\&'%{expr:%foo}\\&'\n"
601
602 #. type: Plain text
603 #: archlinux debian-unstable fedora-44 fedora-rawhide
604 msgid ""
605 "will print B<3>.\\& Using B<%[%foo]> instead will result in the error that "
606 "\"1 + 2\" is not a number.\\&"
607 msgstr ""
608 "B<3> ausgeben. Wenn Sie stattdessen B<%[%bla]> verwenden, wird eine "
609 "Fehlermeldung ausgegeben, dass »1 + 2« keine Zahl ist."
610
611 #. type: Plain text
612 #: archlinux debian-unstable fedora-44 fedora-rawhide
613 msgid ""
614 "Doing the macro expansion when evaluating the terms has two advantages.\\& "
615 "First, it allows RPM to do correct short-circuit processing when evaluating "
616 "logical operators.\\& Second, the expansion result does not influence the "
617 "expression parsing, e.\\&g.\\& B<%[\"%file\"]> will even work if the "
618 "B<%file> macro expands to a string that contains a double quote.\\&"
619 msgstr ""
620 "Die Makroexpansion bei der Auswertung der Terme durchzuführen hat zwei "
621 "Vorteile. Erstens ermöglicht sie RPM eine korrekte verkürzte Verarbeitung "
622 "bei der Auswertung von logischen Operatoren. Zweitens beeinflusst das "
623 "Expansionsergebnis nicht die Auswertung von Ausdrücken. Beispielsweise "
624 "funktioniert B<%[\"%file\"]> selbst dann, wenn das Makro B<%file> zu einer "
625 "Zeichenkette mit doppelten englischen Anführungszeichen expandiert wird."
626
627 #. type: Plain text
628 #: archlinux debian-unstable fedora-44 fedora-rawhide
629 msgid "Added: 4.\\&16.\\&0"
630 msgstr "Hinzugefügt: 4.16.0"
631
632 #. type: SS
633 #: archlinux debian-unstable fedora-44 fedora-rawhide
634 #, no-wrap
635 msgid "Lua expansion"
636 msgstr "Lua-Expansion"
637
638 #. type: Plain text
639 #: archlinux debian-unstable fedora-44 fedora-rawhide
640 msgid ""
641 "The most powerful of the macro expansion methods is using RPM'\\&s embedded "
642 "Lua interpreter:"
643 msgstr ""
644 "Die leistungsstärkste Methode zur Makroexpansion ist die Verwendung des in "
645 "RPM eingebetteten Lua-Interpreters:"
646
647 #. type: Plain text
648 #: archlinux debian-unstable fedora-44 fedora-rawhide
649 msgid ""
650 "Execute I<LUA-CODE> using RPM'\\&s embedded Lua interpreter, expanding to "
651 "the code'\\&s B<print()>'\\&ed output.\\&"
652 msgstr ""
653 "Führen Sie I<LUA-CODE> mit dem eingebetteten Lua-Interpreter von RPM aus und "
654 "expandieren Sie ihn zur B<print()>-Ausgabe des Codes."
655
656 #. type: Plain text
657 #: archlinux debian-unstable fedora-44 fedora-rawhide
658 msgid "See B<rpm-lua>(7) for the details.\\&"
659 msgstr "Weitere Details finden Sie in B<rpm-lua>(7)."
660
661 #. type: SH
662 #: archlinux debian-unstable fedora-44 fedora-rawhide
663 #, no-wrap
664 msgid "PARAMETRIC MACROS"
665 msgstr "PARAMETRISCHE MAKROS"
666
667 #. type: Plain text
668 #: archlinux debian-unstable fedora-44 fedora-rawhide
669 msgid ""
670 "Parametric macros are a powerful mechanism that allows building function-"
671 "like utility macros with option processing and accepting a variable number "
672 "of arguments, much like common shell tools.\\&"
673 msgstr ""
674 "Parametrische Makros sind ein leistungsstarker Mechanismus, der die "
675 "Erstellung funktionsähnlicher Dienstprogramm-Makros mit Optionsverarbeitung "
676 "und der Annahme einer variablen Anzahl von Argumenten ermöglicht, ähnlich "
677 "wie bei gängigen Shell-Werkzeugen."
678
679 #. type: Plain text
680 #: archlinux debian-unstable fedora-44 fedora-rawhide
681 msgid "The syntax for defining parametric macros is:"
682 msgstr "Ein parametrisches Makro wird nach folgender Syntax definiert:"
683
684 #. type: Plain text
685 #: archlinux debian-unstable fedora-44 fedora-rawhide
686 msgid "I<NAME>([I<OPTIONS>]) I<BODY>"
687 msgstr "I<NAME>([I<OPTIONEN>]) I<TEXTKÖRPER>"
688
689 #. type: Plain text
690 #: archlinux debian-unstable fedora-44 fedora-rawhide
691 msgid ""
692 "If present, the I<OPTIONS> (i.\\&e.\\& the string between parentheses) are "
693 "passed exactly as is to B<getopt>(3) for argc/argv processing at the "
694 "beginning of a macro invocation.\\& Only short options are supported.\\&"
695 msgstr ""
696 "Falls vorhanden, werden die I<OPTIONEN> (das heißt, die Zeichenkette in "
697 "Klammern) genau so an B<getopt>(3) zur argc/argv-Verarbeitung zu Beginn "
698 "eines Makroaufrufs übergeben. Es werden nur kurze Optionen unterstützt."
699
700 #. type: Plain text
701 #: archlinux debian-unstable fedora-44 fedora-rawhide
702 msgid ""
703 "B<-> as the sole I<OPTIONS> field disables RPM'\\&s option processing.\\& "
704 "This allows macros to fully decide how to handle their input, e.\\&g.\\& if "
705 "the arguments of the macro only/mostly consist of items starting with B<->, "
706 "the default processing only gets in the way.\\&"
707 msgstr ""
708 "B<-> als einziges I<OPTIONEN>-Feld deaktiviert die Optionsverarbeitung von "
709 "RPM. Dadurch können Makros vollständig entscheiden, wie sie mit ihren "
710 "Eingaben umgehen. Wenn zum Beispiel die Argumente des Makros ausschließlich "
711 "oder hauptsächlich aus Elementen bestehen, die mit B<-> beginnen, ist die "
712 "Standardverarbeitung nur hinderlich."
713
714 #. type: SS
715 #: archlinux debian-unstable fedora-44 fedora-rawhide
716 #, no-wrap
717 msgid "Automatic macros"
718 msgstr "Automatische Makros"
719
720 #. type: Plain text
721 #: archlinux debian-unstable fedora-44 fedora-rawhide
722 msgid ""
723 "While a parameterized macro is being expanded, the following shell-like "
724 "automatic macros are available:"
725 msgstr ""
726 "Während ein parametrisiertes Makro expandiert wird, stehen die folgenden "
727 "Shell-ähnlichen automatischen Makros zur Verfügung:"
728
729 #. type: tbl table
730 #: archlinux debian-unstable fedora-44 fedora-rawhide
731 #, no-wrap
732 msgid "B<Macro>"
733 msgstr "B<Makro>"
734
735 #. type: tbl table
736 #: archlinux debian-unstable fedora-44 fedora-rawhide
737 #, no-wrap
738 msgid "B<Description>"
739 msgstr "B<Beschreibung>"
740
741 #. type: tbl table
742 #: archlinux debian-unstable fedora-44 fedora-rawhide
743 #, no-wrap
744 msgid "B<%0>"
745 msgstr "B<%0>"
746
747 #. type: tbl table
748 #: archlinux debian-unstable fedora-44 fedora-rawhide
749 #, no-wrap
750 msgid "the name of the macro being invoked"
751 msgstr "der Name des aufgerufenen Makros"
752
753 #. type: tbl table
754 #: archlinux debian-unstable fedora-44 fedora-rawhide
755 #, no-wrap
756 msgid "B<%*>"
757 msgstr "B<%*>"
758
759 #. type: tbl table
760 #: archlinux debian-unstable fedora-44 fedora-rawhide
761 #, no-wrap
762 msgid "all arguments (unlike shell, not including any processed flags)"
763 msgstr "alle Argumente (im Gegensatz zur Shell, ohne verarbeitete Schalter)"
764
765 #. type: tbl table
766 #: archlinux debian-unstable fedora-44 fedora-rawhide
767 #, no-wrap
768 msgid "B<%**>"
769 msgstr "B<%**>"
770
771 #. type: tbl table
772 #: archlinux debian-unstable fedora-44 fedora-rawhide
773 #, no-wrap
774 msgid "all arguments (including any processed flags)"
775 msgstr "alle Argumente (einschließlich aller verarbeiteten Schalter)"
776
777 #. type: tbl table
778 #: archlinux debian-unstable fedora-44 fedora-rawhide
779 #, no-wrap
780 msgid "B<%#>"
781 msgstr "B<%#>"
782
783 #. type: tbl table
784 #: archlinux debian-unstable fedora-44 fedora-rawhide
785 #, no-wrap
786 msgid "the number of arguments"
787 msgstr "die Anzahl der Argumente"
788
789 #. type: tbl table
790 #: archlinux debian-unstable fedora-44 fedora-rawhide
791 #, no-wrap
792 msgid "B<%{-f}>"
793 msgstr "B<%{-f}>"
794
795 #. type: tbl table
796 #: archlinux debian-unstable fedora-44 fedora-rawhide
797 #, no-wrap
798 msgid "if present at invocation, the last occurrence of flag B<f> (flag and argument)"
799 msgstr "falls beim Aufruf vorhanden, das letzte Vorkommen des Schalters B<f> (Schalter und Argument)"
800
801 #. type: tbl table
802 #: archlinux debian-unstable fedora-44 fedora-rawhide
803 #, no-wrap
804 msgid "B<%{-f*}>"
805 msgstr "B<%{-f*}>"
806
807 #. type: tbl table
808 #: archlinux debian-unstable fedora-44 fedora-rawhide
809 #, no-wrap
810 msgid "if present at invocation, the argument to the last occurrence of flag B<f>"
811 msgstr "falls beim Aufruf vorhanden, das Argument für das letzte Vorkommen des Schalters B<f>"
812
813 #. type: tbl table
814 #: archlinux debian-unstable fedora-44 fedora-rawhide
815 #, no-wrap
816 msgid "B<%1>, B<%2>, .\\&.\\&.\\&"
817 msgstr "B<%1>, B<%2>, …"
818
819 #. type: tbl table
820 #: archlinux debian-unstable fedora-44 fedora-rawhide
821 #, no-wrap
822 msgid "the arguments themselves (after B<getopt>(3) processing)"
823 msgstr "die Argumente selbst (nach der Verarbeitung mit B<getopt>(3))"
824
825 #. type: Plain text
826 #: archlinux debian-unstable fedora-44 fedora-rawhide
827 msgid ""
828 "If the built-in option processing was disabled with B<-> as the I<OPTIONS> "
829 "field, only the following automatic macros are available:"
830 msgstr ""
831 "Wenn die integrierte Optionsverarbeitung mit B<-> als I<OPTIONEN>-Feld "
832 "deaktiviert wurde, sind nur die folgenden automatischen Makros verfügbar:"
833
834 #. type: tbl table
835 #: archlinux debian-unstable fedora-44 fedora-rawhide
836 #, no-wrap
837 msgid "B<%*>, B<%**>"
838 msgstr "B<%*>, B<%**>"
839
840 #. type: tbl table
841 #: archlinux debian-unstable fedora-44 fedora-rawhide
842 #, no-wrap
843 msgid "all arguments"
844 msgstr "alle Argumente"
845
846 # FIXME unneeded leading whitespace
847 #. type: tbl table
848 #: archlinux debian-unstable fedora-44 fedora-rawhide
849 #, no-wrap
850 msgid " the number of arguments"
851 msgstr "die Anzahl der Argumente"
852
853 #. type: tbl table
854 #: archlinux debian-unstable fedora-44 fedora-rawhide
855 #, no-wrap
856 msgid "the arguments themselves"
857 msgstr "die Argumente selbst"
858
859 #. type: Plain text
860 #: archlinux debian-unstable fedora-44 fedora-rawhide
861 msgid ""
862 "Automatic macros are automatically defined and undefined on parametric macro "
863 "entry and exit.\\&"
864 msgstr ""
865 "Automatische Makros werden beim Ein- und Ausstieg aus parametrischen Makros "
866 "automatisch definiert und undefiniert."
867
868 #. type: SS
869 #: archlinux debian-unstable fedora-44 fedora-rawhide
870 #, no-wrap
871 msgid "Accessing options"
872 msgstr "Zugriff auf Optionen"
873
874 #. type: Plain text
875 #: archlinux debian-unstable fedora-44 fedora-rawhide
876 msgid ""
877 "Within the body of a parametric macro, there are several constructs that "
878 "permit testing for the presence of optional parameters.\\& The simplest "
879 "construct is B<%{-f}> which expands (literally) to B<-f> if B<-f> was "
880 "mentioned when the macro was invoked.\\& There are also provisions for "
881 "including text if a flag was present using B<%{-f:X}>.\\& This macro expands "
882 "to (the expansion of) B<X> if the flag was present.\\& The negative form, B<%"
883 "{!\\&-f:Y}>, expanding to (the expansion of)B< Y> if B<-f> was B<not> "
884 "present, is also supported.\\&"
885 msgstr ""
886 "Im Textkörper eines parametrischen Makros gibt es mehrere Konstrukte, die "
887 "das Testen auf das Vorhandensein optionaler Parameter ermöglichen. Das "
888 "einfachste Konstrukt ist B<%{-f}>, das (wörtlich) zu B<-f> expandiert wird, "
889 "wenn B<-f> beim Aufruf des Makros übergeben wurde. Es gibt auch "
890 "Möglichkeiten, Text einzufügen, wenn ein Schalter vorhanden ist, indem B<%{-"
891 "f:X}> verwendet wird. Dieses Makro expandiert zu (der Expansion von) B<X>, "
892 "wenn der Schalter vorhanden war. Die negierte Form B<%{!-f:Y}>, die zu (der "
893 "Expansion von) B<Y> expandiert, wenn B<-f> B<nicht> vorhanden war, wird "
894 "ebenfalls unterstützt."
895
896 #. type: SS
897 #: archlinux debian-unstable fedora-44 fedora-rawhide
898 #, no-wrap
899 msgid "Scope and visibility"
900 msgstr "Bereich und Sichtbarkeit"
901
902 #. type: Plain text
903 #: archlinux debian-unstable fedora-44 fedora-rawhide
904 msgid ""
905 "In general, macros have a global scope, regardless of where and how they "
906 "were defined.\\& However, macros defined inside parametric macros have non-"
907 "global scope as follows:"
908 msgstr ""
909 "Im Allgemeinen haben Makros einen globalen Gültigkeitsbereich, unabhängig "
910 "davon, wo und wie sie definiert wurden. Makros, die innerhalb parametrischer "
911 "Makros definiert sind, haben jedoch einen nicht-globalen Gültigkeitsbereich, "
912 "und zwar wie folgt:"
913
914 # FIXME ie. → i.e.
915 # FIXME missing full stop
916 #. type: Plain text
917 #: archlinux debian-unstable fedora-44 fedora-rawhide
918 msgid ""
919 "automatic macros have local scope, ie.\\& are only visible on the call-level "
920 "of the macro itself"
921 msgstr ""
922 "Automatische Makros haben einen lokalen Gültigkeitsbereich, das heißt, sie "
923 "sind nur auf der Aufrufebene des Makros selbst sichtbar."
924
925 # FIXME ie. → i.e.
926 # FIXME missing full stop
927 #. type: Plain text
928 #: archlinux debian-unstable fedora-44 fedora-rawhide
929 msgid ""
930 "user-defined local macros have nested scope, ie.\\& are visible on the call-"
931 "level of the macro itself and deeper"
932 msgstr ""
933 "Benutzerdefinierte lokale Makros haben einen verschachtelten "
934 "Gültigkeitsbereich, das heißt, sie sind auf der Aufrufebene des Makros "
935 "selbst und tiefer sichtbar."
936
937 #. type: Plain text
938 #: archlinux debian-unstable fedora-44 fedora-rawhide
939 msgid ""
940 "That is, a parametric macro cannot see the options or arguments of another "
941 "one, but a user-defined local macro in a calling macro can be accessed in "
942 "the callee(s).\\&"
943 msgstr ""
944 "Das heißt, ein parametrisches Makro kann die Optionen oder Argumente eines "
945 "anderen nicht sehen, aber auf ein benutzerdefiniertes lokales Makro in einem "
946 "aufrufenden Makro kann in den aufgerufenen Makros zugegriffen werden."
947
948 #. type: Plain text
949 #: archlinux debian-unstable fedora-44 fedora-rawhide
950 msgid ""
951 "To define a global macro inside a parametric macro, you I<must> use "
952 "B<%global> instead of B<%define>.\\& Also note that because such a macro may "
953 "be referring to other macros only visible in the current scope, B<%global> "
954 "I<expands the macro body once at the time of definition>.\\&"
955 msgstr ""
956 "Um ein globales Makro innerhalb eines parametrischen Makros zu definieren, "
957 "I<müssen> Sie B<%global> anstelle von B<%define> verwenden. Beachten Sie "
958 "außerdem, dass B<%global> I<den Makrokörper zum Zeitpunkt der Definition "
959 "einmal expandiert>, da ein solches Makro möglicherweise auf andere Makros "
960 "verweist, die nur im aktuellen Bereich sichtbar sind."
961
962 #. type: SS
963 #: archlinux debian-unstable fedora-44 fedora-rawhide
964 #, no-wrap
965 msgid "Calling convention"
966 msgstr "Aufrufkonvention"
967
968 #. type: Plain text
969 #: archlinux debian-unstable fedora-44 fedora-rawhide
970 msgid ""
971 "When a parametric macro is expanded, the following calling convention is "
972 "used:"
973 msgstr ""
974 "Beim Expandieren eines parametrischen Makros wird die folgende "
975 "Aufrufkonvention verwendet:"
976
977 #. type: IP
978 #: archlinux debian-unstable fedora-44 fedora-rawhide
979 #, no-wrap
980 msgid "1."
981 msgstr "1."
982
983 #. type: Plain text
984 #: archlinux debian-unstable fedora-44 fedora-rawhide
985 msgid "any arguments to the macro are expanded on the call-level of the callee"
986 msgstr ""
987 "alle Argumente des Makros werden auf der Aufrufebene des Aufrufenden "
988 "expandiert"
989
990 #. type: IP
991 #: archlinux debian-unstable fedora-44 fedora-rawhide
992 #, no-wrap
993 msgid "2."
994 msgstr "2."
995
996 #. type: Plain text
997 #: archlinux debian-unstable fedora-44 fedora-rawhide
998 msgid "any options to the macro are processed"
999 msgstr "alle Optionen des Makros werden verarbeitet"
1000
1001 #. type: IP
1002 #: archlinux debian-unstable fedora-44 fedora-rawhide
1003 #, no-wrap
1004 msgid "3."
1005 msgstr "3."
1006
1007 #. type: Plain text
1008 #: archlinux debian-unstable fedora-44 fedora-rawhide
1009 msgid "automatic macros are set up for the options and the arguments"
1010 msgstr ""
1011 "automatische Makros werden für die Optionen und die Argumente eingerichtet"
1012
1013 #. type: IP
1014 #: archlinux debian-unstable fedora-44 fedora-rawhide
1015 #, no-wrap
1016 msgid "4."
1017 msgstr "4."
1018
1019 #. type: Plain text
1020 #: archlinux debian-unstable fedora-44 fedora-rawhide
1021 msgid "the macro body is recursively expanded"
1022 msgstr "der Makrokörper wird rekursiv expandiert"
1023
1024 #. type: IP
1025 #: archlinux debian-unstable fedora-44 fedora-rawhide
1026 #, no-wrap
1027 msgid "5."
1028 msgstr "5."
1029
1030 #. type: Plain text
1031 #: archlinux debian-unstable fedora-44 fedora-rawhide
1032 msgid "all macros defined on this call-level are discarded"
1033 msgstr "alle auf dieser Aufrufebene definierten Makros werden verworfen"
1034
1035 #. type: SH
1036 #: archlinux debian-unstable fedora-44 fedora-rawhide
1037 #, no-wrap
1038 msgid "BUILT-IN MACROS"
1039 msgstr "EINGEBAUTE MAKROS"
1040
1041 #. type: Plain text
1042 #: archlinux debian-unstable fedora-44 fedora-rawhide
1043 msgid ""
1044 "RPM supports the following built-in macros for various operations.\\& Built-"
1045 "in macros cannot be undefined or overridden.\\&"
1046 msgstr ""
1047 "RPM verfügt über die in der nachfolgenden Liste aufgeführten eingebauten "
1048 "Makros für verschiedene Aktionen. Eingebaute Makros können nicht undefiniert "
1049 "oder außer Kraft gesetzt werden."
1050
1051 #. type: Plain text
1052 #: archlinux debian-unstable fedora-44 fedora-rawhide
1053 msgid ""
1054 "Note: The B<%{name:arg}> style is used here as it'\\&s the most backwards "
1055 "compatible and does not require quoting for whitespace, but it can generally "
1056 "be replaced with the other expansion forms too.\\& Built-ins taking multiple "
1057 "arguments must use other styles, as indicated below.\\&"
1058 msgstr ""
1059 "Hinweis: Der Stil B<%{Name:Argument}> wird hier verwendet, da er am "
1060 "abwärtskompatibelsten ist und keine Anführungszeichen für Leerraum "
1061 "erfordert. Er kann aber grundsätzlich auch durch die anderen "
1062 "Expandierungsformen ersetzt werden. Integrierte Funktionen mit mehreren "
1063 "Argumenten müssen andere Stile verwenden, wie nachfolgend angegeben."
1064
1065 #. type: SS
1066 #: archlinux debian-unstable fedora-44 fedora-rawhide
1067 #, no-wrap
1068 msgid "Macro manipulation"
1069 msgstr "Manipulation von Makros"
1070
1071 #. type: Plain text
1072 #: archlinux debian-unstable fedora-44 fedora-rawhide
1073 msgid ""
1074 "The macro primitives are used for macro manipulation in spec files and other "
1075 "macros.\\& Note that all these operate on the macro name I<without> the "
1076 "preceding B<%>-character.\\&"
1077 msgstr ""
1078 "Die Makroprimitive werden zur Makromanipulation in Spec-Dateien und anderen "
1079 "Makros verwendet. Beachten Sie, dass alle diese auf dem Makronamen I<ohne> "
1080 "das vorangehende B<%>-Zeichen arbeiten."
1081
1082 #. type: Plain text
1083 #: archlinux debian-unstable fedora-44 fedora-rawhide
1084 msgid "B<%define> I<NAME>[([I<OPTIONS>])] I<BODY>"
1085 msgstr "B<%define> I<NAME>[([I<OPTIONEN>])] I<TEXTKÖRPER>"
1086
1087 #. type: Plain text
1088 #: archlinux debian-unstable fedora-44 fedora-rawhide
1089 msgid ""
1090 "This is the primary way to define macros.\\& A B<%define> is always fully "
1091 "declarative: no macro expansion takes place, and it has no side-effects.\\& "
1092 "Macros defined with it are in global scope, unless the definition occurs "
1093 "inside a parametric macro.\\&"
1094 msgstr ""
1095 "Dies ist die primäre Methode zum Definieren von Makros. Ein B<%define> ist "
1096 "immer vollständig deklarativ: Es findet keine Makroexpansion statt und es "
1097 "gibt keine Nebeneffekte. Damit definierte Makros haben einen globalen "
1098 "Gültigkeitsbereich, es sei denn, die Definition erfolgt innerhalb eines "
1099 "parametrischen Makros."
1100
1101 #. type: Plain text
1102 #: archlinux debian-unstable fedora-44 fedora-rawhide
1103 #, no-wrap
1104 msgid "%define mypath /usr/bin/mine\n"
1105 msgstr "%define meinpfad /usr/bin/mein\n"
1106
1107 #. type: Plain text
1108 #: archlinux debian-unstable fedora-44 fedora-rawhide
1109 msgid "B<%global> I<NAME>[([I<OPTIONS>])] I<BODY>"
1110 msgstr "B<%global> I<NAME>[([I<OPTIONEN>])] I<TEXTKÖRPER>"
1111
1112 #. type: Plain text
1113 #: archlinux debian-unstable fedora-44 fedora-rawhide
1114 msgid ""
1115 "The B<%global> primitive is identical in syntax to B<%define>, but has two "
1116 "critically important behavioral differences: as it'\\&s name suggests, a "
1117 "macro defined with B<%global> always has a global scope regardless of where "
1118 "it'\\&s used.\\&"
1119 msgstr ""
1120 "Das Primitiv B<%global> ist in der Syntax zu B<%define> identisch, verhält "
1121 "sich jedoch in zweierlei Hinsicht signifikant anders: Wie der Name schon "
1122 "andeutet, hat ein mit B<%global> definiertes Makro immer einen globalen "
1123 "Gültigkeitsbereich, unabhängig davon, wo es verwendet wird."
1124
1125 #. type: Plain text
1126 #: archlinux debian-unstable fedora-44 fedora-rawhide
1127 msgid ""
1128 "The second difference is that the I<BODY> is expanded once at the time of "
1129 "definition and the expansion becomes the actual macro body.\\& Thus, "
1130 "arbitrary code execution and side-effects may occur when B<%global> is used, "
1131 "depending on the contents and the other macros used in I<BODY>.\\& The "
1132 "latter can be handy for avoiding redundant, possibly expensive macro "
1133 "expansions if the value does not change, but be aware of the side-effects.\\&"
1134 msgstr ""
1135 "Der zweite Unterschied besteht darin, dass der I<TEXTKÖRPER> bei der "
1136 "Definition einmalig expandiert wird und die Expansion zum eigentlichen "
1137 "Makrokörper wird. Daher kann es bei Verwendung von B<%global> je nach Inhalt "
1138 "und den anderen im I<TEXTKÖRPER> verwendeten Makros zu beliebiger "
1139 "Codeausführung und Nebeneffekten kommen. Dass die Expansion zum eigentlichen "
1140 "Makrokörper wird, kann praktisch sein, um, falls sich der Wert nicht ändert, "
1141 "redundante, möglicherweise aufwändige Makroexpansionen zu vermeiden. "
1142 "Beachten Sie jedoch die Nebeneffekte."
1143
1144 #. type: Plain text
1145 #: archlinux debian-unstable fedora-44 fedora-rawhide
1146 msgid ""
1147 "Note that while B<%global> technically accepts an I<OPTIONS> field, it is "
1148 "ill-suited for defining parametric macros because of the I<BODY> expansion "
1149 "behavior.\\&"
1150 msgstr ""
1151 "Beachten Sie, dass B<%global> zwar technisch gesehen ein I<OPTIONEN>-Feld "
1152 "akzeptiert, es jedoch aufgrund des I<TEXTKÖRPER>-Expansionsverhaltens nicht "
1153 "für die Definition parametrischer Makros geeignet ist."
1154
1155 #. type: Plain text
1156 #: archlinux debian-unstable fedora-44 fedora-rawhide
1157 #, no-wrap
1158 msgid "%global snapver 0-0\\&.48\\&.20240616git\n"
1159 msgstr "%global snapver 0-0\\&.48\\&.20240616git\n"
1160
1161 #. type: Plain text
1162 #: archlinux debian-unstable fedora-44 fedora-rawhide
1163 msgid "B<%undefine> I<NAME>"
1164 msgstr "B<%undefine> I<NAME>"
1165
1166 #. type: Plain text
1167 #: archlinux debian-unstable fedora-44 fedora-rawhide
1168 msgid ""
1169 "Note that B<%undefine> only pops a macro definition from the stack, so using "
1170 "it does I<not> guarantee that I<NAME> is undefined after calling "
1171 "B<%undefine> on it.\\& Automatic macros and built-in macros cannot be "
1172 "undefined.\\&"
1173 msgstr ""
1174 "Beachten Sie, dass B<%undefine> nur eine Makrodefinition aus dem Stapel "
1175 "entfernt. Daher garantiert die Verwendung I<nicht>, dass der I<NAME> nach "
1176 "dem Aufruf von B<%undefine> undefiniert ist. Automatische Makros und "
1177 "eingebaute Makros können nicht undefiniert werden."
1178
1179 #. type: Plain text
1180 #: archlinux debian-unstable fedora-44 fedora-rawhide
1181 #, no-wrap
1182 msgid "%undefine mypath\n"
1183 msgstr "%undefine mein_Pfad\n"
1184
1185 #. type: Plain text
1186 #: archlinux debian-unstable fedora-44 fedora-rawhide
1187 msgid "B<%{load:>I<FILE>B<}>"
1188 msgstr "B<%{load:>I<DATEI>B<}>"
1189
1190 #. type: Plain text
1191 #: archlinux debian-unstable fedora-44 fedora-rawhide
1192 msgid "Load an B<rpm-macrofile>(5) file.\\& (Added: 4.\\&12.\\&0)"
1193 msgstr ""
1194 "Eine Makrodatei laden. (siehe B<rpm-macrofile>(5); hinzugefügt: 4.12.0)"
1195
1196 #. type: Plain text
1197 #: archlinux debian-unstable fedora-44 fedora-rawhide
1198 #, no-wrap
1199 msgid "%{load:/some/dir/macros\\&.foo}\n"
1200 msgstr "%{load:/irgendein/verzeichnis/makros\\&.foo}\n"
1201
1202 #. type: SS
1203 #: archlinux debian-unstable fedora-44 fedora-rawhide
1204 #, no-wrap
1205 msgid "Macro expansion"
1206 msgstr "Makro-Expansion"
1207
1208 #. type: Plain text
1209 #: archlinux debian-unstable fedora-44 fedora-rawhide
1210 msgid "B<%{expand:>I<BODY>B<}>"
1211 msgstr "B<%{expand:>I<TEXTKÖRPER>B<}>"
1212
1213 #. type: Plain text
1214 #: archlinux debian-unstable fedora-44 fedora-rawhide
1215 msgid ""
1216 "Expand I<BODY> as if it were a macro body.\\& Useful for increased "
1217 "indirection, such as to expand a macro name constructed from two or more "
1218 "macros.\\&"
1219 msgstr ""
1220 "Expandiert den angegebenen I<TEXTKÖRPER>, als wäre er ein Makrotext. "
1221 "Nützlich für erweiterte Indirektion, zum Beispiel um einen Makronamen zu "
1222 "expandieren, der aus zwei oder mehr Makros besteht."
1223
1224 #. type: Plain text
1225 #: archlinux debian-unstable fedora-44 fedora-rawhide
1226 #, no-wrap
1227 msgid "%{expand:%{foo_prefix}%{foo_suffix}}\n"
1228 msgstr "%{expand:%{foo_präfix}%{foo_suffix}}\n"
1229
1230 #. type: Plain text
1231 #: archlinux debian-unstable fedora-44 fedora-rawhide
1232 msgid "B<%{expr:>I<EXPRESSION>}"
1233 msgstr "B<%{expr:>I<AUSDRUCK>}"
1234
1235 #. type: Plain text
1236 #: archlinux debian-unstable fedora-44 fedora-rawhide
1237 msgid ""
1238 "Expand I<EXPRESSION>.\\& See B<Expression expansion>.\\& (Added: "
1239 "4.\\&15.\\&0)"
1240 msgstr ""
1241 "Expandiert den angegebenen I<AUSDRUCK>. Siehe B<Expansion von Ausdrücken>. "
1242 "(Hinzugefügt: 4.15.0)"
1243
1244 #. type: Plain text
1245 #: archlinux debian-unstable fedora-44 fedora-rawhide
1246 #, no-wrap
1247 msgid "%{expr:5*1024}\n"
1248 msgstr "%{expr:5*1024}\n"
1249
1250 #. type: Plain text
1251 #: archlinux debian-unstable fedora-44 fedora-rawhide
1252 msgid ""
1253 "Expand to output of I<LUA-CODE> using the embedded Lua interpreter.\\& See "
1254 "B<Lua expansion>.\\&"
1255 msgstr ""
1256 "Expandiert die Ausgabe von I<LUA-CODE> mithilfe des eingebetteten Lua-"
1257 "Interpreters. Siehe B<Lua-Expansion>."
1258
1259 #. type: Plain text
1260 #: archlinux debian-unstable fedora-44 fedora-rawhide
1261 #, no-wrap
1262 msgid "%{lua:for i=65,90 do print(string\\&.char(i)) end}\n"
1263 msgstr "%{lua:for i=65,90 do print(string\\&.char(i)) end}\n"
1264
1265 #. type: Plain text
1266 #: archlinux debian-unstable fedora-44 fedora-rawhide
1267 msgid "B<%{macrobody:>I<NAME>B<}>"
1268 msgstr "B<%{macrobody:>I<NAME>B<}>"
1269
1270 #. type: Plain text
1271 #: archlinux debian-unstable fedora-44 fedora-rawhide
1272 msgid ""
1273 "Expand to the literal body of the macro I<NAME>.\\& (Added: 4.\\&16.\\&0)"
1274 msgstr ""
1275 "Expandiert zum unveränderten Textkörper des Makros I<NAME>. (Hinzugefügt: "
1276 "4.16.0)"
1277
1278 #. type: Plain text
1279 #: archlinux debian-unstable fedora-44 fedora-rawhide
1280 #, no-wrap
1281 msgid "%{macrobody:_libdir}\n"
1282 msgstr "%{macrobody:_libdir}\n"
1283
1284 #. type: SS
1285 #: archlinux debian-unstable fedora-44 fedora-rawhide
1286 #, no-wrap
1287 msgid "String operations"
1288 msgstr "Zeichenkettenaktionen"
1289
1290 #. type: Plain text
1291 #: archlinux debian-unstable fedora-44 fedora-rawhide
1292 msgid "B<%dnl>"
1293 msgstr "B<%dnl>"
1294
1295 #. type: Plain text
1296 #: archlinux debian-unstable fedora-44 fedora-rawhide
1297 msgid ""
1298 "Discard to next line (without expanding anything).\\& B<%dnl> is the "
1299 "recommended way to comment out things in spec files because it works "
1300 "everywhere and disables macro processing for that line.\\& (Added: "
1301 "4.\\&15.\\&0)"
1302 msgstr ""
1303 "Verwirft und zur wechselt zur nächsten Zeile (ohne etwas zu expandieren). "
1304 "B<%dnl> ist die empfohlene Methode zum Auskommentieren von Elementen in Spec-"
1305 "Dateien, da sie überall funktioniert und die Makroverarbeitung für diese "
1306 "Zeile deaktiviert. (Hinzugefügt: 4.15.0)"
1307
1308 #. type: Plain text
1309 #: archlinux debian-unstable fedora-44 fedora-rawhide
1310 #, no-wrap
1311 msgid "%dnl This is a comment on %{mymacro} behavior\n"
1312 msgstr "%dnl Dies ist ein Kommentar zum Verhalten von %{mymacro}\n"
1313
1314 #. type: Plain text
1315 #: archlinux debian-unstable fedora-44 fedora-rawhide
1316 msgid "B<%{gsub >I<STRING>, I<PATTERN>, I<REPL> [,I<N>]B<}>"
1317 msgstr "B<%{gsub >I<ZEICHENKETTE>, I<MUSTER>, I<ERSETZUNG> [,I<N>]B<}>"
1318
1319 #. type: Plain text
1320 #: archlinux debian-unstable fedora-44 fedora-rawhide
1321 msgid ""
1322 "Replace all (or I<N> first if given) occurrences of I<PATTERN> in I<STRING> "
1323 "by I<REPL>.\\&"
1324 msgstr ""
1325 "Ersetzt alle (oder die I<N> ersten, falls angegeben) Vorkommen des "
1326 "angegebenen I<MUSTERS> in der I<ZEICHENKETTE> durch die I<ERSETZUNG>."
1327
1328 #. type: Plain text
1329 #: archlinux debian-unstable fedora-44 fedora-rawhide
1330 msgid "Added: 4.\\&19.\\&0"
1331 msgstr "Hinzugefügt: 4.19.0"
1332
1333 #. type: Plain text
1334 #: archlinux debian-unstable fedora-44 fedora-rawhide
1335 #, no-wrap
1336 msgid "%{gsub aabbaacc aa dd 1}\n"
1337 msgstr "%{gsub aabbaacc aa dd 1}\n"
1338
1339 #. type: Plain text
1340 #: archlinux debian-unstable fedora-44 fedora-rawhide
1341 msgid "B<%{len:>I<STRING>B<}>"
1342 msgstr "B<%{len:>I<ZEICHENKETTE>B<}>"
1343
1344 #. type: Plain text
1345 #: archlinux debian-unstable fedora-44 fedora-rawhide
1346 msgid "Expand to length of I<STRING>.\\& (Added: 4.\\&19.\\&0)"
1347 msgstr "Expandiert auf die Länge der I<ZEICHENKETTE>. (Hinzugefügt: 4.19.0)"
1348
1349 #. type: Plain text
1350 #: archlinux debian-unstable fedora-44 fedora-rawhide
1351 #, no-wrap
1352 msgid "%{len:9bf7da058a7c582878310e75be3d56a5a8b67f95}\n"
1353 msgstr "%{len:9bf7da058a7c582878310e75be3d56a5a8b67f95}\n"
1354
1355 #. type: Plain text
1356 #: archlinux debian-unstable fedora-44 fedora-rawhide
1357 msgid "B<%{lower:>I<STRING>B<}>"
1358 msgstr "B<%{lower:>I<ZEICHENKETTE>B<}>"
1359
1360 #. type: Plain text
1361 #: archlinux debian-unstable fedora-44 fedora-rawhide
1362 msgid "Expand to lowercase I<STRING>.\\& (Added: 4.\\&19.\\&0)"
1363 msgstr ""
1364 "Expandiert zur I<ZEICHENKETTE> in Kleinschreibung. (Hinzugefügt: 4.19.0)"
1365
1366 #. type: Plain text
1367 #: archlinux debian-unstable fedora-44 fedora-rawhide
1368 #, no-wrap
1369 msgid "%{lower:CamelCase}\\&'\n"
1370 msgstr "%{lower:CamelCase}\\&'\n"
1371
1372 #. type: Plain text
1373 #: archlinux debian-unstable fedora-44 fedora-rawhide
1374 msgid "B<%{quote:>I<STRING>B<}>"
1375 msgstr "B<%{quote:>I<ZEICHENKETTE>B<}>"
1376
1377 #. type: Plain text
1378 #: archlinux debian-unstable fedora-44 fedora-rawhide
1379 msgid ""
1380 "Quote arguments for passing empty strings and strings with embedded "
1381 "whitespace as parametric macro arguments.\\& (Added: 4.\\&14.\\&0)"
1382 msgstr ""
1383 "Maskiert Argumente in englischen hochgestellten Anführungszeichen für die "
1384 "Übergabe von leeren Zeichenketten und Zeichenketten mit eingebettetem "
1385 "Leerraum als Argumente für parametrische Makros. (Hinzugefügt: 4.14.0)"
1386
1387 #. type: Plain text
1388 #: archlinux debian-unstable fedora-44 fedora-rawhide
1389 #, no-wrap
1390 msgid "%myzip -x %{quote:empty spaces\\&.zip}\n"
1391 msgstr "%myzip -x %{quote:empty spaces\\&.zip}\n"
1392
1393 #. type: Plain text
1394 #: archlinux debian-unstable fedora-44 fedora-rawhide
1395 msgid "B<%{rep >I<STRING>, I<N> [,I<SEP>]B<}>"
1396 msgstr "B<%{rep >I<ZEICHENKETTE>, I<N> [,I<TRENNER>]B<}>"
1397
1398 #. type: Plain text
1399 #: archlinux debian-unstable fedora-44 fedora-rawhide
1400 msgid ""
1401 "Expand to a string that is the concatenation of I<N> copies of I<STRING>, "
1402 "separated by I<SEP> (if specified).\\&"
1403 msgstr ""
1404 "Expandiert zu einer Zeichenkette, die die Verkettung von I<N> Kopien der "
1405 "angegebenen I<ZEICHENKETTE> ist, getrennt durch einen I<TRENNER> (falls "
1406 "angegeben)."
1407
1408 #. type: Plain text
1409 #: archlinux debian-unstable fedora-44 fedora-rawhide
1410 #, no-wrap
1411 msgid "%{rep a 5}\n"
1412 msgstr "%{rep a 5}\n"
1413
1414 #. type: Plain text
1415 #: archlinux debian-unstable fedora-44 fedora-rawhide
1416 msgid "B<%{reverse:>I<STRING>B<}>"
1417 msgstr "B<%{reverse:>I<ZEICHENKETTE>B<}>"
1418
1419 #. type: Plain text
1420 #: archlinux debian-unstable fedora-44 fedora-rawhide
1421 msgid "Reverse a string.\\& (Added: 4.\\&19.\\&0)"
1422 msgstr "Kehrt eine Zeichenkette um. (Hinzugefügt: 4.19.0)"
1423
1424 #. type: Plain text
1425 #: archlinux debian-unstable fedora-44 fedora-rawhide
1426 #, no-wrap
1427 msgid "%{reverse:tac}\n"
1428 msgstr "%{reverse:tac}\n"
1429
1430 #. type: Plain text
1431 #: archlinux debian-unstable fedora-44 fedora-rawhide
1432 msgid "B<%{shescape:>I<STRING>B<}>"
1433 msgstr "B<%{shescape:>I<ZEICHENKETTE>B<}>"
1434
1435 #. type: Plain text
1436 #: archlinux debian-unstable fedora-44 fedora-rawhide
1437 msgid ""
1438 "Single quote I<STRING> with escapes for use in shell.\\& (Added: "
1439 "4.\\&18.\\&0)"
1440 msgstr ""
1441 "I<ZEICHENKETTE> in einfachen hochgestellten englischen Anführungszeichen mit "
1442 "Maskierungszeichen zur Verwendung in der Shell. (Hinzugefügt: 4.18.0)"
1443
1444 #. type: Plain text
1445 #: archlinux debian-unstable fedora-44 fedora-rawhide
1446 #, no-wrap
1447 msgid "%{shescape:foo\\&'s}\n"
1448 msgstr "%{shescape:foo\\&'s}\n"
1449
1450 #. type: Plain text
1451 #: archlinux debian-unstable fedora-44 fedora-rawhide
1452 msgid "B<%{shrink:>I<STRING>B<}>"
1453 msgstr "B<%{shrink:>I<ZEICHENKETTE>B<}>"
1454
1455 #. type: Plain text
1456 #: archlinux debian-unstable fedora-44 fedora-rawhide
1457 msgid ""
1458 "Trim leading and trailing whitespace from I<STRING>, reduce intermediate "
1459 "whitespace to a single space.\\& (Added: 4.\\&14.\\&0)"
1460 msgstr ""
1461 "Entfernt führenden und angehängten Leerraum von der I<ZEICHENKETTE> und "
1462 "reduziert dazwischenliegenden Leerraum auf ein einzelnes Leerzeichen. "
1463 "(Hinzugefügt: 4.14.0)"
1464
1465 #. type: Plain text
1466 #: archlinux debian-unstable fedora-44 fedora-rawhide
1467 #, no-wrap
1468 msgid "%{shrink:aa bb ccc }\n"
1469 msgstr "%{shrink:aa bb ccc }\n"
1470
1471 #. type: Plain text
1472 #: archlinux debian-unstable fedora-44 fedora-rawhide
1473 msgid "B<%{span:>I<STRING>B<}>"
1474 msgstr "B<%{span:>I<ZEICHENKETTE>B<}>"
1475
1476 #. type: Plain text
1477 #: archlinux debian-unstable fedora-44 fedora-rawhide
1478 msgid ""
1479 "As-is string, handy for wrapping multiline macros.\\& (Added: 6.\\&0.\\&0)"
1480 msgstr ""
1481 "Unveränderte Zeichenkette, praktisch zum Umschließen mehrzeiliger Makros. "
1482 "(Hinzugefügt: 6.0.0)"
1483
1484 #. type: Plain text
1485 #: archlinux debian-unstable fedora-44 fedora-rawhide
1486 #, no-wrap
1487 msgid ""
1488 "%{span:\n"
1489 "\t%one thing\n"
1490 "\t%another thing\n"
1491 "}\n"
1492 msgstr ""
1493 "%{span:\n"
1494 "\t%one thing\n"
1495 "\t%another thing\n"
1496 "}\n"
1497
1498 #. type: Plain text
1499 #: archlinux debian-unstable fedora-44 fedora-rawhide
1500 msgid "B<%{sub >I<STRING>, I<I>, [,I<J>]B<}>"
1501 msgstr "B<%{sub >I<ZEICHENKETTE>, I<I>, [,I<J>]B<}>"
1502
1503 # FIXME ie. → i.e.
1504 #. type: Plain text
1505 #: archlinux debian-unstable fedora-44 fedora-rawhide
1506 msgid ""
1507 "Expand to substring of I<STRING> that starts at B<I> and continues until "
1508 "B<J>.\\& B<I> and B<J> can be negative to index from the string'\\&s end.\\& "
1509 "If B<J> is absent, then it is assumed to be equal to B<-1> (ie.\\& string "
1510 "end).\\&"
1511 msgstr ""
1512 "Expandiert zu einer Teilzeichenkette der I<ZEICHENKETTE>, die bei B<I> "
1513 "beginnt und bis B<J> fortgesetzt wird. B<I> und B<J> können negativ sein, um "
1514 "vom Ende der Zeichenkette aus zu indizieren. Fehlt B<J>, wird angenommen, "
1515 "dass es gleich B<-1> ist (d.h. das Ende der Zeichenkette)."
1516
1517 #. type: Plain text
1518 #: archlinux debian-unstable fedora-44 fedora-rawhide
1519 #, no-wrap
1520 msgid "*%{sub myfile\\&.zip 3 6}*\n"
1521 msgstr "*%{sub meinedatei\\&.zip 3 6}*\n"
1522
1523 #. type: Plain text
1524 #: archlinux debian-unstable fedora-44 fedora-rawhide
1525 msgid "B<%{upper:>I<STRING>B<}>"
1526 msgstr "B<%{upper:>I<ZEICHENKETTE>B<}>"
1527
1528 #. type: Plain text
1529 #: archlinux debian-unstable fedora-44 fedora-rawhide
1530 msgid "Expand to uppercase I<STRING>.\\& (Added: 4.\\&19.\\&0)"
1531 msgstr ""
1532 "Expandiert zur I<ZEICHENKETTE> in Großschreibung. (Hinzugefügt: 4.19.0)"
1533
1534 #. type: Plain text
1535 #: archlinux debian-unstable fedora-44 fedora-rawhide
1536 #, no-wrap
1537 msgid "%{upper:CamelCase}\\&'\n"
1538 msgstr "%{upper:CamelCase}\\&'\n"
1539
1540 #. type: SS
1541 #: archlinux debian-unstable fedora-44 fedora-rawhide
1542 #, no-wrap
1543 msgid "File and path operations"
1544 msgstr "Datei- und Pfadaktionen"
1545
1546 #. type: Plain text
1547 #: archlinux debian-unstable fedora-44 fedora-rawhide
1548 msgid "B<%{basename:>I<PATH>B<}>"
1549 msgstr "B<%{basename:>I<PFAD>B<}>"
1550
1551 #. type: Plain text
1552 #: archlinux debian-unstable fedora-44 fedora-rawhide
1553 msgid "B<basename>(1) macro analogue.\\&"
1554 msgstr "Makro analog zu B<basename>(1)."
1555
1556 #. type: Plain text
1557 #: archlinux debian-unstable fedora-44 fedora-rawhide
1558 #, no-wrap
1559 msgid "%{basename:/some/dir/file\\&.suf}\n"
1560 msgstr "%{basename:/ein/verzeichnis/datei.endung}\n"
1561
1562 #. type: Plain text
1563 #: archlinux debian-unstable fedora-44 fedora-rawhide
1564 msgid "B<%{dirname:>I<PATH>B<}>"
1565 msgstr "B<%{dirname:>I<PFAD>B<}>"
1566
1567 #. type: Plain text
1568 #: archlinux debian-unstable fedora-44 fedora-rawhide
1569 msgid "B<dirname>(1) macro analogue.\\&"
1570 msgstr "Makro analog zu B<dirname>(1)."
1571
1572 #. type: Plain text
1573 #: archlinux debian-unstable fedora-44 fedora-rawhide
1574 #, no-wrap
1575 msgid "%{dirname:/some/dir/file\\&.suf}\n"
1576 msgstr "%{dirname:/ein/verzeichnis/datei.endung}\n"
1577
1578 #. type: Plain text
1579 #: archlinux debian-unstable fedora-44 fedora-rawhide
1580 msgid "B<%{exists:>I<PATH>B<}>"
1581 msgstr "B<%{exists:>I<PFAD>B<}>"
1582
1583 #. type: Plain text
1584 #: archlinux debian-unstable fedora-44 fedora-rawhide
1585 msgid "Test file existence, expands to 1/0.\\& (Added: 4.\\&18.\\&0)"
1586 msgstr ""
1587 "Testet das Vorhandensein einer Datei; expandiert zu 1/0. (Hinzugefügt: "
1588 "4.18.0)"
1589
1590 #. type: Plain text
1591 #: archlinux debian-unstable fedora-44 fedora-rawhide
1592 #, no-wrap
1593 msgid "%{exists:%{builddir}/myflag\\&.txt}\n"
1594 msgstr "%{exists:%{builddir}/meinschalter\\&.txt}\n"
1595
1596 #. type: Plain text
1597 #: archlinux debian-unstable fedora-44 fedora-rawhide
1598 msgid "B<%{suffix:>I<PATH>B<}>"
1599 msgstr "B<%{suffix:>I<PFAD>B<}>"
1600
1601 #. type: Plain text
1602 #: archlinux debian-unstable fedora-44 fedora-rawhide
1603 msgid "Expand to suffix part of a filename.\\&"
1604 msgstr "Expandiert zum Endungs-Teil eines Dateinamens."
1605
1606 #. type: Plain text
1607 #: archlinux debian-unstable fedora-44 fedora-rawhide
1608 #, no-wrap
1609 msgid "%{suffix:myfile\\&.zip}\n"
1610 msgstr "%{suffix:meinedatei\\&.zip}\n"
1611
1612 #. type: Plain text
1613 #: archlinux debian-unstable fedora-44 fedora-rawhide
1614 msgid "B<%{url2path:>I<URL>B<}>"
1615 msgstr "B<%{url2path:>I<URL>B<}>"
1616
1617 #. type: Plain text
1618 #: archlinux debian-unstable fedora-44 fedora-rawhide
1619 msgid "Convert url to a local path.\\&"
1620 msgstr "Wandelt eine URL in einen lokalen Pfad um."
1621
1622 #. type: Plain text
1623 #: archlinux debian-unstable fedora-44 fedora-rawhide
1624 #, no-wrap
1625 msgid "%{url2path:http://rpm\\&.org/not/there}\n"
1626 msgstr "%{url2path:http://rpm.org/nicht/dort}\n"
1627
1628 #. type: Plain text
1629 #: archlinux debian-unstable fedora-44 fedora-rawhide
1630 msgid "B<%{uncompress:>I<PATH>B<}>"
1631 msgstr "B<%{uncompress:>I<PFAD>B<}>"
1632
1633 #. type: Plain text
1634 #: archlinux debian-unstable fedora-44 fedora-rawhide
1635 msgid ""
1636 "Expand to a command for outputting argument I<PATH> to standard output, "
1637 "uncompressing as needed.\\&"
1638 msgstr ""
1639 "Expandiert zu einem Befehl zur Ausgabe des Arguments I<PFAD> in die "
1640 "Standardausgabe, wobei dekomprimiert wird, falls erforderlich."
1641
1642 #. type: Plain text
1643 #: archlinux debian-unstable fedora-44 fedora-rawhide
1644 #, no-wrap
1645 msgid "%{uncompress /my/source\\&.tar\\&.gz}\n"
1646 msgstr "%{uncompress /meine/quelldatei.tar.gz}\n"
1647
1648 #. type: Plain text
1649 #: archlinux debian-unstable fedora-44 fedora-rawhide
1650 msgid "B<%{xdg:>I<KIND>B<}>"
1651 msgstr "B<%{xdg:>I<ART>B<}>"
1652
1653 #. type: Plain text
1654 #: archlinux debian-unstable fedora-44 fedora-rawhide
1655 msgid ""
1656 "Expand to XDG base directory paths.\\& Supported values for I<KIND> are:"
1657 msgstr ""
1658 "Expandiert zu den Basisverzeichnispfaden des XDG-Standards. Folgende Werte "
1659 "werden für I<ART> unterstützt:"
1660
1661 #. type: Plain text
1662 #: archlinux debian-unstable fedora-44 fedora-rawhide
1663 msgid "B<cache>: user-specific non-essential (cached) data"
1664 msgstr ""
1665 "B<cache>: benutzerspezifische nicht wesentliche (zwischengespeicherte) Daten"
1666
1667 #. type: Plain text
1668 #: archlinux debian-unstable fedora-44 fedora-rawhide
1669 msgid "B<config>: user-specific configuration files"
1670 msgstr "B<config>: benutzerspezifische Konfigurationsdateien"
1671
1672 #. type: Plain text
1673 #: archlinux debian-unstable fedora-44 fedora-rawhide
1674 msgid "B<data>: user-specific data files"
1675 msgstr "B<data>: benutzerspezifische Datendateien"
1676
1677 #. type: Plain text
1678 #: archlinux debian-unstable fedora-44 fedora-rawhide
1679 msgid "B<state>: user-specific state data"
1680 msgstr "B<state>: benutzerspezifische Statusdateien"
1681
1682 #. type: Plain text
1683 #: archlinux debian-unstable fedora-44 fedora-rawhide
1684 msgid "Added: 6.\\&0.\\&0"
1685 msgstr "Hinzugefügt: 6.0.0"
1686
1687 #. type: Plain text
1688 #: archlinux debian-unstable fedora-44 fedora-rawhide
1689 #, no-wrap
1690 msgid "%{xdg config}\n"
1691 msgstr "%{xdg config}\n"
1692
1693 #. type: SS
1694 #: archlinux debian-unstable fedora-44 fedora-rawhide
1695 #, no-wrap
1696 msgid "Environment info"
1697 msgstr "Infos zur Umgebung"
1698
1699 #. type: Plain text
1700 #: archlinux debian-unstable fedora-44 fedora-rawhide
1701 msgid "B<%getncpus>"
1702 msgstr "B<%getncpus>"
1703
1704 #. type: Plain text
1705 #: archlinux debian-unstable fedora-44 fedora-rawhide
1706 msgid "Expand to the number of available CPUs.\\& (Added: 4.\\&15.\\&0)"
1707 msgstr "Expandiert zu der Anzahl der verfügbaren CPUs. (Hinzugefügt: 4.15.0)"
1708
1709 #. type: Plain text
1710 #: archlinux debian-unstable fedora-44 fedora-rawhide
1711 msgid "B<%{getncpus:>I<KIND>B<}>"
1712 msgstr "B<%{getncpus:>I<ART>B<}>"
1713
1714 # FIXME valued → values
1715 #. type: Plain text
1716 #: archlinux debian-unstable fedora-44 fedora-rawhide
1717 msgid ""
1718 "Expand to the number of available CPUs, supported valued for I<KIND> are"
1719 msgstr ""
1720 "Expandiert zu der Anzahl der verfügbaren CPUs. Für I<ART> werden folgende "
1721 "Werte unterstützt:"
1722
1723 #. type: Plain text
1724 #: archlinux debian-unstable fedora-44 fedora-rawhide
1725 msgid "B<total>: total number of available CPUs (same as B<%getncpus>)"
1726 msgstr ""
1727 "B<total>: Gesamtanzahl der verfügbaren CPUs (gleichbedeutend mit "
1728 "B<%getncpus>)"
1729
1730 #. type: Plain text
1731 #: archlinux debian-unstable fedora-44 fedora-rawhide
1732 msgid "B<proc>: number of available CPUs for processes"
1733 msgstr "B<proc>: Anzahl der für Prozesse verfügbaren CPUs"
1734
1735 #. type: Plain text
1736 #: archlinux debian-unstable fedora-44 fedora-rawhide
1737 msgid "B<thread>: number of available CPUs for threads"
1738 msgstr "B<thread>: Anzahl der für Threads verfügbaren CPUs"
1739
1740 #. type: Plain text
1741 #: archlinux debian-unstable fedora-44 fedora-rawhide
1742 msgid ""
1743 "B<proc> and B<thread> account for available memory, including address space "
1744 "limitations for threads.\\&"
1745 msgstr ""
1746 "B<proc> und B<thread> berücksichtigen den verfügbaren Speicher, "
1747 "einschließlich Adressraumbeschränkungen für Threads."
1748
1749 #. type: Plain text
1750 #: archlinux debian-unstable fedora-44 fedora-rawhide
1751 msgid "Added: 4.\\&19.\\&0.\\&"
1752 msgstr "Hinzugefügt: 4.19.0."
1753
1754 #. type: Plain text
1755 #: archlinux debian-unstable fedora-44 fedora-rawhide
1756 #, no-wrap
1757 msgid "%{getncpus proc}\n"
1758 msgstr "%{getncpus proc}\n"
1759
1760 #. type: Plain text
1761 #: archlinux debian-unstable fedora-44 fedora-rawhide
1762 msgid "B<%getconfdir>"
1763 msgstr "B<%getconfdir>"
1764
1765 # FIXME /usr/lib/rpm → I</usr/lib/rpm>
1766 #. type: Plain text
1767 #: archlinux debian-unstable fedora-44 fedora-rawhide
1768 msgid "Expand to RPM \"home\" directory (typically /usr/lib/rpm).\\&"
1769 msgstr ""
1770 "Expandiert zum »Home«-Verzeichnis von RPM (typischerweise I</usr/lib/rpm>)."
1771
1772 #. type: Plain text
1773 #: archlinux debian-unstable fedora-44 fedora-rawhide
1774 msgid "B<%{getenv:>I<NAME>B<}>"
1775 msgstr "B<%{getenv:>I<NAME>B<}>"
1776
1777 #. type: Plain text
1778 #: archlinux debian-unstable fedora-44 fedora-rawhide
1779 msgid "B<getenv>(3) macro analogue.\\&"
1780 msgstr "Makro analog zu B<getenv>(3)."
1781
1782 #. type: Plain text
1783 #: archlinux debian-unstable fedora-44 fedora-rawhide
1784 #, no-wrap
1785 msgid "%{getenv:HOME}\n"
1786 msgstr "%{getenv:HOME}\n"
1787
1788 #. type: Plain text
1789 #: archlinux debian-unstable fedora-44 fedora-rawhide
1790 msgid "B<%rpmversion>"
1791 msgstr "B<%rpmversion>"
1792
1793 #. type: Plain text
1794 #: archlinux debian-unstable fedora-44 fedora-rawhide
1795 msgid "Expand to running RPM version.\\&"
1796 msgstr "Wird zu der laufenden RPM-Version expandiert."
1797
1798 #. type: SS
1799 #: archlinux debian-unstable fedora-44 fedora-rawhide
1800 #, no-wrap
1801 msgid "Output"
1802 msgstr "Ausgabe"
1803
1804 #. type: Plain text
1805 #: archlinux debian-unstable fedora-44 fedora-rawhide
1806 msgid "B<%{echo:>I<STRING>B<}>"
1807 msgstr "B<%{echo:>I<ZEICHENKETTE>B<}>"
1808
1809 #. type: Plain text
1810 #: archlinux debian-unstable fedora-44 fedora-rawhide
1811 msgid "Print I<STRING> to process standard output.\\&"
1812 msgstr "Schreibt die I<ZEICHENKETTE> in die Standardausgabe des Prozesses."
1813
1814 #. type: Plain text
1815 #: archlinux debian-unstable fedora-44 fedora-rawhide
1816 #, no-wrap
1817 msgid "%{echo:Building with foo}\n"
1818 msgstr "%{echo:Building with foo}\n"
1819
1820 #. type: Plain text
1821 #: archlinux debian-unstable fedora-44 fedora-rawhide
1822 msgid "B<%{warn:>I<STRING>B<}>"
1823 msgstr "B<%{warn:>I<ZEICHENKETTE>B<}>"
1824
1825 #. type: Plain text
1826 #: archlinux debian-unstable fedora-44 fedora-rawhide
1827 msgid ""
1828 "Print I<STRING> prefixed with \"warning: \" to process standard error.\\&"
1829 msgstr ""
1830 "Schreibt die I<ZEICHENKETTE> in die Standardfehlerausgabe des Prozesses und "
1831 "stellt »warning: « voran."
1832
1833 #. type: Plain text
1834 #: archlinux debian-unstable fedora-44 fedora-rawhide
1835 #, no-wrap
1836 msgid "%{warning:Foo is deprecated}\n"
1837 msgstr "%{warning:Foo is deprecated}\n"
1838
1839 #. type: Plain text
1840 #: archlinux debian-unstable fedora-44 fedora-rawhide
1841 msgid "B<%{error:>I<STRING>B<}>"
1842 msgstr "B<%{error:>I<ZEICHENKETTE>B<}>"
1843
1844 #. type: Plain text
1845 #: archlinux debian-unstable fedora-44 fedora-rawhide
1846 msgid ""
1847 "Print I<STRING> prefixed with \"error: \" to process standard error and flag "
1848 "an error in the macro processor.\\&"
1849 msgstr ""
1850 "Schreibt die I<ZEICHENKETTE> in die Standardfehlerausgabe des Prozesses und "
1851 "stellt »error: « voran und löst einen Fehler im Makroprozessor aus."
1852
1853 #. type: Plain text
1854 #: archlinux debian-unstable fedora-44 fedora-rawhide
1855 #, no-wrap
1856 msgid "%{error:Invalid argument}\n"
1857 msgstr "%{error:Invalid argument}\n"
1858
1859 #. type: Plain text
1860 #: archlinux debian-unstable fedora-44 fedora-rawhide
1861 msgid "B<%verbose>"
1862 msgstr "B<%verbose>"
1863
1864 #. type: Plain text
1865 #: archlinux debian-unstable fedora-44 fedora-rawhide
1866 msgid ""
1867 "Expand to 1/0 whether RPM is in verbose mode or not.\\& (Added: 4.\\&17.\\&1)"
1868 msgstr ""
1869 "Expandiert zu 1/0, je nachdem, ob RPM im ausführlichen Modus ausgeführt wird "
1870 "oder nicht. (Hinzugefügt: 4.17.1)"
1871
1872 #. type: Plain text
1873 #: archlinux debian-unstable fedora-44 fedora-rawhide
1874 msgid "B<%{verbose:>I<STRING>B<}>"
1875 msgstr "B<%{verbose:>I<ZEICHENKETTE>B<}>"
1876
1877 #. type: Plain text
1878 #: archlinux debian-unstable fedora-44 fedora-rawhide
1879 msgid ""
1880 "Expand to I<STRING> if RPM is in verbose mode, the empty string if not.\\& "
1881 "(Added: 4.\\&17.\\&1)"
1882 msgstr ""
1883 "Expandiert zur I<ZEICHENKETTE>, falls RPM im ausführlichen Modus ausgeführt "
1884 "wird, und gibt eine leere Zeichenkette aus, falls nicht. (Hinzugefügt: "
1885 "4.17.1)"
1886
1887 #. type: Plain text
1888 #: archlinux debian-unstable fedora-44 fedora-rawhide
1889 #, no-wrap
1890 msgid "%{verbose:-x}\n"
1891 msgstr "%{verbose:-x}\n"
1892
1893 #. type: SS
1894 #: archlinux debian-unstable fedora-44 fedora-rawhide
1895 #, no-wrap
1896 msgid "Spec specific macros"
1897 msgstr "Spec-spezifische Makros"
1898
1899 #. type: Plain text
1900 #: archlinux debian-unstable fedora-44 fedora-rawhide
1901 msgid "B<%{S:>I<NUMBER>B<}>"
1902 msgstr "B<%{S:>I<NUMMER>B<}>"
1903
1904 #. type: Plain text
1905 #: archlinux debian-unstable fedora-44 fedora-rawhide
1906 msgid ""
1907 "Expand to the filename of the specified Source I<NUMBER>.\\& B<%{S:n}> is "
1908 "equivalent to B<%{SOURCEn}>.\\&"
1909 msgstr ""
1910 "Expandiert zum Dateinamen der angegebenen Quelle (»Source*«) I<NUMMER>. B<%"
1911 "{S:n}> ist gleichbedeutend mit B<%{SOURCEn}>."
1912
1913 #. type: Plain text
1914 #: archlinux debian-unstable fedora-44 fedora-rawhide
1915 msgid "B<%{P:>I<NUMBER>B<}>"
1916 msgstr "B<%{P:>I<NUMMER>B<}>"
1917
1918 #. type: Plain text
1919 #: archlinux debian-unstable fedora-44 fedora-rawhide
1920 msgid ""
1921 "Expand to the filename of the specified Patch I<NUMBER>.\\& B<%{P:n}> is "
1922 "equivalent to B<%{PATCHn}>.\\&"
1923 msgstr ""
1924 "Expandiert zum Dateinamen des angegebenen Patches (»Patch*«) I<NUMMER>. B<%"
1925 "{P:n}> ist gleichbedeutend mit B<%{PATCHn}>."
1926
1927 #. type: SS
1928 #: archlinux debian-unstable fedora-44 fedora-rawhide
1929 #, no-wrap
1930 msgid "Diagnostics"
1931 msgstr "Diagnostik"
1932
1933 #. type: Plain text
1934 #: archlinux debian-unstable fedora-44 fedora-rawhide
1935 msgid "B<%trace>"
1936 msgstr "B<%trace>"
1937
1938 #. type: Plain text
1939 #: archlinux debian-unstable fedora-44 fedora-rawhide
1940 msgid "Toggle print of debugging information before/after expansion.\\&"
1941 msgstr ""
1942 "Schaltet die Ausgabe von Debugging-Informationen vor bzw. nach der Expansion "
1943 "um."
1944
1945 #. type: Plain text
1946 #: archlinux debian-unstable fedora-44 fedora-rawhide
1947 msgid "B<%dump>"
1948 msgstr "B<%dump>"
1949
1950 #. type: Plain text
1951 #: archlinux debian-unstable fedora-44 fedora-rawhide
1952 msgid "Print the active (i.\\&e.\\& non-covered) macro table.\\&"
1953 msgstr "Gibt die aktive (das heißt, nicht überdeckte) Makrotabelle aus."
1954
1955 #. type: Plain text
1956 #: archlinux debian-unstable fedora-44 fedora-rawhide
1957 msgid "B<%__file_name>"
1958 msgstr "B<%__file_name>"
1959
1960 #. type: Plain text
1961 #: archlinux debian-unstable fedora-44 fedora-rawhide
1962 msgid "Expand to current filename (if parsing a file).\\& (Added: 4.\\&15)"
1963 msgstr ""
1964 "Wird zum aktuellen Dateinamen expandiert (falls eine Datei ausgewertet "
1965 "wird). (Hinzugefügt: 4.15)"
1966
1967 #. type: Plain text
1968 #: archlinux debian-unstable fedora-44 fedora-rawhide
1969 msgid "B<%__file_lineno>"
1970 msgstr "B<%__file_lineno>"
1971
1972 #. type: Plain text
1973 #: archlinux debian-unstable fedora-44 fedora-rawhide
1974 msgid ""
1975 "Expand to current line number in current file (if parsing a file).\\& "
1976 "(Added: 4.\\&15)"
1977 msgstr ""
1978 "Wird zur aktuellen Zeilennummer in der aktuellen Datei expandiert (falls "
1979 "eine Datei ausgewertet wird). Hinzugefügt: 4.15."
1980
1981 #. type: SH
1982 #: archlinux debian-unstable fedora-44 fedora-rawhide
1983 #, no-wrap
1984 msgid "EXAMPLES"
1985 msgstr "BEISPIELE"
1986
1987 #. type: SS
1988 #: archlinux debian-unstable fedora-44 fedora-rawhide
1989 #, no-wrap
1990 msgid "Example 1. Define a simple macro"
1991 msgstr "Beispiel 1: Definieren eines einfachen Makros"
1992
1993 #. type: Plain text
1994 #: archlinux debian-unstable fedora-44 fedora-rawhide
1995 msgid ""
1996 "Define macro B<mylib> to a path relative to B<%{_libdir}> macro in a spec:"
1997 msgstr ""
1998 "Das Makro B<mylib> in einer Spec-Datei auf einen Pfad relativ zum B<%"
1999 "{_libdir}>-Makro setzen:"
2000
2001 #. type: Plain text
2002 #: archlinux debian-unstable fedora-44 fedora-rawhide
2003 #, no-wrap
2004 msgid "%define mylib %{_libdir}/mine\n"
2005 msgstr "%define mylib %{_libdir}/mein\n"
2006
2007 #. type: SS
2008 #: archlinux debian-unstable fedora-44 fedora-rawhide
2009 #, no-wrap
2010 msgid "Example 2. Define a parametric macro"
2011 msgstr "Beispiel 2: Ein parametrisches Makro definieren"
2012
2013 #. type: Plain text
2014 #: archlinux debian-unstable fedora-44 fedora-rawhide
2015 msgid ""
2016 "Define parametric macro B<myhelper> which executes the program specified by "
2017 "B<%myprog> with it'\\&s first argument and always passing the option B<--"
2018 "some-opt> to it, and additionally the B<--xtra> option if it received the B<-"
2019 "x> option itself:"
2020 msgstr ""
2021 "Das parametrische Makro B<myhelper> definieren, das das durch B<%myprog> "
2022 "angegebene Programm mit seinem ersten Argument ausführt und ihm immer die "
2023 "Option B<--some-opt> übergibt, sowie zusätzlich die Option B<--xtra>, wenn "
2024 "es selbst die Option B<-x> erhalten hat:"
2025
2026 #. type: Plain text
2027 #: archlinux debian-unstable fedora-44 fedora-rawhide
2028 #, no-wrap
2029 msgid "%define myhelper(x) %{myprog} --some-opt %{?-x:--xtra} %{1}\n"
2030 msgstr "%define myhelper(x) %{myprog} --some-opt %{?-x:--xtra} %{1}\n"
2031
2032 #. type: SS
2033 #: archlinux debian-unstable fedora-44 fedora-rawhide
2034 #, no-wrap
2035 msgid "Example 3. Define a macro utilizing shell expansion"
2036 msgstr "Beispiel 3: Ein Makro mittels Shell-Expansion definieren"
2037
2038 #. type: Plain text
2039 #: archlinux debian-unstable fedora-44 fedora-rawhide
2040 msgid ""
2041 "Define macro B<%today> that expands to the current date in I<YYMMDD> format "
2042 "by calling the B<date>(1) shell utility.\\& Note the 2nd B<%> needed to "
2043 "escape the arguments to B<date>(1):"
2044 msgstr ""
2045 "Definieren des Makros B<%today>, das mithilfe des Shell-Dienstprogramms "
2046 "B<date>(1) zum aktuellen Datum im Format I<JJMMTT> expandiert. Beachten Sie "
2047 "das zweite B<%>, das zum Maskieren der Argumente für B<date>(1) benötigt "
2048 "wird:"
2049
2050 #. type: Plain text
2051 #: archlinux debian-unstable fedora-44 fedora-rawhide
2052 #, no-wrap
2053 msgid "%define today %(date +%%y%%m%%d)\n"
2054 msgstr "%define today %(date +%%y%%m%%d)\n"
2055
2056 #. type: SS
2057 #: archlinux debian-unstable fedora-44 fedora-rawhide
2058 #, no-wrap
2059 msgid "Example 4. Define a macro conditionally"
2060 msgstr "Beispiel 4: Ein bedingtes Makro definieren"
2061
2062 #. type: Plain text
2063 #: archlinux debian-unstable fedora-44 fedora-rawhide
2064 msgid "Define macro B<mypath> if it wasn'\\&t previously defined:"
2065 msgstr ""
2066 "Das Makro B<mypath> definieren, sofern es nicht bereits zuvor definiert "
2067 "wurde:"
2068
2069 #. type: Plain text
2070 #: archlinux debian-unstable fedora-44 fedora-rawhide
2071 #, no-wrap
2072 msgid "%{!?mypath: %define mypath /some/where}\n"
2073 msgstr "%{!?mypath: %define mypath /ir/gend/wo}\n"
2074
2075 #. type: SS
2076 #: archlinux debian-unstable fedora-44 fedora-rawhide
2077 #, no-wrap
2078 msgid "Example 5. Conditional expansion"
2079 msgstr "Beispiel 5: Bedingte Expansion"
2080
2081 #. type: Plain text
2082 #: archlinux debian-unstable fedora-44 fedora-rawhide
2083 msgid "Expands to B<1> if B<use_foo> is defined and B<0> otherwise:"
2084 msgstr ""
2085 "Expandiert zu B<1>, falls B<use_foo> definiert ist, anderenfalls zu B<0>:"
2086
2087 #. type: Plain text
2088 #: archlinux debian-unstable fedora-44 fedora-rawhide
2089 #, no-wrap
2090 msgid "%{?use_foo:1}%{!?use_foo:0}\n"
2091 msgstr "%{?use_foo:1}%{!?use_foo:0}\n"
2092
2093 #. type: SS
2094 #: archlinux debian-unstable fedora-44 fedora-rawhide
2095 #, no-wrap
2096 msgid "Example 6. Expressions"
2097 msgstr "Beispiel 6 – Ausdrücke"
2098
2099 #. type: Plain text
2100 #: archlinux debian-unstable fedora-44 fedora-rawhide
2101 msgid "Calculate 5 * 1024:"
2102 msgstr "5 * 1024 berechnen:"
2103
2104 #. type: Plain text
2105 #: archlinux debian-unstable fedora-44 fedora-rawhide
2106 #, no-wrap
2107 msgid "%[5 * 1024]\n"
2108 msgstr "%[5 * 1024]\n"
2109
2110 #. type: Plain text
2111 #: archlinux debian-unstable fedora-44 fedora-rawhide
2112 msgid "Expand to literal B<true> or B<false> depending on a condition:"
2113 msgstr ""
2114 "Zu wörtlichem B<true> oder B<false> expandieren, abhängig von einer "
2115 "Bedingung:"
2116
2117 #. type: Plain text
2118 #: archlinux debian-unstable fedora-44 fedora-rawhide
2119 #, no-wrap
2120 msgid "%[1 E<lt> 2 ? \"true\" : \"false\"]\n"
2121 msgstr "%[1 E<lt> 2 ? \"true\" : \"false\"]\n"
2122
2123 #. type: Plain text
2124 #: archlinux debian-unstable fedora-44 fedora-rawhide
2125 msgid "Compare versions, expanding to B<1> or B<0> on true/false:"
2126 msgstr "Versionen vergleichen; zu B<1> (wahr) oder B<0> (falsch) expandieren:"
2127
2128 #. type: Plain text
2129 #: archlinux debian-unstable fedora-44 fedora-rawhide
2130 #, no-wrap
2131 msgid "%[ v\"3\\&.1\\&.0-1\" E<lt> v\"1\\&.0~alpha-2\" ? 1 : 0]\n"
2132 msgstr "%[ v\"3\\&.1\\&.0-1\" E<lt> v\"1\\&.0~alpha-2\" ? 1 : 0]\n"
2133
2134 #. type: Plain text
2135 #: archlinux debian-unstable fedora-44 fedora-rawhide
2136 msgid "Expands to B<1> if B<%aa> expands to B<5>, otherwise expands to B<2>:"
2137 msgstr ""
2138 "Zu B<1> expandieren, falls B<%aa> zu B<5> expandiert, anderenfalls zu B<2> "
2139 "expandieren:"
2140
2141 #. type: Plain text
2142 #: archlinux debian-unstable fedora-44 fedora-rawhide
2143 #, no-wrap
2144 msgid "%[ \"%{aa}\" == \"5\" ? 1 : 2]\n"
2145 msgstr "%[ \"%{aa}\" == \"5\" ? 1 : 2]\n"
2146
2147 #. type: SH
2148 #: archlinux debian-unstable fedora-44 fedora-rawhide
2149 #, no-wrap
2150 msgid "DEBUGGING"
2151 msgstr "DEBUGGING"
2152
2153 #. type: Plain text
2154 #: archlinux debian-unstable fedora-44 fedora-rawhide
2155 msgid "Some useful tools for working with and troubleshooting macros:"
2156 msgstr ""
2157 "Einige nützliche Werkzeuge zum Arbeiten mit Makros und zur Fehlerbehebung:"
2158
2159 #. type: Plain text
2160 #: archlinux debian-unstable fedora-44 fedora-rawhide
2161 msgid "B<rpm --eval \">I<VALUE>B<\">"
2162 msgstr "B<rpm --eval \">I<WERT>B<\">"
2163
2164 #. type: Plain text
2165 #: archlinux debian-unstable fedora-44 fedora-rawhide
2166 msgid "Expand I<VALUE> on the command line.\\&"
2167 msgstr "Expandiert den angegebenen I<WERT> in der Befehlszeile."
2168
2169 #. type: Plain text
2170 #: archlinux debian-unstable fedora-44 fedora-rawhide
2171 msgid "B<rpm --define \"aa 11\" --eval \"%aa\">"
2172 msgstr "B<rpm --define \"aa 11\" --eval \"%aa\">"
2173
2174 #. type: Plain text
2175 #: archlinux debian-unstable fedora-44 fedora-rawhide
2176 msgid "Define and evaluate a macro on the command line.\\&"
2177 msgstr "Definiert und berechnet ein Makro in der Befehlszeile."
2178
2179 #. type: Plain text
2180 #: archlinux debian-unstable fedora-44 fedora-rawhide
2181 msgid ""
2182 "B<rpm --eval \"%global unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2183 msgstr ""
2184 "B<rpm --eval \"%global unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2185
2186 #. type: Plain text
2187 #: archlinux debian-unstable fedora-44 fedora-rawhide
2188 msgid "Define and examine macro body using B<%global> on the command line.\\&"
2189 msgstr ""
2190 "Definiert und untersucht den Makro-Textkörper mit B<%global> in der "
2191 "Befehlszeile."
2192
2193 #. type: Plain text
2194 #: archlinux debian-unstable fedora-44 fedora-rawhide
2195 msgid ""
2196 "B<rpm --eval \"%define unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2197 msgstr ""
2198 "B<rpm --eval \"%define unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2199
2200 #. type: Plain text
2201 #: archlinux debian-unstable fedora-44 fedora-rawhide
2202 msgid "Define and examine macro body using B<%define> on the command line.\\&"
2203 msgstr ""
2204 "Definiert und untersucht den Makro-Textkörper mit B<%define> in der "
2205 "Befehlszeile."
2206
2207 #. type: Plain text
2208 #: archlinux debian-unstable fedora-44 fedora-rawhide
2209 msgid "B<rpmlua>"
2210 msgstr "B<rpmlua>"
2211
2212 #. type: Plain text
2213 #: archlinux debian-unstable fedora-44 fedora-rawhide
2214 msgid "Run an interactive shell in the embedded Lua environment.\\&"
2215 msgstr "Führt eine interaktive Shell in der eingebetteten Lua-Umgebung aus."
2216
2217 #. type: Plain text
2218 #: archlinux debian-unstable fedora-44 fedora-rawhide
2219 msgid "B<rpmlua -e '\\&print(macros.\\&defined(\"_libdir\"))'\\&>"
2220 msgstr "B<rpmlua -e '\\&print(macros.\\&defined(\"_libdir\"))'\\&>"
2221
2222 # FIXME print print → print
2223 #. type: Plain text
2224 #: archlinux debian-unstable fedora-44 fedora-rawhide
2225 msgid ""
2226 "Using the embedded Lua interpreter in standalone form, print print 1/0 "
2227 "whether macro B<_libdir> is defined or not.\\&"
2228 msgstr ""
2229 "Mit dem eingebetteten eigenständigen Lua-Interpreter wird »1/0« ausgegeben, "
2230 "abhängig davon, ob das Makro B<_libdir> definiert ist oder nicht."
2231
2232 #. type: Plain text
2233 #: archlinux debian-unstable fedora-44 fedora-rawhide
2234 msgid "B<rpmspec --shell>"
2235 msgstr "B<rpmspec --shell>"
2236
2237 #. type: Plain text
2238 #: archlinux debian-unstable fedora-44 fedora-rawhide
2239 msgid "Run an interactive shell in the macro environment.\\&"
2240 msgstr "Eine interaktive Shell in der Makro-Umgebung ausführen."
2241
2242 #. type: Plain text
2243 #: archlinux debian-unstable fedora-44 fedora-rawhide
2244 msgid "B<rpmspec --shell telnet.\\&spec>"
2245 msgstr "B<rpmspec --shell telnet.spec>"
2246
2247 #. type: Plain text
2248 #: archlinux debian-unstable fedora-44 fedora-rawhide
2249 msgid ""
2250 "Run an interactive shell in the macro environment after parsing B<telnet."
2251 "\\&spec>.\\&"
2252 msgstr ""
2253 "Nach dem Auswerten von B<telnet.spec> eine interaktive Shell in der "
2254 "Makroumgebung ausführen."
2255
2256 #. type: SH
2257 #: archlinux debian-unstable fedora-44 fedora-rawhide
2258 #, no-wrap
2259 msgid "SEE ALSO"
2260 msgstr "SIEHE AUCH"
2261
2262 # FIXME comma after each entry
2263 #. type: Plain text
2264 #: archlinux debian-unstable fedora-44 fedora-rawhide
2265 msgid ""
2266 "B<rpm>(8) B<rpm-common>(8) B<rpm-macrofile>(5) B<rpm-config>(5) B<rpm-"
2267 "lua>(7) B<rpmspec>(1) B<rpmlua>(1)"
2268 msgstr ""
2269 "B<rpm>(8), B<rpm-common>(8), B<rpm-macrofile>(5), B<rpm-config>(5), B<rpm-"
2270 "lua>(7), B<rpmspec>(1), B<rpmlua>(1)"
2271
2272 #. type: TH
2273 #: debian-unstable
2274 #, no-wrap
2275 msgid "2026-04-10"
2276 msgstr "10. April 2026"
2277
2278 #. type: TH
2279 #: fedora-44
2280 #, no-wrap
2281 msgid "2026-01-17"
2282 msgstr "17. Januar 2026"
2283
2284 #. type: TH
2285 #: fedora-rawhide
2286 #, no-wrap
2287 msgid "2026-02-16"
2288 msgstr "16. Februar 2026"