]> git.pld-linux.org Git - packages/TORCS.git/commitdiff
- import, not done yet.
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 2 Apr 2003 16:13:35 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    TORCS.spec -> 1.1

TORCS.spec [new file with mode: 0644]

diff --git a/TORCS.spec b/TORCS.spec
new file mode 100644 (file)
index 0000000..1ead290
--- /dev/null
@@ -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}
This page took 0.09644 seconds and 4 git commands to generate.