SPECS: stormbaancoureur.spec (NEW) - initial

lisu lisu at pld-linux.org
Mon Jan 7 11:37:46 CET 2008


Author: lisu                         Date: Mon Jan  7 10:37:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   stormbaancoureur.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/stormbaancoureur.spec
diff -u /dev/null SPECS/stormbaancoureur.spec:1.1
--- /dev/null	Mon Jan  7 11:37:46 2008
+++ SPECS/stormbaancoureur.spec	Mon Jan  7 11:37:41 2008
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+Summary:	Simulated obstacle course for automobiles
+Summary(pl.UTF-8):	Symulowany kurs samochodowy z przeszkodami
+Name:		stormbaancoureur
+Version:	2.0.2
+Release:	1
+License:	GPL
+Group:		X11/Applications/Games
+Source0:	http://bram.creative4vision.nl/sturmbahnfahrer/download/%{name}-%{version}.tar.gz
+# Source0-md5:	49a2f58689093efe4f1f729a076de143
+Patch0:		%{name}-dirs.patch
+URL:		http://www.sturmbahnfahrer.com/
+BuildRequires:	OpenGL-glut-devel
+BuildRequires:	ode-devel >= 0.8
+BuildRequires:	plib-devel >= 1.8.4
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+In this game, your objective is to drive your car along an obstacle
+course. Success depends on total control of the car, and making use of
+the laws of physics.
+
+%description -l pl.UTF-8
+W tej grze zadaniem gracza jest kierowanie samochodem przez kurs z
+przeszkodami. Sukces zależy od całkowitej kontroli samochodu oraz
+korzystania z praw fizyki.
+
+%prep
+%setup -q
+%patch0 -p1
+sed -e 's/libode.a/libode.so/g' -i src-%{name}/Makefile
+
+%build
+cd src-%{name}
+%{__make} \
+	CXX="%{__cxx}" \
+	CXXFLAGS="%{rpmcxxflags} -I../src-common -DGAMEVERSION=%{version}" \
+	LFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd src-%{name}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc src-stormbaancoureur/{README,TODO}
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-07 10:37:41  lisu
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list