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 #Source0: http://pingus.seul.org/~grumbel/tmp/%{name}-%{version}.tar.bz2
11 Source1: %{name}.desktop
12 Patch0: %{name}-gcc4.patch
13 URL: http://super-tux.sourceforge.net/
14 BuildRequires: OpenGL-devel
15 BuildRequires: SDL-devel >= 1.2.4
16 BuildRequires: SDL_image-devel
17 BuildRequires: SDL_mixer-devel
18 BuildRequires: autoconf >= 2.54
19 BuildRequires: automake
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _noautoreqdep libGL.so.1 libGLU.so.1
26 Super Mario Bros style game starring Tux the penguin.
28 %description -l pl.UTF-8
29 Gra w stylu Super Mario Bros z pingwinem Tuksem w roli głównej.
36 %{__aclocal} -I mk/autoconf
40 %{?debug:--enable-debug}%{!?debug:--disable-debug}
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
49 DESTDIR=$RPM_BUILD_ROOT
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install data/images/icon.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog LEVELDESIGN README TODO
60 %attr(755,root,root) %{_bindir}/*
62 %{_desktopdir}/*.desktop