SHA256
1
0
forked from pool/sweeper

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
This commit is contained in:
Raymond Wooninck 2017-04-10 08:08:00 +00:00 committed by Git OBS Bridge
parent 20b363a6af
commit 9c9173a178
2 changed files with 11 additions and 0 deletions

View File

@ -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 Sat Mar 25 23:10:58 CET 2017 - lbeltrame@kde.org

View File

@ -26,6 +26,7 @@ Url: http://www.kde.org
Source0: sweeper-%{version}.tar.xz Source0: sweeper-%{version}.tar.xz
Patch1: desktop-files.diff Patch1: desktop-files.diff
BuildRequires: libkde4-devel BuildRequires: libkde4-devel
BuildRequires: oxygen5-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires %kde4_runtime_requires
@ -43,6 +44,10 @@ Helps clean unwanted traces the user leaves on the system.
%install %install
cd build cd build
%make_install %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 %suse_update_desktop_file sweeper Utility Security
%kde_post_install %kde_post_install
@ -57,5 +62,6 @@ cd build
%{_datadir}/dbus-1/interfaces/*.xml %{_datadir}/dbus-1/interfaces/*.xml
%_kde4_htmldir/en/sweeper/ %_kde4_htmldir/en/sweeper/
%_kde4_appsdir/sweeper/ %_kde4_appsdir/sweeper/
%{_kde4_iconsdir}/hicolor/*/*/*
%changelog %changelog