[torcs] 1.3.3

Tom Callaway spot at fedoraproject.org
Thu Mar 8 21:20:59 UTC 2012


commit 3e113ba07f571e16d4a4a75b36d70c4887f16379
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Mar 8 16:20:56 2012 -0500

    1.3.3

 .gitignore |    2 ++
 sources    |    4 ++--
 torcs.spec |   26 ++++++++++++--------------
 3 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3fe894e..00c8bad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 TORCS-1.3.1-src.tgz
 TORCS-1.3.1-src-robots-base.tgz
+/TORCS-1.3.3-src.tgz
+/TORCS-1.3.3-src-robots-base.tgz
diff --git a/sources b/sources
index 8f4fb25..efd3679 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-91f2296213fbfb1f1971dee7535af9bc  TORCS-1.3.1-src.tgz
-cf3cc25f774c1793446af432ff9fc704  TORCS-1.3.1-src-robots-base.tgz
+fa6653e3f5acad8586c5625e468d86f4  TORCS-1.3.3-src.tgz
+e7681e7bcb60de8004e5c77a2a97da78  TORCS-1.3.3-src-robots-base.tgz
diff --git a/torcs.spec b/torcs.spec
index fdf90d1..db4b9d0 100644
--- a/torcs.spec
+++ b/torcs.spec
@@ -1,7 +1,7 @@
 Summary: The Open Racing Car Simulator
 Name: torcs
-Version: 1.3.1
-Release: 6%{?dist}
+Version: 1.3.3
+Release: 1%{?dist}
 License: GPLv2+
 Group: Amusements/Games
 URL: http://torcs.org/
@@ -12,11 +12,12 @@ Requires: torcs-data
 Requires: torcs-data-tracks-road
 Requires: torcs-data-cars-extra
 Requires: opengl-games-utils
-BuildRequires: libGL-devel, freeglut-devel, plib-devel >= 1.8.3
+BuildRequires: libGL-devel, freeglut-devel, plib-devel >= 1.8.5
 BuildRequires: libpng-devel, libjpeg-devel, zlib-devel
 BuildRequires: desktop-file-utils
 BuildRequires: libXext-devel, libXt-devel, libXi-devel, libXmu-devel
 BuildRequires: libXxf86vm-devel, libXrandr-devel, libXrender-devel
+BuildRequires: freeglut-devel, libvorbis-devel
 BuildRequires: openal-soft-devel freealut-devel >= 1.1.0-10
 # We used to provide a separate "robots" sub-package up to 1.3.0 included
 Obsoletes: torcs-robots <= 1.3.0
@@ -43,16 +44,15 @@ yourself with either a wheel, keyboard or mouse.
 
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot}
 
 # Icon for the desktop file
-%{__install} -D -p -m 0644 Ticon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
+install -D -p -m 0644 Ticon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
 
 # Wrapper for the desktop file
-%{__ln_s} opengl-game-wrapper.sh %{buildroot}%{_bindir}/%{name}-wrapper
+ln -s opengl-game-wrapper.sh %{buildroot}%{_bindir}/%{name}-wrapper
 
-%{__cat} > %{name}.desktop << EOF
+cat > %{name}.desktop << EOF
 [Desktop Entry]
 Name=TORCS
 Comment=The Open Racing Car Simulator
@@ -64,7 +64,7 @@ Encoding=UTF-8
 Categories=Game;Simulation;
 EOF
 
-%{__mkdir_p} %{buildroot}%{_datadir}/applications
+mkdir -p %{buildroot}%{_datadir}/applications
 desktop-file-install \
     --vendor "" \
     --dir %{buildroot}%{_datadir}/applications \
@@ -73,11 +73,6 @@ desktop-file-install \
 # We need this for proper automatic stripping to take place (still in 1.3.0)
 find %{buildroot}%{_libdir}/%{name}/ -name '*.so' | xargs %{__chmod} +x
 
-
-%clean
-%{__rm} -rf %{buildroot}
-
-
 %files
 # Directory default mode of 0755 is MANDATORY, since installed dirs are 0777
 %defattr(-,root,root,0755)
@@ -127,6 +122,9 @@ find %{buildroot}%{_libdir}/%{name}/ -name '*.so' | xargs %{__chmod} +x
 
 
 %changelog
+* Thu Mar  8 2012 Tom Callaway <spot at fedoraproject.org> - 1.3.3-1
+- update to 1.3.3
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list