plasma-lookandfeel-openmamba: require plasma-desktoptheme-openmamba and use by default [release 5.25.2-2mamba;Fri Jul 01 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:19:29 +01:00
parent fcb06a9fea
commit 8c6632d78a

View File

@ -2,7 +2,7 @@
Name: plasma-workspace
Version: 5.25.2
Release: 1mamba
Release: 2mamba
Summary: KDE Frameworks 5 Workspace
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
@ -166,6 +166,7 @@ Summary: openmamba theme for KDE Plasma
Requires: openmamba-color-schemes
Requires: openmamba-icons
Requires: openmamba-wallpapers
Requires: plasma-desktoptheme-openmamba
%description -n plasma-lookandfeel-openmamba
openmamba theme for KDE Plasma.
@ -245,16 +246,20 @@ _EOF
# from [Wallpaper] Image=Next to Image=openmambaRandom
sed -i -e 's|^Image=.*$|Image=openmambaRandom|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/defaults
sed -i -e 's|^ColorScheme=.*$|ColorScheme=OpenmambaGreen|g' \
sed -i -e 's|^ColorScheme=.*$|ColorScheme=openmambaLight|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/defaults
sed -i -e 's|^name=.*$|name=openmamba-light|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/defaults
sed -i "s|images/plasma.svgz|%{_datadir}/pixmaps/system-logo-white.png|" \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/splash/Splash.qml
rm -f %{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/metadata.json
sed -i -e 's|^Image=.*$|Image=openmambaRandom|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/defaults
sed -i -e 's|^ColorScheme=.*$|ColorScheme=OpenmambaGreen|g' \
sed -i -e 's|^ColorScheme=.*$|ColorScheme=openmambaDark|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/defaults
sed -i -e 's|^name=.*$|name=openmamba-dark|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/defaults
sed -i "s|images/plasma.svgz|%{_datadir}/pixmaps/system-logo-white.png|" \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/contents/splash/Splash.qml
rm -f %{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.dark.desktop/metadata.json
@ -462,6 +467,9 @@ _EOF
%{_datadir}/sddm/themes/openmamba/*
%changelog
* Fri Jul 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.2-2mamba
- plasma-lookandfeel-openmamba: require plasma-desktoptheme-openmamba and use by default
* Thu Jun 30 2022 Automatic Build System <autodist@mambasoft.it> 5.25.2-1mamba
- automatic version update by autodist