1 Summary: 3D tabletennis game
2 Summary(pl.UTF-8): Trójwymiarowy tenis stołowy
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz
9 # Source0-md5: bcf2eddd0f04d58e5dac6d767f41d9af
10 Source1: %{name}.desktop
12 Patch0: %{name}-types.patch
13 URL: http://CannonSmash.Sourceforge.net/
14 BuildRequires: OpenGL-devel
15 BuildRequires: SDL-devel >= 1.2.0
16 BuildRequires: SDL_image-devel
17 BuildRequires: SDL_mixer-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: gettext-devel
21 BuildRequires: gtk+-devel >= 1.2.0
22 BuildRequires: libjpeg-devel
23 BuildRequires: libstdc++-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _noautoreqdep libGL.so.1 libGLU.so.1
30 CannonSmash is a 3D tabletennis game. The goal of this project is to
31 represent various strategy of tabletennis on computer game.
33 %description -l pl.UTF-8
34 CannonSmash to trójwymiarowy tenis stołowy. Celem tego projektu jest
35 przedstawienie różnych strategii tenisa stołowego w grze komputerowej.
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
55 DESTDIR=$RPM_BUILD_ROOT
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
63 rm -rf $RPM_BUILD_ROOT
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS CREDITS ChangeLog NEWS README.en
69 %attr(755,root,root) %{_bindir}/*
70 %{_datadir}/games/csmash
71 %{_desktopdir}/*.desktop