]> git.pld-linux.org Git - packages/xmoto.git/blame - xmoto.spec
- 0.2.7
[packages/xmoto.git] / xmoto.spec
CommitLineData
4c64877a 1Summary: Clone of across/elma games
009b2ded 2Summary(pl.UTF-8): Klon gry across/elma
4c64877a 3Name: xmoto
68c7c306 4Version: 0.2.7
5005dec9 5Release: 1
4c64877a 6License: GPL
7Group: X11/Applications/Games
68c7c306 8Source0: http://download.tuxfamily.org/xmoto/xmoto/%{version}/%{name}-%{version}-src.tar.gz
9# Source0-md5: 4b079ea010561584a61b3d6384b942fc
881d2900 10Source1: %{name}.png
11Source2: %{name}.desktop
54a4a121 12Source3: %{name}.6
334e5bdf 13Patch0: %{name}-libs.patch
4c64877a 14URL: http://xmoto.sourceforge.net/
7b6bf382 15BuildRequires: OpenGL-GLU-devel
4c64877a 16BuildRequires: SDL-devel
2dbc5557 17BuildRequires: SDL_mixer-devel
958c0baf 18BuildRequires: autoconf
19BuildRequires: automake
9b339d1d 20BuildRequires: bzip2-devel
831a2123 21BuildRequires: curl-devel
098e543d 22BuildRequires: gettext-devel
958c0baf 23BuildRequires: libtool
3fff6583 24BuildRequires: libjpeg-devel
25BuildRequires: libpng-devel
958c0baf 26BuildRequires: lua50-devel
27BuildRequires: ode-devel
28BuildRequires: pkgconfig
4c64877a 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32X-Moto is a challenging 2D motocross platform game, where physics play
33an all important role in the gameplay. You need to control your bike
34to its limit, if you want to have a chance finishing the more
35difficult of the challenges.
36
37First you'll try just to complete the levels, while later you'll
38compete with yourself and others, racing against the clock.
39
25def84b
JR
40%description -l pl.UTF-8
41X-Moto jest wyzywającą motocrossową dwuwymiarową grą platformową,
42gdzie fizyka ma w rozgrywce główną rolę. Panowanie nad motorem musi
43być jak najbardziej wyżyłowane, jeżeli chce się myśleć o ukończeniu
44trudniejszych poziomów.
4c64877a 45
25def84b
JR
46Z początku po prostu zalicza się poziomy, później walczy się z
47wynikami, swoimi i innych, w wyścigu z czasem.
4c64877a 48
49%prep
50%setup -q
54a4a121 51cat %{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
66rm -rf $RPM_BUILD_ROOT
881d2900 67install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
4c64877a 68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
881d2900 72install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
73install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
74
86b21a4c
JB
75mv -f $RPM_BUILD_ROOT%{_mandir}/{mang,man6}
76
098e543d 77%find_lang %{name}
78
4c64877a 79%clean
80rm -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/*
This page took 0.101327 seconds and 4 git commands to generate.