update to 5.0 [release 5.0-1mamba;Sat Sep 11 2021]

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

View File

@ -13,8 +13,8 @@
%define distroicon openmamba
Name: desktop-base-kde
Version: 4.0.6
Release: 15mamba
Version: 5.0
Release: 1mamba
Summary: KDE default desktop theme and menu entries for openmamba
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
@ -198,21 +198,11 @@ Obsoletes: amor < 5.0
Obsoletes: nsplugin < 5.0
Obsoletes: kwebitpart < 5.0
Obsoletes: kppp < 5.0
Obsoletes: desktop-base-kde-4 < 5.0
%description
KDE default desktop theme and menu entries providing with various desktop related scripts and configuration files.
%package 4
Summary: Obsoleted openmamba customizations for KDE4
Group: Graphical Desktop/Applications/Environment
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires: kalternatives
#Requires: phonon-backend-gstreamer
#Requires: kcm-touchpad
%description 4
Obsoleted openmamba customizations for KDE4.
%package -n openmamba-wallpaper-bamboo
Summary: openmamba milestone2 default wallpaper
Group: Graphical Desktop/Look 'n' feel
@ -241,31 +231,6 @@ openmamba milestone3 default wallpaper.
DISTROID=%{distroID} DISTROid=%{distroid} \
DISTROICON=%{distroicon}
#install -d %{buildroot}%{_datadir}/icons
#ln -s breeze_cursors %{buildroot}%{_datadir}/icons/default
ln -s %{_kde4_libexecdir}/kdesu %{buildroot}%{_kde4_bindir}/kdesu
# kde4 <-> kde5 legacy symlinks
for f in %{buildroot}%{_kde5_configdir}/*; do
b=`basename $f`
ln -sf %{_kde5_configdir}/$b %{buildroot}%{_kde4_configdir}/$b
done
rm %{buildroot}%{_kde4_datadir}/plasma-desktop/init/10-openmamba-default-setup.js
#find %{buildroot}%{_kde5_datadir}/ -mindepth 1 -maxdepth 1 -type d | while read f; do
# b=`basename $f`
# [ "$b" == 'icons' -o "$b" == 'color-schemes' ] && continue
# ln -sf %{_kde5_datadir}/$b %{buildroot}%{_kde4_datadir}/$b
#done
### FIXME: rework needed; don't provide for now
#rm -rf %{buildroot}%{_kde5_datadir}/plasma-desktop/init
rm -f %{buildroot}%{_sysconfdir}/pam.d/kde
rm -f %{buildroot}%{_sysconfdir}/pam.d/kde-np
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -301,32 +266,7 @@ exit 0
%files
%defattr(-,root,root)
%config %{_kde5_configdir}/*
%{_bindir}/kde5-migrate-user-conf
%{_kde5_datadir}/konqueror/profiles/resourcesbrowsing
%{_kde5_datadir}/color-schemes/OpenmambaGreen.colors
%{_kde5_datadir}/konsole/openmamba.profile
%files 4
%defattr(-,root,root)
%attr(0440,root,root) %{_sysconfdir}/sudoers.d/kde4
%{_kde4_configdir}/*
%{_kde4_bindir}/kickoffcfg
#%{_datadir}/icons/default
%{_kde4_bindir}/kdesu
%{_kde4_autostartdir}/mambatray.desktop
%{_kde4_autostartdir}/kde5-migrate-user-conf.desktop
%{_kde4_autostartdir}/kickoff-autoupdate.desktop
#%dir %{_kde4_datadir}/plasma-desktop/init
#%{_kde4_datadir}/plasma-desktop/init/*
%dir %{_kde4_datadir}/plasma-desktop/updates
%{_kde4_datadir}/plasma-desktop/updates/*
%{_kde4_datadir}/color-schemes
%{_kde4_datadir}/konqueror
%{_kde4_datadir}/konsole
%dir %{_kde4_datadir}/desktoptheme
%dir %{_kde4_datadir}/desktoptheme/openmamba
%{_kde4_datadir}/desktoptheme/openmamba/*
%files -n openmamba-wallpaper-bamboo
%defattr(-,root,root)
@ -337,6 +277,9 @@ exit 0
%{_datadir}/wallpapers/openmamba_Circles
%changelog
* Sat Sep 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-1mamba
- update to 5.0
* Thu Jun 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-15mamba
- update requirements for Plasma 5.22