File postal.spec of Package postal
#
# spec file for package postal
#
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: postal
Version: 0.0.0+hg372
Release: 0
Summary: An isometric top-down shooter game
License: GPL-2.0-only
Group: Amusements/Games/Action/Shoot
URL: https://bitbucket.org/gopostal/postal-1-open-source
Source: %{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sdl2)
%description
Postal is an isometric shooter giving you the opportunity to run a
rampage on a town killing everyone before they killed you.
This package only includes the binary files. You still need the
data files from the original game.
%prep
%setup -q
sed -i 's/\r$//' *.txt *.ini
%build
make %{?_smp_mflags}
%install
install -D -m 0755 bin/postal1-* %{buildroot}%{_bindir}/postal
%files
%license LICENSE
%doc *.txt
%doc DefaultPostal.ini
%doc postal_plus.ini
%{_bindir}/postal
%changelog