Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
bzflag
bzflag.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bzflag.spec of Package bzflag
# # spec file for package bzflag (Version 2.0.16) # # Copyright (c) 2010 SUSE LINUX Products 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: bzflag 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.16 Release: 1 Summary: 3D Networked Multiplayer Tank Battle Game Url: http://BZFlag.org/ Source: %{name}-%{version}.tar.bz2 Source2: rc.bzflagserver Source3: %{name}-maps.tar.bz2 Source4: sysconfig.bzflagserver-bzflag Source5: %{name}.desktop Source6: %{name}.png Patch: %{name}-1.10.4-ncursespollution.patch Patch1: %{name}-decl.patch Patch3: %{name}-char-signedness.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq %description BZFlag is a 3D multiplayer tank battle game that allows users to play against each other in a networked environment. Because it makes heavy use of 3D graphics (OpenGL), a fast CPU or a supported 3D video card is heavily recommended. Find server maps in /usr/share/bzflag/maps. Authors: -------- Chris Schoeneman <crs23@bigfoot.com> Tim Riker <Tim@Rikers.org> %prep %setup -q -a 3 %patch -p1 %patch1 %patch3 -p1 cp %SOURCE2 . %build autoreconf -fiv export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure \ --with-pic make %{?jobs:-j %jobs} all %preun %stop_on_removal bzflagserver %post %fillup_only -an bzflagserver %postun %restart_on_update bzflagserver %insserv_cleanup %install #Init script for the BZFlag server install -D -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/bzflagserver mkdir -p $RPM_BUILD_ROOT%{_sbindir} ln -s %{_sysconfdir}/init.d/bzflagserver $RPM_BUILD_ROOT%{_sbindir}/rcbzflagserver make MKDIR_P="mkdir -p --" DESTDIR=$RPM_BUILD_ROOT install install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_localstatedir}/adm/fillup-templates/sysconfig.bzflagserver-bzflag 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} %fdupes %buildroot %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS BUGS COPYING PORTING README DEVINFO README.UNIX %doc RELNOTES TODO README.Linux misc/bzfs.conf %{_sysconfdir}/init.d/bzflagserver %{_sbindir}/rcbzflagserver %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_mandir}/man5/* %{_mandir}/man6/* %{_localstatedir}/adm/fillup-templates/sysconfig.bzflagserver-bzflag %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor