@ -43,7 +43,7 @@ Summary: Free Software Productivity Suite
Name: libreoffice
Name: libreoffice
Epoch: 1
Epoch: 1
Version: %{libo_version}.3
Version: %{libo_version}.3
Release: 1%{?libo_prerelease}%{?dist}
Release: 2%{?libo_prerelease}%{?dist}
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
Group: Applications/Productivity
Group: Applications/Productivity
URL: http://www.libreoffice.org/default/
URL: http://www.libreoffice.org/default/
@ -1352,6 +1352,8 @@ done
for app in base calc draw impress math writer; do
for app in base calc draw impress math writer; do
echo "X-TryExec=oo$app" >> $app.desktop
echo "X-TryExec=oo$app" >> $app.desktop
done
done
# rhbz#156677 / rhbz#186515 do not show math and startcenter
sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop
# relocate the .desktop and icon files
# relocate the .desktop and icon files
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
for app in base calc draw impress math startcenter writer xsltfilter; do
for app in base calc draw impress math startcenter writer xsltfilter; do