File golly.spec of Package failed_golly

Name: golly
Version: 3.0
Release: 0
Summary: Golly cellular automaton explorer
License: GPL-3.0-or-later
URL: https://golly.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/golly/golly/golly-3.0/golly-3.0-src.tar.gz
BuildRequires: cmake, gcc-c++, boost-devel, libpng-devel, zlib-devel, python3-devel, python3-distutils, SDL2-devel
Requires: python3
%description
Golly is a cross-platform application for exploring Conway's Game of Life and other
cellular automata.
%prep
%setup -q
%build
mkdir build
cd build
cmake .. -DENABLE_PYTHON=ON -DENABLE_SDL=ON
make -j$(nproc)
%install
cd build
make install DESTDIR=%{buildroot}
%files
%license LICENSE
%doc README
%{_bindir}/golly
%{_pythondir}/site-packages/golly
%changelog
* Tue Jan 01 2024 Packager <packager@example.com> - 3.0-0
- Initial package
openSUSE Build Service is sponsored by