9.3.1.1 ����� �������
�������� ������ ������ ���������� � ������ �������� NVR, �� ���� Name-Version-Release (���-������-�����), ��� ��� ��� ���������� �������� ��� ������ RPM � ������������ � ���������� ��������� ������ � ������������ ���������. ��� ��������������� � ������� ��������� Name:
Name: myapp |
��� �� ������ ��������� ��������, ��������� � �������� ����� ������. ������, ��������� ������������ �����.
����� ������ ������������ ��� ��������� ������. �������� ��������� ������ RPM ������������ ������, �� ����� ��������� ������� � ��������� ������� ������, �� ��������� �����������. ������� ������� � ����� ������ ��������� ������� ������: 1.5, 2.3.1.1.4, 1.0. ������ �����������:
Version: 1.1.2 |
� ������ ������ ������ ������������ �����, ��� ��� ������� ���������� ���, ������ � �����.
����� ������ ���������� � 1 ��� ��������� ������ ������ � ����� ������������� �� ������� ��� ������ ��������� ����������:
Release: 1 |
������ ���, ����� �� �������� spec-���� ��� ����� ������, ������������ ����� ������.
���� ������ ������ ������������ ��� ��������� ����� ����� ������ �� ������, ��������, ��� ����� ����� ���������� �������� ������� ����� ������� ������, ����� ����� ������ ������������� ������� �����. ����� �������� ���������� Epoch: . ��������:
Epoch: 3 |
������ ���� �������� ����� ������.
��������� Group: ������ ������������� ������. ��� ��������������� ����� ������������ ��������� ������ �������, ������������ � �������. ��������:
Group: System Environment/Shells |
������ ����������� ������� ���������� �������� ��������� ������ �� �������� ������. ����������� ������ ����� ������� ���������� �����: /usr/share/doc/rpm-4.1/GROUPS, ���� �� �������� ���� ��� ������ ������ RPM.
��������� Distribution: ������������ ��������� Linux-������������� ��� ��������, ��� ������ ����� �������� ������ ������������� ������������. ��������� �������, ����������� ���������� ��������������, �� ���������� � Linux ���������, �� ����� � spec-����� ������ ���������.
Distribution: Red Hat Linux |
���������, ��������� Icon:, ��������� �� ���� ����������� �� ������� ������. ������ �����������, ������� ����� ���������������� ����� � ����������� ������, ������ ���� XPM ��� GIF.
9.3.1.2. ��������� ���������� � ��������
� ����������� ����� �������� ����������� �������� � ����� ���������� � ������������� �� � ������. ���� ����� ������ ����������� �������������, ����� ���� ����������� �������� ���������� ��� ����� � ������������� � ��������� ����� ��������� ����������.
��������� Vendor: ���������� ������������� ������ (�������� ��� �����������):
Vendor: The Really Cool Company |
��������� URL: ������������� ���������� � ���������� �������� ������� �� (��� ��� �������������):
��������� Packager: ��������� ��� � ����������� ����� �������� ������:
Packager: Bob Marley <marley@reggae.com> |
��������� License: � Copyright: ������������� �������� ���������� � ������. � ����� ������ ������� ������� �������������� ���� Copyright:, � ��������� ����� ������������ License:.
9.3.1.3 �������� ������
��������� Summary: - ��� ������������ �������� ������. ������ ���� �������� ������� ��������� Description:. ����� Summary: ������� ��� ������������� ��������, ��� ���������� �� � ���������, � � ����������� ������ spec-�����, %description. ��������:
%description |
��� ������� ������������ �������� ������������ ���������: ��� Summary:
Summary(ru): ������� ������ ����� |
��� %description
%description -l ru |
� ������ %description ������������ ��������� ���������� ����� ��������������. ������ ����� ���������������� ��� ����������� �������. ������, ������������ � �������� ��� ���������, ���������������� ��� �������������� ����������������� ������ � ������������ ��� ����, ��� �������, ������������ �������.
9.3.1.4 ������� ������������ �����������
Spec-���� ����� ��������� �� ��� ����, ��� ����� �������������� ������ � ������������ ����� ����������, ��� �� ����� ��� ��������������� ������ ����������� ����� ��� �� ����� ���������.
��� ����� ������� ��������� ������������. ��������, ��������� ExcludeArch: ������ ���������, ��� ������� ����� �� ������ ����������:
ExcludeArch: sparc s390 s390x |
� ������ ������� ��������� ��� ������ ����������� SPARC � ���������� s/390. � ��������� ����� ������������ ������������� �����������, �������� �������� ���������� ��������� ��� ��������.
������� ������� ��������� ExclusiveArch: , � ��� ��������, ��� ��� ��������� ���������� ������ ����������, � ������� ����� ����� ��������������. ��������:
ExclusiveArch: i386 ia64 alpha |
��������� Excludeos: � Exclusiveos: ������������ ������ ������������ ������, ��������������, Excludeos: ��������� �����-�� �� �� ������ ��������������, � Exclusiveos: ������ �������� ������ ��, ������� ��������������.
Exclusiveos: linux |
����� - ��������� ���� ������
����� - �������� ��������� spec-����
����������