Name:           cockpit-image-builder
Version:        61
Release:        1.20250225130959830382.pr2922.18.g2eab6f0a%{?dist}
Summary:        Image builder plugin for Cockpit

License:        Apache-2.0
URL:            http://osbuild.org/
Source0:        cockpit-image-builder-62.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:       cockpit-files
Requires:       osbuild-composer >= 131

%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 cockpit-image-builder

%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
# the changelog is distribution-specific, therefore there's just one entry
# to make rpmlint happy.

* Tue Feb 25 2025 Packit <hello@packit.dev> - 61-1.20250225130959830382.pr2922.18.g2eab6f0a
- Wizard: refactor HookValidatedInput component and check it in userName field this commit split HookValidatedInput to 3 functions: useValidationState - manages validation state (isPristine, validated). TextAndTextAreaInput - use useValidationState and renders the TextInput or TextArea. ErrorMessage: displays validation error messages. (Michal Gold)
- Changed to switch statement (Katarina Sieklova)
- Blueprints: invalid message variant on upload Fixed #2919 (Katarina Sieklova)
- build(deps): bump @redhat-cloud-services/frontend-components-notifications (dependabot[bot])
- build(deps): bump @unleash/proxy-client-react from 4.5.1 to 4.5.2 (dependabot[bot])
- .github/workflows/trigger-gitlab: donly trigger nightly pipelines (Sanne Raymaekers)
- .github/workflows/trigger-gitlab: remove artifact steps (Sanne Raymaekers)
- schutzbot: add basic schutzbot structure (Sanne Raymaekers)
- Wizard: Switch view to "Available" when searching for package (dependabot[bot])
- chore(deps): update konflux references to b78123a (red-hat-konflux[bot])
- Wizard: Remove obsolete css (regexowl)
- build(deps-dev): bump sass from 1.83.1 to 1.85.0 (dependabot[bot])
- build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot])
- build(deps): bump @sentry/webpack-plugin from 3.1.2 to 3.2.0 (dependabot[bot])
- build(deps-dev): bump @typescript-eslint/parser from 8.24.0 to 8.24.1 (dependabot[bot])
- Blueprints: Import Blueprint modal error rendering Fixed #2905 (Katarina Sieklova)
- Post release version bump (schutzbot)

* Mon Jan 13 2025 Image Builder team <osbuilders@redhat.com> - 0-1
- The changelog was added to the rpm spec file.