File amoebax.spec of Package amoebax

#
# spec file for package amoebax
#

Name:           amoebax
Version:        1.0.0
Release:        0
Summary:        PuyoPuyo-like 
License:        GPL-3.0-or-later
Group:          Amusements/Games/Action/Arcade
Url:            http://geishastudios.com/games/amoebax/index.html
Source:         %{name}-%{version}.tar.xz
Patch0:         update-SDL2-definitions.patch
Patch1:         fix-libasound-name.patch
Patch2:         fix-haptick-to-haptic.patch
Patch3:         fix-boost-fuckery.patch
Patch4:         add-missing-tga-asset.patch
BuildRequires:  xz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  nasm
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(glu)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xcursor)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xi)
BuildRequires:  pkgconfig(xinerama)
BuildRequires:  pkgconfig(xkbcommon)
BuildRequires:  pkgconfig(xrandr)
BuildRequires:  pkgconfig(xscrnsaver)
BuildRequires:  pkgconfig(xxf86vm)
BuildRequires:  boost-devel
Requires:       libasound2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Amoebax is a cute and addictive action-puzzle game for Android. Due an awful
mutation, some amoeba’s species have started to multiply until they take the
world if you can’t stop them. Fortunately the mutation made then too unstable
and lining up four or more will make them disappear.

Follow Kim or Tom through six levels in their quest to prevent the cute
multiplying amoebas to take the world and become the new Amoeba Master. Watch
out for the cute but amoeba’s controlled creatures that will try to put and end
to your quest.

Amoebax is designed with levels for everyone, from children to adults. With the
training mode everybody will quickly become a master and the tournament mode
will let you have a good time with your friends. There is also catchy music,
funny sound effects, and beautiful screens that sure appeal to everyone in the
family.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/gfx
%dir %{_datadir}/%{name}/music
%dir %{_datadir}/%{name}/sfx
%{_bindir}/%{name}
%{_datadir}/%{name}/gfx/*.tga
%{_datadir}/%{name}/gfx/*.xml
%{_datadir}/%{name}/music/*.ogg
%{_datadir}/%{name}/sfx/*.ogg

%changelog
openSUSE Build Service is sponsored by