File geekofall.spec of Package geekofall

#
# spec file for package geekofall
#
# 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 http://bugs.opensuse.org/
#


Name:           geekofall
Version:        1.0
Release:        0
Summary:        Drop the Geeko screensaver
License:        GPLv3-or-later
Group:          Amusements/Toys/Screensavers
URL:            https://github.com/ikapelyukhin/geekofall
Source:         https://github.com/ikapelyukhin/geekofall/archive/v%{version}.tar.gz#/geekofall-%{version}.tar.gz
Source1:        https://github.com/ikapelyukhin/geekofall/releases/download/v%{version}/geekofall-%{version}.tar.gz.asc
Source2:        geekofall.keyring
BuildRequires:  gcc-c++
BuildRequires:  libBox2D-devel
BuildRequires:  libX11-devel
BuildRequires:  nlohmann_json-devel
BuildRequires:  sfml2-devel

%description
Geekos are getting cloned by a crazy machine and are dropping onto
your screen. The madness!

%prep
%setup -q

%build
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}/%{_datadir} -type f -exec chmod 0644 {} \+

%files
%{_bindir}/geekofall
%dir %{_datadir}/geekofall
%{_datadir}/geekofall/geeko.json
%{_datadir}/geekofall/geeko.png
%license LICENSE
%doc README.md

%changelog
openSUSE Build Service is sponsored by