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

Fix copying of icons from oxygen package

OBS-URL: https://build.opensuse.org/request/show/405060
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/krdc?expand=0&rev=32
This commit is contained in:
Luca Beltrame 2016-06-27 18:50:46 +00:00 committed by Git OBS Bridge
parent 111ef409e8
commit beafff7c6d
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 27 18:48:44 UTC 2016 - fvogt@suse.com
- Fix copying of icons from oxygen package
-------------------------------------------------------------------
Fri Jun 10 18:04:03 UTC 2016 - tittiatcoke@gmail.com

View File

@ -72,13 +72,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
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/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/ \
|| cp %{_kf5_iconsdir}/oxygen/base/${i}x${i}/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/
done
cp %{_kf5_iconsdir}/oxygen/128x128/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/128x128/apps/
cp %{_kf5_iconsdir}/oxygen/16x16/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/16x16/apps/
cp %{_kf5_iconsdir}/oxygen/22x22/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/22x22/apps/
cp %{_kf5_iconsdir}/oxygen/32x32/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/32x32/apps/
cp %{_kf5_iconsdir}/oxygen/48x48/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/48x48/apps/
cp %{_kf5_iconsdir}/oxygen/64x64/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/64x64/apps/
%suse_update_desktop_file -r org.kde.krdc System RemoteAccess
%post -p /sbin/ldconfig