diff --git a/_service b/_service
index f804a83..81f03c0 100644
--- a/_service
+++ b/_service
@@ -1,4 +1,19 @@
+
+ https://github.com/dgdavid/cockpit-suse-theme.git
+ %h
+ git
+ main
+
+
+ cockpit-suse-theme.obsinfo
+
+
+ cockpit-suse-theme
+ cockpit-suse-these.tar
+
+
+
@PARENT_TAG@
http://github.com/cockpit-project/cockpit.git
@@ -17,4 +32,6 @@
cockpit
+
+
diff --git a/_servicedata b/_servicedata
index 5065ec3..4a037d0 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,6 @@
http://github.com/cockpit-project/cockpit.git
- 046b3d4b381cd60f9d44756fc51f15ed7e17d0b5
\ No newline at end of file
+ 046b3d4b381cd60f9d44756fc51f15ed7e17d0b5
+ https://github.com/dgdavid/cockpit-suse-theme.git
+ fe08b35e64ad45f4b56cd636fdfec8fb18d69ab7
\ No newline at end of file
diff --git a/cockpit-suse-theme-fe08b35.obscpio b/cockpit-suse-theme-fe08b35.obscpio
new file mode 100644
index 0000000..075cce0
--- /dev/null
+++ b/cockpit-suse-theme-fe08b35.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dc2c191f02147e115fd4bc3bd804b3625c68be495fd789ff5a10236e3796b10f
+size 1276428
diff --git a/cockpit-suse-theme.obsinfo b/cockpit-suse-theme.obsinfo
new file mode 100644
index 0000000..39714c9
--- /dev/null
+++ b/cockpit-suse-theme.obsinfo
@@ -0,0 +1,4 @@
+name: cockpit-suse-theme
+version: fe08b35
+mtime: 1655379139
+commit: fe08b35e64ad45f4b56cd636fdfec8fb18d69ab7
diff --git a/cockpit.changes b/cockpit.changes
index ae7dcf5..4a76e4e 100644
--- a/cockpit.changes
+++ b/cockpit.changes
@@ -2,6 +2,7 @@
Tue Sep 13 09:46:17 UTC 2022 - Adam Majer
- Fix cockpit-storage dependencies
+- Merge SUSE branding into cockpit package
-------------------------------------------------------------------
Mon Sep 5 08:09:56 UTC 2022 - Jacek Tomasiak
diff --git a/cockpit.spec b/cockpit.spec
index bb8eb90..87cf8ca 100644
--- a/cockpit.spec
+++ b/cockpit.spec
@@ -55,6 +55,7 @@ Release: 0
Source0: cockpit-%{version}.tar
Source1: cockpit.pam
Source2: cockpit-rpmlintrc
+Source3: cockpit-suse-theme-fe08b35.tar
Source99: README.packaging
Source98: package-lock.json
Source97: node_modules.spec.inc
@@ -182,7 +183,7 @@ Requires: subscription-manager-cockpit
%endif
%prep
-%setup -q -n cockpit-%{version}
+%setup -q -n cockpit-%{version} -a 3
%patch1 -p1
%patch2 -p1
%patch3 -p1
@@ -236,6 +237,13 @@ install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
install -D -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/cockpit/
+mkdir -p %{buildroot}%{_datadir}/cockpit/branding/suse
+pushd cockpit-suse-theme-*
+cp src/css-overrides.css %{buildroot}%{_datadir}/cockpit/branding/suse
+cp src/fonts.css %{buildroot}%{_datadir}/cockpit/branding/suse
+cp -a src/fonts %{buildroot}%{_datadir}/cockpit/branding/suse
+popd
+
# only ship deprecated PatternFly API for stable releases
%if 0%{?rhel} == 8
if [ -f %{buildroot}/%{_datadir}/cockpit/base1/cockpit.css.gz ]; then