# Romanian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Remus-Gabriel Chelu , 2025, 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.28.0\n" "POT-Creation-Date: 2026-05-01 04:44+0200\n" "PO-Revision-Date: 2026-01-13 17:15+0100\n" "Last-Translator: Remus-Gabriel Chelu \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" "X-Generator: Poedit 3.6\n" #. type: TH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "RPM-MACROS" msgstr "RPM-MACROS" #. type: TH #: archlinux #, no-wrap msgid "2026-03-06" msgstr "6 martie 2026" #. type: TH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "RPM 6.0.1" msgstr "RPM 6.0.1" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "NAME" msgstr "NUME" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "rpm-macros - RPM macro processor" msgstr "rpm-macros - procesor macrocomenzi RPM" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "SYNOPSIS" msgstr "SINOPSIS" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Defining" msgstr "Definirea" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%>I I" msgstr "B<%>I I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%>IB<(>[I]B<)> I" msgstr "B<%>IB<(>[I]B<)> I" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Expanding" msgstr "Expandarea" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%>I" msgstr "B<%>I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%>I [I] [I]" msgstr "B<%>I [I] [I]" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{>IB<}>" msgstr "B<%{>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{>I [I] IB<}>" msgstr "B<%{>I [I] IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{>IB<:>IB<}>" msgstr "B<%{>IB<:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{?\\&>IB<}>" msgstr "B<%{?\\&>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{?\\&>IB<:>IB<}>" msgstr "B<%{?\\&>IB<:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{!\\&?\\&>IB<:>IB<}>" msgstr "B<%{!\\&?\\&>IB<:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%(>IB<)>" msgstr "B<%(>IB<)>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%[>IB<]>" msgstr "B<%[>IB<]>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%[>I B I B<:> IB<]>" msgstr "" "B<%[>I B I B<:> IB<]>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{lua:>IB<}>" msgstr "B<%{lua:>IB<}>" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIERE" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "RPM has a powerful built-in macro processor.\\& The primary uses of macros " "are configuration and other utility functions for RPM itself, and as a " "packaging aid in spec files.\\&" msgstr "" "RPM are un procesor de macrocomenzi încorporat puternic. Utilizările " "principale ale macrocomenzilor sunt configurarea și alte funcții utilitare " "pentru RPM în sine, precum și ca ajutor pentru împachetare în fișierele spec." "\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "In addition to simple text substitution, the macro processor supports the " "following facilities:" msgstr "" "Pe lângă simpla substituire a textului, procesorul de macrocomenzi acceptă " "următoarele funcții:" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "\\(bu" msgstr "\\(bu" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "function-like B with options and arguments processing and " "locally scoped automatic and user-defined macros" msgstr "" "funcție de tip B cu opțiuni și procesare de " "argumente și macrocomenzi definite de utilizator și automate cu domeniu de " "aplicare local" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B for embedded Lua processing" msgstr "B pentru procesarea Lua încorporată" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "various B for string processing and OS interaction" msgstr "" "diverse B pentru procesarea șirurilor de caractere " "și interacțiunea cu sistemul de operare" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "The syntax for defining simple macros is:" msgstr "Sintaxa pentru definirea macrocomenzilor simple este:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "I I" msgstr "I I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "All whitespace surrounding I is removed.\\& I may be composed of " "alphanumeric characters and the underscore (B<_>), and must be at least two " "characters in length.\\& The body is (re-)expanded on each macro invocation." "\\& Macro names and options are case-sensitive.\\&" msgstr "" "Toate spațiile albe din jurul I sunt eliminate.\\& I poate " "fi compus din caractere alfanumerice și din caracterul de subliniere (B<_>) " "și trebuie să aibă cel puțin două caractere.\\& Corpul este (re)extins la " "fiecare invocare a macrocomenzii.\\& Numele macrocomenzilor și opțiunile " "sunt sensibile la majuscule și minuscule.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "See B for the more advanced macro variant with options " "and arguments processing.\\&" msgstr "" "Consultați B pentru varianta mai avansată de " "macrocomenzi cu procesarea opțiunilor și argumentelor.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Macros can be defined via B(5) files, and fully managed with " "macro primitives B<%define>, B<%global> and B<%undefine>, RPM command-line " "described in B(8) and the API (C, Python, Lua).\\&" msgstr "" "Macrocomenzile pot fi definite prin fișiere B(5) și " "gestionate integral cu ajutorul macrocomenzilor primitive B<%define>, " "B<%global> și B<%undefine>, linia de comandă RPM descrisă în B(8) și API (C, Python, Lua).\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Except for those defined inside parametric macros, macros are always global " "in scope.\\&" msgstr "" "Cu excepția celor definite în macrocomenzile parametrice, macrocomenzile au " "întotdeauna domeniu global.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "RPM macros are stacked, ie.\\& when redefining an already existing macro, it " "shadows the previous definition instead of replacing it, and undefining a " "macro only pops the topmost definition, thus activating the previous macro " "definition.\\&" msgstr "" "Macrocomenzile RPM sunt stivuite, adică atunci când se redefinește o " "macrocomandă deja existentă, aceasta acoperă definiția anterioară în loc să " "o înlocuiască, iar anularea definiției unei macrocomenzi elimină doar " "definiția de sus, activând astfel definiția macrocomenzii anterioare." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note that this manual only describes the macro processor engine itself.\\& " "On a normal RPM based system, there are a vast number of other macros " "defined through B(5) files that will not be covered here.\\&" msgstr "" "Rețineți că acest manual descrie doar motorul procesorului de microcomenzi " "în sine. Într-un sistem normal bazat pe RPM, există un număr mare de alte " "microcomenzi definite prin fișiere B(5) care nu vor fi " "abordate aici.\\&" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "EXPANSION" msgstr "EXPANDARE" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "To expand a macro, place B<%> in front of it.\\& Several forms are supported:" msgstr "" "Pentru a extinde o macrocomandă, plasați B<%> în fața acesteia. Sunt " "acceptate mai multe forme:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand the macro I.\\&" msgstr "Extinde macrocomanda I.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand the macro I, allowing placement adjacent to other text (similar " "to B<${ENV}> in shell).\\&" msgstr "" "Extinde macrocomanda I, permițând plasarea lângă alt text (similar cu " "B<${ENV}> în shell).\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand the parametric/built-in macro I, using options and arguments " "parsed up to the string end or next newline.\\&" msgstr "" "Extinde macrocomanda parametrică/încorporată I, utilizând opțiunile și " "argumentele analizate până la sfârșitul șirului sau până la următorul " "caracter de linie nouă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<--> can be used to separate options from arguments.\\&" msgstr "B<--> poate fi utilizat pentru a separa opțiunile de argumente.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{>I [I] [I]B<}>" msgstr "B<%{>I [I] [I]B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand the parametric/built-in macro I, using options and arguments " "parsed up to the closing B<}>.\\& Allows usage adjacent to other text.\\&" msgstr "" "Extinde macrocomanda parametrică/încorporată I, utilizând opțiunile și " "argumentele analizate până la închiderea B<}>.\\& Permite utilizarea în " "vecinătatea altui text.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand the parametric/built-in macro I, using the string after B<:> as " "the sole argument.\\& Allows usage adjacent to other text.\\&" msgstr "" "Extinde macrocomanda parametrică/încorporată I, utilizând șirul de " "caractere după B<:> ca argument unic.\\& Permite utilizarea în vecinătatea " "altui text.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note: The syntaxes for calling parametric and built-in macros are generally " "interchangeable now, but prior to 4.\\&18, the B<%{>IB<:>IB<}" "> syntax was exclusive to built-in macros.\\&" msgstr "" "Notă: Sintaxele pentru apelarea macrocomenzilor parametrice și încorporate " "sunt în general interschimbabile în prezent, dar înainte de versiunea " "4.\\&18, sintaxa B<%{>IB<:>IB<}> era exclusivă pentru " "macrocomenzile încorporate.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Macro expansion can be escaped by placing a second B<%> in front of the " "macro, for example B<%%{name}> would be expanded to B<%{name}>.\\&" msgstr "" "Extinderea macrocomenzii poate fi evitată prin plasarea unui al doilea B<%> " "în fața macrocomenzii, de exemplu B<%%{nume}> ar fi extins la B<%{nume}>.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Attempting to expand an undefined macro expands to the literal invocation, e." "\\&g.\\& B<%_undefined> expands to B<%_undefined>.\\& If this is not " "desired, use conditionals.\\&" msgstr "" "Încercarea de a extinde o macrocomandă nedefinită se extinde la invocarea " "literală, de exemplu B<%_undefined> se extinde la B<%_undefined>. Dacă acest " "lucru nu este dorit, utilizați condiționale.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Macro expansions can recurse up to 64 levels.\\&" msgstr "Expansiunile macrocomenzii pot recurge până la 64 de niveluri." #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Shell expansion" msgstr "Expansiune shell" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Shell expansion can be performed using B<%(>IB<)>.\\& " "I is expanded before executing it with I, whose " "output becomes the expansion of the macro.\\& The trailing newline is " "deleted.\\&" msgstr "" "Extinderea shell-ului poate fi efectuată folosind B<%(>IB<)>." "\\& I este extinsă înainte de a fi executată cu I, a " "cărei ieșire devine extinderea macrocomenzii.\\& Caracterul de linie nouă de " "la sfârșit este șters.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Example:" msgstr "Exemplu:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%(echo aa-bb-cc | tr \\&'-\\&' \\&'\\&.\\&')\n" msgstr "%(echo aa-bb-cc | tr \\&'-\\&' \\&'\\&.\\&')\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Conditional expansion" msgstr "Extindere condițională" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "The macro processor supports testing whether a macro is defined or not.\\&" msgstr "" "Procesorul de macrocomenzi acceptă testarea dacă o macrocomandă este " "definită sau nu.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{?\\&>IB<:>IB<}>" msgstr "B<%{?\\&>IB<:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expands to the expansion of I if I is defined, otherwise to an " "empty string.\\&" msgstr "" "Se extinde la extinderea I dacă I este definit, altfel la un " "șir gol.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{!\\&?\\&>IB<:>IB<}>" msgstr "B<%{!\\&?\\&>IB<:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expands to the expansion of I if I is I defined, otherwise " "it expands to an empty string.\\&" msgstr "" "Se extinde la extinderea I dacă I nu este definit, altfel se " "extinde la un șir gol.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Shorthand for B<%{?\\&>IB<:%{>IB<}}>.\\&" msgstr "Prescurtare pentru B<%{?\\&>IB<:%{>IB<}}>.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "For more complex tests, use B or B.\\& " "Note that B<%if>, B<%ifarch> and the like are not macros, they are spec " "directives and only usable in that context.\\&" msgstr "" "Pentru teste mai complexe, utilizați B sau B.\\& Rețineți că B<%if>, B<%ifarch> și altele similare nu sunt " "macrocomenzi, ci directive spec și pot fi utilizate numai în acel context.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note that in RPM E= 4.\\&17, conditionals on built-in macros simply test " "for existence of that built-in, just like with any other macros.\\& In older " "versions, the behavior of conditionals on built-ins is undefined.\\&" msgstr "" "Rețineți că în RPM E= 4.\\&17, condițiile din macrocomenzile încorporate " "verifică pur și simplu existența acelei macrocomenzi încorporate, la fel ca " "în cazul oricărei alte macrocomenzi.\\& În versiunile mai vechi, " "comportamentul condițiilor din macrocomenzile încorporate este nedefinit.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Expression expansion" msgstr "Expansiune expresie" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expression expansion can be performed using B<%[>IB<]>.\\& An " "expression consists of terms that can be combined using operators.\\&" msgstr "" "Extinderea expresiei poate fi efectuată utilizând B<%[>IB<]>.\\& O " "expresie este formată din termeni care pot fi combinați utilizând operatori." "\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "RPM supports three kinds of terms:" msgstr "RPM acceptă trei tipuri de termeni:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "numbers made up from digits" msgstr "numere formate din cifre" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "strings enclosed in double quotes (e.\\&g B<\"somestring\">)" msgstr "" "șiruri de caractere între ghilimele duble (de exemplu, B<\"vreun -șir\">)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "versions enclosed in double quotes preceded by B (e.\\&g " "B)" msgstr "" "versiuni între ghilimele duble precedate de B (de exemplu, " "B)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "RPM will expand macros when evaluating terms.\\&" msgstr "RPM va extinde macrocomenzile atunci când evaluează termenii.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "You can use the standard operators to combine terms:" msgstr "Puteți utiliza operatorii standard pentru a combina termenii:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "logical operators B<&&>, B<||>, B" msgstr "operatori logici B<&&>, B<||>, B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "relational operators B, B<==>, B>, B>, B=>, " "B=>" msgstr "" "operatori relaționali B, B<==>, B>, B>, B=>, " "B=>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "arithmetic operators B<+>, B<->, B, B<*>," msgstr "operatori aritmetici B<+>, B<->, B, B<*>," #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "the ternary operator B" msgstr "operatorul ternar B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "parentheses" msgstr "paranteze" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "For example, B<%[ 3 + 4 * (1 + %two) ]> will expand to B<15> if B<%two> " "expands to B<2>.\\& Version terms are compared using RPM version " "([I:]I[-I]) comparison algorithm, rather than " "regular string comparison.\\&" msgstr "" "De exemplu, B<%[ 3 + 4 * (1 + %two) ]> se va extinde la B<15> dacă B<%two> " "se extinde la B<2>.\\& Termenii versiunii sunt comparați folosind algoritmul " "de comparare a versiunii RPM ([I:]I[-I]), și nu " "prin compararea obișnuită a șirurilor de caractere.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note that the B<%[>IB<]> expansion is different to the B<%" "{expr:>IB<}> macro.\\& With the latter, the macros in the " "expression are expanded first and then the expression is evaluated (without " "re-expanding the terms).\\& Thus" msgstr "" "Rețineți că expansiunea B<%[>IB<]> este diferită de macrocomanda " "B<%{expr:>IB<}>.\\& În cazul celei din urmă, macrocomenzile din " "expresie sunt mai întâi expandate, iar apoi expresia este evaluată (fără a " "reexpanda termenii).\\& Astfel" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "rpm --define \\&'foo 1 + 2\\&' --eval \\&'%{expr:%foo}\\&'\n" msgstr "rpm --define \\&'foo 1 + 2\\&' --eval \\&'%{expr:%foo}\\&'\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "will print B<3>.\\& Using B<%[%foo]> instead will result in the error that " "\"1 + 2\" is not a number.\\&" msgstr "" "va afișa B<3>.\\& Utilizarea B<%[%foo]> va genera eroarea \"1 + 2\" nu este " "un număr.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Doing the macro expansion when evaluating the terms has two advantages.\\& " "First, it allows RPM to do correct short-circuit processing when evaluating " "logical operators.\\& Second, the expansion result does not influence the " "expression parsing, e.\\&g.\\& B<%[\"%file\"]> will even work if the " "B<%file> macro expands to a string that contains a double quote.\\&" msgstr "" "Efectuarea expansiunii macrocomenzii în timpul evaluării termenilor are două " "avantaje. În primul rând, permite RPM să efectueze o procesare corectă a " "scurtcircuitelor în timpul evaluării operatorilor logici. În al doilea rând, " "rezultatul expansiunii nu influențează analizarea expresiei, de exemplu B<%" "[„%file”]> va funcționa chiar și dacă macrocomanda B<%file> se extinde la un " "șir care conține ghilimele duble." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Added: 4.\\&16.\\&0" msgstr "Adăugată: 4.\\&16.\\&0" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Lua expansion" msgstr "Expansiune Lua" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "The most powerful of the macro expansion methods is using RPM'\\&s embedded " "Lua interpreter:" msgstr "" "Cea mai puternică dintre metodele de expansiune a macrocomenzilor este " "utilizarea interpretului Lua încorporat în RPM:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Execute I using RPM'\\&s embedded Lua interpreter, expanding to " "the code'\\&s B'\\&ed output.\\&" msgstr "" "Executați I folosind interpretul Lua încorporat în RPM, extinzându-" "l la codul B și afișând rezultatul." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "See B(7) for the details.\\&" msgstr "Pentru detalii, consultați B(7).\\&" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "PARAMETRIC MACROS" msgstr "MACROCOMENZI PARAMETRICE" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Parametric macros are a powerful mechanism that allows building function-" "like utility macros with option processing and accepting a variable number " "of arguments, much like common shell tools.\\&" msgstr "" "Macrocomenzile parametrice sunt un mecanism puternic care permite crearea de " "macrocomenzi utilitare similare funcțiilor, cu procesare opțională și " "acceptarea unui număr variabil de argumente, similar instrumentelor shell " "obișnuite." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "The syntax for defining parametric macros is:" msgstr "Sintaxa pentru definirea macrocomenzilor parametrice este:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "I([I]) I" msgstr "I([I]) I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "If present, the I (i.\\&e.\\& the string between parentheses) are " "passed exactly as is to B(3) for argc/argv processing at the " "beginning of a macro invocation.\\& Only short options are supported.\\&" msgstr "" "Dacă sunt prezente, I (adică șirul dintre paranteze) sunt " "transmise exact așa cum sunt către B(3) pentru procesarea argc/argv " "la începutul invocării macrocomenzii. Sunt acceptate numai opțiunile scurte." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "B<-> as the sole I field disables RPM'\\&s option processing.\\& " "This allows macros to fully decide how to handle their input, e.\\&g.\\& if " "the arguments of the macro only/mostly consist of items starting with B<->, " "the default processing only gets in the way.\\&" msgstr "" "B<-> ca singurul câmp I dezactivează procesarea opțiunilor RPM.\\& " "Acest lucru permite macrocomenzilor să decidă în totalitate modul de " "gestionare a intrărilor lor, de exemplu, dacă argumentele macrocomenzii " "constau numai/în mare parte din elemente care încep cu B<->, procesarea " "implicită nu face decât să încurce.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Automatic macros" msgstr "Macrocomenzi automate" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "While a parameterized macro is being expanded, the following shell-like " "automatic macros are available:" msgstr "" "În timpul extinderii unei macrocomenzi parametrizate, sunt disponibile " "următoarele macrocomenzi automate de tip shell:" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%0>" msgstr "B<%0>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "the name of the macro being invoked" msgstr "numele macrocomenzii care este invocată" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%*>" msgstr "B<%*>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "all arguments (unlike shell, not including any processed flags)" msgstr "toate argumentele (spre deosebire de shell, fără a include niciun fanion procesat)" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%**>" msgstr "B<%**>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "all arguments (including any processed flags)" msgstr "toate argumentele (inclusiv orice fanioane procesate)" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%#>" msgstr "B<%#>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "the number of arguments" msgstr "numărul de argumente" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%{-f}>" msgstr "B<%{-f}>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "if present at invocation, the last occurrence of flag B (flag and argument)" msgstr "dacă este prezent la invocare, ultima apariție a fanionului B (fanion și argument)" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%{-f*}>" msgstr "B<%{-f*}>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "if present at invocation, the argument to the last occurrence of flag B" msgstr "dacă este prezent la invocare, argumentul pentru ultima apariție a fanionului B" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%1>, B<%2>, .\\&.\\&.\\&" msgstr "B<%1>, B<%2>, .\\&.\\&.\\&" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "the arguments themselves (after B(3) processing)" msgstr "argumentele în sine (după procesarea B(3))" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "If the built-in option processing was disabled with B<-> as the I " "field, only the following automatic macros are available:" msgstr "" "Dacă procesarea opțiunilor încorporate a fost dezactivată cu B<-> ca câmp " "I , sunt disponibile numai următoarele macrocomenzi automate:" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "B<%*>, B<%**>" msgstr "B<%*>, B<%**>" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "all arguments" msgstr "toate argumentele" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid " the number of arguments" msgstr "numărul de argumente" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "the arguments themselves" msgstr "argumentele în sine" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Automatic macros are automatically defined and undefined on parametric macro " "entry and exit.\\&" msgstr "" "Macrocomenzile automate sunt definite și redefinite automat la intrarea și " "ieșirea din macrocomanda parametrică.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Accessing options" msgstr "Accesarea opțiunilor" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Within the body of a parametric macro, there are several constructs that " "permit testing for the presence of optional parameters.\\& The simplest " "construct is B<%{-f}> which expands (literally) to B<-f> if B<-f> was " "mentioned when the macro was invoked.\\& There are also provisions for " "including text if a flag was present using B<%{-f:X}>.\\& This macro expands " "to (the expansion of) B if the flag was present.\\& The negative form, B<%" "{!\\&-f:Y}>, expanding to (the expansion of)B< Y> if B<-f> was B " "present, is also supported.\\&" msgstr "" "În cadrul unei macrocomenzi parametrice, există mai multe construcții care " "permit testarea prezenței parametrilor opționali. Cea mai simplă construcție " "este B<%{-f}> care se extinde (literalmente) la B<-f> dacă B<-f> a fost " "menționat atunci când macrocomanda a fost invocată. Există, de asemenea, " "prevederi pentru includerea textului dacă era prezent un fanion folosind B<%" "{-f:X}>.\\& Această macrocomandă se extinde la (extinderea lui) B dacă " "fanionul era prezent.\\& Forma negativă, B<%{!\\&-f:Y}>, care se extinde la " "(extinderea lui) B< Y> dacă B<-f> nu era prezent, este de asemenea acceptată." "\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Scope and visibility" msgstr "Domeniul de aplicare și vizibilitatea" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "In general, macros have a global scope, regardless of where and how they " "were defined.\\& However, macros defined inside parametric macros have non-" "global scope as follows:" msgstr "" "În general, macrocomenzile au o aplicabilitate globală, indiferent de locul " "și modul în care au fost definite. Cu toate acestea, macrocomenzile definite " "în cadrul macrocomenzilor parametrice au o aplicabilitate non-globală, după " "cum urmează:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "automatic macros have local scope, ie.\\& are only visible on the call-level " "of the macro itself" msgstr "" "macrocomenzile automate au domeniu de aplicare local, adică sunt vizibile " "numai la nivelul apelului macrocomenzii respective" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "user-defined local macros have nested scope, ie.\\& are visible on the call-" "level of the macro itself and deeper" msgstr "" "macrocomenzile locale definite de utilizator au un domeniu de aplicare " "imbricat, adică sunt vizibile la nivelul apelului macrocomenzii în sine și " "la niveluri mai profunde." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "That is, a parametric macro cannot see the options or arguments of another " "one, but a user-defined local macro in a calling macro can be accessed in " "the callee(s).\\&" msgstr "" "Adică, o macrocomandă parametrică nu poate vedea opțiunile sau argumentele " "altei macrocomenzi, dar o macrocomandă locală definită de utilizator într-o " "macrocomandă de apel poate fi accesată în macrocomanda (macrocomenzile) " "apelată (apelate).\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "To define a global macro inside a parametric macro, you I use " "B<%global> instead of B<%define>.\\& Also note that because such a macro may " "be referring to other macros only visible in the current scope, B<%global> " "I.\\&" msgstr "" "Pentru a defini o macrocomandă globală în interiorul unei macrocomenzi " "parametrice, I să utilizați B<%global> în loc de B<%define>.\\& De " "asemenea, rețineți că, deoarece o astfel de macrocomandă poate face referire " "la alte macrocomenzi vizibile numai în domeniul curent, B<%global> I.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Calling convention" msgstr "Convenția de apelare" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "When a parametric macro is expanded, the following calling convention is " "used:" msgstr "" "Când o macrocomandă parametrică este extinsă, se utilizează următoarea " "convenție de apelare:" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "1." msgstr "1." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "any arguments to the macro are expanded on the call-level of the callee" msgstr "" "orice argumente ale macrocomenzii sunt extinse la nivelul apelului " "destinatarului apelului" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "2." msgstr "2." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "any options to the macro are processed" msgstr "orice opțiuni pentru macrocomandă sunt procesate" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "3." msgstr "3." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "automatic macros are set up for the options and the arguments" msgstr "macrocomenzile automate sunt configurate pentru opțiuni și argumente" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "4." msgstr "4." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "the macro body is recursively expanded" msgstr "corpul macrocomenzii este extins recursiv" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "5." msgstr "5." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "all macros defined on this call-level are discarded" msgstr "toate macrocomenzile definite la acest nivel de apel sunt eliminate" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "BUILT-IN MACROS" msgstr "MACROCOMENZI INTEGRATE" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "RPM supports the following built-in macros for various operations.\\& Built-" "in macros cannot be undefined or overridden.\\&" msgstr "" "RPM acceptă următoarele macrocomenzi încorporate pentru diverse operațiuni. " "Macrocomenzile încorporate nu pot fi redefinite sau suprascrise." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note: The B<%{name:arg}> style is used here as it'\\&s the most backwards " "compatible and does not require quoting for whitespace, but it can generally " "be replaced with the other expansion forms too.\\& Built-ins taking multiple " "arguments must use other styles, as indicated below.\\&" msgstr "" "Notă: Stilul B<%{name:arg}> este utilizat aici deoarece este cel mai " "compatibil cu versiunile anterioare și nu necesită citarea spațiilor albe, " "dar poate fi în general înlocuit și cu alte forme de expansiune.\\& " "Funcțiile încorporate care acceptă mai multe argumente trebuie să utilizeze " "alte stiluri, după cum se indică mai jos.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Macro manipulation" msgstr "Manipularea macrocomenzilor" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "The macro primitives are used for macro manipulation in spec files and other " "macros.\\& Note that all these operate on the macro name I the " "preceding B<%>-character.\\&" msgstr "" "Macrocomenzile primitive sunt utilizate pentru manipularea macrocomenzilor " "în fișierele spec și în alte macrocomenzi. Rețineți că toate acestea " "funcționează pe numele macrocomenzii I caracterul B<%> precedent." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%define> I[([I])] I" msgstr "B<%define> I[([I])] I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "This is the primary way to define macros.\\& A B<%define> is always fully " "declarative: no macro expansion takes place, and it has no side-effects.\\& " "Macros defined with it are in global scope, unless the definition occurs " "inside a parametric macro.\\&" msgstr "" "Acesta este modul principal de definire a macrocomenzilor.\\& A B<%define> " "este întotdeauna complet declarativ: nu are loc nicio expansiune a " "macrocomenzii și nu are efecte secundare.\\& Macrocomenzile definite cu " "acesta se află în domeniul global, cu excepția cazului în care definiția " "apare în interiorul unei macrocomenzi parametrice.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%define mypath /usr/bin/mine\n" msgstr "%define ruta-mea /usr/bin/mine\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%global> I[([I])] I" msgstr "B<%global> I[([I])] I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "The B<%global> primitive is identical in syntax to B<%define>, but has two " "critically important behavioral differences: as it'\\&s name suggests, a " "macro defined with B<%global> always has a global scope regardless of where " "it'\\&s used.\\&" msgstr "" "Primitiva B<%global> are o sintaxă identică cu B<%define>, dar prezintă două " "diferențe comportamentale extrem de importante: după cum sugerează și " "numele, o macro definită cu B<%global> are întotdeauna un domeniu de " "aplicare global, indiferent de locul în care este utilizată." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "The second difference is that the I is expanded once at the time of " "definition and the expansion becomes the actual macro body.\\& Thus, " "arbitrary code execution and side-effects may occur when B<%global> is used, " "depending on the contents and the other macros used in I.\\& The " "latter can be handy for avoiding redundant, possibly expensive macro " "expansions if the value does not change, but be aware of the side-effects.\\&" msgstr "" "A doua diferență este că I este extins o singură dată în momentul " "definirii, iar extinderea devine corpul macrocomenzii propriu-zis.\\& " "Astfel, atunci când se utilizează B<%global>, pot apărea execuții de cod " "arbitrar și efecte secundare, în funcție de conținutul și de celelalte " "macrocomenzi utilizate în I.\\& Cea din urmă poate fi utilă pentru a " "evita extinderile macrocomenzii redundante și posibil costisitoare dacă " "valoarea nu se modifică, dar trebuie să fiți conștienți de efectele " "secundare. \\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note that while B<%global> technically accepts an I field, it is " "ill-suited for defining parametric macros because of the I expansion " "behavior.\\&" msgstr "" "Rețineți că, deși B<%global> acceptă din punct de vedere tehnic un câmp " "I, aceasta nu este potrivită pentru definirea macrocomenzilor " "parametrice din cauza comportamentului de expansiune al I." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%global snapver 0-0\\&.48\\&.20240616git\n" msgstr "%global snapver 0-0\\&.48\\&.20240616git\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%undefine> I" msgstr "B<%undefine> I" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Note that B<%undefine> only pops a macro definition from the stack, so using " "it does I guarantee that I is undefined after calling " "B<%undefine> on it.\\& Automatic macros and built-in macros cannot be " "undefined.\\&" msgstr "" "Rețineți că B<%undefine> doar scoate o definiție macro din stivă, astfel " "încât utilizarea sa nu garantează că I este nedefinit după apelarea " "B<%undefine> asupra acestuia.\\& Macrocomenzile automate și macrocomenzile " "încorporate nu pot fi nedefinite.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%undefine mypath\n" msgstr "%undefine ruta-mea\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{load:>IB<}>" msgstr "B<%{load:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Load an B(5) file.\\& (Added: 4.\\&12.\\&0)" msgstr " Încarcă un fișier B(5). (Adăugată: 4.12.0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{load:/some/dir/macros\\&.foo}\n" msgstr "%{load:/vreun/dir/macros\\&.foo}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Macro expansion" msgstr "Extinderea macrocomenzii" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{expand:>IB<}>" msgstr "B<%{expand:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand I as if it were a macro body.\\& Useful for increased " "indirection, such as to expand a macro name constructed from two or more " "macros.\\&" msgstr "" "Extinde I ca și cum ar fi un corp al unei macrocomenzi. Util pentru " "o indirecție sporită, cum ar fi extinderea unui nume de macrocomandă " "construit din două sau mai multe macrocomenzi." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{expand:%{foo_prefix}%{foo_suffix}}\n" msgstr "%{expand:%{foo_prefix}%{foo_suffix}}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{expr:>I}" msgstr "B<%{expr:>I}" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand I.\\& See B.\\& (Added: " "4.\\&15.\\&0)" msgstr "" "Extinde I.\\& Consultați B.\\& (Adăugată în " "versiunea: 4.\\&15.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{expr:5*1024}\n" msgstr "%{expr:5*1024}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to output of I using the embedded Lua interpreter.\\& See " "B.\\&" msgstr "" "Extinde la ieșirea I folosind interpretul Lua încorporat.\\& " "Consultați B.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{lua:for i=65,90 do print(string\\&.char(i)) end}\n" msgstr "%{lua:for i=65,90 do print(șir\\&.char(i)) end}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{macrobody:>IB<}>" msgstr "B<%{macrobody:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to the literal body of the macro I.\\& (Added: 4.\\&16.\\&0)" msgstr "" "Extinde la corpul literal al macrocomenzii I.\\& (Adăugată în " "versiunea: 4.\\&16.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{macrobody:_libdir}\n" msgstr "%{macrobody:_libdir}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "String operations" msgstr "Operații cu șiruri de caractere" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%dnl>" msgstr "B<%dnl>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Discard to next line (without expanding anything).\\& B<%dnl> is the " "recommended way to comment out things in spec files because it works " "everywhere and disables macro processing for that line.\\& (Added: " "4.\\&15.\\&0)" msgstr "" "Ignoră la linia următoare (fără a extinde nimic).\\& B<%dnl> este metoda " "recomandată pentru a comenta elementele din fișierele spec, deoarece " "funcționează peste tot și dezactivează procesarea macrocomenzii pentru linia " "respectivă.\\& (Adăugată în versiunea: 4.\\&15.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%dnl This is a comment on %{mymacro} behavior\n" msgstr "%dnl Acesta este un comentariu privind comportamentul %{mymacro}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{gsub >I, I, I [,I]B<}>" msgstr "B<%{gsub >I<ȘIR>, I, I<ÎNLOCUIRE> [,I]B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Replace all (or I first if given) occurrences of I in I " "by I.\\&" msgstr "" "Înlocuiește toate aparițiile (sau primele I, dacă sunt specificate) ale " "I din I<ȘIR> cu I<ÎNLOCUIREA>.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Added: 4.\\&19.\\&0" msgstr "Adăugată în versiunea: 4.\\&19.\\&0" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{gsub aabbaacc aa dd 1}\n" msgstr "%{gsub aabbaacc aa dd 1}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{len:>IB<}>" msgstr "B<%{len:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to length of I.\\& (Added: 4.\\&19.\\&0)" msgstr "" "Extinde la lungimea I<ȘIRULUI>.\\& (Adăugată în versiunea: 4.\\&19.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{len:9bf7da058a7c582878310e75be3d56a5a8b67f95}\n" msgstr "%{len:9bf7da058a7c582878310e75be3d56a5a8b67f95}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{lower:>IB<}>" msgstr "B<%{lower:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to lowercase I.\\& (Added: 4.\\&19.\\&0)" msgstr "" "Extinde la litere mici I<ȘIRUL>.\\& (Adăugată în versiunea: 4.\\&19.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{lower:CamelCase}\\&'\n" msgstr "%{lower:CamelCase}\\&'\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{quote:>IB<}>" msgstr "B<%{quote:>I<Șir>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Quote arguments for passing empty strings and strings with embedded " "whitespace as parametric macro arguments.\\& (Added: 4.\\&14.\\&0)" msgstr "" "Citează argumentele pentru transmiterea șirurilor goale și a șirurilor cu " "spații albe încorporate ca argumente ale macrocomenzii parametrice. " "(Adăugată în versiunea: 4.\\&14.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%myzip -x %{quote:empty spaces\\&.zip}\n" msgstr "%myzip -x %{quote:empty spaces\\&.zip}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{rep >I, I [,I]B<}>" msgstr "B<%{rep >I<ȘIR>, I [,I]B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to a string that is the concatenation of I copies of I, " "separated by I (if specified).\\&" msgstr "" "Extinde la un șir care este concatenarea a I copii ale I<ȘIR>, separate " "prin I (dacă este specificat).\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{rep a 5}\n" msgstr "%{rep a 5}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{reverse:>IB<}>" msgstr "B<%{reverse:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Reverse a string.\\& (Added: 4.\\&19.\\&0)" msgstr "Inversează un șir.\\& (Adăugată în versiunea: 4.\\&19.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{reverse:tac}\n" msgstr "%{reverse:tac}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{shescape:>IB<}>" msgstr "B<%{shescape:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Single quote I with escapes for use in shell.\\& (Added: " "4.\\&18.\\&0)" msgstr "" "Citează simplu I<ȘIRUL> cu caractere de eludare pentru utilizare în shell." "\\& (Adăugată în versiunea: 4.\\&18.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{shescape:foo\\&'s}\n" msgstr "%{shescape:foo\\&'s}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{shrink:>IB<}>" msgstr "B<%{shrink:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Trim leading and trailing whitespace from I, reduce intermediate " "whitespace to a single space.\\& (Added: 4.\\&14.\\&0)" msgstr "" "Elimină spațiile albe din fața și din spatele I<ȘIRULUI>, reduce spațiile " "albe intermediare la un singur spațiu.\\& (Adăugată în versiunea: " "4.\\&14.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{shrink:aa bb ccc }\n" msgstr "%{shrink:aa bb ccc }\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{span:>IB<}>" msgstr "B<%{span:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "As-is string, handy for wrapping multiline macros.\\& (Added: 6.\\&0.\\&0)" msgstr "" "Șirul așa cum este, util pentru încadrarea macrocomenzilor pe mai multe " "linii.\\& (Adăugată în versiunea: 6.\\&0.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "" "%{span:\n" "\t%one thing\n" "\t%another thing\n" "}\n" msgstr "" "%{span:\n" "\t%un lucru\n" "\t%un alt lucru\n" "}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{sub >I, I, [,I]B<}>" msgstr "B<%{sub >I<ȘIR>, I, [,I]B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to substring of I that starts at B and continues until " "B.\\& B and B can be negative to index from the string'\\&s end.\\& " "If B is absent, then it is assumed to be equal to B<-1> (ie.\\& string " "end).\\&" msgstr "" "Extinde la subșirul din I<ȘIR> care începe la B și continuă până la B." "\\& B și B pot fi negative pentru a indexa de la sfârșitul șirului\\&. " "Dacă B este absent, se presupune că este egal cu B<-1> (adică sfârșitul " "șirului).\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "*%{sub myfile\\&.zip 3 6}*\n" msgstr "*%{sub fișierul-meu\\&.zip 3 6}*\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{upper:>IB<}>" msgstr "B<%{upper:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to uppercase I.\\& (Added: 4.\\&19.\\&0)" msgstr "" "Extinde la majuscule I<ȘIRUL>.\\& (Adăugată în versiunea: 4.\\&19.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{upper:CamelCase}\\&'\n" msgstr "%{upper:CamelCase}\\&'\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "File and path operations" msgstr "Operații cu fișiere și rute" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{basename:>IB<}>" msgstr "B<%{basename:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B(1) macro analogue.\\&" msgstr "B(1) macrocomandă analoagă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{basename:/some/dir/file\\&.suf}\n" msgstr "%{nume-bazăe:/vreun/dir/fișier\\&.suf}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{dirname:>IB<}>" msgstr "B<%{dirname:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B(1) macro analogue.\\&" msgstr "B(1) macrocomandă analoagă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{dirname:/some/dir/file\\&.suf}\n" msgstr "%{dirname:/vreun/dir/fișier\\&.suf}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{exists:>IB<}>" msgstr "B<%{exists:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Test file existence, expands to 1/0.\\& (Added: 4.\\&18.\\&0)" msgstr "" "Verifică existența fișierului, expandează la 1/0.\\& (Adăugată în versiunea: " "4.\\&18.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{exists:%{builddir}/myflag\\&.txt}\n" msgstr "%{exists:%{builddir}/myflag\\&.txt}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{suffix:>IB<}>" msgstr "B<%{suffix:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to suffix part of a filename.\\&" msgstr "Expandează partea de sufix a unui nume de fișier.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{suffix:myfile\\&.zip}\n" msgstr "%{suffix:fișierul-meu\\&.zip}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{url2path:>IB<}>" msgstr "B<%{url2path:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Convert url to a local path.\\&" msgstr "Convertește adresa URL într-o rută locală.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{url2path:http://rpm\\&.org/not/there}\n" msgstr "%{url2path:http://rpm\\&.org/not/there}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{uncompress:>IB<}>" msgstr "B<%{uncompress:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to a command for outputting argument I to standard output, " "uncompressing as needed.\\&" msgstr "" "Extinde la o comandă pentru a afișa argumentul I la ieșirea standard, " "decomprimând după cum este necesar.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{uncompress /my/source\\&.tar\\&.gz}\n" msgstr "%{uncompress /sursa/mea\\&.tar\\&.gz}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{xdg:>IB<}>" msgstr "B<%{xdg:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to XDG base directory paths.\\& Supported values for I are:" msgstr "" "Extinde la rutele directorului de bază XDG. Valorile acceptate pentru I " "sunt:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: user-specific non-essential (cached) data" msgstr "B: date neesențiale specifice utilizatorului (stocate în cache)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: user-specific configuration files" msgstr "B: fișiere de configurare specifice utilizatorului" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: user-specific data files" msgstr "B: fișiere de date specifice utilizatorului" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: user-specific state data" msgstr "B: date de stare specifice utilizatorului" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Added: 6.\\&0.\\&0" msgstr "Adăugată: 6.\\&0.\\&0" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{xdg config}\n" msgstr "%{xdg config}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Environment info" msgstr "Informații despre mediu" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%getncpus>" msgstr "B<%getncpus>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to the number of available CPUs.\\& (Added: 4.\\&15.\\&0)" msgstr "" "Extinde la numărul de CPU-uri disponibile.\\& (Adăugată în versiunea: " "4.\\&15.\\&0)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{getncpus:>IB<}>" msgstr "B<%{getncpus:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to the number of available CPUs, supported valued for I are" msgstr "" "Extinde la numărul de CPU-uri disponibile, valorile acceptate pentru I " "sunt" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: total number of available CPUs (same as B<%getncpus>)" msgstr "" "B: numărul total de CPU-uri disponibile (la fel ca B<%getncpus>)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: number of available CPUs for processes" msgstr "B: numărul de CPU-uri disponibile pentru procese" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B: number of available CPUs for threads" msgstr "B: numărul de CPU-uri disponibile pentru fire de execuție" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "B and B account for available memory, including address space " "limitations for threads.\\&" msgstr "" "B și B contabilizează memoria disponibilă, inclusiv limitările " "spațiului de adrese pentru firele de execuție.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Added: 4.\\&19.\\&0.\\&" msgstr "Adăugată: 4.\\&19.\\&0.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{getncpus proc}\n" msgstr "%{getncpus proc}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%getconfdir>" msgstr "B<%getconfdir>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to RPM \"home\" directory (typically /usr/lib/rpm).\\&" msgstr "Extinde la directorul „home” RPM (de obicei „/usr/lib/rpm”).\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{getenv:>IB<}>" msgstr "B<%{getenv:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B(3) macro analogue.\\&" msgstr "B(1) macrocomandă analoagă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{getenv:HOME}\n" msgstr "%{getenv:HOME}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%rpmversion>" msgstr "B<%rpmversion>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to running RPM version.\\&" msgstr "Extinde la versiunea RPM în execuție.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Output" msgstr "Ieșire" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{echo:>IB<}>" msgstr "B<%{echo:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Print I to process standard output.\\&" msgstr "Imprimă I<ȘIRUL> pentru a procesa ieșirea standard.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{echo:Building with foo}\n" msgstr "%{echo:Construirea cu foo}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{warn:>IB<}>" msgstr "B<%{warn:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Print I prefixed with \"warning: \" to process standard error.\\&" msgstr "" "Imprimă I<ȘIRUL> precedat de „warning: ” pentru a procesa ieșirea de eroare " "standard.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{warning:Foo is deprecated}\n" msgstr "%{warning:Foo este depreciat}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{error:>IB<}>" msgstr "B<%{error:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Print I prefixed with \"error: \" to process standard error and flag " "an error in the macro processor.\\&" msgstr "" "Imprimă I<ȘIRUL> prefixat cu „error:” pentru a procesa eroarea standard și a " "semnaliza o eroare în procesorul macrocomenzii.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{error:Invalid argument}\n" msgstr "%{error:Argument nevalid}\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%verbose>" msgstr "B<%verbose>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to 1/0 whether RPM is in verbose mode or not.\\& (Added: 4.\\&17.\\&1)" msgstr "" "Expandează la 1/0 indiferent dacă RPM este în modul descriptiv sau nu. " "(Adăugată în versiunea: 4.\\&17.\\&1)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{verbose:>IB<}>" msgstr "B<%{verbose:>I<ȘIR>B<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to I if RPM is in verbose mode, the empty string if not.\\& " "(Added: 4.\\&17.\\&1)" msgstr "" "Extinde la I<ȘIR> dacă RPM este în modul descriptiv, șirul gol dacă nu este." "\\& (Adăugată în versiunea: 4.\\&17.\\&1)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{verbose:-x}\n" msgstr "%{verbose:-x}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Spec specific macros" msgstr "Macrocomenzi specifice spec" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{S:>IB<}>" msgstr "B<%{S:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to the filename of the specified Source I.\\& B<%{S:n}> is " "equivalent to B<%{SOURCEn}>.\\&" msgstr "" "Extinde la numele fișierului sursei specificate I.\\& B<%{S:n}> este " "echivalent cu B<%{SOURCEn}>.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%{P:>IB<}>" msgstr "B<%{P:>IB<}>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to the filename of the specified Patch I.\\& B<%{P:n}> is " "equivalent to B<%{PATCHn}>.\\&" msgstr "" "Extinde la numele fișierului patch-ului specificat I.\\& B<%{P:n}> " "este echivalent cu B<%{PATCHn}>.\\&" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Diagnostics" msgstr "Diagnosticare" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%trace>" msgstr "B<%trace>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Toggle print of debugging information before/after expansion.\\&" msgstr "Comută afișarea informațiilor de depanare înainte/după extindere." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%dump>" msgstr "B<%dump>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Print the active (i.\\&e.\\& non-covered) macro table.\\&" msgstr "Imprimă tabelul de macrocomenzi active (adică neacoperite)." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%__file_name>" msgstr "B<%__nume_fișier>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to current filename (if parsing a file).\\& (Added: 4.\\&15)" msgstr "" "Extinde la numele fișierului curent (dacă se analizează un fișier).\\& " "(Adăugată în versiunea: 4.\\&15)" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B<%__file_lineno>" msgstr "B<%__fișier_nr.linie>" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Expand to current line number in current file (if parsing a file).\\& " "(Added: 4.\\&15)" msgstr "" "Extindeți la numărul liniei curente din fișierul curent (dacă se analizează " "un fișier).\\& (Adăugată în versiunea: 4.\\&15)" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "EXAMPLES" msgstr "EXEMPLE" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Example 1. Define a simple macro" msgstr "Exemplul 1. Definiți o macrocomandă simplă" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Define macro B to a path relative to B<%{_libdir}> macro in a spec:" msgstr "" "Definiți macrocomanda B ca o rută relativă la macrocomanda B<%" "{_libdir}> într-un fișier spec:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%define mylib %{_libdir}/mine\n" msgstr "%define mylib %{_libdir}/mine\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Example 2. Define a parametric macro" msgstr "Exemplul 2. Definiți o macrocomandă parametrică" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Define parametric macro B which executes the program specified by " "B<%myprog> with it'\\&s first argument and always passing the option B<--" "some-opt> to it, and additionally the B<--xtra> option if it received the B<-" "x> option itself:" msgstr "" "Definiți macrocomanda parametrică B care execută programul " "specificat de B<%myprog> cu primul argument al acestuia și trecând " "întotdeauna opțiunea B<--some-opt> către acesta, precum și opțiunea B<--" "xtra> dacă a primit opțiunea B<-x>:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%define myhelper(x) %{myprog} --some-opt %{?-x:--xtra} %{1}\n" msgstr "%define myhelper(x) %{myprog} --vreo-opțiune %{?-x:--xtra} %{1}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Example 3. Define a macro utilizing shell expansion" msgstr "Exemplul 3. Definiți o macrocomandă utilizând expansiunea shell-ului" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Define macro B<%today> that expands to the current date in I format " "by calling the B(1) shell utility.\\& Note the 2nd B<%> needed to " "escape the arguments to B(1):" msgstr "" "Definiți macrocomanda B<%today> care se extinde la data curentă în formatul " "I apelând ustensila shell B(1).\\& Rețineți că este necesară " "a doua macrocomandă B<%> pentru a eluda argumentele către B(1):" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%define today %(date +%%y%%m%%d)\n" msgstr "%define today %(date +%%y%%m%%d)\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Example 4. Define a macro conditionally" msgstr "Exemplul 4. Definiți o macrocomandă condițională" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Define macro B if it wasn'\\&t previously defined:" msgstr "Definiți macrocomanda B dacă nu a fost definită anterior:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{!?mypath: %define mypath /some/where}\n" msgstr "%{!?mypath: %define mypath /vreun/loc}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Example 5. Conditional expansion" msgstr "Exemplul 5. Expansiune conditională" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expands to B<1> if B is defined and B<0> otherwise:" msgstr "" "Expandează la B<1> dacă B este definit și B<0> în caz contrar:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%{?use_foo:1}%{!?use_foo:0}\n" msgstr "%{?use_foo:1}%{!?use_foo:0}\n" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "Example 6. Expressions" msgstr "Exemplul 6. Expresii" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Calculate 5 * 1024:" msgstr "Calculează 5 * 1024:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%[5 * 1024]\n" msgstr "%[5 * 1024]\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand to literal B or B depending on a condition:" msgstr "Extinde la literalul B sau B în funcție de o condiție:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%[1 E 2 ? \"true\" : \"false\"]\n" msgstr "%[1 E 2 ? \"true\" : \"false\"]\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Compare versions, expanding to B<1> or B<0> on true/false:" msgstr "Compară versiunile, extinzând la B<1> sau B<0> pentru true/false:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%[ v\"3\\&.1\\&.0-1\" E v\"1\\&.0~alpha-2\" ? 1 : 0]\n" msgstr "%[ v\"3\\&.1\\&.0-1\" E v\"1\\&.0~alpha-2\" ? 1 : 0]\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expands to B<1> if B<%aa> expands to B<5>, otherwise expands to B<2>:" msgstr "" "Expandează la B<1> dacă B<%aa> se extinde la B<5>, altfel se extinde la B<2>:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "%[ \"%{aa}\" == \"5\" ? 1 : 2]\n" msgstr "%[ \"%{aa}\" == \"5\" ? 1 : 2]\n" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "DEBUGGING" msgstr "DEPANAREA" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Some useful tools for working with and troubleshooting macros:" msgstr "" "Câteva instrumente utile pentru lucrul cu macrocomenzi și depanarea acestora:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "BIB<\">" msgstr "BIB<\">" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Expand I on the command line.\\&" msgstr "Extinde I în linia de comandă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Define and evaluate a macro on the command line.\\&" msgstr "Definește și evauează o macrocomandă în linia de comandă." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "B" msgstr "" "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Define and examine macro body using B<%global> on the command line.\\&" msgstr "" "Definește și examinează corpul macrocomenzii folosind B<%global> în linia de " "comandă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "B" msgstr "" "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Define and examine macro body using B<%define> on the command line.\\&" msgstr "" "Definește și examinează corpul macrocomenzii folosind B<%define> în linia de " "comandă.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Run an interactive shell in the embedded Lua environment.\\&" msgstr "Rulează un shell interactiv în mediul Lua încorporat." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Using the embedded Lua interpreter in standalone form, print print 1/0 " "whether macro B<_libdir> is defined or not.\\&" msgstr "" "Folosind interpretul Lua încorporat în formă autonomă, afișează 1/0 " "indiferent dacă macrocomanda B<_libdir> este definită sau nu.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "Run an interactive shell in the macro environment.\\&" msgstr "Rulează un shell interactiv în mediul macrocomenzii.\\&" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "Run an interactive shell in the macro environment after parsing B.\\&" msgstr "" "Rulează un shell interactiv în mediul macrocomenzii după analizarea B.\\&" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide #, no-wrap msgid "SEE ALSO" msgstr "CONSULTAȚI ȘI" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide msgid "" "B(8) B(8) B(5) B(5) B(7) B(1) B(1)" msgstr "" "B(8) B(8) B(5) B(5) B(7) B(1) B(1)" #. type: TH #: debian-unstable #, no-wrap msgid "2026-04-10" msgstr "10 aprilie 2026" #. type: TH #: fedora-44 #, no-wrap msgid "2026-01-17" msgstr "17 ianuarie 2026" #. type: TH #: fedora-rawhide #, no-wrap msgid "2026-02-16" msgstr "16 februarie 2026"