1 | ## -*- coding: utf-8-unix -*- |
---|
2 | Summary: LBreakout is a breakout-style arcade game in the manner of Arkanoid |
---|
3 | Summary(ja): ブロックくずしのアーケードゲーム |
---|
4 | Name: lbreakout |
---|
5 | Version: 010315 |
---|
6 | Release: 3%{?_dist_release} |
---|
7 | Source0: %{name}-%{version}.tar.gz |
---|
8 | License: GNU General Public License |
---|
9 | Group: Applications/Games |
---|
10 | URL: http://lgames.sourceforge.net/ |
---|
11 | |
---|
12 | Requires: SDL SDL_mixer |
---|
13 | BuildRequires: SDL-devel SDL_mixer-devel |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | Packager: munepi |
---|
18 | |
---|
19 | %description |
---|
20 | LBreakout is a classical Breakout game, improved with the powers of |
---|
21 | the SDL library. Its features include: sound, highscore, a menu with |
---|
22 | mouse support, mouse or keyboard can be used for playing, controls can |
---|
23 | be redefined, your starting level can be chosen, a difficulty can be |
---|
24 | selected (easy, medium, hard), various backgrounds, a lot of |
---|
25 | collectable extras, nice graphics, cool effects and own levels can be |
---|
26 | created. Give it a try! |
---|
27 | |
---|
28 | %prep |
---|
29 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
30 | |
---|
31 | %setup -q |
---|
32 | |
---|
33 | %build |
---|
34 | %configure --prefix=%{_prefix} |
---|
35 | %__make |
---|
36 | |
---|
37 | %install |
---|
38 | %__mkdir -p ${RPM_BUILD_ROOT}%{_var}/lib/games |
---|
39 | %__make DESTDIR=${RPM_BUILD_ROOT} install |
---|
40 | |
---|
41 | %__mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
42 | %__cat > ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop <<EOF |
---|
43 | [Desktop Entry] |
---|
44 | Name=LBreakout |
---|
45 | Comment=LBreakout is a breakout-style arcade game in the manner of Arkanoid. |
---|
46 | TryExec=lbreakout |
---|
47 | Exec=/usr/bin/lbreakout |
---|
48 | Icon= |
---|
49 | Terminal=0 |
---|
50 | Type=Application |
---|
51 | Categories=GNOME;Application;Game |
---|
52 | EOF |
---|
53 | |
---|
54 | %clean |
---|
55 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root) |
---|
60 | %doc AUTHORS COPYING ChangeLog INSTALL README TODO |
---|
61 | %{_bindir}/lbreakout |
---|
62 | %{_datadir}/games/lbreakout |
---|
63 | %{_datadir}/applications/%{name}.desktop |
---|
64 | %ghost %{_var}/lib/games/lbreakout.hscr |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Tue Jan 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 010315-3 |
---|
69 | - rebuild |
---|
70 | |
---|
71 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 010315-2 |
---|
72 | - fixed spec file |
---|
73 | - added %%doc in %%files sesion |
---|
74 | - added %%ghost for %%{_var}/lib/games/lbreakout.hscr |
---|
75 | |
---|
76 | * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 010315-1vl5 |
---|
77 | - applied new versioning policy, spec in utf-8 |
---|
78 | |
---|
79 | * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 010315-0vl2 |
---|
80 | - rebuild for VineSeed |
---|
81 | |
---|
82 | * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 010315-0vl1 |
---|
83 | - initial build for Vine Linux |
---|
84 | |
---|
85 | # end of file |
---|