mirror of
https://abf.rosa.ru/djam/libreoffice.git
synced 2025-02-23 10:32:59 +00:00
Use standard names for LO applications icons to make sure they can be picked from various icon themes
This commit is contained in:
parent
69502c4dbb
commit
6e271038f0
1 changed files with 8 additions and 7 deletions
|
@ -58,6 +58,7 @@ Source2: %{relurl}/%{ooname}-help-%{buildver}.tar.xz
|
|||
Source3: %{relurl}/%{ooname}-translations-%{buildver}.tar.xz
|
||||
Source4: http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
|
||||
|
||||
# Unused, should be dropped in future package updates
|
||||
Source10: Mandriva-Rosa_Icons.tar.bz2
|
||||
%if %{javaless}
|
||||
Source20: http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.1-bin.tar.bz2
|
||||
|
@ -3456,13 +3457,13 @@ rm -rf %{buildroot}/opt
|
|||
mkdir -p %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
|
||||
tar -xjvf %{SOURCE10} --exclude Libre_Office* -C %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
|
||||
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo-calc_72/' %{buildroot}%{ooodir}/share/xdg/calc.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo-writer_72/' %{buildroot}%{ooodir}/share/xdg/writer.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo-impress_72/' %{buildroot}%{ooodir}/share/xdg/impress.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo-draw_72/' %{buildroot}%{ooodir}/share/xdg/draw.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo-base_72/' %{buildroot}%{ooodir}/share/xdg/base.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo-math_72/' %{buildroot}%{ooodir}/share/xdg/math.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=mandriva-rosa-lo_72/' %{buildroot}%{ooodir}/share/xdg/startcenter.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-calc/' %{buildroot}%{ooodir}/share/xdg/calc.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-writer/' %{buildroot}%{ooodir}/share/xdg/writer.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-impress/' %{buildroot}%{ooodir}/share/xdg/impress.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-draw/' %{buildroot}%{ooodir}/share/xdg/draw.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-base/' %{buildroot}%{ooodir}/share/xdg/base.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-math/' %{buildroot}%{ooodir}/share/xdg/math.desktop
|
||||
sed -i 's/^Icon=.*$/Icon=libreoffice-startcenter/' %{buildroot}%{ooodir}/share/xdg/startcenter.desktop
|
||||
|
||||
# some genius committed commit log files...
|
||||
rm %{buildroot}%{ooodir}/share/template/common/svn-commit*.tmp
|
||||
|
|
Loading…
Add table
Reference in a new issue