File coreos-cloudinit.spec of Package coreos-cloudinit
#
# spec file for package coreos-cloudinit
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: coreos-cloudinit
Version: 2023.07.25
Release: 1.1.mge
Summary: Frontend / Wrapper for Ignition to enable cloud-init style configuration
License: Apache-2.0
Group: System/Management
URL: https://github.com/flatcar/coreos-cloudinit
Source0: %{name}-%{version}.tar.bz2
BuildRequires: git
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.18
%description
Frontend / Wrapper for Ignition to enable cloud-init style yaml files/
configuration to the system
%prep
%autosetup -p1
%build
./build
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_docdir}/%{name}
install -p -m 0644 Documentation/* %{buildroot}%{_docdir}/%{name}/
install -p -m 0755 -s bin/coreos-cloudinit %{buildroot}%{_bindir}/
%files
%license LICENSE
%doc README.md code-of-conduct.md CONTRIBUTING.md DCO
%doc cloud-config-deprecated.md cloud-config-examples.md cloud-config-locations.md cloud-config.md cloud-config-oem.md config-drive.md debian-interfaces.md vmware-guestinfo.md
%{_bindir}/coreos-cloudinit
%changelog
* Fri Sep 08 2023 mge@suse.com
Initial release
- forked from https://github.com/flatcar/coreos-cloudinit
-