Initial commit on c10s
Resolves: RHELPLAN-171405
This commit is contained in:
parent
c02544fc49
commit
0fccc2e969
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/cockpit-image-builder-v54.tar.gz
|
53
cockpit-image-builder.spec
Normal file
53
cockpit-image-builder.spec
Normal file
@ -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 <hello@packit.dev> - v54-1
|
||||
Initial commit on c10s
|
||||
Resolves: RHELPLAN-171405
|
||||
|
Loading…
Reference in New Issue
Block a user