Debian Codegraph @

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

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.28.0\n"
8 "POT-Creation-Date: 2026-05-01 04:44+0200\n"
9 "PO-Revision-Date: 2026-01-13 17:15+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. type: TH
21 #: archlinux debian-unstable fedora-44 fedora-rawhide
22 #, no-wrap
23 msgid "RPM-MACROS"
24 msgstr "RPM-MACROS"
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "2026-03-06"
30 msgstr "6 martie 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable fedora-44 fedora-rawhide
34 #, no-wrap
35 msgid "RPM 6.0.1"
36 msgstr "RPM 6.0.1"
37
38 #. type: SH
39 #: archlinux debian-unstable fedora-44 fedora-rawhide
40 #, no-wrap
41 msgid "NAME"
42 msgstr "NUME"
43
44 #. type: Plain text
45 #: archlinux debian-unstable fedora-44 fedora-rawhide
46 msgid "rpm-macros - RPM macro processor"
47 msgstr "rpm-macros - procesor macrocomenzi RPM"
48
49 #. type: SH
50 #: archlinux debian-unstable fedora-44 fedora-rawhide
51 #, no-wrap
52 msgid "SYNOPSIS"
53 msgstr "SINOPSIS"
54
55 #. type: SS
56 #: archlinux debian-unstable fedora-44 fedora-rawhide
57 #, no-wrap
58 msgid "Defining"
59 msgstr "Definirea"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide
63 msgid "B<%>I<NAME> I<BODY>"
64 msgstr "B<%>I<NUME> I<CORP>"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide
68 msgid "B<%>I<NAME>B<(>[I<OPTIONS>]B<)> I<BODY>"
69 msgstr "B<%>I<NUME>B<(>[I<OPȚIUNI>]B<)> I<CORP>"
70
71 #. type: SS
72 #: archlinux debian-unstable fedora-44 fedora-rawhide
73 #, no-wrap
74 msgid "Expanding"
75 msgstr "Expandarea"
76
77 #. type: Plain text
78 #: archlinux debian-unstable fedora-44 fedora-rawhide
79 msgid "B<%>I<NAME>"
80 msgstr "B<%>I<NUME>"
81
82 #. type: Plain text
83 #: archlinux debian-unstable fedora-44 fedora-rawhide
84 msgid "B<%>I<NAME> [I<OPTIONS>] [I<ARGUMENTS>]"
85 msgstr "B<%>I<NUME> [I<OPȚIUNI>] [I<ARGUMENTE>]"
86
87 #. type: Plain text
88 #: archlinux debian-unstable fedora-44 fedora-rawhide
89 msgid "B<%{>I<NAME>B<}>"
90 msgstr "B<%{>I<NUME>B<}>"
91
92 #. type: Plain text
93 #: archlinux debian-unstable fedora-44 fedora-rawhide
94 msgid "B<%{>I<NAME> [I<OPTIONS>] I<ARGUMENTS>B<}>"
95 msgstr "B<%{>I<NUME> [I<OPȚIUNI>] I<ARGUMENTE>B<}>"
96
97 #. type: Plain text
98 #: archlinux debian-unstable fedora-44 fedora-rawhide
99 msgid "B<%{>I<NAME>B<:>I<ARGUMENT>B<}>"
100 msgstr "B<%{>I<NUME>B<:>I<ARGUMENT>B<}>"
101
102 #. type: Plain text
103 #: archlinux debian-unstable fedora-44 fedora-rawhide
104 msgid "B<%{?\\&>I<NAME>B<}>"
105 msgstr "B<%{?\\&>I<NUME>B<}>"
106
107 #. type: Plain text
108 #: archlinux debian-unstable fedora-44 fedora-rawhide
109 msgid "B<%{?\\&>I<NAME>B<:>I<VALUE-IF-DEFINED>B<}>"
110 msgstr "B<%{?\\&>I<NUME>B<:>I<VALOARE-DACĂ-DEFINITĂ>B<}>"
111
112 #. type: Plain text
113 #: archlinux debian-unstable fedora-44 fedora-rawhide
114 msgid "B<%{!\\&?\\&>I<NAME>B<:>I<VALUE-IF-NOT-DEFINED>B<}>"
115 msgstr "B<%{!\\&?\\&>I<NUME>B<:>I<VALOARE-DACĂ-NU_ ESTE-DEFINITĂ>B<}>"
116
117 #. type: Plain text
118 #: archlinux debian-unstable fedora-44 fedora-rawhide
119 msgid "B<%(>I<SHELL-COMMAND>B<)>"
120 msgstr "B<%(>I<COMANDĂ-SHELL>B<)>"
121
122 #. type: Plain text
123 #: archlinux debian-unstable fedora-44 fedora-rawhide
124 msgid "B<%[>I<EXPRESSION>B<]>"
125 msgstr "B<%[>I<EXPRESIE>B<]>"
126
127 #. type: Plain text
128 #: archlinux debian-unstable fedora-44 fedora-rawhide
129 msgid "B<%[>I<EXPRESSION> B<?\\&> I<VALUE-IF-TRUE> B<:> I<VALUE-IF-FALSE>B<]>"
130 msgstr ""
131 "B<%[>I<EXPRESIE> B<?\\&> I<VALOARE-DACĂ-ADEVĂRAT> B<:> I<VALOARE-DACĂ-"
132 "FALS>B<]>"
133
134 #. type: Plain text
135 #: archlinux debian-unstable fedora-44 fedora-rawhide
136 msgid "B<%{lua:>I<LUA-CODE>B<}>"
137 msgstr "B<%{lua:>I<COD-LUA>B<}>"
138
139 #. type: SH
140 #: archlinux debian-unstable fedora-44 fedora-rawhide
141 #, no-wrap
142 msgid "DESCRIPTION"
143 msgstr "DESCRIERE"
144
145 #. type: Plain text
146 #: archlinux debian-unstable fedora-44 fedora-rawhide
147 msgid ""
148 "RPM has a powerful built-in macro processor.\\& The primary uses of macros "
149 "are configuration and other utility functions for RPM itself, and as a "
150 "packaging aid in spec files.\\&"
151 msgstr ""
152 "RPM are un procesor de macrocomenzi încorporat puternic. Utilizările "
153 "principale ale macrocomenzilor sunt configurarea și alte funcții utilitare "
154 "pentru RPM în sine, precum și ca ajutor pentru împachetare în fișierele spec."
155 "\\&"
156
157 #. type: Plain text
158 #: archlinux debian-unstable fedora-44 fedora-rawhide
159 msgid ""
160 "In addition to simple text substitution, the macro processor supports the "
161 "following facilities:"
162 msgstr ""
163 "Pe lângă simpla substituire a textului, procesorul de macrocomenzi acceptă "
164 "următoarele funcții:"
165
166 #. type: IP
167 #: archlinux debian-unstable fedora-44 fedora-rawhide
168 #, no-wrap
169 msgid "\\(bu"
170 msgstr "\\(bu"
171
172 #. type: Plain text
173 #: archlinux debian-unstable fedora-44 fedora-rawhide
174 msgid ""
175 "function-like B<PARAMETRIC MACROS> with options and arguments processing and "
176 "locally scoped automatic and user-defined macros"
177 msgstr ""
178 "funcție de tip B<MACROCOMENZI PARAMETRICE> cu opțiuni și procesare de "
179 "argumente și macrocomenzi definite de utilizator și automate cu domeniu de "
180 "aplicare local"
181
182 #. type: Plain text
183 #: archlinux debian-unstable fedora-44 fedora-rawhide
184 msgid "B<Shell expansion>"
185 msgstr "B<Expansiune shell>"
186
187 #. type: Plain text
188 #: archlinux debian-unstable fedora-44 fedora-rawhide
189 msgid "B<Expression expansion>"
190 msgstr "B<Expansiune expresie>"
191
192 #. type: Plain text
193 #: archlinux debian-unstable fedora-44 fedora-rawhide
194 msgid "B<Lua expansion> for embedded Lua processing"
195 msgstr "B<Expansiune Lua> pentru procesarea Lua încorporată"
196
197 #. type: Plain text
198 #: archlinux debian-unstable fedora-44 fedora-rawhide
199 msgid "various B<BUILT-IN MACROS> for string processing and OS interaction"
200 msgstr ""
201 "diverse B<MACROCOMENZI INTEGRATE> pentru procesarea șirurilor de caractere "
202 "și interacțiunea cu sistemul de operare"
203
204 #. type: Plain text
205 #: archlinux debian-unstable fedora-44 fedora-rawhide
206 msgid "The syntax for defining simple macros is:"
207 msgstr "Sintaxa pentru definirea macrocomenzilor simple este:"
208
209 #. type: Plain text
210 #: archlinux debian-unstable fedora-44 fedora-rawhide
211 msgid "I<NAME> I<BODY>"
212 msgstr "I<NUME> I<CORP>"
213
214 #. type: Plain text
215 #: archlinux debian-unstable fedora-44 fedora-rawhide
216 msgid ""
217 "All whitespace surrounding I<BODY> is removed.\\& I<NAME> may be composed of "
218 "alphanumeric characters and the underscore (B<_>), and must be at least two "
219 "characters in length.\\& The body is (re-)expanded on each macro invocation."
220 "\\& Macro names and options are case-sensitive.\\&"
221 msgstr ""
222 "Toate spațiile albe din jurul I<CORPULUI> sunt eliminate.\\& I<NUME> poate "
223 "fi compus din caractere alfanumerice și din caracterul de subliniere (B<_>) "
224 "și trebuie să aibă cel puțin două caractere.\\& Corpul este (re)extins la "
225 "fiecare invocare a macrocomenzii.\\& Numele macrocomenzilor și opțiunile "
226 "sunt sensibile la majuscule și minuscule.\\&"
227
228 #. type: Plain text
229 #: archlinux debian-unstable fedora-44 fedora-rawhide
230 msgid ""
231 "See B<PARAMETRIC MACROS> for the more advanced macro variant with options "
232 "and arguments processing.\\&"
233 msgstr ""
234 "Consultați B<MACROCOMENZI PARAMETRICE> pentru varianta mai avansată de "
235 "macrocomenzi cu procesarea opțiunilor și argumentelor.\\&"
236
237 #. type: Plain text
238 #: archlinux debian-unstable fedora-44 fedora-rawhide
239 msgid ""
240 "Macros can be defined via B<rpm-macrofile>(5) files, and fully managed with "
241 "macro primitives B<%define>, B<%global> and B<%undefine>, RPM command-line "
242 "described in B<rpm-common>(8) and the API (C, Python, Lua).\\&"
243 msgstr ""
244 "Macrocomenzile pot fi definite prin fișiere B<rpm-macrofile>(5) și "
245 "gestionate integral cu ajutorul macrocomenzilor primitive B<%define>, "
246 "B<%global> și B<%undefine>, linia de comandă RPM descrisă în B<rpm-"
247 "common>(8) și API (C, Python, Lua).\\&"
248
249 #. type: Plain text
250 #: archlinux debian-unstable fedora-44 fedora-rawhide
251 msgid ""
252 "Except for those defined inside parametric macros, macros are always global "
253 "in scope.\\&"
254 msgstr ""
255 "Cu excepția celor definite în macrocomenzile parametrice, macrocomenzile au "
256 "întotdeauna domeniu global.\\&"
257
258 #. type: Plain text
259 #: archlinux debian-unstable fedora-44 fedora-rawhide
260 msgid ""
261 "RPM macros are stacked, ie.\\& when redefining an already existing macro, it "
262 "shadows the previous definition instead of replacing it, and undefining a "
263 "macro only pops the topmost definition, thus activating the previous macro "
264 "definition.\\&"
265 msgstr ""
266 "Macrocomenzile RPM sunt stivuite, adică atunci când se redefinește o "
267 "macrocomandă deja existentă, aceasta acoperă definiția anterioară în loc să "
268 "o înlocuiască, iar anularea definiției unei macrocomenzi elimină doar "
269 "definiția de sus, activând astfel definiția macrocomenzii anterioare."
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 "Rețineți că acest manual descrie doar motorul procesorului de microcomenzi "
279 "în sine. Într-un sistem normal bazat pe RPM, există un număr mare de alte "
280 "microcomenzi definite prin fișiere B<rpm-macrofile>(5) care nu vor fi "
281 "abordate aici.\\&"
282
283 #. type: SH
284 #: archlinux debian-unstable fedora-44 fedora-rawhide
285 #, no-wrap
286 msgid "EXPANSION"
287 msgstr "EXPANDARE"
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 "Pentru a extinde o macrocomandă, plasați B<%> în fața acesteia. Sunt "
295 "acceptate mai multe forme:"
296
297 #. type: Plain text
298 #: archlinux debian-unstable fedora-44 fedora-rawhide
299 msgid "Expand the macro I<NAME>.\\&"
300 msgstr "Extinde macrocomanda I<NUME>.\\&"
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 "Extinde macrocomanda I<NAME>, permițând plasarea lângă alt text (similar cu "
309 "B<${ENV}> în 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 "Extinde macrocomanda parametrică/încorporată I<NUME>, utilizând opțiunile și "
318 "argumentele analizate până la sfârșitul șirului sau până la următorul "
319 "caracter de linie nouă.\\&"
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<--> poate fi utilizat pentru a separa opțiunile de argumente.\\&"
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<NUME> [I<OPȚIUNI>] [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 "Extinde macrocomanda parametrică/încorporată I<NUME>, utilizând opțiunile și "
338 "argumentele analizate până la închiderea B<}>.\\& Permite utilizarea în "
339 "vecinătatea altui 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 "Extinde macrocomanda parametrică/încorporată I<NUME>, utilizând șirul de "
348 "caractere după B<:> ca argument unic.\\& Permite utilizarea în vecinătatea "
349 "altui 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 "Notă: Sintaxele pentru apelarea macrocomenzilor parametrice și încorporate "
359 "sunt în general interschimbabile în prezent, dar înainte de versiunea "
360 "4.\\&18, sintaxa B<%{>I<NUME>B<:>I<ARGUMENT>B<}> era exclusivă pentru "
361 "macrocomenzile încorporate.\\&"
362
363 #. type: Plain text
364 #: archlinux debian-unstable fedora-44 fedora-rawhide
365 msgid ""
366 "Macro expansion can be escaped by placing a second B<%> in front of the "
367 "macro, for example B<%%{name}> would be expanded to B<%{name}>.\\&"
368 msgstr ""
369 "Extinderea macrocomenzii poate fi evitată prin plasarea unui al doilea B<%> "
370 "în fața macrocomenzii, de exemplu B<%%{nume}> ar fi extins la B<%{nume}>.\\&"
371
372 #. type: Plain text
373 #: archlinux debian-unstable fedora-44 fedora-rawhide
374 msgid ""
375 "Attempting to expand an undefined macro expands to the literal invocation, e."
376 "\\&g.\\& B<%_undefined> expands to B<%_undefined>.\\& If this is not "
377 "desired, use conditionals.\\&"
378 msgstr ""
379 "Încercarea de a extinde o macrocomandă nedefinită se extinde la invocarea "
380 "literală, de exemplu B<%_undefined> se extinde la B<%_undefined>. Dacă acest "
381 "lucru nu este dorit, utilizați condiționale.\\&"
382
383 #. type: Plain text
384 #: archlinux debian-unstable fedora-44 fedora-rawhide
385 msgid "Macro expansions can recurse up to 64 levels.\\&"
386 msgstr "Expansiunile macrocomenzii pot recurge până la 64 de niveluri."
387
388 #. type: SS
389 #: archlinux debian-unstable fedora-44 fedora-rawhide
390 #, no-wrap
391 msgid "Shell expansion"
392 msgstr "Expansiune shell"
393
394 #. type: Plain text
395 #: archlinux debian-unstable fedora-44 fedora-rawhide
396 msgid ""
397 "Shell expansion can be performed using B<%(>I<shell command>B<)>.\\& "
398 "I<shell_command> is expanded before executing it with I</bin/sh>, whose "
399 "output becomes the expansion of the macro.\\& The trailing newline is "
400 "deleted.\\&"
401 msgstr ""
402 "Extinderea shell-ului poate fi efectuată folosind B<%(>I<comanda shell>B<)>."
403 "\\& I<comanda_shell> este extinsă înainte de a fi executată cu I</bin/sh>, a "
404 "cărei ieșire devine extinderea macrocomenzii.\\& Caracterul de linie nouă de "
405 "la sfârșit este șters.\\&"
406
407 #. type: Plain text
408 #: archlinux debian-unstable fedora-44 fedora-rawhide
409 msgid "Example:"
410 msgstr "Exemplu:"
411
412 #. type: Plain text
413 #: archlinux debian-unstable fedora-44 fedora-rawhide
414 #, no-wrap
415 msgid "%(echo aa-bb-cc | tr \\&'-\\&' \\&'\\&.\\&')\n"
416 msgstr "%(echo aa-bb-cc | tr \\&'-\\&' \\&'\\&.\\&')\n"
417
418 #. type: SS
419 #: archlinux debian-unstable fedora-44 fedora-rawhide
420 #, no-wrap
421 msgid "Conditional expansion"
422 msgstr "Extindere condițională"
423
424 #. type: Plain text
425 #: archlinux debian-unstable fedora-44 fedora-rawhide
426 msgid ""
427 "The macro processor supports testing whether a macro is defined or not.\\&"
428 msgstr ""
429 "Procesorul de macrocomenzi acceptă testarea dacă o macrocomandă este "
430 "definită sau nu.\\&"
431
432 #. type: Plain text
433 #: archlinux debian-unstable fedora-44 fedora-rawhide
434 msgid "B<%{?\\&>I<NAME>B<:>I<VALUE>B<}>"
435 msgstr "B<%{?\\&>I<NUME>B<:>I<VALOARE>B<}>"
436
437 #. type: Plain text
438 #: archlinux debian-unstable fedora-44 fedora-rawhide
439 msgid ""
440 "Expands to the expansion of I<VALUE> if I<NAME> is defined, otherwise to an "
441 "empty string.\\&"
442 msgstr ""
443 "Se extinde la extinderea I<VALOARE> dacă I<NUME> este definit, altfel la un "
444 "șir gol.\\&"
445
446 #. type: Plain text
447 #: archlinux debian-unstable fedora-44 fedora-rawhide
448 msgid "B<%{!\\&?\\&>I<NAME>B<:>I<VALUE>B<}>"
449 msgstr "B<%{!\\&?\\&>I<NUME>B<:>I<VALOARE>B<}>"
450
451 #. type: Plain text
452 #: archlinux debian-unstable fedora-44 fedora-rawhide
453 msgid ""
454 "Expands to the expansion of I<VALUE> if I<NAME> is I<not> defined, otherwise "
455 "it expands to an empty string.\\&"
456 msgstr ""
457 "Se extinde la extinderea I<VALoarE> dacă I<NUME> nu este definit, altfel se "
458 "extinde la un șir gol.\\&"
459
460 #. type: Plain text
461 #: archlinux debian-unstable fedora-44 fedora-rawhide
462 msgid "Shorthand for B<%{?\\&>I<NAME>B<:%{>I<NAME>B<}}>.\\&"
463 msgstr "Prescurtare pentru B<%{?\\&>I<NUME>B<:%{>I<NUME>B<}}>.\\&"
464
465 #. type: Plain text
466 #: archlinux debian-unstable fedora-44 fedora-rawhide
467 msgid ""
468 "For more complex tests, use B<Expression expansion> or B<Lua expansion>.\\& "
469 "Note that B<%if>, B<%ifarch> and the like are not macros, they are spec "
470 "directives and only usable in that context.\\&"
471 msgstr ""
472 "Pentru teste mai complexe, utilizați B<Expansiune expresie> sau B<Expansiune "
473 "Lua>.\\& Rețineți că B<%if>, B<%ifarch> și altele similare nu sunt "
474 "macrocomenzi, ci directive spec și pot fi utilizate numai în acel context.\\&"
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 "Rețineți că în RPM E<gt>= 4.\\&17, condițiile din macrocomenzile încorporate "
484 "verifică pur și simplu existența acelei macrocomenzi încorporate, la fel ca "
485 "în cazul oricărei alte macrocomenzi.\\& În versiunile mai vechi, "
486 "comportamentul condițiilor din macrocomenzile încorporate este nedefinit.\\&"
487
488 #. type: SS
489 #: archlinux debian-unstable fedora-44 fedora-rawhide
490 #, no-wrap
491 msgid "Expression expansion"
492 msgstr "Expansiune expresie"
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 "Extinderea expresiei poate fi efectuată utilizând B<%[>I<EXPRESIE>B<]>.\\& O "
501 "expresie este formată din termeni care pot fi combinați utilizând operatori."
502 "\\&"
503
504 #. type: Plain text
505 #: archlinux debian-unstable fedora-44 fedora-rawhide
506 msgid "RPM supports three kinds of terms:"
507 msgstr "RPM acceptă trei tipuri de termeni:"
508
509 #. type: Plain text
510 #: archlinux debian-unstable fedora-44 fedora-rawhide
511 msgid "numbers made up from digits"
512 msgstr "numere formate din cifre"
513
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 "șiruri de caractere între ghilimele duble (de exemplu, B<\"vreun -șir\">)"
519
520 #. type: Plain text
521 #: archlinux debian-unstable fedora-44 fedora-rawhide
522 msgid ""
523 "versions enclosed in double quotes preceded by B<v> (e.\\&g "
524 "B<v\"3:1.\\&2-1\">)"
525 msgstr ""
526 "versiuni între ghilimele duble precedate de B<v> (de exemplu, "
527 "B<v\"3:1.\\&2-1\">)"
528
529 #. type: Plain text
530 #: archlinux debian-unstable fedora-44 fedora-rawhide
531 msgid "RPM will expand macros when evaluating terms.\\&"
532 msgstr "RPM va extinde macrocomenzile atunci când evaluează termenii.\\&"
533
534 #. type: Plain text
535 #: archlinux debian-unstable fedora-44 fedora-rawhide
536 msgid "You can use the standard operators to combine terms:"
537 msgstr "Puteți utiliza operatorii standard pentru a combina termenii:"
538
539 #. type: Plain text
540 #: archlinux debian-unstable fedora-44 fedora-rawhide
541 msgid "logical operators B<&&>, B<||>, B<!\\&>"
542 msgstr "operatori logici B<&&>, B<||>, B<!\\&>"
543
544 #. type: Plain text
545 #: archlinux debian-unstable fedora-44 fedora-rawhide
546 msgid ""
547 "relational operators B<!\\&=>, B<==>, B<E<lt>>, B<E<gt>>, B<E<lt>=>, "
548 "B<E<gt>=>"
549 msgstr ""
550 "operatori relaționali B<!\\&=>, B<==>, B<E<lt>>, B<E<gt>>, B<E<lt>=>, "
551 "B<E<gt>=>"
552
553 #. type: Plain text
554 #: archlinux debian-unstable fedora-44 fedora-rawhide
555 msgid "arithmetic operators B<+>, B<->, B</>, B<*>,"
556 msgstr "operatori aritmetici B<+>, B<->, B</>, B<*>,"
557
558 #. type: Plain text
559 #: archlinux debian-unstable fedora-44 fedora-rawhide
560 msgid "the ternary operator B<?\\& :>"
561 msgstr "operatorul ternar B<?\\& :>"
562
563 #. type: Plain text
564 #: archlinux debian-unstable fedora-44 fedora-rawhide
565 msgid "parentheses"
566 msgstr "paranteze"
567
568 #. type: Plain text
569 #: archlinux debian-unstable fedora-44 fedora-rawhide
570 msgid ""
571 "For example, B<%[ 3 + 4 * (1 + %two) ]> will expand to B<15> if B<%two> "
572 "expands to B<2>.\\& Version terms are compared using RPM version "
573 "([I<epoch>:]I<version>[-I<release>]) comparison algorithm, rather than "
574 "regular string comparison.\\&"
575 msgstr ""
576 "De exemplu, B<%[ 3 + 4 * (1 + %two) ]> se va extinde la B<15> dacă B<%two> "
577 "se extinde la B<2>.\\& Termenii versiunii sunt comparați folosind algoritmul "
578 "de comparare a versiunii RPM ([I<epoch>:]I<version>[-I<release>]), și nu "
579 "prin compararea obișnuită a șirurilor de caractere.\\&"
580
581 #. type: Plain text
582 #: archlinux debian-unstable fedora-44 fedora-rawhide
583 msgid ""
584 "Note that the B<%[>I<EXPRESSION>B<]> expansion is different to the B<%"
585 "{expr:>I<EXPRESSION>B<}> macro.\\& With the latter, the macros in the "
586 "expression are expanded first and then the expression is evaluated (without "
587 "re-expanding the terms).\\& Thus"
588 msgstr ""
589 "Rețineți că expansiunea B<%[>I<EXPRESIE>B<]> este diferită de macrocomanda "
590 "B<%{expr:>I<EXPRESIE>B<}>.\\& În cazul celei din urmă, macrocomenzile din "
591 "expresie sunt mai întâi expandate, iar apoi expresia este evaluată (fără a "
592 "reexpanda termenii).\\& Astfel"
593
594 #. type: Plain text
595 #: archlinux debian-unstable fedora-44 fedora-rawhide
596 #, no-wrap
597 msgid "rpm --define \\&'foo 1 + 2\\&' --eval \\&'%{expr:%foo}\\&'\n"
598 msgstr "rpm --define \\&'foo 1 + 2\\&' --eval \\&'%{expr:%foo}\\&'\n"
599
600 #. type: Plain text
601 #: archlinux debian-unstable fedora-44 fedora-rawhide
602 msgid ""
603 "will print B<3>.\\& Using B<%[%foo]> instead will result in the error that "
604 "\"1 + 2\" is not a number.\\&"
605 msgstr ""
606 "va afișa B<3>.\\& Utilizarea B<%[%foo]> va genera eroarea \"1 + 2\" nu este "
607 "un număr.\\&"
608
609 #. type: Plain text
610 #: archlinux debian-unstable fedora-44 fedora-rawhide
611 msgid ""
612 "Doing the macro expansion when evaluating the terms has two advantages.\\& "
613 "First, it allows RPM to do correct short-circuit processing when evaluating "
614 "logical operators.\\& Second, the expansion result does not influence the "
615 "expression parsing, e.\\&g.\\& B<%[\"%file\"]> will even work if the "
616 "B<%file> macro expands to a string that contains a double quote.\\&"
617 msgstr ""
618 "Efectuarea expansiunii macrocomenzii în timpul evaluării termenilor are două "
619 "avantaje. În primul rând, permite RPM să efectueze o procesare corectă a "
620 "scurtcircuitelor în timpul evaluării operatorilor logici. În al doilea rând, "
621 "rezultatul expansiunii nu influențează analizarea expresiei, de exemplu B<%"
622 "[„%file”]> va funcționa chiar și dacă macrocomanda B<%file> se extinde la un "
623 "șir care conține ghilimele duble."
624
625 #. type: Plain text
626 #: archlinux debian-unstable fedora-44 fedora-rawhide
627 msgid "Added: 4.\\&16.\\&0"
628 msgstr "Adăugată: 4.\\&16.\\&0"
629
630 #. type: SS
631 #: archlinux debian-unstable fedora-44 fedora-rawhide
632 #, no-wrap
633 msgid "Lua expansion"
634 msgstr "Expansiune Lua"
635
636 #. type: Plain text
637 #: archlinux debian-unstable fedora-44 fedora-rawhide
638 msgid ""
639 "The most powerful of the macro expansion methods is using RPM'\\&s embedded "
640 "Lua interpreter:"
641 msgstr ""
642 "Cea mai puternică dintre metodele de expansiune a macrocomenzilor este "
643 "utilizarea interpretului Lua încorporat în RPM:"
644
645 #. type: Plain text
646 #: archlinux debian-unstable fedora-44 fedora-rawhide
647 msgid ""
648 "Execute I<LUA-CODE> using RPM'\\&s embedded Lua interpreter, expanding to "
649 "the code'\\&s B<print()>'\\&ed output.\\&"
650 msgstr ""
651 "Executați I<LUA-CODE> folosind interpretul Lua încorporat în RPM, extinzându-"
652 "l la codul B<print()> și afișând rezultatul."
653
654 #. type: Plain text
655 #: archlinux debian-unstable fedora-44 fedora-rawhide
656 msgid "See B<rpm-lua>(7) for the details.\\&"
657 msgstr "Pentru detalii, consultați B<rpm-lua>(7).\\&"
658
659 #. type: SH
660 #: archlinux debian-unstable fedora-44 fedora-rawhide
661 #, no-wrap
662 msgid "PARAMETRIC MACROS"
663 msgstr "MACROCOMENZI PARAMETRICE"
664
665 #. type: Plain text
666 #: archlinux debian-unstable fedora-44 fedora-rawhide
667 msgid ""
668 "Parametric macros are a powerful mechanism that allows building function-"
669 "like utility macros with option processing and accepting a variable number "
670 "of arguments, much like common shell tools.\\&"
671 msgstr ""
672 "Macrocomenzile parametrice sunt un mecanism puternic care permite crearea de "
673 "macrocomenzi utilitare similare funcțiilor, cu procesare opțională și "
674 "acceptarea unui număr variabil de argumente, similar instrumentelor shell "
675 "obișnuite."
676
677 #. type: Plain text
678 #: archlinux debian-unstable fedora-44 fedora-rawhide
679 msgid "The syntax for defining parametric macros is:"
680 msgstr "Sintaxa pentru definirea macrocomenzilor parametrice este:"
681
682 #. type: Plain text
683 #: archlinux debian-unstable fedora-44 fedora-rawhide
684 msgid "I<NAME>([I<OPTIONS>]) I<BODY>"
685 msgstr "I<NUME>([I<OPȚIUNI>]) I<CORP>"
686
687 #. type: Plain text
688 #: archlinux debian-unstable fedora-44 fedora-rawhide
689 msgid ""
690 "If present, the I<OPTIONS> (i.\\&e.\\& the string between parentheses) are "
691 "passed exactly as is to B<getopt>(3) for argc/argv processing at the "
692 "beginning of a macro invocation.\\& Only short options are supported.\\&"
693 msgstr ""
694 "Dacă sunt prezente, I<OPȚIUNILE> (adică șirul dintre paranteze) sunt "
695 "transmise exact așa cum sunt către B<getopt>(3) pentru procesarea argc/argv "
696 "la începutul invocării macrocomenzii. Sunt acceptate numai opțiunile scurte."
697
698 #. type: Plain text
699 #: archlinux debian-unstable fedora-44 fedora-rawhide
700 msgid ""
701 "B<-> as the sole I<OPTIONS> field disables RPM'\\&s option processing.\\& "
702 "This allows macros to fully decide how to handle their input, e.\\&g.\\& if "
703 "the arguments of the macro only/mostly consist of items starting with B<->, "
704 "the default processing only gets in the way.\\&"
705 msgstr ""
706 "B<-> ca singurul câmp I<OPȚIUNI> dezactivează procesarea opțiunilor RPM.\\& "
707 "Acest lucru permite macrocomenzilor să decidă în totalitate modul de "
708 "gestionare a intrărilor lor, de exemplu, dacă argumentele macrocomenzii "
709 "constau numai/în mare parte din elemente care încep cu B<->, procesarea "
710 "implicită nu face decât să încurce.\\&"
711
712 #. type: SS
713 #: archlinux debian-unstable fedora-44 fedora-rawhide
714 #, no-wrap
715 msgid "Automatic macros"
716 msgstr "Macrocomenzi automate"
717
718 #. type: Plain text
719 #: archlinux debian-unstable fedora-44 fedora-rawhide
720 msgid ""
721 "While a parameterized macro is being expanded, the following shell-like "
722 "automatic macros are available:"
723 msgstr ""
724 "În timpul extinderii unei macrocomenzi parametrizate, sunt disponibile "
725 "următoarele macrocomenzi automate de tip shell:"
726
727 #. type: tbl table
728 #: archlinux debian-unstable fedora-44 fedora-rawhide
729 #, no-wrap
730 msgid "B<Macro>"
731 msgstr "B<Macrocomanda>"
732
733 #. type: tbl table
734 #: archlinux debian-unstable fedora-44 fedora-rawhide
735 #, no-wrap
736 msgid "B<Description>"
737 msgstr "B<Descriere>"
738
739 #. type: tbl table
740 #: archlinux debian-unstable fedora-44 fedora-rawhide
741 #, no-wrap
742 msgid "B<%0>"
743 msgstr "B<%0>"
744
745 #. type: tbl table
746 #: archlinux debian-unstable fedora-44 fedora-rawhide
747 #, no-wrap
748 msgid "the name of the macro being invoked"
749 msgstr "numele macrocomenzii care este invocată"
750
751 #. type: tbl table
752 #: archlinux debian-unstable fedora-44 fedora-rawhide
753 #, no-wrap
754 msgid "B<%*>"
755 msgstr "B<%*>"
756
757 #. type: tbl table
758 #: archlinux debian-unstable fedora-44 fedora-rawhide
759 #, no-wrap
760 msgid "all arguments (unlike shell, not including any processed flags)"
761 msgstr "toate argumentele (spre deosebire de shell, fără a include niciun fanion procesat)"
762
763 #. type: tbl table
764 #: archlinux debian-unstable fedora-44 fedora-rawhide
765 #, no-wrap
766 msgid "B<%**>"
767 msgstr "B<%**>"
768
769 #. type: tbl table
770 #: archlinux debian-unstable fedora-44 fedora-rawhide
771 #, no-wrap
772 msgid "all arguments (including any processed flags)"
773 msgstr "toate argumentele (inclusiv orice fanioane procesate)"
774
775 #. type: tbl table
776 #: archlinux debian-unstable fedora-44 fedora-rawhide
777 #, no-wrap
778 msgid "B<%#>"
779 msgstr "B<%#>"
780
781 #. type: tbl table
782 #: archlinux debian-unstable fedora-44 fedora-rawhide
783 #, no-wrap
784 msgid "the number of arguments"
785 msgstr "numărul de argumente"
786
787 #. type: tbl table
788 #: archlinux debian-unstable fedora-44 fedora-rawhide
789 #, no-wrap
790 msgid "B<%{-f}>"
791 msgstr "B<%{-f}>"
792
793 #. type: tbl table
794 #: archlinux debian-unstable fedora-44 fedora-rawhide
795 #, no-wrap
796 msgid "if present at invocation, the last occurrence of flag B<f> (flag and argument)"
797 msgstr "dacă este prezent la invocare, ultima apariție a fanionului B<f> (fanion și argument)"
798
799 #. type: tbl table
800 #: archlinux debian-unstable fedora-44 fedora-rawhide
801 #, no-wrap
802 msgid "B<%{-f*}>"
803 msgstr "B<%{-f*}>"
804
805 #. type: tbl table
806 #: archlinux debian-unstable fedora-44 fedora-rawhide
807 #, no-wrap
808 msgid "if present at invocation, the argument to the last occurrence of flag B<f>"
809 msgstr "dacă este prezent la invocare, argumentul pentru ultima apariție a fanionului B<f>"
810
811 #. type: tbl table
812 #: archlinux debian-unstable fedora-44 fedora-rawhide
813 #, no-wrap
814 msgid "B<%1>, B<%2>, .\\&.\\&.\\&"
815 msgstr "B<%1>, B<%2>, .\\&.\\&.\\&"
816
817 #. type: tbl table
818 #: archlinux debian-unstable fedora-44 fedora-rawhide
819 #, no-wrap
820 msgid "the arguments themselves (after B<getopt>(3) processing)"
821 msgstr "argumentele în sine (după procesarea B<getopt>(3))"
822
823 #. type: Plain text
824 #: archlinux debian-unstable fedora-44 fedora-rawhide
825 msgid ""
826 "If the built-in option processing was disabled with B<-> as the I<OPTIONS> "
827 "field, only the following automatic macros are available:"
828 msgstr ""
829 "Dacă procesarea opțiunilor încorporate a fost dezactivată cu B<-> ca câmp "
830 "I<OPȚIUNI> , sunt disponibile numai următoarele macrocomenzi automate:"
831
832 #. type: tbl table
833 #: archlinux debian-unstable fedora-44 fedora-rawhide
834 #, no-wrap
835 msgid "B<%*>, B<%**>"
836 msgstr "B<%*>, B<%**>"
837
838 #. type: tbl table
839 #: archlinux debian-unstable fedora-44 fedora-rawhide
840 #, no-wrap
841 msgid "all arguments"
842 msgstr "toate argumentele"
843
844 #. type: tbl table
845 #: archlinux debian-unstable fedora-44 fedora-rawhide
846 #, no-wrap
847 msgid " the number of arguments"
848 msgstr "numărul de argumente"
849
850 #. type: tbl table
851 #: archlinux debian-unstable fedora-44 fedora-rawhide
852 #, no-wrap
853 msgid "the arguments themselves"
854 msgstr "argumentele în sine"
855
856 #. type: Plain text
857 #: archlinux debian-unstable fedora-44 fedora-rawhide
858 msgid ""
859 "Automatic macros are automatically defined and undefined on parametric macro "
860 "entry and exit.\\&"
861 msgstr ""
862 "Macrocomenzile automate sunt definite și redefinite automat la intrarea și "
863 "ieșirea din macrocomanda parametrică.\\&"
864
865 #. type: SS
866 #: archlinux debian-unstable fedora-44 fedora-rawhide
867 #, no-wrap
868 msgid "Accessing options"
869 msgstr "Accesarea opțiunilor"
870
871 #. type: Plain text
872 #: archlinux debian-unstable fedora-44 fedora-rawhide
873 msgid ""
874 "Within the body of a parametric macro, there are several constructs that "
875 "permit testing for the presence of optional parameters.\\& The simplest "
876 "construct is B<%{-f}> which expands (literally) to B<-f> if B<-f> was "
877 "mentioned when the macro was invoked.\\& There are also provisions for "
878 "including text if a flag was present using B<%{-f:X}>.\\& This macro expands "
879 "to (the expansion of) B<X> if the flag was present.\\& The negative form, B<%"
880 "{!\\&-f:Y}>, expanding to (the expansion of)B< Y> if B<-f> was B<not> "
881 "present, is also supported.\\&"
882 msgstr ""
883 "În cadrul unei macrocomenzi parametrice, există mai multe construcții care "
884 "permit testarea prezenței parametrilor opționali. Cea mai simplă construcție "
885 "este B<%{-f}> care se extinde (literalmente) la B<-f> dacă B<-f> a fost "
886 "menționat atunci când macrocomanda a fost invocată. Există, de asemenea, "
887 "prevederi pentru includerea textului dacă era prezent un fanion folosind B<%"
888 "{-f:X}>.\\& Această macrocomandă se extinde la (extinderea lui) B<X> dacă "
889 "fanionul era prezent.\\& Forma negativă, B<%{!\\&-f:Y}>, care se extinde la "
890 "(extinderea lui) B< Y> dacă B<-f> nu era prezent, este de asemenea acceptată."
891 "\\&"
892
893 #. type: SS
894 #: archlinux debian-unstable fedora-44 fedora-rawhide
895 #, no-wrap
896 msgid "Scope and visibility"
897 msgstr "Domeniul de aplicare și vizibilitatea"
898
899 #. type: Plain text
900 #: archlinux debian-unstable fedora-44 fedora-rawhide
901 msgid ""
902 "In general, macros have a global scope, regardless of where and how they "
903 "were defined.\\& However, macros defined inside parametric macros have non-"
904 "global scope as follows:"
905 msgstr ""
906 "În general, macrocomenzile au o aplicabilitate globală, indiferent de locul "
907 "și modul în care au fost definite. Cu toate acestea, macrocomenzile definite "
908 "în cadrul macrocomenzilor parametrice au o aplicabilitate non-globală, după "
909 "cum urmează:"
910
911 #. type: Plain text
912 #: archlinux debian-unstable fedora-44 fedora-rawhide
913 msgid ""
914 "automatic macros have local scope, ie.\\& are only visible on the call-level "
915 "of the macro itself"
916 msgstr ""
917 "macrocomenzile automate au domeniu de aplicare local, adică sunt vizibile "
918 "numai la nivelul apelului macrocomenzii respective"
919
920 #. type: Plain text
921 #: archlinux debian-unstable fedora-44 fedora-rawhide
922 msgid ""
923 "user-defined local macros have nested scope, ie.\\& are visible on the call-"
924 "level of the macro itself and deeper"
925 msgstr ""
926 "macrocomenzile locale definite de utilizator au un domeniu de aplicare "
927 "imbricat, adică sunt vizibile la nivelul apelului macrocomenzii în sine și "
928 "la niveluri mai profunde."
929
930 #. type: Plain text
931 #: archlinux debian-unstable fedora-44 fedora-rawhide
932 msgid ""
933 "That is, a parametric macro cannot see the options or arguments of another "
934 "one, but a user-defined local macro in a calling macro can be accessed in "
935 "the callee(s).\\&"
936 msgstr ""
937 "Adică, o macrocomandă parametrică nu poate vedea opțiunile sau argumentele "
938 "altei macrocomenzi, dar o macrocomandă locală definită de utilizator într-o "
939 "macrocomandă de apel poate fi accesată în macrocomanda (macrocomenzile) "
940 "apelată (apelate).\\&"
941
942 #. type: Plain text
943 #: archlinux debian-unstable fedora-44 fedora-rawhide
944 msgid ""
945 "To define a global macro inside a parametric macro, you I<must> use "
946 "B<%global> instead of B<%define>.\\& Also note that because such a macro may "
947 "be referring to other macros only visible in the current scope, B<%global> "
948 "I<expands the macro body once at the time of definition>.\\&"
949 msgstr ""
950 "Pentru a defini o macrocomandă globală în interiorul unei macrocomenzi "
951 "parametrice, I<trebuie> să utilizați B<%global> în loc de B<%define>.\\& De "
952 "asemenea, rețineți că, deoarece o astfel de macrocomandă poate face referire "
953 "la alte macrocomenzi vizibile numai în domeniul curent, B<%global> I<extinde "
954 "corpul macrocomenzii o singură dată în momentul definirii>.\\&"
955
956 #. type: SS
957 #: archlinux debian-unstable fedora-44 fedora-rawhide
958 #, no-wrap
959 msgid "Calling convention"
960 msgstr "Convenția de apelare"
961
962 #. type: Plain text
963 #: archlinux debian-unstable fedora-44 fedora-rawhide
964 msgid ""
965 "When a parametric macro is expanded, the following calling convention is "
966 "used:"
967 msgstr ""
968 "Când o macrocomandă parametrică este extinsă, se utilizează următoarea "
969 "convenție de apelare:"
970
971 #. type: IP
972 #: archlinux debian-unstable fedora-44 fedora-rawhide
973 #, no-wrap
974 msgid "1."
975 msgstr "1."
976
977 #. type: Plain text
978 #: archlinux debian-unstable fedora-44 fedora-rawhide
979 msgid "any arguments to the macro are expanded on the call-level of the callee"
980 msgstr ""
981 "orice argumente ale macrocomenzii sunt extinse la nivelul apelului "
982 "destinatarului apelului"
983
984 #. type: IP
985 #: archlinux debian-unstable fedora-44 fedora-rawhide
986 #, no-wrap
987 msgid "2."
988 msgstr "2."
989
990 #. type: Plain text
991 #: archlinux debian-unstable fedora-44 fedora-rawhide
992 msgid "any options to the macro are processed"
993 msgstr "orice opțiuni pentru macrocomandă sunt procesate"
994
995 #. type: IP
996 #: archlinux debian-unstable fedora-44 fedora-rawhide
997 #, no-wrap
998 msgid "3."
999 msgstr "3."
1000
1001 #. type: Plain text
1002 #: archlinux debian-unstable fedora-44 fedora-rawhide
1003 msgid "automatic macros are set up for the options and the arguments"
1004 msgstr "macrocomenzile automate sunt configurate pentru opțiuni și argumente"
1005
1006 #. type: IP
1007 #: archlinux debian-unstable fedora-44 fedora-rawhide
1008 #, no-wrap
1009 msgid "4."
1010 msgstr "4."
1011
1012 #. type: Plain text
1013 #: archlinux debian-unstable fedora-44 fedora-rawhide
1014 msgid "the macro body is recursively expanded"
1015 msgstr "corpul macrocomenzii este extins recursiv"
1016
1017 #. type: IP
1018 #: archlinux debian-unstable fedora-44 fedora-rawhide
1019 #, no-wrap
1020 msgid "5."
1021 msgstr "5."
1022
1023 #. type: Plain text
1024 #: archlinux debian-unstable fedora-44 fedora-rawhide
1025 msgid "all macros defined on this call-level are discarded"
1026 msgstr "toate macrocomenzile definite la acest nivel de apel sunt eliminate"
1027
1028 #. type: SH
1029 #: archlinux debian-unstable fedora-44 fedora-rawhide
1030 #, no-wrap
1031 msgid "BUILT-IN MACROS"
1032 msgstr "MACROCOMENZI INTEGRATE"
1033
1034 #. type: Plain text
1035 #: archlinux debian-unstable fedora-44 fedora-rawhide
1036 msgid ""
1037 "RPM supports the following built-in macros for various operations.\\& Built-"
1038 "in macros cannot be undefined or overridden.\\&"
1039 msgstr ""
1040 "RPM acceptă următoarele macrocomenzi încorporate pentru diverse operațiuni. "
1041 "Macrocomenzile încorporate nu pot fi redefinite sau suprascrise."
1042
1043 #. type: Plain text
1044 #: archlinux debian-unstable fedora-44 fedora-rawhide
1045 msgid ""
1046 "Note: The B<%{name:arg}> style is used here as it'\\&s the most backwards "
1047 "compatible and does not require quoting for whitespace, but it can generally "
1048 "be replaced with the other expansion forms too.\\& Built-ins taking multiple "
1049 "arguments must use other styles, as indicated below.\\&"
1050 msgstr ""
1051 "Notă: Stilul B<%{name:arg}> este utilizat aici deoarece este cel mai "
1052 "compatibil cu versiunile anterioare și nu necesită citarea spațiilor albe, "
1053 "dar poate fi în general înlocuit și cu alte forme de expansiune.\\& "
1054 "Funcțiile încorporate care acceptă mai multe argumente trebuie să utilizeze "
1055 "alte stiluri, după cum se indică mai jos.\\&"
1056
1057 #. type: SS
1058 #: archlinux debian-unstable fedora-44 fedora-rawhide
1059 #, no-wrap
1060 msgid "Macro manipulation"
1061 msgstr "Manipularea macrocomenzilor"
1062
1063 #. type: Plain text
1064 #: archlinux debian-unstable fedora-44 fedora-rawhide
1065 msgid ""
1066 "The macro primitives are used for macro manipulation in spec files and other "
1067 "macros.\\& Note that all these operate on the macro name I<without> the "
1068 "preceding B<%>-character.\\&"
1069 msgstr ""
1070 "Macrocomenzile primitive sunt utilizate pentru manipularea macrocomenzilor "
1071 "în fișierele spec și în alte macrocomenzi. Rețineți că toate acestea "
1072 "funcționează pe numele macrocomenzii I<fără> caracterul B<%> precedent."
1073
1074 #. type: Plain text
1075 #: archlinux debian-unstable fedora-44 fedora-rawhide
1076 msgid "B<%define> I<NAME>[([I<OPTIONS>])] I<BODY>"
1077 msgstr "B<%define> I<NUME>[([I<OPȚIUNI>])] I<CORP>"
1078
1079 #. type: Plain text
1080 #: archlinux debian-unstable fedora-44 fedora-rawhide
1081 msgid ""
1082 "This is the primary way to define macros.\\& A B<%define> is always fully "
1083 "declarative: no macro expansion takes place, and it has no side-effects.\\& "
1084 "Macros defined with it are in global scope, unless the definition occurs "
1085 "inside a parametric macro.\\&"
1086 msgstr ""
1087 "Acesta este modul principal de definire a macrocomenzilor.\\& A B<%define> "
1088 "este întotdeauna complet declarativ: nu are loc nicio expansiune a "
1089 "macrocomenzii și nu are efecte secundare.\\& Macrocomenzile definite cu "
1090 "acesta se află în domeniul global, cu excepția cazului în care definiția "
1091 "apare în interiorul unei macrocomenzi parametrice.\\&"
1092
1093 #. type: Plain text
1094 #: archlinux debian-unstable fedora-44 fedora-rawhide
1095 #, no-wrap
1096 msgid "%define mypath /usr/bin/mine\n"
1097 msgstr "%define ruta-mea /usr/bin/mine\n"
1098
1099 #. type: Plain text
1100 #: archlinux debian-unstable fedora-44 fedora-rawhide
1101 msgid "B<%global> I<NAME>[([I<OPTIONS>])] I<BODY>"
1102 msgstr "B<%global> I<NUME>[([I<OPȚIUNI>])] I<CORP>"
1103
1104 #. type: Plain text
1105 #: archlinux debian-unstable fedora-44 fedora-rawhide
1106 msgid ""
1107 "The B<%global> primitive is identical in syntax to B<%define>, but has two "
1108 "critically important behavioral differences: as it'\\&s name suggests, a "
1109 "macro defined with B<%global> always has a global scope regardless of where "
1110 "it'\\&s used.\\&"
1111 msgstr ""
1112 "Primitiva B<%global> are o sintaxă identică cu B<%define>, dar prezintă două "
1113 "diferențe comportamentale extrem de importante: după cum sugerează și "
1114 "numele, o macro definită cu B<%global> are întotdeauna un domeniu de "
1115 "aplicare global, indiferent de locul în care este utilizată."
1116
1117 #. type: Plain text
1118 #: archlinux debian-unstable fedora-44 fedora-rawhide
1119 msgid ""
1120 "The second difference is that the I<BODY> is expanded once at the time of "
1121 "definition and the expansion becomes the actual macro body.\\& Thus, "
1122 "arbitrary code execution and side-effects may occur when B<%global> is used, "
1123 "depending on the contents and the other macros used in I<BODY>.\\& The "
1124 "latter can be handy for avoiding redundant, possibly expensive macro "
1125 "expansions if the value does not change, but be aware of the side-effects.\\&"
1126 msgstr ""
1127 "A doua diferență este că I<CORPUL> este extins o singură dată în momentul "
1128 "definirii, iar extinderea devine corpul macrocomenzii propriu-zis.\\& "
1129 "Astfel, atunci când se utilizează B<%global>, pot apărea execuții de cod "
1130 "arbitrar și efecte secundare, în funcție de conținutul și de celelalte "
1131 "macrocomenzi utilizate în I<CORP>.\\& Cea din urmă poate fi utilă pentru a "
1132 "evita extinderile macrocomenzii redundante și posibil costisitoare dacă "
1133 "valoarea nu se modifică, dar trebuie să fiți conștienți de efectele "
1134 "secundare. \\&"
1135
1136 #. type: Plain text
1137 #: archlinux debian-unstable fedora-44 fedora-rawhide
1138 msgid ""
1139 "Note that while B<%global> technically accepts an I<OPTIONS> field, it is "
1140 "ill-suited for defining parametric macros because of the I<BODY> expansion "
1141 "behavior.\\&"
1142 msgstr ""
1143 "Rețineți că, deși B<%global> acceptă din punct de vedere tehnic un câmp "
1144 "I<OPȚIUNI>, aceasta nu este potrivită pentru definirea macrocomenzilor "
1145 "parametrice din cauza comportamentului de expansiune al I<CORPULUI>."
1146
1147 #. type: Plain text
1148 #: archlinux debian-unstable fedora-44 fedora-rawhide
1149 #, no-wrap
1150 msgid "%global snapver 0-0\\&.48\\&.20240616git\n"
1151 msgstr "%global snapver 0-0\\&.48\\&.20240616git\n"
1152
1153 #. type: Plain text
1154 #: archlinux debian-unstable fedora-44 fedora-rawhide
1155 msgid "B<%undefine> I<NAME>"
1156 msgstr "B<%undefine> I<NUME>"
1157
1158 #. type: Plain text
1159 #: archlinux debian-unstable fedora-44 fedora-rawhide
1160 msgid ""
1161 "Note that B<%undefine> only pops a macro definition from the stack, so using "
1162 "it does I<not> guarantee that I<NAME> is undefined after calling "
1163 "B<%undefine> on it.\\& Automatic macros and built-in macros cannot be "
1164 "undefined.\\&"
1165 msgstr ""
1166 "Rețineți că B<%undefine> doar scoate o definiție macro din stivă, astfel "
1167 "încât utilizarea sa nu garantează că I<NAME> este nedefinit după apelarea "
1168 "B<%undefine> asupra acestuia.\\& Macrocomenzile automate și macrocomenzile "
1169 "încorporate nu pot fi nedefinite.\\&"
1170
1171 #. type: Plain text
1172 #: archlinux debian-unstable fedora-44 fedora-rawhide
1173 #, no-wrap
1174 msgid "%undefine mypath\n"
1175 msgstr "%undefine ruta-mea\n"
1176
1177 #. type: Plain text
1178 #: archlinux debian-unstable fedora-44 fedora-rawhide
1179 msgid "B<%{load:>I<FILE>B<}>"
1180 msgstr "B<%{load:>I<FIȘIER>B<}>"
1181
1182 #. type: Plain text
1183 #: archlinux debian-unstable fedora-44 fedora-rawhide
1184 msgid "Load an B<rpm-macrofile>(5) file.\\& (Added: 4.\\&12.\\&0)"
1185 msgstr " Încarcă un fișier B<rpm-macrofile>(5). (Adăugată: 4.12.0)"
1186
1187 #. type: Plain text
1188 #: archlinux debian-unstable fedora-44 fedora-rawhide
1189 #, no-wrap
1190 msgid "%{load:/some/dir/macros\\&.foo}\n"
1191 msgstr "%{load:/vreun/dir/macros\\&.foo}\n"
1192
1193 #. type: SS
1194 #: archlinux debian-unstable fedora-44 fedora-rawhide
1195 #, no-wrap
1196 msgid "Macro expansion"
1197 msgstr "Extinderea macrocomenzii"
1198
1199 #. type: Plain text
1200 #: archlinux debian-unstable fedora-44 fedora-rawhide
1201 msgid "B<%{expand:>I<BODY>B<}>"
1202 msgstr "B<%{expand:>I<CORP>B<}>"
1203
1204 #. type: Plain text
1205 #: archlinux debian-unstable fedora-44 fedora-rawhide
1206 msgid ""
1207 "Expand I<BODY> as if it were a macro body.\\& Useful for increased "
1208 "indirection, such as to expand a macro name constructed from two or more "
1209 "macros.\\&"
1210 msgstr ""
1211 "Extinde I<CORPUL> ca și cum ar fi un corp al unei macrocomenzi. Util pentru "
1212 "o indirecție sporită, cum ar fi extinderea unui nume de macrocomandă "
1213 "construit din două sau mai multe macrocomenzi."
1214
1215 #. type: Plain text
1216 #: archlinux debian-unstable fedora-44 fedora-rawhide
1217 #, no-wrap
1218 msgid "%{expand:%{foo_prefix}%{foo_suffix}}\n"
1219 msgstr "%{expand:%{foo_prefix}%{foo_suffix}}\n"
1220
1221 #. type: Plain text
1222 #: archlinux debian-unstable fedora-44 fedora-rawhide
1223 msgid "B<%{expr:>I<EXPRESSION>}"
1224 msgstr "B<%{expr:>I<EXPRESIE>}"
1225
1226 #. type: Plain text
1227 #: archlinux debian-unstable fedora-44 fedora-rawhide
1228 msgid ""
1229 "Expand I<EXPRESSION>.\\& See B<Expression expansion>.\\& (Added: "
1230 "4.\\&15.\\&0)"
1231 msgstr ""
1232 "Extinde I<EXPRESIA>.\\& Consultați B<Extinderea expresiei>.\\& (Adăugată în "
1233 "versiunea: 4.\\&15.\\&0)"
1234
1235 #. type: Plain text
1236 #: archlinux debian-unstable fedora-44 fedora-rawhide
1237 #, no-wrap
1238 msgid "%{expr:5*1024}\n"
1239 msgstr "%{expr:5*1024}\n"
1240
1241 #. type: Plain text
1242 #: archlinux debian-unstable fedora-44 fedora-rawhide
1243 msgid ""
1244 "Expand to output of I<LUA-CODE> using the embedded Lua interpreter.\\& See "
1245 "B<Lua expansion>.\\&"
1246 msgstr ""
1247 "Extinde la ieșirea I<LUA-CODE> folosind interpretul Lua încorporat.\\& "
1248 "Consultați B<Extindere Lua>.\\&"
1249
1250 #. type: Plain text
1251 #: archlinux debian-unstable fedora-44 fedora-rawhide
1252 #, no-wrap
1253 msgid "%{lua:for i=65,90 do print(string\\&.char(i)) end}\n"
1254 msgstr "%{lua:for i=65,90 do print(șir\\&.char(i)) end}\n"
1255
1256 #. type: Plain text
1257 #: archlinux debian-unstable fedora-44 fedora-rawhide
1258 msgid "B<%{macrobody:>I<NAME>B<}>"
1259 msgstr "B<%{macrobody:>I<NUME>B<}>"
1260
1261 #. type: Plain text
1262 #: archlinux debian-unstable fedora-44 fedora-rawhide
1263 msgid ""
1264 "Expand to the literal body of the macro I<NAME>.\\& (Added: 4.\\&16.\\&0)"
1265 msgstr ""
1266 "Extinde la corpul literal al macrocomenzii I<NUME>.\\& (Adăugată în "
1267 "versiunea: 4.\\&16.\\&0)"
1268
1269 #. type: Plain text
1270 #: archlinux debian-unstable fedora-44 fedora-rawhide
1271 #, no-wrap
1272 msgid "%{macrobody:_libdir}\n"
1273 msgstr "%{macrobody:_libdir}\n"
1274
1275 #. type: SS
1276 #: archlinux debian-unstable fedora-44 fedora-rawhide
1277 #, no-wrap
1278 msgid "String operations"
1279 msgstr "Operații cu șiruri de caractere"
1280
1281 #. type: Plain text
1282 #: archlinux debian-unstable fedora-44 fedora-rawhide
1283 msgid "B<%dnl>"
1284 msgstr "B<%dnl>"
1285
1286 #. type: Plain text
1287 #: archlinux debian-unstable fedora-44 fedora-rawhide
1288 msgid ""
1289 "Discard to next line (without expanding anything).\\& B<%dnl> is the "
1290 "recommended way to comment out things in spec files because it works "
1291 "everywhere and disables macro processing for that line.\\& (Added: "
1292 "4.\\&15.\\&0)"
1293 msgstr ""
1294 "Ignoră la linia următoare (fără a extinde nimic).\\& B<%dnl> este metoda "
1295 "recomandată pentru a comenta elementele din fișierele spec, deoarece "
1296 "funcționează peste tot și dezactivează procesarea macrocomenzii pentru linia "
1297 "respectivă.\\& (Adăugată în versiunea: 4.\\&15.\\&0)"
1298
1299 #. type: Plain text
1300 #: archlinux debian-unstable fedora-44 fedora-rawhide
1301 #, no-wrap
1302 msgid "%dnl This is a comment on %{mymacro} behavior\n"
1303 msgstr "%dnl Acesta este un comentariu privind comportamentul %{mymacro}\n"
1304
1305 #. type: Plain text
1306 #: archlinux debian-unstable fedora-44 fedora-rawhide
1307 msgid "B<%{gsub >I<STRING>, I<PATTERN>, I<REPL> [,I<N>]B<}>"
1308 msgstr "B<%{gsub >I<ȘIR>, I<MODEL>, I<ÎNLOCUIRE> [,I<N>]B<}>"
1309
1310 #. type: Plain text
1311 #: archlinux debian-unstable fedora-44 fedora-rawhide
1312 msgid ""
1313 "Replace all (or I<N> first if given) occurrences of I<PATTERN> in I<STRING> "
1314 "by I<REPL>.\\&"
1315 msgstr ""
1316 "Înlocuiește toate aparițiile (sau primele I<N>, dacă sunt specificate) ale "
1317 "I<MODELULUI> din I<ȘIR> cu I<ÎNLOCUIREA>.\\&"
1318
1319 #. type: Plain text
1320 #: archlinux debian-unstable fedora-44 fedora-rawhide
1321 msgid "Added: 4.\\&19.\\&0"
1322 msgstr "Adăugată în versiunea: 4.\\&19.\\&0"
1323
1324 #. type: Plain text
1325 #: archlinux debian-unstable fedora-44 fedora-rawhide
1326 #, no-wrap
1327 msgid "%{gsub aabbaacc aa dd 1}\n"
1328 msgstr "%{gsub aabbaacc aa dd 1}\n"
1329
1330 #. type: Plain text
1331 #: archlinux debian-unstable fedora-44 fedora-rawhide
1332 msgid "B<%{len:>I<STRING>B<}>"
1333 msgstr "B<%{len:>I<ȘIR>B<}>"
1334
1335 #. type: Plain text
1336 #: archlinux debian-unstable fedora-44 fedora-rawhide
1337 msgid "Expand to length of I<STRING>.\\& (Added: 4.\\&19.\\&0)"
1338 msgstr ""
1339 "Extinde la lungimea I<ȘIRULUI>.\\& (Adăugată în versiunea: 4.\\&19.\\&0)"
1340
1341 #. type: Plain text
1342 #: archlinux debian-unstable fedora-44 fedora-rawhide
1343 #, no-wrap
1344 msgid "%{len:9bf7da058a7c582878310e75be3d56a5a8b67f95}\n"
1345 msgstr "%{len:9bf7da058a7c582878310e75be3d56a5a8b67f95}\n"
1346
1347 #. type: Plain text
1348 #: archlinux debian-unstable fedora-44 fedora-rawhide
1349 msgid "B<%{lower:>I<STRING>B<}>"
1350 msgstr "B<%{lower:>I<ȘIR>B<}>"
1351
1352 #. type: Plain text
1353 #: archlinux debian-unstable fedora-44 fedora-rawhide
1354 msgid "Expand to lowercase I<STRING>.\\& (Added: 4.\\&19.\\&0)"
1355 msgstr ""
1356 "Extinde la litere mici I<ȘIRUL>.\\& (Adăugată în versiunea: 4.\\&19.\\&0)"
1357
1358 #. type: Plain text
1359 #: archlinux debian-unstable fedora-44 fedora-rawhide
1360 #, no-wrap
1361 msgid "%{lower:CamelCase}\\&'\n"
1362 msgstr "%{lower:CamelCase}\\&'\n"
1363
1364 #. type: Plain text
1365 #: archlinux debian-unstable fedora-44 fedora-rawhide
1366 msgid "B<%{quote:>I<STRING>B<}>"
1367 msgstr "B<%{quote:>I<Șir>B<}>"
1368
1369 #. type: Plain text
1370 #: archlinux debian-unstable fedora-44 fedora-rawhide
1371 msgid ""
1372 "Quote arguments for passing empty strings and strings with embedded "
1373 "whitespace as parametric macro arguments.\\& (Added: 4.\\&14.\\&0)"
1374 msgstr ""
1375 "Citează argumentele pentru transmiterea șirurilor goale și a șirurilor cu "
1376 "spații albe încorporate ca argumente ale macrocomenzii parametrice. "
1377 "(Adăugată în versiunea: 4.\\&14.\\&0)"
1378
1379 #. type: Plain text
1380 #: archlinux debian-unstable fedora-44 fedora-rawhide
1381 #, no-wrap
1382 msgid "%myzip -x %{quote:empty spaces\\&.zip}\n"
1383 msgstr "%myzip -x %{quote:empty spaces\\&.zip}\n"
1384
1385 #. type: Plain text
1386 #: archlinux debian-unstable fedora-44 fedora-rawhide
1387 msgid "B<%{rep >I<STRING>, I<N> [,I<SEP>]B<}>"
1388 msgstr "B<%{rep >I<ȘIR>, I<N> [,I<SEP>]B<}>"
1389
1390 #. type: Plain text
1391 #: archlinux debian-unstable fedora-44 fedora-rawhide
1392 msgid ""
1393 "Expand to a string that is the concatenation of I<N> copies of I<STRING>, "
1394 "separated by I<SEP> (if specified).\\&"
1395 msgstr ""
1396 "Extinde la un șir care este concatenarea a I<N> copii ale I<ȘIR>, separate "
1397 "prin I<SEP> (dacă este specificat).\\&"
1398
1399 #. type: Plain text
1400 #: archlinux debian-unstable fedora-44 fedora-rawhide
1401 #, no-wrap
1402 msgid "%{rep a 5}\n"
1403 msgstr "%{rep a 5}\n"
1404
1405 #. type: Plain text
1406 #: archlinux debian-unstable fedora-44 fedora-rawhide
1407 msgid "B<%{reverse:>I<STRING>B<}>"
1408 msgstr "B<%{reverse:>I<ȘIR>B<}>"
1409
1410 #. type: Plain text
1411 #: archlinux debian-unstable fedora-44 fedora-rawhide
1412 msgid "Reverse a string.\\& (Added: 4.\\&19.\\&0)"
1413 msgstr "Inversează un șir.\\& (Adăugată în versiunea: 4.\\&19.\\&0)"
1414
1415 #. type: Plain text
1416 #: archlinux debian-unstable fedora-44 fedora-rawhide
1417 #, no-wrap
1418 msgid "%{reverse:tac}\n"
1419 msgstr "%{reverse:tac}\n"
1420
1421 #. type: Plain text
1422 #: archlinux debian-unstable fedora-44 fedora-rawhide
1423 msgid "B<%{shescape:>I<STRING>B<}>"
1424 msgstr "B<%{shescape:>I<ȘIR>B<}>"
1425
1426 #. type: Plain text
1427 #: archlinux debian-unstable fedora-44 fedora-rawhide
1428 msgid ""
1429 "Single quote I<STRING> with escapes for use in shell.\\& (Added: "
1430 "4.\\&18.\\&0)"
1431 msgstr ""
1432 "Citează simplu I<ȘIRUL> cu caractere de eludare pentru utilizare în shell."
1433 "\\& (Adăugată în versiunea: 4.\\&18.\\&0)"
1434
1435 #. type: Plain text
1436 #: archlinux debian-unstable fedora-44 fedora-rawhide
1437 #, no-wrap
1438 msgid "%{shescape:foo\\&'s}\n"
1439 msgstr "%{shescape:foo\\&'s}\n"
1440
1441 #. type: Plain text
1442 #: archlinux debian-unstable fedora-44 fedora-rawhide
1443 msgid "B<%{shrink:>I<STRING>B<}>"
1444 msgstr "B<%{shrink:>I<ȘIR>B<}>"
1445
1446 #. type: Plain text
1447 #: archlinux debian-unstable fedora-44 fedora-rawhide
1448 msgid ""
1449 "Trim leading and trailing whitespace from I<STRING>, reduce intermediate "
1450 "whitespace to a single space.\\& (Added: 4.\\&14.\\&0)"
1451 msgstr ""
1452 "Elimină spațiile albe din fața și din spatele I<ȘIRULUI>, reduce spațiile "
1453 "albe intermediare la un singur spațiu.\\& (Adăugată în versiunea: "
1454 "4.\\&14.\\&0)"
1455
1456 #. type: Plain text
1457 #: archlinux debian-unstable fedora-44 fedora-rawhide
1458 #, no-wrap
1459 msgid "%{shrink:aa bb ccc }\n"
1460 msgstr "%{shrink:aa bb ccc }\n"
1461
1462 #. type: Plain text
1463 #: archlinux debian-unstable fedora-44 fedora-rawhide
1464 msgid "B<%{span:>I<STRING>B<}>"
1465 msgstr "B<%{span:>I<ȘIR>B<}>"
1466
1467 #. type: Plain text
1468 #: archlinux debian-unstable fedora-44 fedora-rawhide
1469 msgid ""
1470 "As-is string, handy for wrapping multiline macros.\\& (Added: 6.\\&0.\\&0)"
1471 msgstr ""
1472 "Șirul așa cum este, util pentru încadrarea macrocomenzilor pe mai multe "
1473 "linii.\\& (Adăugată în versiunea: 6.\\&0.\\&0)"
1474
1475 #. type: Plain text
1476 #: archlinux debian-unstable fedora-44 fedora-rawhide
1477 #, no-wrap
1478 msgid ""
1479 "%{span:\n"
1480 "\t%one thing\n"
1481 "\t%another thing\n"
1482 "}\n"
1483 msgstr ""
1484 "%{span:\n"
1485 "\t%un lucru\n"
1486 "\t%un alt lucru\n"
1487 "}\n"
1488
1489 #. type: Plain text
1490 #: archlinux debian-unstable fedora-44 fedora-rawhide
1491 msgid "B<%{sub >I<STRING>, I<I>, [,I<J>]B<}>"
1492 msgstr "B<%{sub >I<ȘIR>, I<I>, [,I<J>]B<}>"
1493
1494 #. type: Plain text
1495 #: archlinux debian-unstable fedora-44 fedora-rawhide
1496 msgid ""
1497 "Expand to substring of I<STRING> that starts at B<I> and continues until "
1498 "B<J>.\\& B<I> and B<J> can be negative to index from the string'\\&s end.\\& "
1499 "If B<J> is absent, then it is assumed to be equal to B<-1> (ie.\\& string "
1500 "end).\\&"
1501 msgstr ""
1502 "Extinde la subșirul din I<ȘIR> care începe la B<I> și continuă până la B<J>."
1503 "\\& B<I> și B<J> pot fi negative pentru a indexa de la sfârșitul șirului\\&. "
1504 "Dacă B<J> este absent, se presupune că este egal cu B<-1> (adică sfârșitul "
1505 "șirului).\\&"
1506
1507 #. type: Plain text
1508 #: archlinux debian-unstable fedora-44 fedora-rawhide
1509 #, no-wrap
1510 msgid "*%{sub myfile\\&.zip 3 6}*\n"
1511 msgstr "*%{sub fișierul-meu\\&.zip 3 6}*\n"
1512
1513 #. type: Plain text
1514 #: archlinux debian-unstable fedora-44 fedora-rawhide
1515 msgid "B<%{upper:>I<STRING>B<}>"
1516 msgstr "B<%{upper:>I<ȘIR>B<}>"
1517
1518 #. type: Plain text
1519 #: archlinux debian-unstable fedora-44 fedora-rawhide
1520 msgid "Expand to uppercase I<STRING>.\\& (Added: 4.\\&19.\\&0)"
1521 msgstr ""
1522 "Extinde la majuscule I<ȘIRUL>.\\& (Adăugată în versiunea: 4.\\&19.\\&0)"
1523
1524 #. type: Plain text
1525 #: archlinux debian-unstable fedora-44 fedora-rawhide
1526 #, no-wrap
1527 msgid "%{upper:CamelCase}\\&'\n"
1528 msgstr "%{upper:CamelCase}\\&'\n"
1529
1530 #. type: SS
1531 #: archlinux debian-unstable fedora-44 fedora-rawhide
1532 #, no-wrap
1533 msgid "File and path operations"
1534 msgstr "Operații cu fișiere și rute"
1535
1536 #. type: Plain text
1537 #: archlinux debian-unstable fedora-44 fedora-rawhide
1538 msgid "B<%{basename:>I<PATH>B<}>"
1539 msgstr "B<%{basename:>I<RUTA>B<}>"
1540
1541 #. type: Plain text
1542 #: archlinux debian-unstable fedora-44 fedora-rawhide
1543 msgid "B<basename>(1) macro analogue.\\&"
1544 msgstr "B<basename>(1) macrocomandă analoagă.\\&"
1545
1546 #. type: Plain text
1547 #: archlinux debian-unstable fedora-44 fedora-rawhide
1548 #, no-wrap
1549 msgid "%{basename:/some/dir/file\\&.suf}\n"
1550 msgstr "%{nume-bazăe:/vreun/dir/fișier\\&.suf}\n"
1551
1552 #. type: Plain text
1553 #: archlinux debian-unstable fedora-44 fedora-rawhide
1554 msgid "B<%{dirname:>I<PATH>B<}>"
1555 msgstr "B<%{dirname:>I<RUTA>B<}>"
1556
1557 #. type: Plain text
1558 #: archlinux debian-unstable fedora-44 fedora-rawhide
1559 msgid "B<dirname>(1) macro analogue.\\&"
1560 msgstr "B<dirname>(1) macrocomandă analoagă.\\&"
1561
1562 #. type: Plain text
1563 #: archlinux debian-unstable fedora-44 fedora-rawhide
1564 #, no-wrap
1565 msgid "%{dirname:/some/dir/file\\&.suf}\n"
1566 msgstr "%{dirname:/vreun/dir/fișier\\&.suf}\n"
1567
1568 #. type: Plain text
1569 #: archlinux debian-unstable fedora-44 fedora-rawhide
1570 msgid "B<%{exists:>I<PATH>B<}>"
1571 msgstr "B<%{exists:>I<RUTA>B<}>"
1572
1573 #. type: Plain text
1574 #: archlinux debian-unstable fedora-44 fedora-rawhide
1575 msgid "Test file existence, expands to 1/0.\\& (Added: 4.\\&18.\\&0)"
1576 msgstr ""
1577 "Verifică existența fișierului, expandează la 1/0.\\& (Adăugată în versiunea: "
1578 "4.\\&18.\\&0)"
1579
1580 #. type: Plain text
1581 #: archlinux debian-unstable fedora-44 fedora-rawhide
1582 #, no-wrap
1583 msgid "%{exists:%{builddir}/myflag\\&.txt}\n"
1584 msgstr "%{exists:%{builddir}/myflag\\&.txt}\n"
1585
1586 #. type: Plain text
1587 #: archlinux debian-unstable fedora-44 fedora-rawhide
1588 msgid "B<%{suffix:>I<PATH>B<}>"
1589 msgstr "B<%{suffix:>I<RUTA>B<}>"
1590
1591 #. type: Plain text
1592 #: archlinux debian-unstable fedora-44 fedora-rawhide
1593 msgid "Expand to suffix part of a filename.\\&"
1594 msgstr "Expandează partea de sufix a unui nume de fișier.\\&"
1595
1596 #. type: Plain text
1597 #: archlinux debian-unstable fedora-44 fedora-rawhide
1598 #, no-wrap
1599 msgid "%{suffix:myfile\\&.zip}\n"
1600 msgstr "%{suffix:fișierul-meu\\&.zip}\n"
1601
1602 #. type: Plain text
1603 #: archlinux debian-unstable fedora-44 fedora-rawhide
1604 msgid "B<%{url2path:>I<URL>B<}>"
1605 msgstr "B<%{url2path:>I<URL>B<}>"
1606
1607 #. type: Plain text
1608 #: archlinux debian-unstable fedora-44 fedora-rawhide
1609 msgid "Convert url to a local path.\\&"
1610 msgstr "Convertește adresa URL într-o rută locală.\\&"
1611
1612 #. type: Plain text
1613 #: archlinux debian-unstable fedora-44 fedora-rawhide
1614 #, no-wrap
1615 msgid "%{url2path:http://rpm\\&.org/not/there}\n"
1616 msgstr "%{url2path:http://rpm\\&.org/not/there}\n"
1617
1618 #. type: Plain text
1619 #: archlinux debian-unstable fedora-44 fedora-rawhide
1620 msgid "B<%{uncompress:>I<PATH>B<}>"
1621 msgstr "B<%{uncompress:>I<RUTA>B<}>"
1622
1623 #. type: Plain text
1624 #: archlinux debian-unstable fedora-44 fedora-rawhide
1625 msgid ""
1626 "Expand to a command for outputting argument I<PATH> to standard output, "
1627 "uncompressing as needed.\\&"
1628 msgstr ""
1629 "Extinde la o comandă pentru a afișa argumentul I<RUTA> la ieșirea standard, "
1630 "decomprimând după cum este necesar.\\&"
1631
1632 #. type: Plain text
1633 #: archlinux debian-unstable fedora-44 fedora-rawhide
1634 #, no-wrap
1635 msgid "%{uncompress /my/source\\&.tar\\&.gz}\n"
1636 msgstr "%{uncompress /sursa/mea\\&.tar\\&.gz}\n"
1637
1638 #. type: Plain text
1639 #: archlinux debian-unstable fedora-44 fedora-rawhide
1640 msgid "B<%{xdg:>I<KIND>B<}>"
1641 msgstr "B<%{xdg:>I<TIP>B<}>"
1642
1643 #. type: Plain text
1644 #: archlinux debian-unstable fedora-44 fedora-rawhide
1645 msgid ""
1646 "Expand to XDG base directory paths.\\& Supported values for I<KIND> are:"
1647 msgstr ""
1648 "Extinde la rutele directorului de bază XDG. Valorile acceptate pentru I<TIP> "
1649 "sunt:"
1650
1651 #. type: Plain text
1652 #: archlinux debian-unstable fedora-44 fedora-rawhide
1653 msgid "B<cache>: user-specific non-essential (cached) data"
1654 msgstr "B<cache>: date neesențiale specifice utilizatorului (stocate în cache)"
1655
1656 #. type: Plain text
1657 #: archlinux debian-unstable fedora-44 fedora-rawhide
1658 msgid "B<config>: user-specific configuration files"
1659 msgstr "B<config>: fișiere de configurare specifice utilizatorului"
1660
1661 #. type: Plain text
1662 #: archlinux debian-unstable fedora-44 fedora-rawhide
1663 msgid "B<data>: user-specific data files"
1664 msgstr "B<data>: fișiere de date specifice utilizatorului"
1665
1666 #. type: Plain text
1667 #: archlinux debian-unstable fedora-44 fedora-rawhide
1668 msgid "B<state>: user-specific state data"
1669 msgstr "B<state>: date de stare specifice utilizatorului"
1670
1671 #. type: Plain text
1672 #: archlinux debian-unstable fedora-44 fedora-rawhide
1673 msgid "Added: 6.\\&0.\\&0"
1674 msgstr "Adăugată: 6.\\&0.\\&0"
1675
1676 #. type: Plain text
1677 #: archlinux debian-unstable fedora-44 fedora-rawhide
1678 #, no-wrap
1679 msgid "%{xdg config}\n"
1680 msgstr "%{xdg config}\n"
1681
1682 #. type: SS
1683 #: archlinux debian-unstable fedora-44 fedora-rawhide
1684 #, no-wrap
1685 msgid "Environment info"
1686 msgstr "Informații despre mediu"
1687
1688 #. type: Plain text
1689 #: archlinux debian-unstable fedora-44 fedora-rawhide
1690 msgid "B<%getncpus>"
1691 msgstr "B<%getncpus>"
1692
1693 #. type: Plain text
1694 #: archlinux debian-unstable fedora-44 fedora-rawhide
1695 msgid "Expand to the number of available CPUs.\\& (Added: 4.\\&15.\\&0)"
1696 msgstr ""
1697 "Extinde la numărul de CPU-uri disponibile.\\& (Adăugată în versiunea: "
1698 "4.\\&15.\\&0)"
1699
1700 #. type: Plain text
1701 #: archlinux debian-unstable fedora-44 fedora-rawhide
1702 msgid "B<%{getncpus:>I<KIND>B<}>"
1703 msgstr "B<%{getncpus:>I<TIP>B<}>"
1704
1705 #. type: Plain text
1706 #: archlinux debian-unstable fedora-44 fedora-rawhide
1707 msgid ""
1708 "Expand to the number of available CPUs, supported valued for I<KIND> are"
1709 msgstr ""
1710 "Extinde la numărul de CPU-uri disponibile, valorile acceptate pentru I<TIP> "
1711 "sunt"
1712
1713 #. type: Plain text
1714 #: archlinux debian-unstable fedora-44 fedora-rawhide
1715 msgid "B<total>: total number of available CPUs (same as B<%getncpus>)"
1716 msgstr ""
1717 "B<total>: numărul total de CPU-uri disponibile (la fel ca B<%getncpus>)"
1718
1719 #. type: Plain text
1720 #: archlinux debian-unstable fedora-44 fedora-rawhide
1721 msgid "B<proc>: number of available CPUs for processes"
1722 msgstr "B<proc>: numărul de CPU-uri disponibile pentru procese"
1723
1724 #. type: Plain text
1725 #: archlinux debian-unstable fedora-44 fedora-rawhide
1726 msgid "B<thread>: number of available CPUs for threads"
1727 msgstr "B<thread>: numărul de CPU-uri disponibile pentru fire de execuție"
1728
1729 #. type: Plain text
1730 #: archlinux debian-unstable fedora-44 fedora-rawhide
1731 msgid ""
1732 "B<proc> and B<thread> account for available memory, including address space "
1733 "limitations for threads.\\&"
1734 msgstr ""
1735 "B<proc> și B<thread> contabilizează memoria disponibilă, inclusiv limitările "
1736 "spațiului de adrese pentru firele de execuție.\\&"
1737
1738 #. type: Plain text
1739 #: archlinux debian-unstable fedora-44 fedora-rawhide
1740 msgid "Added: 4.\\&19.\\&0.\\&"
1741 msgstr "Adăugată: 4.\\&19.\\&0.\\&"
1742
1743 #. type: Plain text
1744 #: archlinux debian-unstable fedora-44 fedora-rawhide
1745 #, no-wrap
1746 msgid "%{getncpus proc}\n"
1747 msgstr "%{getncpus proc}\n"
1748
1749 #. type: Plain text
1750 #: archlinux debian-unstable fedora-44 fedora-rawhide
1751 msgid "B<%getconfdir>"
1752 msgstr "B<%getconfdir>"
1753
1754 #. type: Plain text
1755 #: archlinux debian-unstable fedora-44 fedora-rawhide
1756 msgid "Expand to RPM \"home\" directory (typically /usr/lib/rpm).\\&"
1757 msgstr "Extinde la directorul „home” RPM (de obicei „/usr/lib/rpm”).\\&"
1758
1759 #. type: Plain text
1760 #: archlinux debian-unstable fedora-44 fedora-rawhide
1761 msgid "B<%{getenv:>I<NAME>B<}>"
1762 msgstr "B<%{getenv:>I<NUME>B<}>"
1763
1764 #. type: Plain text
1765 #: archlinux debian-unstable fedora-44 fedora-rawhide
1766 msgid "B<getenv>(3) macro analogue.\\&"
1767 msgstr "B<getenv>(1) macrocomandă analoagă.\\&"
1768
1769 #. type: Plain text
1770 #: archlinux debian-unstable fedora-44 fedora-rawhide
1771 #, no-wrap
1772 msgid "%{getenv:HOME}\n"
1773 msgstr "%{getenv:HOME}\n"
1774
1775 #. type: Plain text
1776 #: archlinux debian-unstable fedora-44 fedora-rawhide
1777 msgid "B<%rpmversion>"
1778 msgstr "B<%rpmversion>"
1779
1780 #. type: Plain text
1781 #: archlinux debian-unstable fedora-44 fedora-rawhide
1782 msgid "Expand to running RPM version.\\&"
1783 msgstr "Extinde la versiunea RPM în execuție.\\&"
1784
1785 #. type: SS
1786 #: archlinux debian-unstable fedora-44 fedora-rawhide
1787 #, no-wrap
1788 msgid "Output"
1789 msgstr "Ieșire"
1790
1791 #. type: Plain text
1792 #: archlinux debian-unstable fedora-44 fedora-rawhide
1793 msgid "B<%{echo:>I<STRING>B<}>"
1794 msgstr "B<%{echo:>I<ȘIR>B<}>"
1795
1796 #. type: Plain text
1797 #: archlinux debian-unstable fedora-44 fedora-rawhide
1798 msgid "Print I<STRING> to process standard output.\\&"
1799 msgstr "Imprimă I<ȘIRUL> pentru a procesa ieșirea standard.\\&"
1800
1801 #. type: Plain text
1802 #: archlinux debian-unstable fedora-44 fedora-rawhide
1803 #, no-wrap
1804 msgid "%{echo:Building with foo}\n"
1805 msgstr "%{echo:Construirea cu foo}\n"
1806
1807 #. type: Plain text
1808 #: archlinux debian-unstable fedora-44 fedora-rawhide
1809 msgid "B<%{warn:>I<STRING>B<}>"
1810 msgstr "B<%{warn:>I<ȘIR>B<}>"
1811
1812 #. type: Plain text
1813 #: archlinux debian-unstable fedora-44 fedora-rawhide
1814 msgid ""
1815 "Print I<STRING> prefixed with \"warning: \" to process standard error.\\&"
1816 msgstr ""
1817 "Imprimă I<ȘIRUL> precedat de „warning: ” pentru a procesa ieșirea de eroare "
1818 "standard.\\&"
1819
1820 #. type: Plain text
1821 #: archlinux debian-unstable fedora-44 fedora-rawhide
1822 #, no-wrap
1823 msgid "%{warning:Foo is deprecated}\n"
1824 msgstr "%{warning:Foo este depreciat}\n"
1825
1826 #. type: Plain text
1827 #: archlinux debian-unstable fedora-44 fedora-rawhide
1828 msgid "B<%{error:>I<STRING>B<}>"
1829 msgstr "B<%{error:>I<ȘIR>B<}>"
1830
1831 #. type: Plain text
1832 #: archlinux debian-unstable fedora-44 fedora-rawhide
1833 msgid ""
1834 "Print I<STRING> prefixed with \"error: \" to process standard error and flag "
1835 "an error in the macro processor.\\&"
1836 msgstr ""
1837 "Imprimă I<ȘIRUL> prefixat cu „error:” pentru a procesa eroarea standard și a "
1838 "semnaliza o eroare în procesorul macrocomenzii.\\&"
1839
1840 #. type: Plain text
1841 #: archlinux debian-unstable fedora-44 fedora-rawhide
1842 #, no-wrap
1843 msgid "%{error:Invalid argument}\n"
1844 msgstr "%{error:Argument nevalid}\n"
1845
1846 #. type: Plain text
1847 #: archlinux debian-unstable fedora-44 fedora-rawhide
1848 msgid "B<%verbose>"
1849 msgstr "B<%verbose>"
1850
1851 #. type: Plain text
1852 #: archlinux debian-unstable fedora-44 fedora-rawhide
1853 msgid ""
1854 "Expand to 1/0 whether RPM is in verbose mode or not.\\& (Added: 4.\\&17.\\&1)"
1855 msgstr ""
1856 "Expandează la 1/0 indiferent dacă RPM este în modul descriptiv sau nu. "
1857 "(Adăugată în versiunea: 4.\\&17.\\&1)"
1858
1859 #. type: Plain text
1860 #: archlinux debian-unstable fedora-44 fedora-rawhide
1861 msgid "B<%{verbose:>I<STRING>B<}>"
1862 msgstr "B<%{verbose:>I<ȘIR>B<}>"
1863
1864 #. type: Plain text
1865 #: archlinux debian-unstable fedora-44 fedora-rawhide
1866 msgid ""
1867 "Expand to I<STRING> if RPM is in verbose mode, the empty string if not.\\& "
1868 "(Added: 4.\\&17.\\&1)"
1869 msgstr ""
1870 "Extinde la I<ȘIR> dacă RPM este în modul descriptiv, șirul gol dacă nu este."
1871 "\\& (Adăugată în versiunea: 4.\\&17.\\&1)"
1872
1873 #. type: Plain text
1874 #: archlinux debian-unstable fedora-44 fedora-rawhide
1875 #, no-wrap
1876 msgid "%{verbose:-x}\n"
1877 msgstr "%{verbose:-x}\n"
1878
1879 #. type: SS
1880 #: archlinux debian-unstable fedora-44 fedora-rawhide
1881 #, no-wrap
1882 msgid "Spec specific macros"
1883 msgstr "Macrocomenzi specifice spec"
1884
1885 #. type: Plain text
1886 #: archlinux debian-unstable fedora-44 fedora-rawhide
1887 msgid "B<%{S:>I<NUMBER>B<}>"
1888 msgstr "B<%{S:>I<NUMĂR>B<}>"
1889
1890 #. type: Plain text
1891 #: archlinux debian-unstable fedora-44 fedora-rawhide
1892 msgid ""
1893 "Expand to the filename of the specified Source I<NUMBER>.\\& B<%{S:n}> is "
1894 "equivalent to B<%{SOURCEn}>.\\&"
1895 msgstr ""
1896 "Extinde la numele fișierului sursei specificate I<NUMĂR>.\\& B<%{S:n}> este "
1897 "echivalent cu B<%{SOURCEn}>.\\&"
1898
1899 #. type: Plain text
1900 #: archlinux debian-unstable fedora-44 fedora-rawhide
1901 msgid "B<%{P:>I<NUMBER>B<}>"
1902 msgstr "B<%{P:>I<NUMĂR>B<}>"
1903
1904 #. type: Plain text
1905 #: archlinux debian-unstable fedora-44 fedora-rawhide
1906 msgid ""
1907 "Expand to the filename of the specified Patch I<NUMBER>.\\& B<%{P:n}> is "
1908 "equivalent to B<%{PATCHn}>.\\&"
1909 msgstr ""
1910 "Extinde la numele fișierului patch-ului specificat I<NUMĂR>.\\& B<%{P:n}> "
1911 "este echivalent cu B<%{PATCHn}>.\\&"
1912
1913 #. type: SS
1914 #: archlinux debian-unstable fedora-44 fedora-rawhide
1915 #, no-wrap
1916 msgid "Diagnostics"
1917 msgstr "Diagnosticare"
1918
1919 #. type: Plain text
1920 #: archlinux debian-unstable fedora-44 fedora-rawhide
1921 msgid "B<%trace>"
1922 msgstr "B<%trace>"
1923
1924 #. type: Plain text
1925 #: archlinux debian-unstable fedora-44 fedora-rawhide
1926 msgid "Toggle print of debugging information before/after expansion.\\&"
1927 msgstr "Comută afișarea informațiilor de depanare înainte/după extindere."
1928
1929 #. type: Plain text
1930 #: archlinux debian-unstable fedora-44 fedora-rawhide
1931 msgid "B<%dump>"
1932 msgstr "B<%dump>"
1933
1934 #. type: Plain text
1935 #: archlinux debian-unstable fedora-44 fedora-rawhide
1936 msgid "Print the active (i.\\&e.\\& non-covered) macro table.\\&"
1937 msgstr "Imprimă tabelul de macrocomenzi active (adică neacoperite)."
1938
1939 #. type: Plain text
1940 #: archlinux debian-unstable fedora-44 fedora-rawhide
1941 msgid "B<%__file_name>"
1942 msgstr "B<%__nume_fișier>"
1943
1944 #. type: Plain text
1945 #: archlinux debian-unstable fedora-44 fedora-rawhide
1946 msgid "Expand to current filename (if parsing a file).\\& (Added: 4.\\&15)"
1947 msgstr ""
1948 "Extinde la numele fișierului curent (dacă se analizează un fișier).\\& "
1949 "(Adăugată în versiunea: 4.\\&15)"
1950
1951 #. type: Plain text
1952 #: archlinux debian-unstable fedora-44 fedora-rawhide
1953 msgid "B<%__file_lineno>"
1954 msgstr "B<%__fișier_nr.linie>"
1955
1956 #. type: Plain text
1957 #: archlinux debian-unstable fedora-44 fedora-rawhide
1958 msgid ""
1959 "Expand to current line number in current file (if parsing a file).\\& "
1960 "(Added: 4.\\&15)"
1961 msgstr ""
1962 "Extindeți la numărul liniei curente din fișierul curent (dacă se analizează "
1963 "un fișier).\\& (Adăugată în versiunea: 4.\\&15)"
1964
1965 #. type: SH
1966 #: archlinux debian-unstable fedora-44 fedora-rawhide
1967 #, no-wrap
1968 msgid "EXAMPLES"
1969 msgstr "EXEMPLE"
1970
1971 #. type: SS
1972 #: archlinux debian-unstable fedora-44 fedora-rawhide
1973 #, no-wrap
1974 msgid "Example 1. Define a simple macro"
1975 msgstr "Exemplul 1. Definiți o macrocomandă simplă"
1976
1977 #. type: Plain text
1978 #: archlinux debian-unstable fedora-44 fedora-rawhide
1979 msgid ""
1980 "Define macro B<mylib> to a path relative to B<%{_libdir}> macro in a spec:"
1981 msgstr ""
1982 "Definiți macrocomanda B<mylib> ca o rută relativă la macrocomanda B<%"
1983 "{_libdir}> într-un fișier spec:"
1984
1985 #. type: Plain text
1986 #: archlinux debian-unstable fedora-44 fedora-rawhide
1987 #, no-wrap
1988 msgid "%define mylib %{_libdir}/mine\n"
1989 msgstr "%define mylib %{_libdir}/mine\n"
1990
1991 #. type: SS
1992 #: archlinux debian-unstable fedora-44 fedora-rawhide
1993 #, no-wrap
1994 msgid "Example 2. Define a parametric macro"
1995 msgstr "Exemplul 2. Definiți o macrocomandă parametrică"
1996
1997 #. type: Plain text
1998 #: archlinux debian-unstable fedora-44 fedora-rawhide
1999 msgid ""
2000 "Define parametric macro B<myhelper> which executes the program specified by "
2001 "B<%myprog> with it'\\&s first argument and always passing the option B<--"
2002 "some-opt> to it, and additionally the B<--xtra> option if it received the B<-"
2003 "x> option itself:"
2004 msgstr ""
2005 "Definiți macrocomanda parametrică B<myhelper> care execută programul "
2006 "specificat de B<%myprog> cu primul argument al acestuia și trecând "
2007 "întotdeauna opțiunea B<--some-opt> către acesta, precum și opțiunea B<--"
2008 "xtra> dacă a primit opțiunea B<-x>:"
2009
2010 #. type: Plain text
2011 #: archlinux debian-unstable fedora-44 fedora-rawhide
2012 #, no-wrap
2013 msgid "%define myhelper(x) %{myprog} --some-opt %{?-x:--xtra} %{1}\n"
2014 msgstr "%define myhelper(x) %{myprog} --vreo-opțiune %{?-x:--xtra} %{1}\n"
2015
2016 #. type: SS
2017 #: archlinux debian-unstable fedora-44 fedora-rawhide
2018 #, no-wrap
2019 msgid "Example 3. Define a macro utilizing shell expansion"
2020 msgstr "Exemplul 3. Definiți o macrocomandă utilizând expansiunea shell-ului"
2021
2022 #. type: Plain text
2023 #: archlinux debian-unstable fedora-44 fedora-rawhide
2024 msgid ""
2025 "Define macro B<%today> that expands to the current date in I<YYMMDD> format "
2026 "by calling the B<date>(1) shell utility.\\& Note the 2nd B<%> needed to "
2027 "escape the arguments to B<date>(1):"
2028 msgstr ""
2029 "Definiți macrocomanda B<%today> care se extinde la data curentă în formatul "
2030 "I<AALLZZ> apelând ustensila shell B<date>(1).\\& Rețineți că este necesară "
2031 "a doua macrocomandă B<%> pentru a eluda argumentele către B<date>(1):"
2032
2033 #. type: Plain text
2034 #: archlinux debian-unstable fedora-44 fedora-rawhide
2035 #, no-wrap
2036 msgid "%define today %(date +%%y%%m%%d)\n"
2037 msgstr "%define today %(date +%%y%%m%%d)\n"
2038
2039 #. type: SS
2040 #: archlinux debian-unstable fedora-44 fedora-rawhide
2041 #, no-wrap
2042 msgid "Example 4. Define a macro conditionally"
2043 msgstr "Exemplul 4. Definiți o macrocomandă condițională"
2044
2045 #. type: Plain text
2046 #: archlinux debian-unstable fedora-44 fedora-rawhide
2047 msgid "Define macro B<mypath> if it wasn'\\&t previously defined:"
2048 msgstr "Definiți macrocomanda B<mypath> dacă nu a fost definită anterior:"
2049
2050 #. type: Plain text
2051 #: archlinux debian-unstable fedora-44 fedora-rawhide
2052 #, no-wrap
2053 msgid "%{!?mypath: %define mypath /some/where}\n"
2054 msgstr "%{!?mypath: %define mypath /vreun/loc}\n"
2055
2056 #. type: SS
2057 #: archlinux debian-unstable fedora-44 fedora-rawhide
2058 #, no-wrap
2059 msgid "Example 5. Conditional expansion"
2060 msgstr "Exemplul 5. Expansiune conditională"
2061
2062 #. type: Plain text
2063 #: archlinux debian-unstable fedora-44 fedora-rawhide
2064 msgid "Expands to B<1> if B<use_foo> is defined and B<0> otherwise:"
2065 msgstr ""
2066 "Expandează la B<1> dacă B<use_foo> este definit și B<0> în caz contrar:"
2067
2068 #. type: Plain text
2069 #: archlinux debian-unstable fedora-44 fedora-rawhide
2070 #, no-wrap
2071 msgid "%{?use_foo:1}%{!?use_foo:0}\n"
2072 msgstr "%{?use_foo:1}%{!?use_foo:0}\n"
2073
2074 #. type: SS
2075 #: archlinux debian-unstable fedora-44 fedora-rawhide
2076 #, no-wrap
2077 msgid "Example 6. Expressions"
2078 msgstr "Exemplul 6. Expresii"
2079
2080 #. type: Plain text
2081 #: archlinux debian-unstable fedora-44 fedora-rawhide
2082 msgid "Calculate 5 * 1024:"
2083 msgstr "Calculează 5 * 1024:"
2084
2085 #. type: Plain text
2086 #: archlinux debian-unstable fedora-44 fedora-rawhide
2087 #, no-wrap
2088 msgid "%[5 * 1024]\n"
2089 msgstr "%[5 * 1024]\n"
2090
2091 #. type: Plain text
2092 #: archlinux debian-unstable fedora-44 fedora-rawhide
2093 msgid "Expand to literal B<true> or B<false> depending on a condition:"
2094 msgstr "Extinde la literalul B<true> sau B<false> în funcție de o condiție:"
2095
2096 #. type: Plain text
2097 #: archlinux debian-unstable fedora-44 fedora-rawhide
2098 #, no-wrap
2099 msgid "%[1 E<lt> 2 ? \"true\" : \"false\"]\n"
2100 msgstr "%[1 E<lt> 2 ? \"true\" : \"false\"]\n"
2101
2102 #. type: Plain text
2103 #: archlinux debian-unstable fedora-44 fedora-rawhide
2104 msgid "Compare versions, expanding to B<1> or B<0> on true/false:"
2105 msgstr "Compară versiunile, extinzând la B<1> sau B<0> pentru true/false:"
2106
2107 #. type: Plain text
2108 #: archlinux debian-unstable fedora-44 fedora-rawhide
2109 #, no-wrap
2110 msgid "%[ v\"3\\&.1\\&.0-1\" E<lt> v\"1\\&.0~alpha-2\" ? 1 : 0]\n"
2111 msgstr "%[ v\"3\\&.1\\&.0-1\" E<lt> v\"1\\&.0~alpha-2\" ? 1 : 0]\n"
2112
2113 #. type: Plain text
2114 #: archlinux debian-unstable fedora-44 fedora-rawhide
2115 msgid "Expands to B<1> if B<%aa> expands to B<5>, otherwise expands to B<2>:"
2116 msgstr ""
2117 "Expandează la B<1> dacă B<%aa> se extinde la B<5>, altfel se extinde la B<2>:"
2118
2119 #. type: Plain text
2120 #: archlinux debian-unstable fedora-44 fedora-rawhide
2121 #, no-wrap
2122 msgid "%[ \"%{aa}\" == \"5\" ? 1 : 2]\n"
2123 msgstr "%[ \"%{aa}\" == \"5\" ? 1 : 2]\n"
2124
2125 #. type: SH
2126 #: archlinux debian-unstable fedora-44 fedora-rawhide
2127 #, no-wrap
2128 msgid "DEBUGGING"
2129 msgstr "DEPANAREA"
2130
2131 #. type: Plain text
2132 #: archlinux debian-unstable fedora-44 fedora-rawhide
2133 msgid "Some useful tools for working with and troubleshooting macros:"
2134 msgstr ""
2135 "Câteva instrumente utile pentru lucrul cu macrocomenzi și depanarea acestora:"
2136
2137 #. type: Plain text
2138 #: archlinux debian-unstable fedora-44 fedora-rawhide
2139 msgid "B<rpm --eval \">I<VALUE>B<\">"
2140 msgstr "B<rpm --eval \">I<VALOARE>B<\">"
2141
2142 #. type: Plain text
2143 #: archlinux debian-unstable fedora-44 fedora-rawhide
2144 msgid "Expand I<VALUE> on the command line.\\&"
2145 msgstr "Extinde I<VALOAREA> în linia de comandă.\\&"
2146
2147 #. type: Plain text
2148 #: archlinux debian-unstable fedora-44 fedora-rawhide
2149 msgid "B<rpm --define \"aa 11\" --eval \"%aa\">"
2150 msgstr "B<rpm --define \"aa 11\" --eval \"%aa\">"
2151
2152 #. type: Plain text
2153 #: archlinux debian-unstable fedora-44 fedora-rawhide
2154 msgid "Define and evaluate a macro on the command line.\\&"
2155 msgstr "Definește și evauează o macrocomandă în linia de comandă."
2156
2157 #. type: Plain text
2158 #: archlinux debian-unstable fedora-44 fedora-rawhide
2159 msgid ""
2160 "B<rpm --eval \"%global unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2161 msgstr ""
2162 "B<rpm --eval \"%global unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2163
2164 #. type: Plain text
2165 #: archlinux debian-unstable fedora-44 fedora-rawhide
2166 msgid "Define and examine macro body using B<%global> on the command line.\\&"
2167 msgstr ""
2168 "Definește și examinează corpul macrocomenzii folosind B<%global> în linia de "
2169 "comandă.\\&"
2170
2171 #. type: Plain text
2172 #: archlinux debian-unstable fedora-44 fedora-rawhide
2173 msgid ""
2174 "B<rpm --eval \"%define unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2175 msgstr ""
2176 "B<rpm --eval \"%define unamer %(uname -r)\" --eval \"%{macrobody:unamer}\">"
2177
2178 #. type: Plain text
2179 #: archlinux debian-unstable fedora-44 fedora-rawhide
2180 msgid "Define and examine macro body using B<%define> on the command line.\\&"
2181 msgstr ""
2182 "Definește și examinează corpul macrocomenzii folosind B<%define> în linia de "
2183 "comandă.\\&"
2184
2185 #. type: Plain text
2186 #: archlinux debian-unstable fedora-44 fedora-rawhide
2187 msgid "B<rpmlua>"
2188 msgstr "B<rpmlua>"
2189
2190 #. type: Plain text
2191 #: archlinux debian-unstable fedora-44 fedora-rawhide
2192 msgid "Run an interactive shell in the embedded Lua environment.\\&"
2193 msgstr "Rulează un shell interactiv în mediul Lua încorporat."
2194
2195 #. type: Plain text
2196 #: archlinux debian-unstable fedora-44 fedora-rawhide
2197 msgid "B<rpmlua -e '\\&print(macros.\\&defined(\"_libdir\"))'\\&>"
2198 msgstr "B<rpmlua -e '\\&print(macros.\\&defined(\"_libdir\"))'\\&>"
2199
2200 #. type: Plain text
2201 #: archlinux debian-unstable fedora-44 fedora-rawhide
2202 msgid ""
2203 "Using the embedded Lua interpreter in standalone form, print print 1/0 "
2204 "whether macro B<_libdir> is defined or not.\\&"
2205 msgstr ""
2206 "Folosind interpretul Lua încorporat în formă autonomă, afișează 1/0 "
2207 "indiferent dacă macrocomanda B<_libdir> este definită sau nu.\\&"
2208
2209 #. type: Plain text
2210 #: archlinux debian-unstable fedora-44 fedora-rawhide
2211 msgid "B<rpmspec --shell>"
2212 msgstr "B<rpmspec --shell>"
2213
2214 #. type: Plain text
2215 #: archlinux debian-unstable fedora-44 fedora-rawhide
2216 msgid "Run an interactive shell in the macro environment.\\&"
2217 msgstr "Rulează un shell interactiv în mediul macrocomenzii.\\&"
2218
2219 #. type: Plain text
2220 #: archlinux debian-unstable fedora-44 fedora-rawhide
2221 msgid "B<rpmspec --shell telnet.\\&spec>"
2222 msgstr "B<rpmspec --shell telnet.\\&spec>"
2223
2224 #. type: Plain text
2225 #: archlinux debian-unstable fedora-44 fedora-rawhide
2226 msgid ""
2227 "Run an interactive shell in the macro environment after parsing B<telnet."
2228 "\\&spec>.\\&"
2229 msgstr ""
2230 "Rulează un shell interactiv în mediul macrocomenzii după analizarea B<telnet."
2231 "\\&spec>.\\&"
2232
2233 #. type: SH
2234 #: archlinux debian-unstable fedora-44 fedora-rawhide
2235 #, no-wrap
2236 msgid "SEE ALSO"
2237 msgstr "CONSULTAȚI ȘI"
2238
2239 #. type: Plain text
2240 #: archlinux debian-unstable fedora-44 fedora-rawhide
2241 msgid ""
2242 "B<rpm>(8) B<rpm-common>(8) B<rpm-macrofile>(5) B<rpm-config>(5) B<rpm-"
2243 "lua>(7) B<rpmspec>(1) B<rpmlua>(1)"
2244 msgstr ""
2245 "B<rpm>(8) B<rpm-common>(8) B<rpm-macrofile>(5) B<rpm-config>(5) B<rpm-"
2246 "lua>(7) B<rpmspec>(1) B<rpmlua>(1)"
2247
2248 #. type: TH
2249 #: debian-unstable
2250 #, no-wrap
2251 msgid "2026-04-10"
2252 msgstr "10 aprilie 2026"
2253
2254 #. type: TH
2255 #: fedora-44
2256 #, no-wrap
2257 msgid "2026-01-17"
2258 msgstr "17 ianuarie 2026"
2259
2260 #. type: TH
2261 #: fedora-rawhide
2262 #, no-wrap
2263 msgid "2026-02-16"
2264 msgstr "16 februarie 2026"