Accepting request 405063 from KDE:Applications

1

OBS-URL: https://build.opensuse.org/request/show/405063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krfb?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2016-07-03 10:26:57 +00:00 committed by Git OBS Bridge
commit adbbc60b03
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