From f83946a4334b1fc9949b8cd1da7029bfefe8b4c0 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Wed, 29 Jun 2005 21:42:38 +0000 Subject: [PATCH] - up to 1.2.3 - new URL - added R: to subpackages Changed files: TORCS.spec -> 1.31 --- TORCS.spec | 166 ++++++++++++++++++++++------------------------------- 1 file changed, 68 insertions(+), 98 deletions(-) diff --git a/TORCS.spec b/TORCS.spec index a97c995..b2f49c7 100644 --- a/TORCS.spec +++ b/TORCS.spec @@ -1,61 +1,57 @@ Summary: The Open Racing Car Simulator Summary(pl): The Open Racing Car Simulator - symulator wy¶cigów samochodowych Name: TORCS -Version: 1.2.2 -Release: 3 -License: GPL +Version: 1.2.3 +Release: 1 +License: GPL v2 Group: X11/Applications/Games Source0: http://dl.sourceforge.net/torcs/%{name}-%{version}-src.tgz -# Source0-md5: cf03f0623eab7f9f7d6b13ac20660515 +# Source0-md5: 0f1dc6a3f08e1ae9f80e118c350bb4b4 Source1: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-base.tgz -# Source1-md5: 425b9737f951f95e4255f81b60449f94 +# Source1-md5: 43d670da19adb2e4c632390611d2dc31 Source2: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-berniw.tgz -# Source2-md5: 7e49902b503edb9245c95ffb682bc5c1 -Source3: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-K1999.tgz -# Source3-md5: b092acfca04bd4708f9722fe0732ba75 -Source4: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-astigot.tgz -# Source4-md5: 653c522a007d01c9e8d8fc069651517b -Source5: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-billy.tgz -# Source5-md5: 43af2098b788aa96556c8939048ac1b3 -Source6: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-bt.tgz -# Source6-md5: e81c9f15a8089b138113621e9e7013d1 -Source7: http://dl.sourceforge.net/torcs/%{name}-%{version}-data.tgz -# Source7-md5: 241552524488396fc5cca4ff8c943709 +# Source2-md5: ba4f75b0707a592cb18ea971da8c1382 +Source3: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-bt.tgz +# Source3-md5: 605d82faeb3d547ccb9acbbac9281ff9 +Source4: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-olethros.tgz +# Source4-md5: 2cd15c851a6f07410a4363114a5b2880 +Source5: http://dl.sourceforge.net/torcs/%{name}-%{version}-data.tgz +# Source5-md5: aad3396e3524dc24436225fe119a1fcf +Source6: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-dirt.tgz +# Source6-md5: ff3e6b722311b637afec8087968c0958 +Source7: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-oval.tgz +# Source7-md5: f245ac621677371dec762703d681d000 Source8: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-road.tgz -# Source8-md5: 78dabde8e38aa618fcfa570a5835732e -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: 630e7e53ffcd84a46175a7627438ba2b -Source11: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz -# Source11-md5: 96ff8279e7d77a40564122fa1a7a78b6 -Source12: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-nascar.tgz -# Source12-md5: 4b20ced6ffc65357ffddb31fbc561682 -Source13: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz -# Source13-md5: df5706fd877d98cebf0d9977005304d4 -Source14: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-gt.tgz -# Source14-md5: 858c0e05e589c88264472a27c94f2a29 -Source15: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-roadsters.tgz -# Source15-md5: 7d490c510914a0cdab5939cca66f37cb -Source16: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-sport.tgz -# Source16-md5: 3e574373fe582269f927b94b3d01ccfa -Source17: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-VM.tgz -# Source17-md5: 4394bdbe9722cc8b962fea29dec9531d -Source18: %{name}.desktop -Source19: %{name}.png +# Source8-md5: 3a9409d67e2e57a260cd62fd7a60c19b +Source9: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz +# Source9-md5: 143bd1dd82c22170604b7d504e1d8811 +Source10: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-gt.tgz +# Source10-md5: f4ea43e00e5bca9db8ff3a8e25a669e9 +Source11: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-roadsters.tgz +# Source11-md5: a260b13b2be08417cb5a0fca6a663bd2 +Source12: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-kcendra-sport.tgz +# Source12-md5: 6315a8961a4f020b303cf9e820b342ca +Source13: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-nascar.tgz +# Source13-md5: 4ff4e4caabcdfe23d9cba7f50db6b87a +Source14: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz +# Source14-md5: b3d09f66ef85f8dfe46ae7766cd6119e +Source15: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-VM.tgz +# Source15-md5: 8606ae6d589f6310ab715ac412d6463f +Source16: %{name}.desktop +Source17: %{name}.png Patch0: %{name}-inc.patch -URL: http://torcs.sourceforge.net/ +URL: http://www.torcs.org/ BuildRequires: OpenGL-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: glut-devel >= 3.7 BuildRequires: libpng-devel BuildRequires: libstdc++-devel -BuildRequires: plib-devel >= 1.8.0 +BuildRequires: plib-devel >= 1.8.3 BuildRequires: zlib-devel Requires: %{name}-data = %{version}-%{release} Requires: OpenGL -Requires: plib >= 1.8.0 +Requires: plib >= 1.8.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautoreqdep libGL.so.1 libGLU.so.1 @@ -71,6 +67,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 +130,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 +141,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 +154,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 +167,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 +180,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 +193,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 +227,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,8 +239,20 @@ 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 @@ -293,8 +274,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 {} \; @@ -330,6 +311,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 @@ -369,6 +351,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 +375,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 +425,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 -- 2.44.0