File 3omns.spec of Package 3omns
#
# spec file for package 3omns
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: 3omns
Version: 0.1
Release: 0
Summary: Old-school Arcade-style Tile-based Bomb-dropping Deathmatch Game
License: GPL-3.0
Group: Amusements/Games/Action/Arcade
Url: https://chazomaticus.github.io/3omns/
# Downloaded from https://github.com/chazomaticus/3omns
# Packed as tar.bz2
Source0: %{name}-%{version}+git-21292f0.tar.bz2
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
%endif
BuildRequires: asciidoc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: docbook_5
BuildRequires: glibc-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_ttf)
%if 0%{?suse_version} > 1320
BuildRequires: lua52-devel
%else
BuildRequires: pkgconfig(lua)
%endif
BuildRequires: pkgconfig(sdl2)
%description
3omns is an old-school arcade-style tile-based bomb-dropping deathmatch game.
The name is a bastardization of the word Bombs
(and you should pronounce it however you want).
%prep
%setup -q -n %{name}
%build
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%make_install
%if 0%{?suse_version}
%suse_update_desktop_file %{name}
%fdupes -s %{buildroot}%{_prefix}
%endif
%files
%defattr(-,root,root,-)
%doc COPYING COPYING.font NEWS README
%{_bindir}/%{name}
%{_mandir}/man6/%{name}.6%{ext_man}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/
%{_datadir}/%{name}
%changelog