SampleSpecs/empty: различия между версиями

Материал из ALT Linux Wiki
(Использование %makeinstall_std и обновление %changelog (см. http://git.altlinux.org/people/solo/public/specs.git?p=specs.git;a=commit;h=82263631fa716c4696f773f650c1a96fa77034df))
(Добавлена секция %check (см. http://git.altlinux.org/people/solo/public/specs.git?p=specs.git;a=commit;h=3bd48d21b2990dd68b6d460a90781ad5e2297b0f))
Строка 40: Строка 40:
%install
%install
%makeinstall_std
%makeinstall_std
%check
%make_build check


%files
%files

Версия от 14:44, 23 февраля 2010

Пример пустого спека

Внимание: тэги с пустым значением (Patch:) приведены для пояснения порядка их следования

Name: <имя-пакета>
Version: <версия-пакета>
Release: <релиз-пакета>

Summary: <однострочное описание>
License: <лицензия>
Group: <группа>

Url: <URL>
Packager: <ваше имя> <<username>@altlinux.org>
BuildArch:

Source: %name-%version.tar
Patch:

PreReq:
Requires:
Provides:
Conflicts:

BuildPreReq:
BuildRequires:

%description
<многострочное
описание>

%prep
%setup

%build
%configure
%make_build

%install
%makeinstall_std

%check
%make_build check

%files
%_bindir/*
%_man1dir/*
%doc AUTHORS ChangeLog README

%changelog
* <дата> <ваше имя> <<username>@altlinux.org> <версия-пакета>-<релиз пакета>
- initial build for ALT Linux Sisyphus