File branding-zeus.spec of Package branding-zeus
#
# spec file for package branding-zeus
#
# Copyright (c) 2025 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: branding-zeus
Version: 0.0.1
Release: 0
Summary: Configuration files & misc
License: GPL-2.0-only AND CC-BY-SA-3.0
Group: System/Packages
URL: https://build.opensuse.org/project/show/home:zeussuse
BuildArch: noarch
BuildRequires: tar
BuildRequires: xz
BuildRequires: fdupes
Source0: labwc-dragon-theme-0.1.tar.xz
Source1: btop.conf
Source2: foot.ini
Source3: labwc-autostart
Source4: labwc-env
Source5: labwc-menu.xml
Source6: labwc-rc.xml
Source7: logout.desktop
Source8: mimeapps.list
Source9: nag-logout.sh
Source10: nag-ramsize.sh
Source11: nano.desktop
Source12: manualinstallguide.readme
Source14: thunar-uca.xml
Source15: thunar-xfconf.xml
Source16: tzselect.sh
Source17: waybar-config
Source18: waybar-style.css
Source19: welcome.txt
Source20: wofi-config
Source21: wofi-drun
Source22: https://build.opensuse.org/projects/home:zeussuse:iso/signing_keys/download/home_zeussuse_iso_key.gpg
Source23: https://ftp.fau.de/packman/gpg-pubkey-1abd1afb.asc
%description
Configuration files & misc
%prep
tar -xvf %{SOURCE0}
cp labwc-dragon-theme-0.1/{CREDITS,LICENSE.CC,LICENSE.GPL} ./
%build
%install
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/btop
install -D -m644 %{SOURCE1} -t %{buildroot}%{_sysconfdir}/skel/.config/btop/
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/foot
install -D -m644 %{SOURCE2} -t %{buildroot}%{_sysconfdir}/skel/.config/foot/
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/labwc
cp -v %{SOURCE3} %{buildroot}%{_sysconfdir}/skel/.config/labwc/autostart
cp -v %{SOURCE4} %{buildroot}%{_sysconfdir}/skel/.config/labwc/environment
cp -v %{SOURCE5} %{buildroot}%{_sysconfdir}/skel/.config/labwc/menu.xml
cp -v %{SOURCE6} %{buildroot}%{_sysconfdir}/skel/.config/labwc/rc.xml
install -dm 755 %{buildroot}%{_datadir}/applications
install -D -m644 %{SOURCE7} -t %{buildroot}%{_datadir}/applications/
install -D -m644 %{SOURCE8} -t %{buildroot}%{_sysconfdir}/skel/.config/
install -dm 755 %{buildroot}%{_bindir}
install -D -m644 %{SOURCE9} -t %{buildroot}%{_bindir}/
install -D -m644 %{SOURCE10} -t %{buildroot}%{_bindir}/
install -D -m644 %{SOURCE11} -t %{buildroot}%{_datadir}/applications/
install -D -m644 %{SOURCE12} -t %{buildroot}%{_sysconfdir}/skel/
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/Thunar
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml
cp -v %{SOURCE14} %{buildroot}%{_sysconfdir}/skel/.config/Thunar/uca.xml
cp -v %{SOURCE15} %{buildroot}%{_sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
install -D -m644 %{SOURCE16} -t %{buildroot}%{_bindir}/
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/waybar
cp -v %{SOURCE17} %{buildroot}%{_sysconfdir}/skel/.config/waybar/config
cp -v %{SOURCE18} %{buildroot}%{_sysconfdir}/skel/.config/waybar/style.css
install -D -m644 %{SOURCE19} -t %{buildroot}%{_sysconfdir}/skel/
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.config/wofi
cp -v %{SOURCE20} %{buildroot}%{_sysconfdir}/skel/.config/wofi/config
install -dm 755 %{buildroot}%{_sysconfdir}/skel/.cache
install -D -m644 %{SOURCE21} -t %{buildroot}%{_sysconfdir}/skel/.cache/
install -dm 755 %{buildroot}%{_datadir}/themes
install -dm 755 %{buildroot}%{_datadir}/wallpapers
cp -rv labwc-dragon-theme-0.1/themes/Dragon %{buildroot}%{_datadir}/themes/
install -D -m644 labwc-dragon-theme-0.1/wallpapers/old1-default-1920x1080.jpg %{buildroot}%{_datadir}/wallpapers/
install -dm 755 %{buildroot}%{_prefix}/lib/rpm/gnupg/keys
install -D -m644 %{SOURCE22} %{buildroot}%{_prefix}/lib/rpm/gnupg/keys/
install -D -m644 %{SOURCE23} %{buildroot}%{_prefix}/lib/rpm/gnupg/keys/
chmod +x %{buildroot}%{_bindir}/nag-logout.sh
chmod +x %{buildroot}%{_bindir}/nag-ramsize.sh
chmod +x %{buildroot}%{_bindir}/tzselect.sh
%fdupes %{buildroot}%{_datadir}/themes/Dragon/
%files
%license CREDITS LICENSE.CC LICENSE.GPL
%dir %{_datadir}/wallpapers
%{_datadir}/wallpapers/old1-default-1920x1080.jpg
%dir %{_datadir}/themes
%{_datadir}/themes/Dragon
%dir %{_sysconfdir}/skel/.config
%{_sysconfdir}/skel/.config/btop
%{_sysconfdir}/skel/.config/foot
%{_sysconfdir}/skel/.config/labwc
%{_datadir}/applications/
%{_sysconfdir}/skel/.config/mimeapps.list
%{_bindir}/*.sh
%{_sysconfdir}/skel/.config/waybar
%{_sysconfdir}/skel/.config/Thunar
%dir %{_sysconfdir}/skel/.config/xfce4
%dir %{_sysconfdir}/skel/.config/xfce4/xfconf
%{_sysconfdir}/skel/.config/xfce4/xfconf/xfce-perchannel-xml
%{_sysconfdir}/skel/.config/wofi
%{_sysconfdir}/skel/.cache
%{_sysconfdir}/skel/welcome.txt
%{_sysconfdir}/skel/manualinstallguide.readme
%dir %{_prefix}/lib/rpm/gnupg
%{_prefix}/lib/rpm/gnupg/keys/
%changelog