File ballz.spec of Package ballz

#
# spec file for package ballz
#
# 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/
#


Name:           ballz
Version:        1.0.4
Release:        0
Summary:        Platform/puzzle game where you control a rolling ball
License:        BSD-3-Clause
Group:          Amusements/Games/Action/Arcade
URL:            https://gitlab.com/ballz/ballz
Source:         https://gitlab.com/ballz/ballz/-/archive/v%{version}/ballz-v%{version}.tar.bz2
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
BuildRequires:  libaldmb-devel
BuildRequires:  libdumb-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(allegro) >= 4.2
BuildRequires:  pkgconfig(guichan-0.8)

%description
B.A.L.L.Z. is a platformer with some puzzle elements. You take
control of a ball which is genetically modifed by the British secret
service. Your mission is to rescue captured British soldiers from a
prison in Iran.

%prep
%setup -q -n %{name}-v%{version}

%build
intltoolize --force
autoreconf -fi
%configure
make %{?_smp_mflags}

%install
%make_install
%find_lang %{name}

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS BSD-license ChangeLog README
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_mandir}/man?/%{name}.?%{ext_man}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/icons/hicolor/*/apps/%{name}.png

%changelog
openSUSE Build Service is sponsored by