1 Summary: Game similar to the original game Super Mario Bros
2 Summary(pl.UTF-8): Gra podobna do oryginalnej gry Super Mario Bros
7 Group: X11/Applications/Games
8 Source0: http://download.berlios.de/supertux/%{name}-%{version}.tar.bz2
9 # Source0-md5: f2fc288459f33d5cd8f645fbca737a63
10 Source1: %{name}.desktop
11 Patch0: %{name}-gcc4.patch
12 URL: http://super-tux.sourceforge.net/
13 BuildRequires: OpenGL-devel
14 BuildRequires: SDL-devel >= 1.2.4
15 BuildRequires: SDL_image-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: autoconf >= 2.54
18 BuildRequires: automake
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _noautoreqdep libGL.so.1 libGLU.so.1
25 Super Mario Bros style game starring Tux the penguin.
27 %description -l pl.UTF-8
28 Gra w stylu Super Mario Bros z pingwinem Tuksem w roli głównej.
35 %{__aclocal} -I mk/autoconf
39 %{?debug:--enable-debug}%{!?debug:--disable-debug}
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
48 DESTDIR=$RPM_BUILD_ROOT
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
51 cp -a data/images/icon.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog LEVELDESIGN README TODO
59 %attr(755,root,root) %{_bindir}/*
61 %{_desktopdir}/*.desktop