1 Summary: Clone of across/elma games
2 Summary(pl.UTF-8): Klon gry across/elma
7 Group: X11/Applications/Games
8 Source0: http://download.tuxfamily.org/xmoto/xmoto/%{version}/%{name}-%{version}-src.tar.gz
9 # Source0-md5: 1e3678ebceca21d61844efb53c140227
11 Source2: %{name}.desktop
12 Patch0: %{name}-lua51.patch
13 URL: http://xmoto.sourceforge.net/
14 BuildRequires: OpenGL-GLU-devel
15 BuildRequires: SDL-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: SDL_net-devel
18 BuildRequires: SDL_ttf-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: bzip2-devel
22 BuildRequires: curl-devel
23 BuildRequires: gettext-devel
24 BuildRequires: libjpeg-devel
25 BuildRequires: libpng-devel
26 BuildRequires: libtool
27 BuildRequires: lua51-devel
28 BuildRequires: ode-devel >= 1:0.10.1
29 BuildRequires: pkgconfig
30 BuildRequires: sqlite3-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 X-Moto is a challenging 2D motocross platform game, where physics play
35 an all important role in the gameplay. You need to control your bike
36 to its limit, if you want to have a chance finishing the more
37 difficult of the challenges.
39 First you'll try just to complete the levels, while later you'll
40 compete with yourself and others, racing against the clock.
42 %description -l pl.UTF-8
43 X-Moto jest wyzywającą motocrossową dwuwymiarową grą platformową,
44 gdzie fizyka ma w rozgrywce główną rolę. Panowanie nad motorem musi
45 być jak najbardziej wyżyłowane, jeżeli chce się myśleć o ukończeniu
46 trudniejszych poziomów.
48 Z początku po prostu zalicza się poziomy, później walczy się z
49 wynikami, swoimi i innych, w wyścigu z czasem.
56 %{__sed} -i -e 's/lv_LV/lv/g;s/da_DK/da/g;s/pt_PT/pt/g;s/tr_TR/tr/g' configure.in
62 # don't run svnversion
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
80 DESTDIR=$RPM_BUILD_ROOT
82 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
83 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
85 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ca{_ES,}
87 rm -fr $RPM_BUILD_ROOT%{_datadir}/locale/ca_{AD,FR,IT}*
88 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/cs{_CZ,}
89 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,}
90 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}
91 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,}
92 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,}
93 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/hu{_HU,}
94 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,}
95 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/lt{_LT,}
96 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
97 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/nl{_NL,}
98 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/nn{_NO,}
99 rm -fr $RPM_BUILD_ROOT%{_datadir}/locale/no*
100 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/pl{_PL,}
101 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ru{_RU,}
102 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sk{_SK,}
103 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sv{_SE,}
108 rm -rf $RPM_BUILD_ROOT
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc ChangeLog README TODO
113 %attr(755,root,root) %{_bindir}/*
116 %{_desktopdir}/*.desktop
117 %{_mandir}/man6/xmoto.*