source: projects/specs/trunk/s/supertux/supertux-vl.spec @ 521

Revision 521, 2.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name    supertux
2%define version 0.1.3
3%define release 1%{?_dist_release}
4
5Summary:        Super Mario Bros like 2D jump 'n run sidescroller game.
6Summary(ja):    スーパーマリオブラザース風の 2D 横スクロールゲーム
7Name:           %{name}
8Version:        %{version}
9Release:        %{release}
10Source0:        %{name}-%{version}.tar.bz2
11Patch0:         supertux-0.1.3-gcc4.patch
12License:        GPL
13Group:          Applications/Games
14URL:            http://super-tux.sf.net/
15
16BuildRequires:  SDL-devel >= 1.2.4, SDL_image-devel, SDL_mixer-devel >= 1.2.7
17BuildRequires:  zlib-devel
18%if %{?_dist_release} == "vl5"
19Requires:       mesa-libGL
20BuildRequires:  xorg-x11-devel
21BuildRequires:  mesa-libGL-devel
22%endif
23%if %{?_dist_release} == "vl4"
24Requires:       XOrg-gl
25BuildRequires:  XOrg-devel
26BuildRequires:  XOrg-gl-devel
27%endif
28
29BuildRoot:      %{_tmppath}/%{name}-%{version}-root
30
31
32%description
33SuperTux is a 2D jump 'n run sidescroller game, with strong inspiration
34from the Super Mario Bros games for Nintendo.
35
36Run and jump through multiple worlds, fighting off enemies by jumping
37on them or bumping them from below.  Grabbing power-ups and other stuff
38on the way.
39 
40%description -l ja
41SuperTux は 任天堂のスーパーマリオブラザースから強い影響を浮けた
422D の横スクロールゲームです。
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
Note: See TracBrowser for help on using the repository browser.