1 | %define name supertux |
---|
2 | %define version 0.1.3 |
---|
3 | %define release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Super Mario Bros like 2D jump 'n run sidescroller game. |
---|
6 | Summary(ja): スーパーマリオブラザース風の 2D 横スクロールゲーム |
---|
7 | Name: %{name} |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | Source0: %{name}-%{version}.tar.bz2 |
---|
11 | Patch0: supertux-0.1.3-gcc4.patch |
---|
12 | License: GPL |
---|
13 | Group: Applications/Games |
---|
14 | URL: http://super-tux.sf.net/ |
---|
15 | |
---|
16 | BuildRequires: SDL-devel >= 1.2.4, SDL_image-devel, SDL_mixer-devel >= 1.2.7 |
---|
17 | BuildRequires: zlib-devel |
---|
18 | %if %{?_dist_release} == "vl5" |
---|
19 | Requires: mesa-libGL |
---|
20 | BuildRequires: xorg-x11-devel |
---|
21 | BuildRequires: mesa-libGL-devel |
---|
22 | %endif |
---|
23 | %if %{?_dist_release} == "vl4" |
---|
24 | Requires: XOrg-gl |
---|
25 | BuildRequires: XOrg-devel |
---|
26 | BuildRequires: XOrg-gl-devel |
---|
27 | %endif |
---|
28 | |
---|
29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
30 | |
---|
31 | |
---|
32 | %description |
---|
33 | SuperTux is a 2D jump 'n run sidescroller game, with strong inspiration |
---|
34 | from the Super Mario Bros games for Nintendo. |
---|
35 | |
---|
36 | Run and jump through multiple worlds, fighting off enemies by jumping |
---|
37 | on them or bumping them from below. Grabbing power-ups and other stuff |
---|
38 | on the way. |
---|
39 | |
---|
40 | %description -l ja |
---|
41 | SuperTux は 任天堂のスーパーマリオブラザースから強い影響を浮けた |
---|
42 | 2D の横スクロールゲームです。 |
---|
43 | |
---|
44 | 複数のステージを走ったりジャンプしたりしながら、敵の上にジャンプしたり |
---|
45 | 下から突き上げたりして戦うゲームです。また途中でパワーアップアイテムや |
---|
46 | その他のアイテムが手に入れられます。 |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | %if %{?_dist_release} == "vl5" |
---|
52 | %patch -p0 -b .gcc4 |
---|
53 | %endif |
---|
54 | |
---|
55 | %build |
---|
56 | %configure \ |
---|
57 | --disable-dependency-tracking \ |
---|
58 | ; |
---|
59 | %__make |
---|
60 | |
---|
61 | |
---|
62 | %install |
---|
63 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
64 | %makeinstall |
---|
65 | |
---|
66 | |
---|
67 | %clean |
---|
68 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
69 | |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(-,root,root) |
---|
73 | %doc AUTHORS COPYING ChangeLog INSTALL LEVELDESIGN |
---|
74 | %doc NEWS README TODO |
---|
75 | %{_bindir}/supertux |
---|
76 | %{_datadir}/applications/supertux.desktop |
---|
77 | %{_datadir}/supertux |
---|
78 | %{_datadir}/pixmaps/supertux.png |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.1.3-1 |
---|
82 | - apply new versioning policy |
---|
83 | - spec in utf-8 |
---|
84 | - apply supertux-0.1.3-gcc4.patch for vl5 |
---|
85 | - added Requires: |
---|
86 | - mesa-libGL (for vl5) |
---|
87 | - XOrg-gl (for vl4) |
---|
88 | - added BuildRequires: |
---|
89 | - xorg-x11-devel (for vl5) |
---|
90 | - mesa-libGL-devel (for vl5) |
---|
91 | - XOrg-devel (for vl4) |
---|
92 | - XOrg-gl-devel (for vl4) |
---|
93 | |
---|
94 | * Sat Mar 10 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.3-0vl1 |
---|
95 | - initial build for Vine Linux |
---|