]> git.pld-linux.org Git - packages/TORCS.git/blobdiff - TORCS.spec
- up to 1.3.0
[packages/TORCS.git] / TORCS.spec
index 326789ec1e03b7b7c964eedb6be2b20ce7e0c0ae..d1ed0b03d496abd9c6406a78111f6b1b8e16d88f 100644 (file)
@@ -1,61 +1,63 @@
 Summary:       The Open Racing Car Simulator
 Summary(pl):   The Open Racing Car Simulator - symulator wy¶cigów samochodowych
 Name:          TORCS
-Version:       1.2.3
+Version:       1.3.0
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/torcs/%{name}-%{version}-src.tgz
-# Source0-md5: 0f1dc6a3f08e1ae9f80e118c350bb4b4
+# Source0-md5: 915c89f9d3618d13dddd5bfb4d199539
 Source1:       http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-base.tgz
-# Source1-md5: 43d670da19adb2e4c632390611d2dc31
+# Source1-md5: da007d61447f38fbdbd22aec029cc26c
 Source2:       http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-berniw.tgz
-# Source2-md5: ba4f75b0707a592cb18ea971da8c1382
-Source3:       http://dl.sourceforge.net/torcs/%{name}-1.1.0-src-robots-K1999.tgz
-# Source3-md5: fd90e1b81119adb33b846854f2cc7635
-Source4:       http://dl.sourceforge.net/torcs/%{name}-1.2.2-src-robots-astigot.tgz
-# Source4-md5: 653c522a007d01c9e8d8fc069651517b
-Source5:       http://dl.sourceforge.net/torcs/%{name}-1.2.2-src-robots-billy.tgz
-# Source5-md5: 43af2098b788aa96556c8939048ac1b3
-Source6:       http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-bt.tgz
-# Source6-md5: 605d82faeb3d547ccb9acbbac9281ff9
-Source7:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data.tgz
-# Source7-md5: aad3396e3524dc24436225fe119a1fcf
+# Source2-md5: abeb72ba3913ef0bde727fdaa9699eef
+Source3:       http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-bt.tgz
+# Source3-md5: ca8506aecc30bee308a5e198304b71b2
+Source4:       http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-olethros.tgz
+# Source4-md5: 227d47687b821298fe6b2f147071e73f
+Source5:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data.tgz
+# Source5-md5: 8bff8540f7994dce02d32ba8fb4ad8a8
+Source6:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-dirt.tgz
+# Source6-md5: 7c1d5dab87d6c06ac8e7ba8bab30f0b1
+Source7:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-oval.tgz
+# Source7-md5: a27ce8b505dfbf2caba91ac6cc802bab
 Source8:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-road.tgz
-# Source8-md5: 3a9409d67e2e57a260cd62fd7a60c19b
-Source9:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-oval.tgz
-# Source9-md5: 846a977e0a147de2560b23e740ebdecb
-Source10:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-dirt.tgz
-# Source10-md5:        ff3e6b722311b637afec8087968c0958
-Source11:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz
-# Source11-md5:        143bd1dd82c22170604b7d504e1d8811
-Source12:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-nascar.tgz
-# Source12-md5:        4ff4e4caabcdfe23d9cba7f50db6b87a
-Source13:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz
-# Source13-md5:        b3d09f66ef85f8dfe46ae7766cd6119e
-Source14:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-gt.tgz
-# Source14-md5:        f4ea43e00e5bca9db8ff3a8e25a669e9
-Source15:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-roadsters.tgz
-# Source15-md5:        a260b13b2be08417cb5a0fca6a663bd2
-Source16:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-sport.tgz
-# Source16-md5:        6315a8961a4f020b303cf9e820b342ca
-Source17:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-VM.tgz
-# Source17-md5:        8606ae6d589f6310ab715ac412d6463f
-Source18:      %{name}.desktop
-Source19:      %{name}.png
-Patch0:                %{name}-inc.patch
-URL:           http://torcs.sourceforge.net/
-BuildRequires: OpenGL-devel
+# Source8-md5: 8e30d3cc03dafb8392d690d96459f317
+Source9:       http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz
+# Source9-md5: 248ae5c165f703b22bd7224d7c2caed4
+Source10:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-gt.tgz
+# Source10-md5:        02fb83162e78ac52c4d8ea829e34f8b3
+Source11:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-roadsters.tgz
+# Source11-md5:        b4c3399c5dab66d41790f00eec2c6bd3
+Source12:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-sport.tgz
+# Source12-md5:        d6b67de89c964fb42b27d6fb777549bd
+Source13:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-nascar.tgz
+# Source13-md5:        40de51f6a929d121f46dd47709d58b8b
+Source14:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz
+# Source14-md5:        1b38279fb1e0c12ec256d26d6b17e1cc
+Source15:      http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-VM.tgz
+# Source15-md5:        c58aeff1bb7fb8a100e06cfdfa65d9e6
+Source16:      %{name}.desktop
+Source17:      %{name}.png
+Patch0:                %{name}-link.patch
+URL:           http://www.torcs.org/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: glut-devel >= 3.7
+BuildRequires: freealut-devel
+BuildRequires: glut-devel >= 3.7-14
 BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel
-BuildRequires: plib-devel >= 1.8.0
+BuildRequires: plib-devel >= 1.8.3
+BuildRequires: xorg-lib-libXrandr-devel
+BuildRequires: xorg-lib-libXxf86vm-devel
 BuildRequires: zlib-devel
 Requires:      %{name}-data = %{version}-%{release}
 Requires:      OpenGL
-Requires:      plib >= 1.8.0
+Requires:      freealut
+Requires:      plib >= 1.8.3
+Obsoletes:     TORCS-robots-K1999
+Obsoletes:     TORCS-robots-astigot
+Obsoletes:     TORCS-robots-billy
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _noautoreqdep   libGL.so.1 libGLU.so.1
@@ -71,6 +73,9 @@ Summary:      Data files for TORCS
 Summary(pl):   Pliki z danymi dla TORCS
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-data-cars-extra = %{version}-%{release}
+Requires:      %{name}-data-tracks-road = %{version}-%{release}
+Requires:      %{name}-robots-base = %{version}-%{release}
 
 %description data
 Data files for TORCS.
@@ -131,6 +136,7 @@ Summary:    Nascar cars for TORCS
 Summary(pl):   Samochody Nascar dla TORCS
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-data-cars-extra = %{version}-%{release}
 
 %description data-cars-nascar
 Nascar cars for TORCS.
@@ -141,6 +147,7 @@ Samochody Nascar dla TORCS.
 %package data-cars-Patwo-Design
 Summary:       Rally cars for TORCS
 Summary(pl):   Samochody rajdowe dla TORCS
+License:       distributable (see readme.txt)
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
@@ -153,6 +160,7 @@ Samochody rajdowe dla TORCS.
 %package data-cars-kcendra-gt
 Summary:       GT cars from the 60's for TORCS
 Summary(pl):   Samochody GT z lat 60' dla TORCS
+License:       distributable (see readme.txt)
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
@@ -165,6 +173,7 @@ Samochody GT z lat 60' dla TORCS.
 %package data-cars-kcendra-roadsters
 Summary:       Roadsters from the 60's for TORCS
 Summary(pl):   Samochody Roadsters z lat 60' dla TORCS
+License:       distributable (see readme.txt)
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
@@ -177,6 +186,7 @@ Samochody Roadsters z lat 60' dla TORCS.
 %package data-cars-kcendra-sport
 Summary:       Sport cars from the 60's for TORCS
 Summary(pl):   Samochody sportowe z lat 60' dla TORCS
+License:       distributable (see readme.txt)
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
@@ -189,6 +199,7 @@ Samochody sportowe z lat 60' dla TORCS.
 %package data-cars-VM
 Summary:       Race cars for TORCS
 Summary(pl):   Samochody wy¶cigowe dla TORCS
+License:       distributable (see readme.txt)
 Group:         X11/Applications/Games
 Requires:      %{name} = %{version}-%{release}
 
@@ -222,42 +233,6 @@ Berniw robots files for TORCS.
 %description robots-berniw -l pl
 Pliki komputerowych kierowców dla TORCS - Berniw.
 
-%package robots-K1999
-Summary:       K1999 robots files for TORCS
-Summary(pl):   Pliki komputerowych kierowców dla TORCS - K1999
-Group:         X11/Applications/Games
-Requires:      %{name} = %{version}-%{release}
-
-%description robots-K1999
-K1999 robots files for TORCS.
-
-%description robots-K1999 -l pl
-Pliki komputerowych kierowców dla TORCS - K1999.
-
-%package robots-astigot
-Summary:       astigot robots files for TORCS
-Summary(pl):   Pliki komputerowych kierowców dla TORCS - astigot
-Group:         X11/Applications/Games
-Requires:      %{name} = %{version}-%{release}
-
-%description robots-astigot
-astigot robots files for TORCS.
-
-%description robots-astigot -l pl
-Pliki komputerowych kierowców dla TORCS - astigot.
-
-%package robots-billy
-Summary:       Billy robots files for TORCS
-Summary(pl):   Pliki komputerowych kierowców dla TORCS - billy
-Group:         X11/Applications/Games
-Requires:      %{name} = %{version}-%{release}
-
-%description robots-billy
-Billy robots files for TORCS.
-
-%description robots-billy -l pl
-Pliki komputerowych kierowców dla TORCS - billy.
-
 %package robots-bt
 Summary:       Bt robots files for TORCS
 Summary(pl):   Pliki komputerowych kierowców dla TORCS - bt
@@ -270,19 +245,28 @@ Bt robots files for TORCS.
 %description robots-bt -l pl
 Pliki komputerowych kierowców dla TORCS - bt.
 
