forked from pool/bzflag
Accepting request 75162 from home:jengelh:branches:games
- Use %_smp_mflags for parallel building - Strip %clean section (not needed on BS) OBS-URL: https://build.opensuse.org/request/show/75162 OBS-URL: https://build.opensuse.org/package/show/games/bzflag?expand=0&rev=9
This commit is contained in:
parent
9e255a3b14
commit
cdc9423ac1
@ -1,17 +0,0 @@
|
||||
--- src/bzflag/ServerStartMenu.cxx
|
||||
+++ src/bzflag/ServerStartMenu.cxx
|
||||
@@ -319,14 +319,6 @@
|
||||
|
||||
void ServerStartMenu::setSettings(const char* _settings)
|
||||
{
|
||||
- // FIXME -- temporary to automatically upgrade old configurations
|
||||
- if (strlen(_settings) == 14) {
|
||||
- strcpy(settings, _settings);
|
||||
- settings[12] = settings[13];
|
||||
- settings[13] = settings[14];
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
if (strlen(_settings) != strlen(settings)) return;
|
||||
strcpy(settings, _settings);
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6c9edc128e481f73572c4648e919036c6bc484c1a63f9cdd9740118f39d689a
|
||||
size 11397403
|
3
bzflag-2.0.16.tar.bz2
Normal file
3
bzflag-2.0.16.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe6fa0b89e7f950950111b118ee8534cd54917d2c7f9215c1f3215ece38a608f
|
||||
size 11495082
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 2 16:40:20 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Use %_smp_mflags for parallel building
|
||||
- Strip %clean section (not needed on BS)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 6 13:37:02 UTC 2010 - hvogel@novell.com
|
||||
|
||||
- Update to version 2.0.16
|
||||
* Fix regression in protocol handling by server
|
||||
* Add bullet tails as seen out the viewport
|
||||
* Remove unused dependency on Xi library
|
||||
* Allow only one Enter message per player instance
|
||||
* Add TimeLimit plugin
|
||||
* Remove broken vocaliser and obsolete torBlock plugins
|
||||
* Add Options -> Display -> AntiFlicker option
|
||||
* Add Options -> Input -> Confine Mouse (MotionBox)
|
||||
* Adjust advanced ground rendering for texture flicker
|
||||
* Backport fix for /idbanlist and /hostbanlist crashes
|
||||
* Fix player ghosting failure
|
||||
* Provide API support for using bz_moveFlag on team flags
|
||||
* Add pushstats plugin for future statistics gathering system
|
||||
* Increase restrictions on incompletely joined players
|
||||
* Announce saved file name in recordmatch plugin
|
||||
* Fix buffer overflow in menu subsystem
|
||||
* Fully support glob-style wildcards in hostbans and make name comparisons
|
||||
case insensitive
|
||||
* Properly limit maximum message size in /showgroup command
|
||||
* Reset team scores in case of a capture during a countdown
|
||||
* Block spoofed /me messages
|
||||
* Keep flags within the world boundary
|
||||
* Add the "roamView" BZDB variable
|
||||
* Change fonts to DejaVu
|
||||
* Source cleanup
|
||||
* use fdupes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 12:13:15 UTC 2010 - prusnak@novell.com
|
||||
|
||||
|
17
bzflag.spec
17
bzflag.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package bzflag (Version 2.0.12)
|
||||
# spec file for package bzflag (Version 2.0.16)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -15,15 +15,14 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: bzflag
|
||||
BuildRequires: bc curl-devel freeglut-devel gcc-c++ libcares-devel libdrm-devel ncurses-devel update-desktop-files
|
||||
BuildRequires: bc curl-devel fdupes freeglut-devel gcc-c++ libSDL-devel libcares-devel libdrm-devel ncurses-devel update-desktop-files
|
||||
License: GPLv2+
|
||||
Group: Amusements/Games/3D/Shoot
|
||||
Version: 2.0.12
|
||||
Release: 5
|
||||
Version: 2.0.16
|
||||
Release: 1
|
||||
Summary: 3D Networked Multiplayer Tank Battle Game
|
||||
Url: http://BZFlag.org/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
@ -35,7 +34,6 @@ Source6: %{name}.png
|
||||
Patch: %{name}-1.10.4-ncursespollution.patch
|
||||
Patch1: %{name}-decl.patch
|
||||
Patch3: %{name}-char-signedness.patch
|
||||
Patch5: %{name}-2.0.10-array-subscript.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %insserv_prereq %fillup_prereq
|
||||
|
||||
@ -59,7 +57,6 @@ Authors:
|
||||
%patch -p1
|
||||
%patch1
|
||||
%patch3 -p1
|
||||
%patch5
|
||||
cp %SOURCE2 .
|
||||
|
||||
%build
|
||||
@ -68,7 +65,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure \
|
||||
--with-pic
|
||||
make %{?jobs:-j %jobs} all
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%preun
|
||||
%stop_on_removal bzflagserver
|
||||
@ -91,9 +88,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/bzflag/maps
|
||||
install -m 644 maps/*bzmap $RPM_BUILD_ROOT%{_datadir}/bzflag/maps
|
||||
install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/pixmaps/bzflag.png
|
||||
%suse_update_desktop_file -i %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%fdupes %buildroot
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
Reference in New Issue
Block a user