rpms/torcs/devel torcs.spec,1.16,1.17

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Oct 22 14:47:37 UTC 2007


Author: thias

Update of /cvs/extras/rpms/torcs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28060/devel

Modified Files:
	torcs.spec 
Log Message:
Use opengl-games-utils provided wrapper in the desktop file (#304831).



Index: torcs.spec
===================================================================
RCS file: /cvs/extras/rpms/torcs/devel/torcs.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- torcs.spec	23 Aug 2007 08:05:01 -0000	1.16
+++ torcs.spec	22 Oct 2007 14:47:00 -0000	1.17
@@ -1,7 +1,7 @@
 Summary: The Open Racing Car Simulator
 Name: torcs
 Version: 1.3.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Amusements/Games
 URL: http://torcs.org/
@@ -13,6 +13,7 @@
 Patch0: torcs-1.2.4-freealutfix.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: torcs-data, torcs-data-tracks-road, torcs-data-cars-extra
+Requires: opengl-games-utils
 BuildRequires: libGL-devel, freeglut-devel, freealut-devel, plib-devel >= 1.8.3
 BuildRequires: libpng-devel, libjpeg-devel, zlib-devel, openal-devel
 BuildRequires: desktop-file-utils
@@ -59,13 +60,17 @@
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR=%{buildroot}
 
+# Icon for the desktop file
 %{__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
+
 %{__cat} > %{name}.desktop << EOF
 [Desktop Entry]
 Name=TORCS
 Comment=The Open Racing Car Simulator
-Exec=torcs
+Exec=%{name}-wrapper
 Icon=%{name}.png
 Terminal=false
 Type=Application
@@ -154,6 +159,9 @@
 
 
 %changelog
+* Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 1.3.0-4
+- Use opengl-games-utils provided wrapper in the desktop file (#304831).
+
 * Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.3.0-3
 - Rebuild for new BuildID feature.
 - Update Source URLs s/dl.sf.net/downloads.sf.net/.




More information about the fedora-extras-commits mailing list