Dominique Leuenberger 2019-03-29 19:42:59 +00:00 committed by Git OBS Bridge
commit 09c628d039
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 25 23:53:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Add %systemd_ordering for %service_*.
-------------------------------------------------------------------
Tue Feb 26 15:02:29 UTC 2019 - josef.moellers@suse.com

View File

@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -25,7 +25,7 @@ Name: bzflag
Version: 2.4.12
Release: 0
Summary: 3D Networked Multiplayer Tank Battle Game
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Amusements/Games/3D/Shoot
Url: http://bzflag.org/
Source: https://download.bzflag.org/bzflag/source/%{version}/bzflag-%{version}.tar.gz
@ -46,6 +46,7 @@ BuildRequires: libSDL-devel
BuildRequires: libcares-devel
BuildRequires: libdrm-devel
BuildRequires: ncurses-devel
BuildRequires: systemd-rpm-macros
BuildRequires: update-desktop-files
%if 0%{?sles_version}
BuildRequires: glew-devel
@ -57,6 +58,7 @@ BuildRequires: zlib-devel
%endif
Requires(pre): %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_ordering}
%description
BZFlag is a 3D multiplayer tank battle game that allows users to play
@ -97,7 +99,7 @@ make %{?_smp_mflags} all
mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
install -D -m 755 %{SOURCE2} %{buildroot}%{_datadir}/%{name}/scripts/rcbzflagserver
install -D -m 644 %{SOURCE7} %{buildroot}%{_unitdir}/bzflagserver.service
make MKDIR_P="mkdir -p --" DESTDIR=%{buildroot} install
%make_install MKDIR_P="mkdir -p --"
install -D -m 644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.bzflagserver-bzflag
mkdir -p %{buildroot}%{_datadir}/%{name}/maps
install -m 644 maps/*bzmap %{buildroot}%{_datadir}/%{name}/maps