From c39c5e7d172241a5882f5db2feb815cde6482555 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:43:54 +0100 Subject: [PATCH] require oxygen (for sounds) [release 4.0.6-11mamba;Wed Oct 21 2020] --- desktop-base-kde.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/desktop-base-kde.spec b/desktop-base-kde.spec index 9e177a1..2e82838 100644 --- a/desktop-base-kde.spec +++ b/desktop-base-kde.spec @@ -14,7 +14,7 @@ Name: desktop-base-kde Version: 4.0.6 -Release: 10mamba +Release: 11mamba Summary: KDE default desktop theme and menu entries for openmamba Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -25,7 +25,9 @@ Source: http://gitlab.mambasoft.it/openmamba/desktop-base-kde4.git/%{vers License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END +%ifnarch aarch64 BuildRequires: kdelibs4-devel +%endif BuildRequires: rpm-macros-kde5 Requires: /usr/bin/strip Requires: openmamba-release @@ -84,6 +86,7 @@ Requires: sddm-kcm Requires: sonar-artworks Requires: user-manager Requires: zeroconf-ioslave +Requires: oxygen # Requires: libproxy-kde Obsoletes: kappfinder @@ -235,6 +238,7 @@ openmamba milestone3 default wallpaper. #install -d %{buildroot}%{_datadir}/icons #ln -s breeze_cursors %{buildroot}%{_datadir}/icons/default +%ifnarch aarch64 ln -s %{_kde4_libexecdir}/kdesu %{buildroot}%{_kde4_bindir}/kdesu # kde4 <-> kde5 legacy symlinks @@ -243,6 +247,9 @@ for f in %{buildroot}%{_kde5_configdir}/*; do ln -sf %{_kde5_configdir}/$b %{buildroot}%{_kde4_configdir}/$b done +rm %{buildroot}%{_kde4_datadir}/plasma-desktop/init/10-openmamba-default-setup.js +%endif + #find %{buildroot}%{_kde5_datadir}/ -mindepth 1 -maxdepth 1 -type d | while read f; do # b=`basename $f` # [ "$b" == 'icons' -o "$b" == 'color-schemes' ] && continue @@ -255,7 +262,10 @@ done rm -f %{buildroot}%{_sysconfdir}/pam.d/kde rm -f %{buildroot}%{_sysconfdir}/pam.d/kde-np -rm %{buildroot}%{_kde4_datadir}/plasma-desktop/init/10-openmamba-default-setup.js +%ifarch aarch64 +rm -rf %{buildroot}/share +rm -rf %{buildroot}/bin +%endif %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -295,16 +305,19 @@ exit 0 %attr(0440,root,root) %{_sysconfdir}/sudoers.d/kde4 %config %{_kde5_configdir}/* %{_bindir}/kde5-migrate-user-conf +%ifnarch aarch64 %{_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 +%endif %{_kde5_datadir}/konqueror/profiles/resourcesbrowsing %{_kde5_datadir}/color-schemes/OpenmambaGreen.colors %{_kde5_datadir}/konsole/openmamba.profile +%ifnarch aarch64 %files 4 %defattr(-,root,root) %{_kde4_configdir}/* @@ -318,6 +331,7 @@ exit 0 %dir %{_kde4_datadir}/desktoptheme %dir %{_kde4_datadir}/desktoptheme/openmamba %{_kde4_datadir}/desktoptheme/openmamba/* +%endif %files -n openmamba-wallpaper-bamboo %defattr(-,root,root) @@ -328,6 +342,9 @@ exit 0 %{_datadir}/wallpapers/openmamba_Circles %changelog +* Wed Oct 21 2020 Silvan Calarco 4.0.6-11mamba +- require oxygen (for sounds) + * Sun Oct 18 2020 Silvan Calarco 4.0.6-10mamba - remove obsolete for kinfocenter