diff --git a/.gitignore b/.gitignore index e69de29..3da221a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cockpit-image-builder-v54.tar.gz diff --git a/cockpit-image-builder.spec b/cockpit-image-builder.spec new file mode 100644 index 0000000..75a22f6 --- /dev/null +++ b/cockpit-image-builder.spec @@ -0,0 +1,53 @@ +Name: cockpit-image-builder +Version: v54 +Release: 1%{?dist} +Summary: Image builder plugin for Cockpit + +License: Apache-2.0 +URL: http://osbuild.org/ +Source0: https://github.com/osbuild/image-builder-frontend/releases/download/%{version}/%{name}-%{version}.tar.gz + +# Drop obsoletes until functional enough compared to cockpit-composer +# Obsoletes: cockpit-composer < 54 +# Provides: cockpit-composer = %{version}-%{release} + +BuildArch: noarch +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: make +BuildRequires: nodejs + +Requires: cockpit +Requires: osbuild-composer >= 103 + +%description +The image-builder-frontend generates custom images suitable for +deploying systems or uploading to the cloud. It integrates into Cockpit +as a frontend for osbuild. + +%prep +%setup -q -n %{name} + +%build +# Nothing to build + +%install +%make_install PREFIX=/usr +# drop source maps, they are large and just for debugging +find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose + +%check +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* + +%files +%doc cockpit/README.md +%license LICENSE +%{_datadir}/cockpit/cockpit-image-builder +%{_datadir}/metainfo/* + +%changelog + +* Thu Jan 16 2025 Packit - v54-1 +Initial commit on c10s +Resolves: RHELPLAN-171405 + diff --git a/sources b/sources new file mode 100644 index 0000000..f97dbf9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cockpit-image-builder-v54.tar.gz) = 74f74214407c1f58cf0b524e1568a2be9684b023e901c18cacfc61417931742f10e590dfa354e0574873b7211cd25f83a2e4e9b20668c70a4a364c515ff9a006