From 9c9173a1788a39ce73f392757678014716cd854265b899e1184bfbdfb936d776 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Mon, 10 Apr 2017 08:08:00 +0000 Subject: [PATCH] Accepting request 486753 from home:wolfi323:branches:KDE:Applications - install a sweeper app icon to the hicolor theme (boo#1033066) OBS-URL: https://build.opensuse.org/request/show/486753 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/sweeper?expand=0&rev=48 --- sweeper.changes | 5 +++++ sweeper.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/sweeper.changes b/sweeper.changes index e1fb7af..4bb5e72 100644 --- a/sweeper.changes +++ b/sweeper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 8 16:00:49 UTC 2017 - wbauer@tmo.at + +- install a sweeper app icon to the hicolor theme (boo#1033066) + ------------------------------------------------------------------- Sat Mar 25 23:10:58 CET 2017 - lbeltrame@kde.org diff --git a/sweeper.spec b/sweeper.spec index 1971119..2ecca17 100644 --- a/sweeper.spec +++ b/sweeper.spec @@ -26,6 +26,7 @@ Url: http://www.kde.org Source0: sweeper-%{version}.tar.xz Patch1: desktop-files.diff BuildRequires: libkde4-devel +BuildRequires: oxygen5-icon-theme BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires @@ -43,6 +44,10 @@ Helps clean unwanted traces the user leaves on the system. %install cd build %make_install +for i in 16 22 32 48; do +mkdir -p %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps +cp %{_kde4_iconsdir}/oxygen/base/${i}x${i}/actions/trash-empty.png %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps/sweeper.png +done %suse_update_desktop_file sweeper Utility Security %kde_post_install @@ -57,5 +62,6 @@ cd build %{_datadir}/dbus-1/interfaces/*.xml %_kde4_htmldir/en/sweeper/ %_kde4_appsdir/sweeper/ +%{_kde4_iconsdir}/hicolor/*/*/* %changelog