1 Summary: 3D tabletennis game
2 Summary(pl): Trójwymiarowy tenis sto³owy
7 Group: X11/Applications/Games
8 Source0: http://prdownloads.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
11 URL: http://CannonSmash.Sourceforge.net/
12 BuildRequires: OpenGL-devel
13 BuildRequires: SDL-devel
14 BuildRequires: SDL_mixer-devel
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gtk+-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libstdc++-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _noautoreqdep libGL.so.1 libGLU.so.1
24 %define _prefix /usr/X11R6
27 CannonSmash is a 3D tabletennis game. The goal of this project is to
28 represent various strategy of tabletennis on computer game.
31 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
32 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
35 %setup -q -n %{name}-0.6.4
38 rm -f acinclude.m4 missing
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
49 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53 gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS* CREDITS* ChangeLog* NEWS* README.en*
63 %lang(jp) %doc README.gz
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/games/csmash