File gplife.spec of Package gplife

#
# GPLIFE specfile
#
# (C) Cyril Hrubis metan{at}ucw.cz 2013-2023
#

Summary: Conway's Game of Life
Name: gplife
Version: git
Release: 1
License: GPL-2.0-or-later
Group: Amusements/Games/Logic
Url: https://github.com/gfxprim/gplife
Source: gplife-%{version}.tar.bz2
BuildRequires: libgfxprim-devel

BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

%description
Conway's Game of Life

%prep
%setup -n gplife-%{version}

%build
make %{?jobs:-j%jobs}

%install
DESTDIR="$RPM_BUILD_ROOT" make install

%files -n gplife
%defattr(-,root,root)
%{_bindir}/gplife
%{_sysconfdir}/gp_apps/
%{_sysconfdir}/gp_apps/gplife/
%{_sysconfdir}/gp_apps/gplife/*
%{_datadir}/applications/gplife.desktop
%{_datadir}/gplife/
%{_datadir}/gplife/gplife.png

%changelog
* Wed Feb 1 2023 Cyril Hrubis <metan@ucw.cz>

  Initial version.
openSUSE Build Service is sponsored by