|
Parag Nemade |
50b80ea |
%global ver 0771
|
|
|
660986e |
|
|
|
660986e |
Name: ultimatestunts
|
|
|
539af0d |
Version: 0.7.7
|
|
|
de364d0 |
Release: 25%{?dist}
|
|
|
27b03e3 |
Summary: Remake of the famous DOS-game Stunts
|
|
|
660986e |
|
|
|
660986e |
License: GPLv2+
|
|
|
660986e |
URL: http://www.ultimatestunts.nl
|
|
|
660986e |
Source0: http://downloads.sf.net/%{name}/%{name}-srcdata-%{ver}.tar.gz
|
|
|
660986e |
Source1: %{name}.desktop
|
|
|
1169e72 |
Patch0: ultimatestunts-0761-make.patch
|
|
|
14ee52a |
Patch1: ultimatestunts-0751-locale.patch
|
|
|
8c93782 |
Patch2: ultimatestunts-0761-unistd.patch
|
|
|
660986e |
|
|
|
fadbdd4 |
BuildRequires: make
|
|
|
9e730a3 |
BuildRequires: gcc-c++
|
|
|
1169e72 |
BuildRequires: dos2unix
|
|
|
1169e72 |
BuildRequires: freealut-devel
|
|
|
1169e72 |
BuildRequires: SDL_image-devel
|
|
|
1169e72 |
BuildRequires: freeglut-devel
|
|
|
1169e72 |
BuildRequires: libXi-devel
|
|
|
575f796 |
BuildRequires: libvorbis-devel
|
|
|
660986e |
BuildRequires: desktop-file-utils
|
|
|
660986e |
|
|
|
660986e |
|
|
|
660986e |
%description
|
|
|
660986e |
UltimateStunts is a remake of the famous DOS-game Stunts. It was a 3D racing
|
|
|
660986e |
game, with simple CGA/EGA/VGA graphics and no texture or smooth shading, but
|
|
|
660986e |
because of the spectacular stunts (loopings, bridges to jump over, etc.)
|
|
|
660986e |
it was really fun to play. One of the best aspects of this game is that it
|
|
|
660986e |
had a track editor. Because of the tile-based tracks, every gamer was able
|
|
|
660986e |
to make it's own tracks. This remake works on UNIX-compatible systems (like
|
|
|
660986e |
Linux), and on windows. It also provides more modern features, like openGL
|
|
|
660986e |
graphics, 3D sound and internet multiplaying.
|
|
|
660986e |
|
|
|
660986e |
|
|
|
660986e |
%prep
|
|
|
660986e |
%setup -q -n %{name}-srcdata-%{ver}
|
|
Software Management Team |
2fcc41b |
%patch -P0 -p0 -b .make
|
|
Software Management Team |
2fcc41b |
%patch -P1 -p0 -b .locale
|
|
Software Management Team |
2fcc41b |
%patch -P2 -p1 -b .unistd
|
|
|
660986e |
|
|
|
539af0d |
# remove SVN control files
|
|
|
539af0d |
find . -name .svn -type d -print0 | xargs -0 rm -rf
|
|
|
660986e |
|
|
|
660986e |
# fixup access
|
|
|
660986e |
find ./data -type d -print0 | xargs -0 chmod a+rx
|
|
|
660986e |
find ./data -type f -print0 | xargs -0 chmod a+r
|
|
|
660986e |
find ./doc -type f -print0 | xargs -0 chmod a+r
|
|
|
660986e |
chmod a-x simulation/metaserver.cpp
|
|
|
1169e72 |
chmod a-x shared/usmisc.cpp
|
|
|
660986e |
|
|
|
660986e |
# fixup EOL
|
|
|
660986e |
pushd "doc/nolanguage/Original Stunts Track-Format_files"
|
|
|
660986e |
dos2unix -q style.css
|
|
|
660986e |
dos2unix -q stunts.htm
|
|
|
660986e |
touch -r tree.png style.css stunts.htm
|
|
|
660986e |
popd
|
|
|
660986e |
|
|
|
660986e |
# fixup encoding
|
|
|
660986e |
pushd "doc/nolanguage/Original Stunts Track-Format_files"
|
|
|
660986e |
f=stunts.htm
|
|
|
660986e |
iconv -f ISO8859-1 -t UTF-8 -o $f.new $f
|
|
|
660986e |
touch -r tree.png $f.new
|
|
|
660986e |
mv $f.new $f
|
|
|
660986e |
popd
|
|
|
660986e |
|
|
|
660986e |
pushd doc/nl
|
|
|
660986e |
for f in *.htm
|
|
|
660986e |
do
|
|
|
660986e |
iconv -f ISO8859-1 -t UTF-8 -o $f.new $f
|
|
|
660986e |
touch -r $f $f.new
|
|
|
660986e |
mv $f.new $f
|
|
|
660986e |
done
|
|
|
660986e |
popd
|
|
|
660986e |
|
|
|
539af0d |
# ensure the config gets regenerated with correct $datadir
|
|
|
539af0d |
rm -f %{name}.conf
|
|
|
539af0d |
|
|
|
539af0d |
|
|
|
660986e |
%build
|
|
|
660986e |
%configure
|
|
|
660986e |
make %{?_smp_mflags}
|
|
|
660986e |
|
|
|
660986e |
|
|
|
660986e |
%install
|
|
|
660986e |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
|
660986e |
usdatadir=$RPM_BUILD_ROOT%{_datadir}/%{name} \
|
|
|
660986e |
localedir=%{_datadir}/locale
|
|
|
660986e |
|
|
|
14ee52a |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
|
|
|
14ee52a |
|
|
|
660986e |
%find_lang %{name}
|
|
|
660986e |
|
|
Parag Nemade |
50b80ea |
desktop-file-install \
|
|
|
660986e |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
660986e |
%{SOURCE1}
|
|
|
660986e |
|
|
|
660986e |
|
|
|
660986e |
%files -f %{name}.lang
|
|
|
660986e |
%doc COPYING doc/*
|
|
|
660986e |
%{_bindir}/ustunts*
|
|
|
660986e |
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
Parag Nemade |
50b80ea |
%{_datadir}/applications/%{name}.desktop
|
|
|
660986e |
%{_datadir}/%{name}
|
|
|
660986e |
|
|
|
660986e |
|
|
|
660986e |
%changelog
|
|
|
de364d0 |
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-25
|
|
|
de364d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
de364d0 |
|
|
|
08848c2 |
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-24
|
|
|
08848c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
08848c2 |
|
|
|
38f43dd |
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-23
|
|
|
38f43dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
38f43dd |
|
|
|
8edf4a3 |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-22
|
|
|
8edf4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
8edf4a3 |
|
|
|
a529518 |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-21
|
|
|
a529518 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
a529518 |
|
|
|
6cfcc10 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-20
|
|
|
6cfcc10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
6cfcc10 |
|
|
|
59fee2c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-19
|
|
|
59fee2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
59fee2c |
|
|
|
38f9850 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-18
|
|
|
38f9850 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
38f9850 |
|
|
|
7c0b2bb |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-17
|
|
|
7c0b2bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7c0b2bb |
|
|
|
e14fc10 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-16
|
|
|
e14fc10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e14fc10 |
|
|
|
ca338b0 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-15
|
|
|
ca338b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ca338b0 |
|
|
|
ffcb7f3 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-14
|
|
|
ffcb7f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ffcb7f3 |
|
|
|
f00735a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-13
|
|
|
f00735a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f00735a |
|
|
|
843e60a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-12
|
|
|
843e60a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
843e60a |
|
|
|
f59e01a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-11
|
|
|
f59e01a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f59e01a |
|
|
|
48f0fc6 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-10
|
|
|
48f0fc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
48f0fc6 |
|
|
|
71a57b7 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-9
|
|
|
71a57b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
71a57b7 |
|
|
|
070eccb |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-8
|
|
|
070eccb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
070eccb |
|
|
|
b918e63 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.7.7-7
|
|
|
b918e63 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
b918e63 |
|
|
|
84c012a |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-6
|
|
|
84c012a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
84c012a |
|
|
|
b6f7534 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-5
|
|
|
b6f7534 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b6f7534 |
|
|
|
cd51e40 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-4
|
|
|
cd51e40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
cd51e40 |
|
|
|
4d624ff |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-3
|
|
|
4d624ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4d624ff |
|
|
Parag Nemade |
50b80ea |
* Thu Feb 14 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.7.7-2
|
|
Parag Nemade |
50b80ea |
- Remove vendor tag from desktop file
|
|
Parag Nemade |
50b80ea |
- spec clean up
|
|
Parag Nemade |
50b80ea |
|
|
|
539af0d |
* Mon Sep 10 2012 Dan Horák <dan[at]danny.cz> - 0.7.7-1
|
|
|
539af0d |
- update to upstream version 0771
|
|
|
539af0d |
|
|
|
a100db4 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-5
|
|
|
a100db4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a100db4 |
|
|
|
34321c9 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-4
|
|
|
34321c9 |
- Rebuilt for c++ ABI breakage
|
|
|
34321c9 |
|
|
|
8c93782 |
* Sun Jan 15 2012 Dan Horák <dan[at]danny.cz> 0.7.6-3
|
|
|
8c93782 |
- fix unistd.h include
|
|
|
8c93782 |
|
|
|
85db02e |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
|
|
|
85db02e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
85db02e |
|
|
|
1169e72 |
* Sat Apr 16 2011 Dan Horák <dan[at]danny.cz> 0.7.6-1
|
|
|
1169e72 |
- update to upstream version 0761
|
|
|
1169e72 |
|
|
|
6425fb3 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-6
|
|
|
6425fb3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6425fb3 |
|
|
|
4679d77 |
* Mon Aug 17 2009 Dan Horák <dan[at]danny.cz> 0.7.5-5
|
|
|
4679d77 |
- rebuild with openal-soft
|
|
|
4679d77 |
|
|
|
aad4bec |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
|
|
|
aad4bec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
aad4bec |
|
|
|
14f7f40 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
|
|
|
14f7f40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
14f7f40 |
|
|
|
27b03e3 |
* Tue Nov 25 2008 Dan Horak <dan[at]danny.cz> 0.7.5-2
|
|
|
27b03e3 |
- shorten Summary
|
|
|
27b03e3 |
|
|
|
14ee52a |
* Mon Jun 23 2008 Dan Horak <dan[at]danny.cz> 0.7.5-1
|
|
|
14ee52a |
- update to upstream version 0751
|
|
|
14ee52a |
- use locale data from system directory
|
|
|
14ee52a |
|
|
|
6d413f0 |
* Wed Jan 30 2008 Dan Horak <dan[at]danny.cz> 0.7.4-1
|
|
|
6d413f0 |
- update to upstream version 0741
|
|
|
6d413f0 |
- remove integrated patches
|
|
|
6d413f0 |
|
|
|
fc3b2e0 |
* Sun Jan 27 2008 Dan Horak <dan[at]danny.cz> 0.7.3-5
|
|
|
fc3b2e0 |
- add patch with gcc 4.3 support
|
|
|
fc3b2e0 |
|
|
|
660986e |
* Fri Nov 9 2007 Dan Horak <dan[at]danny.cz> 0.7.3-4
|
|
|
660986e |
- recode *.htm files without encoding header
|
|
|
660986e |
|
|
|
660986e |
* Wed Nov 7 2007 Dan Horak <dan[at]danny.cz> 0.7.3-3
|
|
|
660986e |
- added COPYING into docs
|
|
|
660986e |
- added desktop file
|
|
|
660986e |
|
|
|
660986e |
* Tue Nov 6 2007 Dan Horak <dan[at]danny.cz> 0.7.3-2
|
|
|
660986e |
- fix findind ALUT library on development
|
|
|
660986e |
|
|
|
660986e |
* Sun Nov 4 2007 Dan Horak <dan[at]danny.cz> 0.7.3-1
|
|
|
660986e |
- initial package release
|