]> git.pld-linux.org Git - packages/supertux.git/blob - supertux.spec
- updated to 0.1.0
[packages/supertux.git] / supertux.spec
1 Summary:        Game similar to the original game Super Mario Bros
2 Summary(pl):    Gra podobna do oryginalnej gry Super Mario Bros
3 Name:           supertux
4 Version:        0.1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://pingus.seul.org/~grumbel/tmp/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c867f5444b93bf66044b4dc087be2298
10 #Source0:       http://dl.sourceforge.net/super-tux/%{name}-%{version}.tar.bz2
11 Source1:        %{name}.desktop
12 URL:            http://www.newbreedsoftware.com/supertux/
13 BuildRequires:  autoconf >= 2.54
14 BuildRequires:  automake
15 BuildRequires:  OpenGL-devel
16 BuildRequires:  SDL-devel >= 1.2.4
17 BuildRequires:  SDL_image-devel
18 BuildRequires:  SDL_mixer-devel
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
28 Gra w stylu Super Mario Bros z pingwinem Tuksem w roli g³ównej.
29
30 %prep
31 %setup -q
32
33 %build
34 %{__aclocal} -I mk/autoconf
35 %{__autoconf}
36 %{__automake}
37 %configure \
38         %{?debug:--enable-debug}%{!?debug:--disable-debug}
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
50 install data/images/icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog LEVELDESIGN README TODO
58 %attr(755,root,root) %{_bindir}/*
59 %{_datadir}/%{name}
60 %{_desktopdir}/*.desktop
61 %{_pixmapsdir}/*.png
This page took 0.058238 seconds and 4 git commands to generate.