File xbill.spec of Package xbill
#
# spec file for package xbill
#
# Copyright (c) 2025 SUSE LLC
#
# 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: xbill
Version: 2.1
Release: 0
Summary: Classic Bill Game gtk2 version
License: GPL-1.0+
Group: Amusements/Games/Action/Shoot
URL: https://github.com/alistairmcmillan/Xbill.git
Source: %{name}-%{version}.tgz
BuildRequires: autoconf
BuildRequires: gcc
BuildRequires: gtk2-devel
Requires(pre): group(games)
Requires(pre): user(games)
%description
Ever get the feeling that nothing is going right? You're a sysadmin, and someone's trying to destroy your computers. The little people running
around the screen are trying to infect your computers with Wingdows [TM], a virus cleverly designed to resemble a popular operating system.
Your objective is to click the mouse on them, ending their potential threat. If one of the people reaches a computer, it will attempt to re-
place your operating system with the virus it carries. It will then attempt to run off the screen with your vital software. The game ends when
only 1 (or 0) of your computers are being productive.
%prep
%autosetup -p1
%build
autoupdate
autoconf
CFLAGS="-O2 -Wno-implicit-function-declaration"
%configure --localstatedir=%{_localstatedir}/games
%make_build
%install
%make_install
%files
%doc ChangeLog README.md README.Ports
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man6/%{name}.6%{ext_man}
%attr(0775,games,games) %dir %{_localstatedir}/games/%{name}
%attr(0664,games,games) %{_localstatedir}/games/%{name}/scores
%changelog