RPM: remove grubconfig and wineconfig from tde-guidance

Signed-off-by: François Andriot <albator78@libertysurf.fr>
r14.1.x
François Andriot 9 months ago
parent 3ad9043330
commit 252fba040a

@ -175,7 +175,6 @@ look after your system:
o userconfig - User and Group administration o userconfig - User and Group administration
o serviceconfig - Service/daemon administration o serviceconfig - Service/daemon administration
o mountconfig - Disk and filesystem administration o mountconfig - Disk and filesystem administration
o wineconfig - Wine configuration
These tools are available in Trinity Control Center, System Settings These tools are available in Trinity Control Center, System Settings
or can be run as standalone applications. or can be run as standalone applications.
@ -183,11 +182,9 @@ or can be run as standalone applications.
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO %doc ChangeLog COPYING README TODO
%{tde_bindir}/grubconfig
%{tde_bindir}/mountconfig %{tde_bindir}/mountconfig
%{tde_bindir}/serviceconfig %{tde_bindir}/serviceconfig
%{tde_bindir}/userconfig %{tde_bindir}/userconfig
%{tde_bindir}/wineconfig
%attr(0644,root,root) %{tde_tdelibdir}/*.so %attr(0644,root,root) %{tde_tdelibdir}/*.so
%attr(0644,root,root) %{tde_tdelibdir}/*.la %attr(0644,root,root) %{tde_tdelibdir}/*.la
%{tde_datadir}/apps/guidance/ %{tde_datadir}/apps/guidance/
@ -198,38 +195,32 @@ or can be run as standalone applications.
%{python_sitearch}/%{name}/SimpleCommandRunner.py* %{python_sitearch}/%{name}/SimpleCommandRunner.py*
%{python_sitearch}/%{name}/fuser.py* %{python_sitearch}/%{name}/fuser.py*
%{python_sitearch}/%{name}/fuser_ui.py* %{python_sitearch}/%{name}/fuser_ui.py*
%{python_sitearch}/%{name}/grubconfig.py*
%{python_sitearch}/%{name}/mountconfig.py* %{python_sitearch}/%{name}/mountconfig.py*
%{python_sitearch}/%{name}/serviceconfig.py* %{python_sitearch}/%{name}/serviceconfig.py*
%{python_sitearch}/%{name}/sizeview.py* %{python_sitearch}/%{name}/sizeview.py*
%{python_sitearch}/%{name}/unixauthdb.py* %{python_sitearch}/%{name}/unixauthdb.py*
%{python_sitearch}/%{name}/userconfig.py* %{python_sitearch}/%{name}/userconfig.py*
%{python_sitearch}/%{name}/wineconfig.py*
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
%{python_sitearch}/%{name}/__pycache__/SMBShareSelectDialog.*.pyc %{python_sitearch}/%{name}/__pycache__/SMBShareSelectDialog.*.pyc
%{python_sitearch}/%{name}/__pycache__/SimpleCommandRunner.*.pyc %{python_sitearch}/%{name}/__pycache__/SimpleCommandRunner.*.pyc
%{python_sitearch}/%{name}/__pycache__/fuser.*.pyc %{python_sitearch}/%{name}/__pycache__/fuser.*.pyc
%{python_sitearch}/%{name}/__pycache__/fuser_ui.*.pyc %{python_sitearch}/%{name}/__pycache__/fuser_ui.*.pyc
%{python_sitearch}/%{name}/__pycache__/grubconfig.*.pyc
%{python_sitearch}/%{name}/__pycache__/mountconfig.*.pyc %{python_sitearch}/%{name}/__pycache__/mountconfig.*.pyc
%{python_sitearch}/%{name}/__pycache__/serviceconfig.*.pyc %{python_sitearch}/%{name}/__pycache__/serviceconfig.*.pyc
%{python_sitearch}/%{name}/__pycache__/sizeview.*.pyc %{python_sitearch}/%{name}/__pycache__/sizeview.*.pyc
%{python_sitearch}/%{name}/__pycache__/unixauthdb.*.pyc %{python_sitearch}/%{name}/__pycache__/unixauthdb.*.pyc
%{python_sitearch}/%{name}/__pycache__/userconfig.*.pyc %{python_sitearch}/%{name}/__pycache__/userconfig.*.pyc
%{python_sitearch}/%{name}/__pycache__/wineconfig.*.pyc
%endif %endif
%else %else
%pycached %{python_sitearch}/%{name}/SMBShareSelectDialog.py %pycached %{python_sitearch}/%{name}/SMBShareSelectDialog.py
%pycached %{python_sitearch}/%{name}/SimpleCommandRunner.py %pycached %{python_sitearch}/%{name}/SimpleCommandRunner.py
%pycached %{python_sitearch}/%{name}/fuser.py %pycached %{python_sitearch}/%{name}/fuser.py
%pycached %{python_sitearch}/%{name}/fuser_ui.py %pycached %{python_sitearch}/%{name}/fuser_ui.py
%pycached %{python_sitearch}/%{name}/grubconfig.py
%pycached %{python_sitearch}/%{name}/mountconfig.py %pycached %{python_sitearch}/%{name}/mountconfig.py
%pycached %{python_sitearch}/%{name}/serviceconfig.py %pycached %{python_sitearch}/%{name}/serviceconfig.py
%pycached %{python_sitearch}/%{name}/sizeview.py %pycached %{python_sitearch}/%{name}/sizeview.py
%pycached %{python_sitearch}/%{name}/unixauthdb.py %pycached %{python_sitearch}/%{name}/unixauthdb.py
%pycached %{python_sitearch}/%{name}/userconfig.py %pycached %{python_sitearch}/%{name}/userconfig.py
%pycached %{python_sitearch}/%{name}/wineconfig.py
%endif %endif
%{tde_tdedocdir}/HTML/en/guidance/ %{tde_tdedocdir}/HTML/en/guidance/
@ -263,22 +254,13 @@ Guidance configuration tools.
%dir %{python_sitearch}/%{name} %dir %{python_sitearch}/%{name}
%if 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version} %if 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
%{python_sitearch}/%{name}/MicroHAL.py* %{python_sitearch}/%{name}/MicroHAL.py*
%{python_sitearch}/%{name}/drivedetect.py*
%{python_sitearch}/%{name}/wineread.py*
%{python_sitearch}/%{name}/winewrite.py*
%{python_sitearch}/%{name}/xf86misc.py* %{python_sitearch}/%{name}/xf86misc.py*
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
%{python_sitearch}/%{name}/__pycache__/MicroHAL.*.pyc %{python_sitearch}/%{name}/__pycache__/MicroHAL.*.pyc
%{python_sitearch}/%{name}/__pycache__/drivedetect.*.pyc
%{python_sitearch}/%{name}/__pycache__/wineread.*.pyc
%{python_sitearch}/%{name}/__pycache__/winewrite.*.pyc
%{python_sitearch}/%{name}/__pycache__/xf86misc.*.pyc %{python_sitearch}/%{name}/__pycache__/xf86misc.*.pyc
%endif %endif
%else %else
%pycached %{python_sitearch}/%{name}/MicroHAL.py %pycached %{python_sitearch}/%{name}/MicroHAL.py
%pycached %{python_sitearch}/%{name}/drivedetect.py
%pycached %{python_sitearch}/%{name}/wineread.py
%pycached %{python_sitearch}/%{name}/winewrite.py
%pycached %{python_sitearch}/%{name}/xf86misc.py %pycached %{python_sitearch}/%{name}/xf86misc.py
%endif %endif
%{python_sitearch}/ixf86misc*.so %{python_sitearch}/ixf86misc*.so
@ -424,17 +406,10 @@ done
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png
%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ %__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png
%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png
%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \
%{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png
# fix binary-or-shlib-defines-rpath # fix binary-or-shlib-defines-rpath
chrpath -r %{tde_libdir} %{buildroot}%{tde_tdelibdir}/kcm_*.so chrpath -r %{tde_libdir} %{buildroot}%{tde_tdelibdir}/kcm_*.so
# fix executable-not-elf-or-script
%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png
# move python modules in %{python_sitearch} (/usr/lib/pythonXX/site-packages) # move python modules in %{python_sitearch} (/usr/lib/pythonXX/site-packages)
%__mkdir_p %{buildroot}%{python_sitearch}/%{name} %__mkdir_p %{buildroot}%{python_sitearch}/%{name}
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py* %{buildroot}%{python_sitearch}/%{name} %__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py* %{buildroot}%{python_sitearch}/%{name}
@ -444,12 +419,9 @@ chrpath -r %{tde_libdir} %{buildroot}%{tde_tdelibdir}/kcm_*.so
%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig %__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig
%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig %__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig
%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig %__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig
%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig
%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig
# fix script-not-executable # fix script-not-executable
%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py %__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py
%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py
##### BACKENDS INSTALLATION ##### BACKENDS INSTALLATION

Loading…
Cancel
Save