Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
torcs
torcs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File torcs.spec of Package torcs
# # spec file for package torcs (Version 1.3.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: torcs BuildRequires: Mesa-devel SDL-devel freeglut-devel gcc-c++ libpng-devel openal-devel plib update-desktop-files %if %suse_version > 1010 BuildRequires: freealut-devel %endif %if %suse_version > 1020 BuildRequires: plib-devel %endif Summary: The Open Racing Car Simulator Version: 1.3.0 Release: 98 Source: TORCS-%{version}-src.tgz Source1: TORCS-%{version}-src-robots-base.tgz Source2: TORCS-%{version}-src-robots-berniw.tgz Source3: TORCS-%{version}-src-robots-bt.tgz Source4: TORCS-%{version}-src-robots-olethros.tgz Source5: %name.desktop Source6: %name.png Patch: config-tracks.diff Patch3: torcs-alut.diff Patch4: torcs-stringcompare.diff Patch5: torcs-gcc43.patch Group: Amusements/Games/3D/Race Requires: %name-data BuildRoot: %{_tmppath}/%{name}-%{version}-build License: GPL v2 or later Url: http://torcs.sourceforge.net %description A 3D racing car simulator using OpenGL, which includes highly trained, computer programmed driver opponents. Authors: -------- Eric Espie %define _xorglibdir %(pkg-config --variable prefix x11 || echo /usr/X11R6)/%_lib %prep %setup -q %if %suse_version > 1010 #%patch3 %endif %patch4 for i in $RPM_SOURCE_DIR/TORCS-%{version}-src-robots*.tgz; do tar xvzf $i -C .. done %patch5 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" autoconf ./configure --prefix=%_prefix --x-libraries=%_xorglibdir --bindir=%_prefix/games make %install make install DESTDIR=%buildroot pushd %buildroot/%_prefix/share/games/%name patch -p0 -s < $RPM_SOURCE_DIR/config-tracks.diff find . -type f|xargs chmod 644 find . -type d|xargs chmod 755 popd pushd %buildroot/usr/lib/torcs find . -type d|xargs chmod 755 popd mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/ install -m 644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT/usr/share/pixmaps %suse_update_desktop_file -i %name Game X-SuSE-ActionGame %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %_prefix/games/accc %_prefix/games/nfs2ac %_prefix/games/nfsperf %_prefix/games/texmapper %_prefix/games/torcs %_prefix/games/trackgen /usr/lib/torcs/ %_prefix/share/games/%name/ /usr/share/applications/%name.desktop /usr/share/pixmaps/%name.png %changelog * Sat Nov 17 2007 - sndirsch@suse.de - some more gcc 4.3 fixes ("<new.h>" --> "<new>") * Thu Nov 01 2007 - coolo@suse.de - fix compiling with gcc 4.3 * Mon Jun 18 2007 - ro@suse.de - avoid string compare with char literal * Thu May 24 2007 - ro@suse.de - added plib-devel to buildreq * Tue Nov 07 2006 - sndirsch@suse.de - updated to release 1.3.0 * reworked cars and tracks (Andrew, Bernhard) * improved and new opponents (Christos, Bernhard) * a lot of little improvements and a few new features (Bernhard, Christos, Mart Kelder and a lot of other people) * Wed Oct 25 2006 - sndirsch@suse.de - freealut only exists since openSUSE 10.2 * Tue Oct 24 2006 - ro@suse.de - build with freealut (split from openal) * Tue Oct 10 2006 - sndirsch@suse.de - undefined.diff: * fixed gcc "may be undefined" warning (Bug #207686) * Mon Jul 31 2006 - sndirsch@suse.de - disabled parallel build, since it simply doesn't work ... * Sun Jul 23 2006 - sndirsch@suse.de - fixed build for X.Org 7 * Wed Jun 14 2006 - dmueller@suse.de - build parallel * Mon Jan 30 2006 - coolo@suse.de - fix BuildRequires * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Nov 25 2005 - sndirsch@suse.de - added -fno-strict-aliasing to fix build * Wed Nov 02 2005 - sndirsch@suse.de - added glib2/glib2-devel to neededforbuild to fix build * Tue Oct 18 2005 - sndirsch@suse.de - removed extra qualifications (fatal error for gcc 4.1) * Fri Sep 09 2005 - sndirsch@suse.de - splitted package into torcs + torcs-data(noarch), which saves us about 32MB on a biarch distribution * Sat Aug 27 2005 - sndirsch@suse.de - update to release 1.2.4 * obsoletes gcc4 patch * reworked tracks * updated cars * added/updated sound effects and OpenAL support * improved and new opponents * texture compression and down scaling * a lot of bugfixes and little improvements * Fri May 13 2005 - sndirsch@suse.de - use norootforbuild * Tue Apr 05 2005 - sndirsch@suse.de - improved gcc4 fix: long --> intptr_t * Tue Apr 05 2005 - sndirsch@suse.de - fixed build with gcc4 * Sun Feb 27 2005 - sndirsch@suse.de - fixed build on x86_64 * Tue Feb 08 2005 - sndirsch@suse.de - updated to release 1.2.3 * The most visible and audible changes are a new and really great sound implementation and samples (Christos), a nice new track (Christos), new and updated opponents (Christos, Bernhard), a cool open wheel car (SpeedyChonChon), nicer smoke and improved skid marks (Christos), lots of small improvments and bugfixes (Eric, Bernhard) and finally some new configuration options (Eric, Bernhard). * Wed May 05 2004 - sndirsch@suse.de - added desktop icon * Tue May 04 2004 - sndirsch@suse.de - revised selection of tracks, cars and robots; define ADDONS in specfile to build everything * Sun May 02 2004 - sndirsch@suse.de - updated to release 1.2.2 - radical changes in build * Sun May 02 2004 - sndirsch@suse.de - no longer build against a special static freeglut library; use the system shared freeglut library instead * Mon Mar 29 2004 - mmj@suse.de - Package /usr/games/torcs and /usr/lib/torcs as root:root [#36364] - Clean up after us * Wed Aug 20 2003 - ro@suse.de - fix typo in specfile * Tue Aug 19 2003 - bk@suse.de - cleanup some drivers and cars and fix graph.xml for driver view * Wed Aug 13 2003 - bk@suse.de - update to CVS: keyboard & multiplayer support powerful input config * Tue Aug 12 2003 - sndirsch@suse.de - added desktop file * Fri Jun 13 2003 - kukuk@suse.de - Fix permissions of lib/games directory - Add missing directories to filelist * Wed Apr 02 2003 - sndirsch@suse.de - gl-glext-legacy.dif * fixes build with current XFree86 GL library * Mon Mar 17 2003 - bk@suse.de - reduce optimisation to avoid sigill on AMD K6 * Tue Mar 11 2003 - bk@suse.de - fix fullscreen mode(fixes bug #25168) and fix data overrun errors * Tue Mar 04 2003 - bk@suse.de - better default car, improved mouse settings and starting grid - remove berniw drivers for now until they are are shortened - use compressed textures where applicable to reduce install size * Mon Mar 03 2003 - bk@suse.de - tune mouse preferences and update default quickrace starting grid * Mon Mar 03 2003 - bk@suse.de - update src tarball to rc2, obsoletes only the mouse patch - bzip2 tarballs, use the GPL cars and new default quickrace * Tue Feb 25 2003 - ro@suse.de - use ExclusiveArch, not BuildArch - remove Epoch * Mon Feb 24 2003 - bk@suse.de - fix saving game settings user, mouse sensivity fix for high speeds * Sun Feb 23 2003 - ro@suse.de - completely comment out non-existing sub-package * Thu Feb 20 2003 - bk@suse.de - initial version 1.2.0-rc1
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