From 1da576908345fb2347c39cdba0e8e7004d977624 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Wed, 2 Apr 2003 16:13:35 +0000 Subject: [PATCH] - import, not done yet. Changed files: TORCS.spec -> 1.1 --- TORCS.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 TORCS.spec diff --git a/TORCS.spec b/TORCS.spec new file mode 100644 index 0000000..1ead290 --- /dev/null +++ b/TORCS.spec @@ -0,0 +1,55 @@ +# ToDo: +# - make it compile - this one is horrible, it creates exports/include dir +# in top source directory and puts symlinks to various *.h files there. +# However, it does not put symlinks to plib/*.h or GL/*.h. Anyone knows +# how to fix it? Or maybe this one should be removed from repo? +Summary: The Open Racing Car Simulator +Summary(pl): The Open Racing Car Simulator +Name: TORCS +Version: 1.2.0 +Release: 0.1 +License: GPL +Group: X11/Applications/Games +Source0: http://dl.sourceforge.net/torcs/%{name}-%{version}-src.tgz +Source1: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-base.tgz +Source2: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-berniw.tgz +Source3: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-K1999.tgz +Source4: http://dl.sourceforge.net/torcs/%{name}-%{version}-data.tgz +Source5: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-base.tgz +Source6: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz +Source7: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz +URL: http://torcs.sourceforge.net/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 + +%description + +%description -l pl + +%prep +%setup -q -n torcs-1.2.0 -a 2 4 5 6 + +%build +CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS +CFLAGS="-I/usr/X11R6/include"; export CFLAGS +%{__aclocal} +%{__autoconf} +%configure \ + --x-includes=%{_prefix}/include +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT + +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog README +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name} -- 2.43.0