move more kde4 files to -4 subpackage [release 4.0.6-13mamba;Wed Feb 24 2021]

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

View File

@ -14,7 +14,7 @@
Name: desktop-base-kde Name: desktop-base-kde
Version: 4.0.6 Version: 4.0.6
Release: 11mamba Release: 13mamba
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,9 +25,7 @@ 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
@ -74,11 +72,15 @@ Requires: kwayland-integration
Requires: kwrite Requires: kwrite
Requires: kwrited Requires: kwrited
Requires: plasma-browser-integration Requires: plasma-browser-integration
Requires: kwin
Requires: plasma-workspace Requires: plasma-workspace
Requires: plasma-workspace-wallpapers Requires: plasma-workspace-wallpapers
Requires: plasma-nm Requires: plasma-nm
Requires: plasma-pk-updates Requires: plasma-pk-updates
Requires: plasma-thunderbolt Requires: plasma-thunderbolt
Requires: plasma-disks
Requires: plasma-pa
Requires: plasma-vault
Requires: plymouth-kcm Requires: plymouth-kcm
Requires: print-manager Requires: print-manager
Requires: phonon-qt5-backend-gstreamer Requires: phonon-qt5-backend-gstreamer
@ -238,7 +240,6 @@ 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
@ -248,7 +249,6 @@ for f in %{buildroot}%{_kde5_configdir}/*; do
done done
rm %{buildroot}%{_kde4_datadir}/plasma-desktop/init/10-openmamba-default-setup.js 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`
@ -262,11 +262,6 @@ rm %{buildroot}%{_kde4_datadir}/plasma-desktop/init/10-openmamba-default-setup.j
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
%ifarch aarch64
rm -rf %{buildroot}/share
rm -rf %{buildroot}/bin
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -302,25 +297,22 @@ exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%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 %{_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 %{_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}/color-schemes/OpenmambaGreen.colors
%{_kde5_datadir}/konsole/openmamba.profile
%ifnarch aarch64
%files 4
%defattr(-,root,root)
%{_kde4_configdir}/*
#%dir %{_kde4_datadir}/plasma-desktop/init #%dir %{_kde4_datadir}/plasma-desktop/init
#%{_kde4_datadir}/plasma-desktop/init/* #%{_kde4_datadir}/plasma-desktop/init/*
%dir %{_kde4_datadir}/plasma-desktop/updates %dir %{_kde4_datadir}/plasma-desktop/updates
@ -331,7 +323,6 @@ 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)
@ -342,6 +333,12 @@ exit 0
%{_datadir}/wallpapers/openmamba_Circles %{_datadir}/wallpapers/openmamba_Circles
%changelog %changelog
* Wed Feb 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-13mamba
- move more kde4 files to -4 subpackage
* Tue Feb 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-12mamba
- require kwin (removed requirement from plasma-workspace), plasma-pa, plasma-vault, plasma-disks
* Wed Oct 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-11mamba * Wed Oct 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.6-11mamba
- require oxygen (for sounds) - require oxygen (for sounds)