Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
scorched3d
scorched3d.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scorched3d.spec of Package scorched3d
# # spec file for package scorched3d # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: scorched3d Version: 44 Release: 0 Summary: Game based loosely on the classic DOS game Scorched Earth License: GPL-2.0-or-later Group: Amusements/Games/Action/Arcade URL: http://www.scorched3d.co.uk/ Source0: http://downloads.sourceforge.net/project/scorched3d/scorched3d/Version%{20}%{version}/Scorched3D-%{version}-src.tar.gz Source1: %{name}.desktop Source2: openal-config # PATCH-FEATURE-OPENSUSE to prevent useless rebuilds. Patch0: %{name}-current-date.diff # PATCH-FEATURE-OPENSUSE scorched3d-sys-lua.patch -- use system lua instead of bundled. Patch1: scorched3d-sys-lua.patch # PATCH-FIX-UPSTREAM fix-gcc-6.patch Patch2: fix-gcc-6.patch # PATCH-FIX-UPSTREAM fix-wx3.patch -- adapt to API changes of wxWidgets >= 3.0 Patch3: fix-wx3.patch BuildRequires: SDL_net-devel BuildRequires: automake BuildRequires: fastjar BuildRequires: fdupes BuildRequires: fftw3-devel BuildRequires: freealut-devel BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: libexpat-devel BuildRequires: libjpeg-devel BuildRequires: libvorbis-devel BuildRequires: lua51-devel BuildRequires: openal-soft-devel BuildRequires: opengl-games-utils BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: wxWidgets-devel BuildRequires: pkgconfig(freetype2) Requires: opengl-games-utils # Upstream naming compatibility Provides: Scorched3D = %{version} %description Scorched 3D is a game based on the classic DOS game Scorched Earth "The Mother Of All Games". Scorched 3D adds amongst other new features a 3D island environment and LAN and internet play. At its lowest level, Scorched 3D is just an artillery game with two+ tanks taking turns to destroy opponents in an arena. Choose the angle, direction and power of each shot, launch your weapon, and try to blow up other tanks. But Scorched 3D can be a lot more complex than that, if you want it to be. You can earn money from successful battles and use it to invest in additional weapons and accessories. You can play with up to twenty four other players at a time, mixing computer players with humans. There's a variety of changing environmental conditions and terrains to be dealt with. %prep %setup -q -n scorched %patch0 %patch1 -p1 %patch2 -p1 %if 0%{?suse_version} >= 1500 %patch3 -p1 %endif sed -i 's/\r$//' COPYING README CHANGELOG chmod +x %{SOURCE2} %build export OPENAL_CONFIG=%{SOURCE2} %if 0%{?suse_version} > 1320 # New freetype header layout, needs new include dir CFLAGS="-I%{_includedir}/freetype2" \ %endif %if 0%{?suse_version} >= 1500 # New lua header layout, needs new include dir CFLAGS="-I%{_includedir}/lua5.1 $CFLAGS" %endif export CFLAGS="%{optflags} -fno-strict-aliasing $CFLAGS" export CPPFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS" aclocal %if 0%{?suse_version} > 1320 touch NEWS AUTHORS ChangeLog autoreconf -fiv %endif %configure --disable-dependency-tracking --datadir=%{_datadir}/%{name} \ --with-docdir=%{_docdir}/%{name}-%{version} make %{?_smp_mflags} %install %make_install ln -s opengl-game-wrapper.sh "%{buildroot}%{_bindir}/%{name}-wrapper" rm -r "%{buildroot}%{_docdir}/%{name}-%{version}" # Install .desktop file and icon %suse_update_desktop_file -i %{name} Game ArcadeGame install -D -m 644 data/images/tank2.png "%{buildroot}%{_datadir}/pixmaps/%{name}.png" # Fix file duplicates %fdupes %{buildroot}%{_datadir} %files %license COPYING %doc README CHANGELOG %{_bindir}/%{name}* %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %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