diff --git a/pongix.changes b/pongix.changes index 3eeb456..221020d 100644 --- a/pongix.changes +++ b/pongix.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Nov 16 18:58:34 UTC 2014 - nemysis@gmx.ch + +- Use %{_datadir}/icons/hicolor/48x48/apps/%{name}.png instead of + %{_datadir}/icons/hicolor + +------------------------------------------------------------------- +Sun Nov 16 17:24:41 UTC 2014 - nemysis@gmx.ch + +- Add BuildRequires for hicolor-icon-theme +- Install icon in %{_datadir}/icons/hicolor/48x48/apps/ instead of + %{_datadir}/pixmaps/ + ------------------------------------------------------------------- Sun Nov 16 00:24:47 UTC 2014 - nemysis@gmx.ch diff --git a/pongix.spec b/pongix.spec index 8ffb8c5..d8afe98 100644 --- a/pongix.spec +++ b/pongix.spec @@ -29,6 +29,7 @@ Source1: %{name}.desktop Source2: %{name}.png %if 0%{?suse_version} BuildRequires: fdupes +BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files %endif BuildRequires: pkgconfig(SDL_image) @@ -57,7 +58,7 @@ make %{?_smp_mflags} %make_install # install icon -install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/pixmaps/%{name}.png +install -Dm 0644 %{S:2} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png # install Desktop file install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -72,7 +73,7 @@ install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop %doc AUTHORS COPYING README %attr(0755,root,games) %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/%{name} %changelog