File blobbyvolley2.spec of Package blobbyvolley2
#
# spec file for package blobbyvolley2
#
# Copyright (c) 2024, 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: blobbyvolley2
Version: 1.1.1
Release: 0
Summary: A beach volleyball game
License: GPL-2.0-only
Group: Amusements/Games/Action/Other
URL: https://blobbyvolley.de
Source: https://github.com/danielknobe/blobbyvolley2/archive/refs/tags/v%{version}.tar.gz/#/%{name}-%{version}.tar.gz
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(physfs)
BuildRequires: pkgconfig(sdl2)
%description
Blobby Volley is one of the most popular freeware games. This is caused
first by the simple play principle and second by the funny design of
the player. The short duration of a game is a reason for playing this
game in meantime.
%prep
%setup -q
%build
export CXXFLAGS="%{optflags} -Wno-return-type"
%cmake
%cmake_build
%install
%cmake_install
%files
%license COPYING
%doc README.md
%{_bindir}/blobby
%{_bindir}/blobby-server
%{_datadir}/blobby/
%{_datadir}/applications/blobby.desktop
%{_datadir}/icons/hicolor/128x128/apps/blobby.png
%{_datadir}/metainfo/blobby.appdata.xml
%changelog