update to 5.1 [release 5.1-1mamba;Sun Oct 31 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:43:54 +01:00
parent 4ab9300d09
commit d6ea5320ad

View File

@ -13,7 +13,7 @@
%define distroicon openmamba %define distroicon openmamba
Name: desktop-base-kde Name: desktop-base-kde
Version: 5.0 Version: 5.1
Release: 1mamba Release: 1mamba
Summary: KDE default desktop theme and menu entries for openmamba Summary: KDE default desktop theme and menu entries for openmamba
Group: Graphical Desktop/Applications/Environment Group: Graphical Desktop/Applications/Environment
@ -25,8 +25,9 @@ Source: http://gitlab.mambasoft.it/openmamba/desktop-base-kde4.git/%{vers
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: kdelibs4-devel #BuildRequires: kdelibs4-devel
BuildRequires: rpm-macros-kde5 BuildRequires: rpm-macros-kde5
BuildRequires: ImageMagick
Requires: /usr/bin/strip Requires: /usr/bin/strip
Requires: openmamba-release Requires: openmamba-release
Requires: desktop-base-openmamba >= 2.2.16 Requires: desktop-base-openmamba >= 2.2.16
@ -236,7 +237,7 @@ openmamba milestone3 default wallpaper.
%pre %pre
[ -d %{_datadir}/icons/default ] && rm -f %{_datadir}/icons/default [ -d %{_datadir}/icons/default ] && rm -f %{_datadir}/icons/default
exit 0 :
%post %post
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
@ -245,27 +246,20 @@ if [ $1 -ge 1 ]; then
ln -s /etc/alternatives/x-cursor-theme %{_datadir}/icons/default ln -s /etc/alternatives/x-cursor-theme %{_datadir}/icons/default
} }
/usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_datadir}/icons/breeze_cursors 50 /usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_datadir}/icons/breeze_cursors 50
/usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_kde4_icondir}/Oxygen_Black 40
/usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_kde4_icondir}/Oxygen_White 35
/usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_kde4_icondir}/Oxygen_Blue 30
/usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_kde4_icondir}/Oxygen_Yellow 30
/usr/sbin/update-alternatives --install %{_datadir}/icons/default x-cursor-theme %{_kde4_icondir}/Oxygen_Zion 30
fi fi
exit 0 :
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/breeze_cursors /usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/breeze_cursors
/usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/Oxygen_Black
/usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/Oxygen_White
/usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/Oxygen_Blue
/usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/Oxygen_Yellow
/usr/sbin/update-alternatives --remove x-cursor-theme %{_datadir}/icons/Oxygen_Zion
fi fi
exit 0 :
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/xdg/kscreenlockerrc
%{_sysconfdir}/xdg/kwalletrc
%{_sysconfdir}/xdg/powerdevilrc
%{_kde5_datadir}/color-schemes/OpenmambaGreen.colors %{_kde5_datadir}/color-schemes/OpenmambaGreen.colors
%files -n openmamba-wallpaper-bamboo %files -n openmamba-wallpaper-bamboo
@ -277,6 +271,9 @@ exit 0
%{_datadir}/wallpapers/openmamba_Circles %{_datadir}/wallpapers/openmamba_Circles
%changelog %changelog
* Sun Oct 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1-1mamba
- update to 5.1
* Sat Sep 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-1mamba * Sat Sep 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-1mamba
- update to 5.0 - update to 5.0