Package ignition: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | %define _unpackaged_files_terminate_build 1 %global import_path github.com/coreos/ignition %define dracutlibdir %{_prefix}/lib/dracut %define _libexecdir %_prefix/libexec Name: ignition Version: 2.16.2 Release: alt1.0.port Summary: First boot installer and configuration tool License: Apache-2.0 Group: System/Configuration/Boot and Init Url: https://github.com/coreos/ignition Source: %name-%version.tar Patch: %name-%version.patch Patch3500: makefile-loongarch64.patch ExclusiveArch: %go_arches BuildRequires(pre): rpm-build-golang BuildRequires: golang BuildRequires: libblkid-devel Requires: btrfs-progs Requires: xfsprogs Requires: dosfstools Requires: gdisk Requires: dracut Requires: dracut-network #mkswap Requires: util-linux %description Ignition is a utility used to manipulate systems during the initramfs. This includes partitioning disks, formatting partitions, writing files (regular files, systemd units, networkd units, etc.), and configuring users. On first boot, Ignition reads its configuration from a source of truth (remote URL, network metadata service, hypervisor bridge, etc.) and applies the configuration. %package validate Summary: Validation tool for Ignition configs License: Apache-2.0 Group: System/Configuration/Boot and Init %description validate Ignition is a utility used to manipulate systems during the initramfs. This includes partitioning disks, formatting partitions, writing files (regular files, systemd units, networkd units, etc.), and configuring users. On first boot, Ignition reads its configuration from a source of truth (remote URL, network metadata service, hypervisor bridge, etc.) and applies the configuration. This package contains a tool for validating Ignition configurations. %prep %setup %patch -p1 %patch3500 -p1 %build export BUILDDIR="$PWD/.build" export IMPORT_PATH="%import_path" export GOPATH="$BUILDDIR:%go_path" export VERSION=%version %golang_prepare pushd .build/src/%import_path #%golang_build . %make_build popd %install export BUILDDIR="$PWD/.build" export IMPORT_PATH="%import_path" export IGNORE_SOURCES=1 export GOPATH="$BUILDDIR:%go_path" export VERSION=%version pushd .build/src/%import_path #%golang_install %makeinstall_std popd %files %doc README.md docs %dracutlibdir/modules.d/* %_libexecdir/* %_unitdir/* %files validate %doc README.md %_bindir/%name-validate %changelog * Mon Apr 15 2024 Alexey Sheplyakov <asheplyakov@altlinux.org> 2.16.2-alt1.0.port - Bumped release for LoongArch rebuild. * Mon Apr 15 2024 Alexey Sheplyakov <asheplyakov@altlinux.org> 2.16.2-alt1.1 - NMU: fixed FTBFS on LoongArch (trivial makefile patch). * Fri Aug 18 2023 Alexey Shabalin <shaba@altlinux.org> 2.16.2-alt1 - New version 2.16.2. * Fri Mar 24 2023 Alexey Shabalin <shaba@altlinux.org> 2.15.0-alt1 - New version 2.15.0. * Wed Jun 15 2022 Alexey Shabalin <shaba@altlinux.org> 2.14.0-alt1 - new version 2.14.0 * Thu Dec 02 2021 Alexey Shabalin <shaba@altlinux.org> 2.13.0-alt1 - new version 2.13.0 * Fri Sep 15 2021 Andrey Sokolov <keremet@altlinux.org> 2.12.0-alt2 - Fix formatting to xfs and swap * Sat Sep 04 2021 Alexey Shabalin <shaba@altlinux.org> 2.12.0-alt1 - new version 2.12.0 * Fri Jul 30 2021 Andrey Sokolov <keremet@altlinux.org> 2.11.0-alt2 - compile without relabeling support * Mon Jul 19 2021 Alexey Shabalin <shaba@altlinux.org> 2.11.0-alt1 - 2.11.0 * Tue Jun 15 2021 Alexey Shabalin <shaba@altlinux.org> 2.10.1-alt1 - 2.10.1 * Sun Jan 17 2021 Alexey Shabalin <shaba@altlinux.org> 2.9.0-alt1 - 2.9.0 * Wed Dec 02 2020 Alexey Shabalin <shaba@altlinux.org> 2.8.0-alt1 - 2.8.0 * Sun Nov 08 2020 Alexey Shabalin <shaba@altlinux.org> 2.7.0-alt1 - Initial build for Sisyphus |