]>
Commit | Line | Data |
---|---|---|
4c64877a | 1 | Summary: Clone of across/elma games |
009b2ded | 2 | Summary(pl.UTF-8): Klon gry across/elma |
4c64877a | 3 | Name: xmoto |
68c7c306 | 4 | Version: 0.2.7 |
5005dec9 | 5 | Release: 1 |
4c64877a | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
68c7c306 | 8 | Source0: http://download.tuxfamily.org/xmoto/xmoto/%{version}/%{name}-%{version}-src.tar.gz |
9 | # Source0-md5: 4b079ea010561584a61b3d6384b942fc | |
881d2900 | 10 | Source1: %{name}.png |
11 | Source2: %{name}.desktop | |
54a4a121 | 12 | Source3: %{name}.6 |
334e5bdf | 13 | Patch0: %{name}-libs.patch |
4c64877a | 14 | URL: http://xmoto.sourceforge.net/ |
7b6bf382 | 15 | BuildRequires: OpenGL-GLU-devel |
4c64877a | 16 | BuildRequires: SDL-devel |
2dbc5557 | 17 | BuildRequires: SDL_mixer-devel |
958c0baf | 18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
9b339d1d | 20 | BuildRequires: bzip2-devel |
831a2123 | 21 | BuildRequires: curl-devel |
098e543d | 22 | BuildRequires: gettext-devel |
958c0baf | 23 | BuildRequires: libtool |
3fff6583 | 24 | BuildRequires: libjpeg-devel |
25 | BuildRequires: libpng-devel | |
958c0baf | 26 | BuildRequires: lua50-devel |
27 | BuildRequires: ode-devel | |
28 | BuildRequires: pkgconfig | |
4c64877a | 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 | ||
25def84b JR |
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. | |
4c64877a | 45 | |
25def84b JR |
46 | Z początku po prostu zalicza się poziomy, później walczy się z |
47 | wynikami, swoimi i innych, w wyścigu z czasem. | |
4c64877a | 48 | |
49 | %prep | |
50 | %setup -q | |
54a4a121 | 51 | cat %{SOURCE3} | gzip -9 > xmoto.6.gz |
334e5bdf | 52 | %patch0 -p1 |
4c64877a | 53 | |
54 | %build | |
958c0baf | 55 | %{__libtoolize} |
098e543d | 56 | %{__gettextize} |
57 | %{__aclocal} -I config | |
958c0baf | 58 | %{__autoconf} |
59 | %{__automake} | |
60 | ||
098e543d | 61 | %configure \ |
62 | --with-enable-zoom=1 | |
334e5bdf | 63 | %{__make} |
4c64877a | 64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
881d2900 | 67 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
4c64877a | 68 | |
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
881d2900 | 72 | install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} |
73 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} | |
74 | ||
86b21a4c JB |
75 | mv -f $RPM_BUILD_ROOT%{_mandir}/{mang,man6} |
76 | ||
098e543d | 77 | %find_lang %{name} |
78 | ||
4c64877a | 79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
098e543d | 82 | %files -f %{name}.lang |
4c64877a | 83 | %defattr(644,root,root,755) |
ad19dcda | 84 | %doc ChangeLog README TODO |
4c64877a | 85 | %attr(755,root,root) %{_bindir}/* |
86 | %{_datadir}/xmoto | |
881d2900 | 87 | %{_pixmapsdir}/* |
c948dde5 | 88 | %{_desktopdir}/*.desktop |
86b21a4c | 89 | %{_mandir}/man6/* |