diff --git a/desktop-base-kde.spec b/desktop-base-kde.spec index 2798b10..51e9609 100644 --- a/desktop-base-kde.spec +++ b/desktop-base-kde.spec @@ -13,7 +13,7 @@ %define distroicon openmamba Name: desktop-base-kde -Version: 5.0 +Version: 5.1 Release: 1mamba Summary: KDE default desktop theme and menu entries for openmamba Group: Graphical Desktop/Applications/Environment @@ -25,8 +25,9 @@ Source: http://gitlab.mambasoft.it/openmamba/desktop-base-kde4.git/%{vers License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END -BuildRequires: kdelibs4-devel +#BuildRequires: kdelibs4-devel BuildRequires: rpm-macros-kde5 +BuildRequires: ImageMagick Requires: /usr/bin/strip Requires: openmamba-release Requires: desktop-base-openmamba >= 2.2.16 @@ -236,7 +237,7 @@ openmamba milestone3 default wallpaper. %pre [ -d %{_datadir}/icons/default ] && rm -f %{_datadir}/icons/default -exit 0 +: %post if [ $1 -ge 1 ]; then @@ -245,27 +246,20 @@ if [ $1 -ge 1 ]; then 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 %{_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 -exit 0 +: %postun 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/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 -exit 0 +: %files %defattr(-,root,root) +%{_sysconfdir}/xdg/kscreenlockerrc +%{_sysconfdir}/xdg/kwalletrc +%{_sysconfdir}/xdg/powerdevilrc %{_kde5_datadir}/color-schemes/OpenmambaGreen.colors %files -n openmamba-wallpaper-bamboo @@ -277,6 +271,9 @@ exit 0 %{_datadir}/wallpapers/openmamba_Circles %changelog +* Sun Oct 31 2021 Silvan Calarco 5.1-1mamba +- update to 5.1 + * Sat Sep 11 2021 Silvan Calarco 5.0-1mamba - update to 5.0