]> git.pld-linux.org Git - packages/TORCS.git/blame - TORCS.spec
- import, not done yet.
[packages/TORCS.git] / TORCS.spec
CommitLineData
1da57690
AG
1# ToDo:
2# - make it compile - this one is horrible, it creates exports/include dir
3# in top source directory and puts symlinks to various *.h files there.
4# However, it does not put symlinks to plib/*.h or GL/*.h. Anyone knows
5# how to fix it? Or maybe this one should be removed from repo?
6Summary: The Open Racing Car Simulator
7Summary(pl): The Open Racing Car Simulator
8Name: TORCS
9Version: 1.2.0
10Release: 0.1
11License: GPL
12Group: X11/Applications/Games
13Source0: http://dl.sourceforge.net/torcs/%{name}-%{version}-src.tgz
14Source1: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-base.tgz
15Source2: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-berniw.tgz
16Source3: http://dl.sourceforge.net/torcs/%{name}-%{version}-src-robots-K1999.tgz
17Source4: http://dl.sourceforge.net/torcs/%{name}-%{version}-data.tgz
18Source5: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-tracks-base.tgz
19Source6: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-extra.tgz
20Source7: http://dl.sourceforge.net/torcs/%{name}-%{version}-data-cars-Patwo-Design.tgz
21URL: http://torcs.sourceforge.net/
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%define _prefix /usr/X11R6
25
26%description
27
28%description -l pl
29
30%prep
31%setup -q -n torcs-1.2.0 -a 2 4 5 6
32
33%build
34CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS
35CFLAGS="-I/usr/X11R6/include"; export CFLAGS
36%{__aclocal}
37%{__autoconf}
38%configure \
39 --x-includes=%{_prefix}/include
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d $RPM_BUILD_ROOT
45
46%{__make} install DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc ChangeLog README
54%attr(755,root,root) %{_bindir}/*
55%{_datadir}/%{name}
This page took 0.068255 seconds and 4 git commands to generate.