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