2012-11-30 23:29:38 +01:00
|
|
|
#
|
|
|
|
# spec file for package ultimatestunts
|
|
|
|
#
|
2023-02-26 21:51:15 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-11-30 23:29:38 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-08-23 19:47:24 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-11-30 23:29:38 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ultimatestunts
|
|
|
|
Version: 0.7.7.1
|
|
|
|
Release: 0
|
|
|
|
Summary: A racing game in the style of "Stunts"
|
2019-08-23 19:47:24 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-11-30 23:29:38 +01:00
|
|
|
Group: Amusements/Games/3D/Race
|
2019-08-23 19:47:24 +02:00
|
|
|
URL: http://ultimatestunts.nl/
|
|
|
|
Source: http://downloads.sf.net/ultimatestunts/ultimatestunts-srcdata-0771.tar.gz
|
2012-11-30 23:29:38 +01:00
|
|
|
Patch1: 01-fix-missing-includes.diff
|
|
|
|
Patch2: 02-fix-type-puns.diff
|
|
|
|
Patch3: 03-fix-format-mismatches.diff
|
|
|
|
Patch4: 04-fix-parallel-build-issue.diff
|
|
|
|
Patch5: 05-fix-destdir.diff
|
2023-02-26 21:51:15 +01:00
|
|
|
#PATCH-FIX-UPSTREAM - ultimatestunts-add-pthread.patch - add pthread linking in stuntserver
|
|
|
|
Patch6: ultimatestunts-add-pthread.patch
|
2012-11-30 23:29:38 +01:00
|
|
|
BuildRequires: bison
|
2019-08-23 19:47:24 +02:00
|
|
|
BuildRequires: fdupes
|
2012-11-30 23:29:38 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(SDL_image)
|
|
|
|
BuildRequires: pkgconfig(freealut)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(openal)
|
2023-02-26 21:51:15 +01:00
|
|
|
BuildRequires: pkgconfig(sdl)
|
|
|
|
BuildRequires: pkgconfig(vorbisfile)
|
|
|
|
Requires: %{name}-data
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%description
|
2019-08-23 19:47:24 +02:00
|
|
|
Ultimate Stunts is a remake of the famous DOS game "Stunts". Racing in
|
2012-11-30 23:29:38 +01:00
|
|
|
Ultimate Stunts involves some really spectacular stunts, like
|
|
|
|
loopings, corkscrews, bridges to jump over, etc. You can also design
|
|
|
|
your own tracks.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
Summary: Graphics, music, cars and tracks for Ultimate Stunts
|
|
|
|
Group: Amusements/Games/3D/Race
|
2013-05-03 08:14:41 +02:00
|
|
|
BuildArch: noarch
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%description data
|
|
|
|
This package contains the game data for Ultimate Stunts.
|
|
|
|
|
2019-08-23 19:47:24 +02:00
|
|
|
Ultimate Stunts is a remake of the famous DOS game "Stunts". Racing in
|
2012-11-30 23:29:38 +01:00
|
|
|
Ultimate Stunts involves some really spectacular stunts, like
|
|
|
|
loopings, corkscrews, bridges to jump over, etc. You can also design
|
|
|
|
your own tracks.
|
|
|
|
|
|
|
|
%package lang
|
|
|
|
Summary: Translations for Ultimate Stunts
|
|
|
|
Group: Amusements/Games/3D/Race
|
2013-05-03 08:14:41 +02:00
|
|
|
BuildArch: noarch
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%description lang
|
|
|
|
This package contains the translations for Ultimate Stunts.
|
|
|
|
|
2019-08-23 19:47:24 +02:00
|
|
|
Ultimate Stunts is a remake of the famous DOS game "Stunts". Racing in
|
2012-11-30 23:29:38 +01:00
|
|
|
Ultimate Stunts involves some really spectacular stunts, like
|
|
|
|
loopings, corkscrews, bridges to jump over, etc. You can also design
|
|
|
|
your own tracks.
|
|
|
|
|
|
|
|
%prep
|
2023-02-26 21:51:15 +01:00
|
|
|
%autosetup -p1 -n %{name}-srcdata-0771
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%build
|
2019-08-23 19:47:24 +02:00
|
|
|
find . -type d -name .svn -exec rm -Rf "{}" "+"
|
2012-11-30 23:29:38 +01:00
|
|
|
%configure
|
2023-02-26 21:51:15 +01:00
|
|
|
%make_build -j1
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%install
|
2023-02-26 21:51:15 +01:00
|
|
|
%make_install usdatadir="%{buildroot}/%{_datadir}/ultimatestunts"
|
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%files
|
2023-02-26 21:51:15 +01:00
|
|
|
%config %{_sysconfdir}/ultimatestunts.conf
|
|
|
|
%{_bindir}/ustunts*
|
2019-08-23 19:47:24 +02:00
|
|
|
%license COPYING
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%files data
|
2023-02-26 21:51:15 +01:00
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/lang
|
2012-11-30 23:29:38 +01:00
|
|
|
|
|
|
|
%changelog
|