Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37837135
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: example-zig

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict,lint=relaxed

Name: example-zig
Summary: Example of packaging Zig program
Version: 2
Release: alt1
License: GPL-2.0-only
Group: Development/Other
Url: https://ziglearn.org/

Source: %name-%version.tar

# Only these architectures have Zig compiler working.

ExclusiveArch: %zig_arches

# Following packages are required to build.

BuildRequires(pre): rpm-macros-zig
BuildRequires: zig

%description
%summary.

%prep
%setup

%build
%zig_build

%install
%zig_install

%check
%zig_test

# This is not required step for normal packaging, but run executable to

# ensure it's working. Also, this ensures the example package is correct.
PATH=%buildroot%_bindir
zig-example

%files
%_bindir/zig-example

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin