racer 0.5

Krystian T tomczyk w op.onet.pl
Śro, 17 Lis 2004, 02:19:29 CET


Dnia 12-11-2004, pią o godzinie 02:39 +0100, havner napisał(a):
> On Fri, Nov 12, 2004 at 01:55:06AM +0100, Krystian T wrote:
> > Witam
> > kolejny raz zabrałem się za racer-a i próbuję go zbudować. Posunąłem się
> > trochę dalej niż ostatnio, ale aktualnie zatrzymałem się na:
> > 
Po dłuższych walkach i posiłkowaniu się mandrakowym src.rpm jest :)))
libfmod jest wymagane przez racera.
Jakby ktoś mądrzejszy mógł zerknąć czy dobrze myślę, że te ptche co były
nie są potrzebne, a potem wrzucić.
Mi się zbudował i działa :)
-- 
Pozdrawiam
Krystian T

        "errare humanum est..."
-------------- następna część ---------
# $Revision: 1.1 $, $Date: 2004/11/16 20:57:00 $
Summary:	Sound library
Summary(pl):	Biblioteka dźwiękowa
Name:		libfmod
Version:	3.61
Release:	1
License:	Freeware
Group:		Libraries
Source0:	http://www.racer.nl/download/%{name}-%{version}.zip
# Source0-md5:	da325e028507b88e8e966b75c89d693b
Url:		http://www.fmod.org/
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
FMOD supports 3d sound, midi, mods, mp3, ogg vorbis, wma, aiff,
recording, obstruction/occlusion, cd playback (analog or digital), cd
ripping, mmx, internet streaming, dsp effects, spectrum analysis, user
created samples and streams, synchronization support, ASIO, EAX 2&3,
C/C++/VB/Delphi/MASM and more.

%description
FMOD obsługuje dźwięk 3d, midi, mods, mp3, ogg vorbis, wma, aiff,
nagrywanie, mmx, internet streaming, efekty dsp, analizę spektrum,
user created samples and streams, synchronizację, ASIO, EAX 2&3,
C/C++/VB/Delphi/MASM i więcej.

%prep
%setup -q -c %{name}-%{version}

%build

%install
rm -rf $RPM_BUILD_ROOT
echo $RPM_BUILD_ROOT%{_libdir}
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}
cp %{name}-%{version}.so $RPM_BUILD_ROOT%{_libdir}

%clean
rm -rf $RPM_BUILD_ROOT

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(644,root,root,755)
%{_libdir}/%{name}-%{version}.so

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: autofs.spec,v $
-------------- następna część ---------
# $Revision: 1.9 $, $Date: 2003/05/25 06:26:12 $
Summary:	Car simulator
Summary(pl):	Symulator samochodowy
Name:		racer
Version:	0.5.0
Release:	1
License:	Free for non-commercial use
Group:		X11/Applications/Games
Source0:	http://www.racer.nl/download/rr050src.tgz
# Source0-md5:	03793196c9fe3550c9e7c0d9de34a133
Source1:	http://download.tdconline.dk/pub/boomtown/racesimcentral/rr_data%{version}.tgz
# Source1-md5:	9c6f4b03f8ebf9913e0a714ae23efe55
Source2:	%{name}.desktop
Source3:	%{name}.sh
Source4:	%{name}.png
Patch0:		%{name}-%{version}_fmod-3.61_libQ.patch.bz2
URL:		http://www.racer.nl
BuildRequires:	OpenGL-devel
BuildRequires:	SDL-devel
BuildRequires:	libfmod == 3.61
Requires:	OpenGL
Requires:	libfmod == 3.61
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Racer is a free car simulation project, using real car physics to get
a realistic feeling. Cars, tracks, scenes and such can be created with
relative simplicity in mind (compared to other driving simulations).
The 3D and other file formats are, or should be, documented. Editors
and support programs are also available to get a very flexible and
expandable simulator. It uses OpenGL for rendering. It attempts to do
well at the physics section, trying to create life-like cars to
emphasize car control and doesn't cut back on realism in the interest
of fun.

This is the main package (binary) of Racer.

%description -l pl
Racer to darmowy i otwarty projekt symulatora, próbujący wykorzystywać
rzeczywistą fizykę samochodu i pojazdu, aby uzyskać realistyczny
efekt. Samochody, tory, scenerie itp mogą być dla niego sworzone ze
stosunkową łatwością. Ten pakiet zawiera program racer

%prep
%setup -q -n rr050src
%patch0 -p1
#- (blino) fix ar flags, remove -a option
perl -pi -e 's,ARFLAGS=-ar(.*),ARFLAGS=-r\1,' src/libs/*/makefile

%build
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/racer/data,%{_desktopdir},%{_pixmapsdir}}
install src/racer/main/racer $RPM_BUILD_ROOT%{_bindir}/racer.bin
cp -R ../racer0.5.0/data/* $RPM_BUILD_ROOT%{_datadir}/racer/data
install ../racer0.5.0/*.ini $RPM_BUILD_ROOT%{_datadir}/racer
install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/racer
install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}

%clean
#rm -rf $RPM_BUILD_ROOT

%post
##%update_menus

%postun
##%clean_menus

%files
%defattr(644,root,root,755)
# no doc ?
##%doc README.linux*
%attr(755,root,root) %{_bindir}/*
%{_desktopdir}/*
%{_pixmapsdir}/%{name}.png
%{_datadir}/racer

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: racer.spec,v $
Revision 1.8  2003/05/25 06:26:12  misi3k
- massive attack s/pld.org.pl/pld-linux.org/

Revision 1.7  2003/01/18 22:56:18  juandon
- removed two lines with define

Revision 1.6  2002/11/30 23:00:26  juandon
- new %%doc

Revision 1.5  2002/04/05 10:43:13  roman
- fixed a typo in License:

Revision 1.4  2002/02/22 23:29:40  kloczek
- removed all Group fields translations (oure rpm now can handle translating
  Group field using gettext).

Revision 1.3  2002/01/18 02:14:46  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.2  2001/08/05 15:41:04  jajcus
- use %%{rpmcflags}

Revision 1.1  2001/08/05 13:53:10  jajcus
- new spec
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: racer-0.5.0_fmod-3.61_libQ.patch.bz2
Type: application/x-bzip
Size: 605 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20041117/57f7ef23/racer-0.5.0_fmod-3.61_libQ.patch.bin
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: racer.desktop
Type: application/x-desktop
Size: 207 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20041117/57f7ef23/racer.bin
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: racer.png
Type: image/png
Size: 5627 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20041117/57f7ef23/racer.png
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: racer.sh
Type: application/x-shellscript
Size: 200 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20041117/57f7ef23/racer-0001.bin


Więcej informacji o liście dyskusyjnej pld-devel-pl