SHA256
1
0
forked from pool/pongix

Accepting request 261939 from home:nemysis:branches:games

Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/261939
OBS-URL: https://build.opensuse.org/package/show/games/pongix?expand=0&rev=2
This commit is contained in:
Matthias Mailänder 2014-11-16 19:07:17 +00:00 committed by Git OBS Bridge
parent f6b98ee802
commit 7e6cc0af21
2 changed files with 16 additions and 2 deletions

View File

@ -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

View File

@ -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