File blackshades.spec of Package blackshades

#
# spec file for package blackshades
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           blackshades
Version:        0.9
Release:        0
Summary:        First person shooter - protect the VIP
License:        GPL-3.0
Url:            https://github.com/ComradeKeys/blackshadeselite
Source:         %{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fix-flags.patch - Fix build with gcc 4.x, upstream might not be interessted as it might use c++14 in future releases
Patch0:         fix-flags.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  freeglut-devel
BuildRequires:  gcc-c++ >= 4.8
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(freealut)
BuildRequires:  pkgconfig(glu)
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(sdl)
BuildRequires:  pkgconfig(vorbisfile)

%description
In this FPS the objective is to project the person wearing the white shirt from
random assassins trying to kill him.

Feauturing different weapons, and game modes for the user to try.

%prep
%setup -q
%patch -P 0 -p1

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc README NEWS TODO
%license AUTHORS COPYING
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by