Accepting request 264562 from games
1 OBS-URL: https://build.opensuse.org/request/show/264562 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/twind?expand=0&rev=2
This commit is contained in:
commit
a87e999ee3
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 8 22:08:24 UTC 2014 - nemysis@gmx.ch
|
||||||
|
|
||||||
|
- Use CFLAGS="%{optflags}" to fix
|
||||||
|
'File is compiled without RPM_OPT_FLAGS'
|
||||||
|
- Install icon in %{_datadir}/icons/hicolor/-x-/apps/
|
||||||
|
instead of %{_datadir}/pixmaps/
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 14 20:30:22 UTC 2014 - nemysis@gmx.ch
|
Fri Nov 14 20:30:22 UTC 2014 - nemysis@gmx.ch
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ BuildRequires: update-desktop-files
|
|||||||
BuildRequires: pkgconfig(SDL_image)
|
BuildRequires: pkgconfig(SDL_image)
|
||||||
BuildRequires: pkgconfig(SDL_mixer)
|
BuildRequires: pkgconfig(SDL_mixer)
|
||||||
BuildRequires: pkgconfig(sdl)
|
BuildRequires: pkgconfig(sdl)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The object of the game is to remove all of the blocks from the screen
|
The object of the game is to remove all of the blocks from the screen
|
||||||
@ -53,7 +54,7 @@ sed -i -e 's|chown |true |g' \
|
|||||||
Makefile
|
Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
@ -62,7 +63,7 @@ make install BIN_PREFIX=%{buildroot}%{_bindir}/ \
|
|||||||
HIGH_SCORE_PREFIX=%{buildroot}%{_localstatedir}/games/twindistress/
|
HIGH_SCORE_PREFIX=%{buildroot}%{_localstatedir}/games/twindistress/
|
||||||
|
|
||||||
# install icon
|
# install icon
|
||||||
install -Dm 0644 graphics/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
install -Dm 0644 graphics/%{name}.png %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||||
|
|
||||||
# install Desktop file
|
# install Desktop file
|
||||||
install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
@ -77,7 +78,7 @@ install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|||||||
%doc AUTHORS COPYING CREDITS ChangeLog NEWS README
|
%doc AUTHORS COPYING CREDITS ChangeLog NEWS README
|
||||||
%attr(0755,root,games) %{_bindir}/%{name}
|
%attr(0755,root,games) %{_bindir}/%{name}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
%{_datadir}/icons/hicolor/
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%attr(0775,root,games) %{_localstatedir}/games/twindistress
|
%attr(0775,root,games) %{_localstatedir}/games/twindistress
|
||||||
# Correct Permissions
|
# Correct Permissions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user