diff options
author | grzegol | 2003-11-01 19:17:31 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 2056389ab337941fba22e34bd0ee4d398983d0c8 (patch) | |
tree | 127939bb68683695dac30bab239175f1bb6e9764 | |
download | ultimatestunts-2056389ab337941fba22e34bd0ee4d398983d0c8.zip ultimatestunts-2056389ab337941fba22e34bd0ee4d398983d0c8.tar.gz |
- new
Changed files:
ultimatestunts.spec -> 1.1
-rw-r--r-- | ultimatestunts.spec | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/ultimatestunts.spec b/ultimatestunts.spec new file mode 100644 index 0000000..6ead03f --- /dev/null +++ b/ultimatestunts.spec @@ -0,0 +1,90 @@ + +%define src_ver 0401 +%define data_ver 0341 + +Summary: Remake of the famous game stunts +Summary(pl): Nowa wersja sławnej gry stunts +Name: ultimatestunts +Version: 0.4.0 +Release: 1 +License: GPL +Group: X11/Applications/Games +Source0: http://dl.sourceforge.net/%{name}/%{name}-src-%{src_ver}.tar.gz +# Source0-md5: f0e5288751d4663749eb33d451e4c8fd +Source1: http://dl.sourceforge.net/%{name}/%{name}-data-%{data_ver}.tar.gz +# Source1-md5: dd7c00a848f4d321b8756b7fb4540d41 +Patch0: %{name}-directories.patch +URL: http://ultimatestunts.sourceforge.net/ +BuildRequires: OpenGL-devel +BuildRequires: SDL-devel >= 1.2.0 +BuildRequires: autoconf +BuildRequires: automake +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _bindir %{_prefix}/games +%define _noautoreqdep libGL.so.1 libGLU.so.1 + +%description +UltimateStunts is a remake of the famous game stunts. It was a 3D +racing game, with simple CGA/EGA/VGA graphics and no texture or smooth +shading, but because of the spectacular stunts (loopings, bridges to +jump over, etc.) it was really fun to play. + +The remake provides more modern features, like openGL graphics, 3D +sound and Internet multiplaying. + +%description -l pl +UltimateStunts jest nową wersją sławnej gry stunts. Była to +trójwymiarowa gra wyścigowa, z prostą grafiką CGA/EGA/VGA bez tekstur +ani bez cieniowania, lecz dzięki spektakularnym akrobacją (obroty, +skoki na mostami, itp.) świetnie się w nią grało. + +Ta, nowsza wersja daje więcej nowych urozmaiceń, takich jak grafika +OpenGL, dźwięk 3D, czy gra przez Internet. + +%package data +Summary: Data files for UltimateStunts +Summary(pl): Pliki z danymi dla UltimateStunts +Group: X11/Applications/Games +Requires: %{name} + +%description data +Data files for UltimateStunts. + +%description data -l pl +Pliki z danymi dla UltimateStunts. + +%prep +%setup -q -n %{name}-src-%{src_ver} -a 1 +%patch0 -p1 + +%build +%{__aclocal} +%{__autoconf} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_datadir}/games/%{name},%{_sysconfdir}} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +cp -R backgrounds cars music sounds textures tiles tracks \ + $RPM_BUILD_ROOT%{_datadir}/games/%{name} +install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS README +%attr(755,root,root) %{_bindir}/* +%{_sysconfdir}/* + +%files data +%defattr(644,root,root,755) +%{_datadir}/games/%{name} |