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