40 lines
990 B
RPMSpec
40 lines
990 B
RPMSpec
Name: cockpit-image-builder
|
|
Version: 1
|
|
Release: 1%{?dist}
|
|
Summary: image builder frontend for use with Cockpit
|
|
|
|
License: Apache-2.0
|
|
URL: http://osbuild.org/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
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
|
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
|
|
|
|
%files
|
|
%doc cockpit/README.md
|
|
%license LICENSE
|
|
%{_datadir}/cockpit/cockpit-image-builder
|
|
%{_datadir}/metainfo/*
|