2022-06-13 22:25:44 +02:00
|
|
|
#
|
|
|
|
# spec file for package cockpit-suse-theme
|
|
|
|
#
|
|
|
|
# Copyright (c) 2022 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: cockpit-suse-theme
|
|
|
|
Version: 0.1
|
|
|
|
Release: 0
|
|
|
|
Summary: A Cockpit green-ish theme
|
2022-06-15 15:14:30 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2023-06-13 11:09:53 +02:00
|
|
|
URL: https://github.com/dgdavid/cockpit-suse-theme
|
2022-06-13 22:25:44 +02:00
|
|
|
License: MIT
|
|
|
|
|
2023-06-13 11:09:53 +02:00
|
|
|
Supplements: cockpit-ws
|
2022-06-17 16:16:56 +02:00
|
|
|
BuildArch: noarch
|
2022-06-13 22:25:44 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
A package holding needed resources for changing Cockpit styling to match the
|
|
|
|
SUSE look&feel by using the workaround described at
|
|
|
|
https://github.com/cockpit-project/cockpit/pull/17437
|
|
|
|
|
|
|
|
Intended changes only take effect when using a Cockpit version patched for
|
|
|
|
loading the CSS overrides file in each HTML page.
|
|
|
|
|
2022-06-15 15:14:30 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2023-06-13 11:09:53 +02:00
|
|
|
%build
|
|
|
|
|
2022-06-13 22:25:44 +02:00
|
|
|
%install
|
2022-06-15 15:14:30 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/cockpit/branding/default
|
|
|
|
cp src/css-overrides.css %{buildroot}%{_datadir}/cockpit/branding/default
|
|
|
|
cp src/fonts.css %{buildroot}%{_datadir}/cockpit/branding/default
|
|
|
|
cp -a src/fonts %{buildroot}%{_datadir}/cockpit/branding/default
|
2022-06-13 22:25:44 +02:00
|
|
|
|
|
|
|
%files
|
2022-06-15 15:14:30 +02:00
|
|
|
%dir %{_datadir}/cockpit
|
2023-06-13 11:09:53 +02:00
|
|
|
%dir %{_datadir}/cockpit/branding
|
|
|
|
%dir %{_datadir}/cockpit/branding/default
|
2022-06-15 15:14:30 +02:00
|
|
|
%{_datadir}/cockpit/branding/default/*
|
2022-06-13 22:25:44 +02:00
|
|
|
|
|
|
|
%changelog
|