����� ������������ OpenNet.ru / ������ "������������ ��� Linux" / ������

9.3.1 �������� ������

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: ������������� ���������� � ���������� �������� ������� �� (��� ��� �������������):

URL: http://mycompany.yow/products/coolstuff

��������� Packager: ��������� ��� � ����������� ����� �������� ������:

Packager: Bob Marley <marley@reggae.com>

��������� License: � Copyright: ������������� �������� ���������� � ������. � ����� ������ ������� ������� �������������� ���� Copyright:, � ��������� ����� ������������ License:.

9.3.1.3 �������� ������

��������� Summary: - ��� ������������ �������� ������. ������ ���� �������� ������� ��������� Description:. ����� Summary: ������� ��� ������������� ��������, ��� ���������� �� � ���������, � � ����������� ������ spec-�����, %description. ��������:

%description

This is a really cool package. It contains the really cool

program that provides a maximum return on investment,

or ROI, for achieving your crucial business objectives

utilizing world-class high-caliber componentized software

implemented with world-class quality and performance

metrics.

��� ������� ������������ �������� ������������ ���������: ��� 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-����
����������


����� ������������ �� OpenNet.ru