diff --git a/konsole-linux32-128.png b/konsole-linux32-128.png new file mode 100644 index 0000000..0b150b8 --- /dev/null +++ b/konsole-linux32-128.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:480581700bffc4b58c5efdf5be406cec3ee5ccf11e8e5581cbd805e6ca53ca55 +size 9420 diff --git a/konsole-linux32-24.png b/konsole-linux32-24.png new file mode 100644 index 0000000..70da21e --- /dev/null +++ b/konsole-linux32-24.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5296a3c640e59592d1432446264d8404b9b61faba7fcdd790a42db3f769fc77a +size 1164 diff --git a/konsole-linux32-256.png b/konsole-linux32-256.png new file mode 100644 index 0000000..c77318b --- /dev/null +++ b/konsole-linux32-256.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:421204073f82df586d93cd1bee2fd3a534029f1601b217b8e5043339b5761863 +size 21757 diff --git a/konsole-linux32-32.png b/konsole-linux32-32.png new file mode 100644 index 0000000..26ff3f4 --- /dev/null +++ b/konsole-linux32-32.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71c641e27750b53fa263c07423bce61e4229f63d2211e19efd01369a2ad88ee4 +size 1488 diff --git a/konsole-linux32-48.png b/konsole-linux32-48.png new file mode 100644 index 0000000..93f2b8a --- /dev/null +++ b/konsole-linux32-48.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24774914fc372b646b3eef69cc576e23864327bc7cb2b1564d9fbd396fae162b +size 2510 diff --git a/konsole-linux32-64.png b/konsole-linux32-64.png new file mode 100644 index 0000000..bf9618b --- /dev/null +++ b/konsole-linux32-64.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1088be8ab84d8a581073100ea67bd18088df134895d3487a8de15d21145e745 +size 3883 diff --git a/konsole-linux32.png b/konsole-linux32.png deleted file mode 100644 index fdbef71..0000000 --- a/konsole-linux32.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:213dbebb98ea38fa11917615de247e6f46e8c6082b3563dfdbec9e1c2dc5c41a -size 1734 diff --git a/linux32.changes b/linux32.changes index 75165a4..6b271c8 100644 --- a/linux32.changes +++ b/linux32.changes @@ -1,7 +1,15 @@ +------------------------------------------------------------------- +Thu Oct 20 17:26:51 UTC 2011 - badshah400@gmail.com + +- Added new icon in various sizes +- Changed .desktop category to TerminalEmulator instead of Shell to + avoid an rpmlint warning + ------------------------------------------------------------------- Tue Jun 15 11:55:02 UTC 2010 - badshah400@gmail.com -- Add categories to linux32.desktop to have it appear at the right place in application menus +- Add categories to linux32.desktop to have it appear at the right + place in application menus ------------------------------------------------------------------- Wed Jul 8 10:25:03 CEST 2009 - coolo@novell.com diff --git a/linux32.desktop b/linux32.desktop index 6877236..f597db2 100644 --- a/linux32.desktop +++ b/linux32.desktop @@ -7,7 +7,7 @@ X-KDE-StartupNotify=true Name=Linux 32-bit Terminal GenericName=32-bit Terminal Program -Categories=System;Shell; +Categories=System;TerminalEmulator; X-DCOP-ServiceType=Multi X-KDE-AuthorizeAction=shell_access diff --git a/linux32.spec b/linux32.spec index dbe85f2..59a5136 100644 --- a/linux32.spec +++ b/linux32.spec @@ -1,7 +1,7 @@ # -# spec file for package linux32 (Version 1.0) +# spec file for package linux32 # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,6 +19,7 @@ Name: linux32 BuildRequires: update-desktop-files +BuildRequires: hicolor-icon-theme Url: ftp://ftp.x86-64.org/pub/linux/tools/linux32/ License: GPLv2+ Group: System/Kernel @@ -28,7 +29,12 @@ Release: 478 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 Source2: %name.desktop -Source3: konsole-linux32.png +Source3: konsole-linux32-24.png +Source4: konsole-linux32-32.png +Source5: konsole-linux32-48.png +Source6: konsole-linux32-64.png +Source7: konsole-linux32-128.png +Source8: konsole-linux32-256.png Requires: util-linux >= 2.16 %description @@ -49,11 +55,31 @@ Authors: %build %install -%suse_update_desktop_file -i %name TerminalEmulator +install -D -m 644 %{S:3} %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/konsole-linux32.png +install -D -m 644 %{S:4} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/konsole-linux32.png +install -D -m 644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/konsole-linux32.png +install -D -m 644 %{S:6} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/konsole-linux32.png +install -D -m 644 %{S:7} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/konsole-linux32.png +install -D -m 644 %{S:8} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/konsole-linux32.png +%suse_update_desktop_file -i %name + +%post +%if 0%{?suse_version} > 1130 +%icon_theme_cache_post +%else +gtk-update-icon-cache %{_datadir}/icons/hicolor || true +%endif + +%postun +%if 0%{?suse_version} > 1130 +%icon_theme_cache_postun +%else +gtk-update-icon-cache %{_datadir}/icons/hicolor || true +%endif %files %defattr(-,root,root) -/usr/share/applications/* -/usr/share/pixmaps/* +%{_datadir}/applications/* +%{_datadir}/icons/hicolor/*/apps/konsole-linux32.png %changelog