From e622e3ca0a99af3dafa93aa0d4378f56a85820d9 Mon Sep 17 00:00:00 2001 From: torcs-ng Date: Mon, 15 Sep 2008 18:55:20 +0000 Subject: [PATCH] Modif Makefile git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@10 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1280839b6ead8381a872775b0ceafee37ccf86de Former-commit-id: a1f71bb782c31ed9e7051ec76ef856568fbf1d2d --- .../specfiles/torcs-ng-robot-K1999.spec.in | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/tools/package/specfiles/torcs-ng-robot-K1999.spec.in b/src/tools/package/specfiles/torcs-ng-robot-K1999.spec.in index 8ca02a0d7..b46392bb6 100644 --- a/src/tools/package/specfiles/torcs-ng-robot-K1999.spec.in +++ b/src/tools/package/specfiles/torcs-ng-robot-K1999.spec.in @@ -1,42 +1,42 @@ -Summary: TORCS - K1999 Robots -Name: TORCS-robots-K1999 +Summary: TORCS NG - K1999 Robots +Name: TORCS-NG-robots-K1999 Version: @VERSION@ Release: 1 Epoch: 1 -Source: TORCS-%{version}-src.tgz -Source1: TORCS-%{version}-src-robots-K1999.tgz +Source: TORCS-NG-%{version}-src.tgz +Source1: TORCS-NG-%{version}-src-robots-K1999.tgz Group: Amusements/Games BuildRoot: %{_tmppath}/%{name}-buildroot Copyright: GPL BuildArch: i386 URL: http://torcs.org Packager: Eric Espié -Requires: TORCS +Requires: TORCS-NG %description -K1999 Robots for TORCS +K1999 Robots for TORCS NG by Rémi Coulom %prep -%setup -n torcs-@VERSION@ -%setup -T -D -b 1 -n torcs-@VERSION@ -cd $RPM_BUILD_DIR/torcs-@VERSION@/src/drivers +%setup -n torcs-ng-@VERSION@ +%setup -T -D -b 1 -n torcs-ng-@VERSION@ +cd $RPM_BUILD_DIR/torcs-ng-@VERSION@/src/drivers rm -rf human %build -export TORCS_BASE=`pwd` MAKE_DEFAULT=`pwd`/Make-default.mk +export TORCSNG_BASE=`pwd` MAKE_DEFAULT=`pwd`/Make-default.mk ./configure --prefix=%{_prefix} make %install make install DESTDIR=%{_tmppath}/%{name}-ship -cd %{_tmppath}/%{name}-ship/%{_prefix}/share/games/torcs -mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs -cp -r drivers $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs +cd %{_tmppath}/%{name}-ship/%{_prefix}/share/games/torcs-ng +mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng +cp -r drivers $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng cd - -cd %{_tmppath}/%{name}-ship/%{_prefix}/lib/torcs -mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/torcs -cp -r drivers $RPM_BUILD_ROOT/%{_prefix}/lib/torcs +cd %{_tmppath}/%{name}-ship/%{_prefix}/lib/torcs-ng +mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/torcs-ng +cp -r drivers $RPM_BUILD_ROOT/%{_prefix}/lib/torcs-ng cd - rm -rf %{_tmppath}/%{name}-ship @@ -45,8 +45,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%{_prefix}/share/games/torcs/* -%{_prefix}/lib/torcs/* +%{_prefix}/share/games/torcs-ng/* +%{_prefix}/lib/torcs-ng/* %changelog * Mon Aug 25 2003 Eric Espié 1.2.2