Package not found: home:dgarcia:SLFO:Main/libbsd

File freedroid.spec of Package freedroid

#
# spec file for package freedroid
#
# Copyright (c) 2021 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/
#


%define src_name FreedroidClassic-release-%{version}
Name:           freedroid
Version:        1.2.1
Release:        0
Summary:        Clone of the C64 game Paradroid
License:        GPL-2.0+
Group:          Amusements/Games/Other
Url:            https://github.com/ReinhardPrix/FreedroidClassic
Source0:        %{url}/archive/refs/tags/release-%{version}.tar.gz#/%{src_name}.tar.gz
BuildRequires:  ImageMagick
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  fdupes
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(SDL_gfx)
BuildRequires:  pkgconfig(SDL_image)
BuildRequires:  pkgconfig(SDL_mixer)
BuildRequires:  pkgconfig(libjpeg)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(vorbis)

%description
This is a clone of the classic game "Paradroid" on Commodore 64
with some improvements and extensions to the classic version.
In this game, you control a robot, depicted by a small white ball with
a few numbers within an interstellar spaceship consisting of several
decks connected by elevators.
The aim of the game is to destroy all enemy robots, depicted by small
black balls with a few numbers, by either shooting them or seizing
control over them by creating connections in a short subgame of
electric circuits.

%prep
%setup -q -n %{src_name}

%build
touch NEWS && autoreconf -fi
%configure
%make_build

%install
%make_install
rm -rf %{buildroot}%{_datadir}/freedroid/mac-osx
%suse_update_desktop_file -i %{name} Game ArcadeGame
install -D -m 0644 graphics/paraicon_48x48.png %{buildroot}%{_datadir}/pixmaps/freedroid.png
%fdupes %{buildroot}%{_datadir}

%files
%license COPYING
%doc AUTHORS README
%{_bindir}/freedroid
%{_datadir}/pixmaps/freedroid.png
%{_datadir}/applications/*freedroid.desktop
%{_datadir}/freedroid/
%{_mandir}/man6/freedroid.6*

%changelog
openSUSE Build Service is sponsored by