File atanks.spec of Package atanks

# spec file for package atanks
# Copyright (c) 2018 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

Name:           atanks
Version:        6.5
Release:        0
Summary:        A fun tank game, which plays like Scorched Earth
License:        GPL-2.0+
Group:          Amusements/Games/Action/Arcade
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(allegro)

Atomic tanks is a multi-player game in which you attempt to destroy other tanks
while trying to protect your own. You earn money for destroying other tanks;
with this money you can buy upgrades and better weapons for your tank.

This game is similar Scorched Earth or the Worms series of games.

%setup -q

make CXXFLAGS='%{optflags}' %{?_smp_mflags}

%make_install INSTALLDIR=%{_datadir}/atanks
rm -f %{buildroot}%{_datadir}/atanks/{COPYING,README,TODO,Changelog,*.txt}
%fdupes %{buildroot}%{_datadir}/atanks



%doc COPYING README TODO Changelog *.txt