]> git.pld-linux.org Git - packages/supertux.git/blob - supertux.spec
- rel 3
[packages/supertux.git] / supertux.spec
1 Summary:        Game similar to the original game Super Mario Bros
2 Summary(pl.UTF-8):      Gra podobna do oryginalnej gry Super Mario Bros
3 Name:           supertux
4 Version:        0.1.3
5 Release:        3
6 License:        GPL
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
20 Requires:       OpenGL
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define _noautoreqdep   libGL.so.1 libGLU.so.1
24
25 %description
26 Super Mario Bros style game starring Tux the penguin.
27
28 %description -l pl.UTF-8
29 Gra w stylu Super Mario Bros z pingwinem Tuksem w roli głównej.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__aclocal} -I mk/autoconf
37 %{__autoconf}
38 %{__automake}
39 %configure \
40         %{?debug:--enable-debug}%{!?debug:--disable-debug}
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install data/images/icon.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog LEVELDESIGN README TODO
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/%{name}
62 %{_desktopdir}/*.desktop
63 %{_pixmapsdir}/*.xpm
This page took 0.177637 seconds and 3 git commands to generate.