Accepting request 405062 from home:favogt:branches:KDE:Applications

Fix copying of oxygen icons

OBS-URL: https://build.opensuse.org/request/show/405062
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/krfb?expand=0&rev=32
This commit is contained in:
Luca Beltrame 2016-06-27 19:02:58 +00:00 committed by Git OBS Bridge
parent 37e2a14c98
commit 621c062c76
2 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 27 18:56:52 UTC 2016 - fvogt@suse.com
- Fix copying of oxygen icons
-------------------------------------------------------------------
Fri Jun 10 18:04:31 UTC 2016 - tittiatcoke@gmail.com

View File

@ -63,17 +63,15 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install
cd build
%makeinstall
for i in 128 64 48 32 22 16
do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/
done
cp /usr/share/icons/oxygen/128x128/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
cp /usr/share/icons/oxygen/16x16/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/
cp /usr/share/icons/oxygen/22x22/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/
cp /usr/share/icons/oxygen/32x32/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
cp /usr/share/icons/oxygen/48x48/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
cp /usr/share/icons/oxygen/64x64/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
cd ..
for i in 128 16 22 32 48 64
do
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps
cp %{_kf5_iconsdir}/oxygen/${i}x${i}/apps/krfb.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/ \
|| cp %{_kf5_iconsdir}/oxygen/base/${i}x${i}/apps/krfb.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/
done
%suse_update_desktop_file -r org.kde.krfb System RemoteAccess
%post -p /sbin/ldconfig