]> git.pld-linux.org Git - packages/xmoto.git/blob - xmoto.spec
- 0.2.7
[packages/xmoto.git] / xmoto.spec
1 Summary:        Clone of across/elma games
2 Summary(pl.UTF-8):      Klon gry across/elma
3 Name:           xmoto
4 Version:        0.2.7
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://download.tuxfamily.org/xmoto/xmoto/%{version}/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  4b079ea010561584a61b3d6384b942fc
10 Source1:        %{name}.png
11 Source2:        %{name}.desktop
12 Source3:        %{name}.6
13 Patch0:         %{name}-libs.patch
14 URL:            http://xmoto.sourceforge.net/
15 BuildRequires:  OpenGL-GLU-devel
16 BuildRequires:  SDL-devel
17 BuildRequires:  SDL_mixer-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  bzip2-devel
21 BuildRequires:  curl-devel
22 BuildRequires:  gettext-devel
23 BuildRequires:  libtool
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libpng-devel
26 BuildRequires:  lua50-devel
27 BuildRequires:  ode-devel
28 BuildRequires:  pkgconfig
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 X-Moto is a challenging 2D motocross platform game, where physics play
33 an all important role in the gameplay. You need to control your bike
34 to its limit, if you want to have a chance finishing the more
35 difficult of the challenges.
36
37 First you'll try just to complete the levels, while later you'll
38 compete with yourself and others, racing against the clock.
39
40 %description -l pl.UTF-8
41 X-Moto jest wyzywającą motocrossową dwuwymiarową grą platformową,
42 gdzie fizyka ma w rozgrywce główną rolę. Panowanie nad motorem musi
43 być jak najbardziej wyżyłowane, jeżeli chce się myśleć o ukończeniu
44 trudniejszych poziomów.
45
46 Z początku po prostu zalicza się poziomy, później walczy się z
47 wynikami, swoimi i innych, w wyścigu z czasem.
48
49 %prep
50 %setup -q
51 cat %{SOURCE3} | gzip -9 > xmoto.6.gz
52 %patch0 -p1
53
54 %build
55 %{__libtoolize}
56 %{__gettextize}
57 %{__aclocal} -I config
58 %{__autoconf}
59 %{__automake}
60
61 %configure \
62         --with-enable-zoom=1
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
73 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
74
75 mv -f $RPM_BUILD_ROOT%{_mandir}/{mang,man6}
76
77 %find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc ChangeLog README TODO
85 %attr(755,root,root) %{_bindir}/*
86 %{_datadir}/xmoto
87 %{_pixmapsdir}/*
88 %{_desktopdir}/*.desktop
89 %{_mandir}/man6/*
This page took 0.042716 seconds and 3 git commands to generate.