require oxygen (for sounds) [release 4.0.6-11mamba;Wed Oct 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:43:54 +01:00
parent 11a30050d4
commit c39c5e7d17

View File

@ -14,7 +14,7 @@
Name: desktop-base-kde Name: desktop-base-kde
Version: 4.0.6 Version: 4.0.6
Release: 10mamba Release: 11mamba
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
Vendor: openmamba Vendor: openmamba
@ -25,7 +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
%ifnarch aarch64
BuildRequires: kdelibs4-devel BuildRequires: kdelibs4-devel
%endif
BuildRequires: rpm-macros-kde5 BuildRequires: rpm-macros-kde5
Requires: /usr/bin/strip Requires: /usr/bin/strip
Requires: openmamba-release Requires: openmamba-release
@ -84,6 +86,7 @@ Requires: sddm-kcm
Requires: sonar-artworks Requires: sonar-artworks
Requires: user-manager Requires: user-manager
Requires: zeroconf-ioslave Requires: zeroconf-ioslave
Requires: oxygen
# #
Requires: libproxy-kde Requires: libproxy-kde
Obsoletes: kappfinder Obsoletes: kappfinder
@ -235,6 +238,7 @@ openmamba milestone3 default wallpaper.
#install -d %{buildroot}%{_datadir}/icons #install -d %{buildroot}%{_datadir}/icons
#ln -s breeze_cursors %{buildroot}%{_datadir}/icons/default #ln -s breeze_cursors %{buildroot}%{_datadir}/icons/default
%ifnarch aarch64
ln -s %{_kde4_libexecdir}/kdesu %{buildroot}%{_kde4_bindir}/kdesu ln -s %{_kde4_libexecdir}/kdesu %{buildroot}%{_kde4_bindir}/kdesu
# kde4 <-> kde5 legacy symlinks # kde4 <-> kde5 legacy symlinks
@ -243,6 +247,9 @@ for f in %{buildroot}%{_kde5_configdir}/*; do
ln -sf %{_kde5_configdir}/$b %{buildroot}%{_kde4_configdir}/$b ln -sf %{_kde5_configdir}/$b %{buildroot}%{_kde4_configdir}/$b
done 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 #find %{buildroot}%{_kde5_datadir}/ -mindepth 1 -maxdepth 1 -type d | while read f; do
# b=`basename $f` # b=`basename $f`
# [ "$b" == 'icons' -o "$b" == 'color-schemes' ] && continue # [ "$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
rm -f %{buildroot}%{_sysconfdir}/pam.d/kde-np 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 %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -295,16 +305,19 @@ exit 0
%attr(0440,root,root) %{_sysconfdir}/sudoers.d/kde4 %attr(0440,root,root) %{_sysconfdir}/sudoers.d/kde4
%config %{_kde5_configdir}/* %config %{_kde5_configdir}/*
%{_bindir}/kde5-migrate-user-conf %{_bindir}/kde5-migrate-user-conf
%ifnarch aarch64
%{_kde4_bindir}/kickoffcfg %{_kde4_bindir}/kickoffcfg
#%{_datadir}/icons/default #%{_datadir}/icons/default
%{_kde4_bindir}/kdesu %{_kde4_bindir}/kdesu
%{_kde4_autostartdir}/mambatray.desktop %{_kde4_autostartdir}/mambatray.desktop
%{_kde4_autostartdir}/kde5-migrate-user-conf.desktop %{_kde4_autostartdir}/kde5-migrate-user-conf.desktop
%{_kde4_autostartdir}/kickoff-autoupdate.desktop %{_kde4_autostartdir}/kickoff-autoupdate.desktop
%endif
%{_kde5_datadir}/konqueror/profiles/resourcesbrowsing %{_kde5_datadir}/konqueror/profiles/resourcesbrowsing
%{_kde5_datadir}/color-schemes/OpenmambaGreen.colors %{_kde5_datadir}/color-schemes/OpenmambaGreen.colors
%{_kde5_datadir}/konsole/openmamba.profile %{_kde5_datadir}/konsole/openmamba.profile
%ifnarch aarch64
%files 4 %files 4
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_configdir}/* %{_kde4_configdir}/*
@ -318,6 +331,7 @@ exit 0
%dir %{_kde4_datadir}/desktoptheme %dir %{_kde4_datadir}/desktoptheme
%dir %{_kde4_datadir}/desktoptheme/openmamba %dir %{_kde4_datadir}/desktoptheme/openmamba
%{_kde4_datadir}/desktoptheme/openmamba/* %{_kde4_datadir}/desktoptheme/openmamba/*
%endif
%files -n openmamba-wallpaper-bamboo %files -n openmamba-wallpaper-bamboo
%defattr(-,root,root) %defattr(-,root,root)
@ -328,6 +342,9 @@ exit 0
%{_datadir}/wallpapers/openmamba_Circles %{_datadir}/wallpapers/openmamba_Circles
%changelog %changelog
* Wed Oct 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-11mamba
- require oxygen (for sounds)
* Sun Oct 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-10mamba * Sun Oct 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-10mamba
- remove obsolete for kinfocenter - remove obsolete for kinfocenter