Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
bzflag
bzflag.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bzflag.spec of Package bzflag
# # spec file for package bzflag # # Copyright (c) 2017 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/ # #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif Name: bzflag Version: 2.4.12 Release: 0 Summary: 3D Networked Multiplayer Tank Battle Game License: GPL-2.0+ Group: Amusements/Games/3D/Shoot Url: http://bzflag.org/ #Source: https://github.com/BZFlag-Dev/bzflag/archive/v%{version}.tar.gz#/bzflag-%{version}.tar.gz Source: https://download.bzflag.org/bzflag/source/%{version}/bzflag-%{version}.tar.gz Source2: rc.bzflagserver Source3: %{name}-maps.tar.bz2 Source4: sysconfig.bzflagserver-bzflag Source5: %{name}.desktop Source6: %{name}.png # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: %{name}-1.10.4-ncursespollution.patch BuildRequires: bc BuildRequires: curl-devel BuildRequires: fdupes BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: libSDL-devel BuildRequires: libcares-devel BuildRequires: libdrm-devel BuildRequires: ncurses-devel BuildRequires: update-desktop-files %if 0%{?sles_version} BuildRequires: glew-devel %else BuildRequires: pkgconfig(glew) %endif %if 0%{?suse_version} > 1230 BuildRequires: zlib-devel %endif Requires(pre): %fillup_prereq Requires(pre): %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %prep %setup -q -a 3 %patch0 -p1 cp %{SOURCE2} . %build %configure \ --disable-dependency-tracking \ --libdir=%{_libdir}/%{name} \ --disable-static make %{?_smp_mflags} 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} %{buildroot}%{_sysconfdir}/init.d/bzflagserver mkdir -p %{buildroot}%{_sbindir} ln -s %{_sysconfdir}/init.d/bzflagserver %{buildroot}%{_sbindir}/rcbzflagserver make MKDIR_P="mkdir -p --" DESTDIR=%{buildroot} install install -D -m 644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.bzflagserver-bzflag mkdir -p %{buildroot}%{_datadir}/bzflag/maps install -m 644 maps/*bzmap %{buildroot}%{_datadir}/bzflag/maps install -D -m 644 %{SOURCE6} %{buildroot}%{_datadir}/pixmaps/bzflag.png %suse_update_desktop_file -i %{name} %fdupes %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING PORTING README DEVINFO %doc README.Linux misc/bzfs.conf ChangeLog %{_sysconfdir}/init.d/bzflagserver %{_sbindir}/rcbzflagserver %{_bindir}/* %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_mandir}/man5/* %{_mandir}/man6/* %{_fillupdir}/sysconfig.bzflagserver-bzflag %{_libdir}/%{name}/ %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