+%package robots-olethros
+Summary:       Olethros robots files for TORCS
+Summary(pl):   Pliki komputerowych kierowców dla TORCS - olethros
+Group:         X11/Applications/Games
+Requires:      %{name} = %{version}-%{release}
+
+%description robots-olethros
+Olethros robots files for TORCS.
+
+%description robots-olethros -l pl
+Pliki komputerowych kierowców dla TORCS - olethros.
+
 %prep
-%setup -q -n torcs-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17
+%setup -q -n torcs-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15
 mv torcs-%{version}/src/drivers/* src/drivers
 rm -r torcs-%{version}
 %patch0 -p1
 
 %build
-CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS
-CFLAGS="-I/usr/X11R6/include"; export CFLAGS
 %{__aclocal}
 %{__autoconf}
-%configure \
-       --x-includes=/usr/X11R6/include
+%configure
 %{__make}
 
 %install
@@ -293,8 +277,8 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
        DESTDIR=$RPM_BUILD_ROOT
 
 cp -rf data cars categories tracks menu $RPM_BUILD_ROOT%{_datadir}/games/torcs
-install %{SOURCE18} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE19} $RPM_BUILD_ROOT%{_pixmapsdir}
+install %{SOURCE16} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE17} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 find $RPM_BUILD_ROOT%{_datadir}/games/torcs -name "Makefile" -exec rm -f {} \;
 
@@ -303,7 +287,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG.html README.linux TODO.html
+%doc README.linux
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/torcs
 %attr(755,root,root) %{_libdir}/torcs/*-bin
@@ -321,7 +305,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/torcs/modules/track/*.so
 %dir %{_datadir}/games/torcs
 %{_datadir}/games/torcs/config
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 
 %files data
@@ -330,6 +314,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/games/torcs/cars/360-modena
 %dir %{_datadir}/games/torcs/categories
 %{_datadir}/games/torcs/categories/free.xml
+%{_datadir}/games/torcs/categories/F1.xml
 %{_datadir}/games/torcs/categories/Historic.xml
 %{_datadir}/games/torcs/categories/Offroad*.xml
 %{_datadir}/games/torcs/categories/Track*.xml
@@ -362,6 +347,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/games/torcs/cars/acura-nsx-sz
 %{_datadir}/games/torcs/cars/baja-bug
 %{_datadir}/games/torcs/cars/buggy
+%{_datadir}/games/torcs/cars/car1-trb1
 %{_datadir}/games/torcs/cars/clkdtm
 %{_datadir}/games/torcs/cars/gt40
 %{_datadir}/games/torcs/cars/lotus-gt1
@@ -369,6 +355,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/games/torcs/cars/p406
 %{_datadir}/games/torcs/cars/porsche-gt1
 %{_datadir}/games/torcs/cars/porsche-gt3rs
+%{_datadir}/games/torcs/cars/sc-f1
 %{_datadir}/games/torcs/cars/viper-gts-r
 %{_datadir}/games/torcs/cars/xj-220
 
@@ -392,7 +379,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/games/torcs/cars/kc-dino
 %{_datadir}/games/torcs/cars/kc-ghibli
 %{_datadir}/games/torcs/cars/kc-grifo
-%{_datadir}/games/torcs/cars/kc-gullwing
 
 %files data-cars-kcendra-roadsters
 %defattr(644,root,root,755)
@@ -443,26 +429,14 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/torcs/drivers/sparkle
 %attr(755,root,root) %{_libdir}/torcs/drivers/sparkle/*.so
 
-%files robots-K1999
-%defattr(644,root,root,755)
-%{_datadir}/games/torcs/drivers/K1999
-%dir %{_libdir}/torcs/drivers/K1999
-%attr(755,root,root) %{_libdir}/torcs/drivers/K1999/*.so
-
-%files robots-astigot
-%defattr(644,root,root,755)
-%{_datadir}/games/torcs/drivers/astigot
-%dir %{_libdir}/torcs/drivers/astigot
-%attr(755,root,root) %{_libdir}/torcs/drivers/astigot/*.so
-
-%files robots-billy
-%defattr(644,root,root,755)
-%{_datadir}/games/torcs/drivers/billy
-%dir %{_libdir}/torcs/drivers/billy
-%attr(755,root,root) %{_libdir}/torcs/drivers/billy/*.so
-
 %files robots-bt
 %defattr(644,root,root,755)
 %{_datadir}/games/torcs/drivers/bt
 %dir %{_libdir}/torcs/drivers/bt
 %attr(755,root,root) %{_libdir}/torcs/drivers/bt/*.so
+
+%files robots-olethros
+%defattr(644,root,root,755)
+%{_datadir}/games/torcs/drivers/olethros
+%dir %{_libdir}/torcs/drivers/olethros
+%attr(755,root,root) %{_libdir}/torcs/drivers/olethros/*.so
This page took 0.08526 seconds and 4 git commands to generate.