1 | %define name blockrage |
---|
2 | %define version 0.2.3 |
---|
3 | %define release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Block Rage is a "falling-blocks" arcade game, |
---|
6 | Summary(ja): コラムスみたいなゲーム |
---|
7 | Name: %{name} |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | #Source0: %{name}-%{version}.tar.bz2 |
---|
11 | Source0: %{name}-%{version}.tar.gz |
---|
12 | License: GNU General Public License |
---|
13 | Group: Applications/Games |
---|
14 | URL: http://blockrage.sourceforge.net/ |
---|
15 | |
---|
16 | Requires: SDL >= 1.2.0 |
---|
17 | BuildRequires: SDL-devel |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | %description |
---|
21 | Block Rage is a "falling-blocks" arcade game, inspired by a DOS |
---|
22 | classic. It features a two-player hotseat mode. In the future |
---|
23 | it should also feature nice graphics and sound. |
---|
24 | |
---|
25 | #%desctiption -l ja |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | rm -rf ${RPM_BUILD_ROOT} |
---|
30 | |
---|
31 | %setup -q |
---|
32 | |
---|
33 | %build |
---|
34 | ./configure \ |
---|
35 | --bindir=/usr/bin \ |
---|
36 | --sysconfdir=/usr/share/games \ |
---|
37 | --datadir=/usr/share/games \ |
---|
38 | --mandir=%{_mandir} |
---|
39 | make |
---|
40 | |
---|
41 | %install |
---|
42 | make DESTDIR=${RPM_BUILD_ROOT} install |
---|
43 | mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications |
---|
44 | cat > ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF |
---|
45 | [Desktop Entry] |
---|
46 | Name=Block Rage |
---|
47 | Comment=Block Rage is a "falling-blocks" arcade game. |
---|
48 | TryExec=blockrage |
---|
49 | Exec=/usr/bin/blockrage |
---|
50 | Icon= |
---|
51 | Terminal=0 |
---|
52 | Type=Application |
---|
53 | Categories=GNOME;Application;Game |
---|
54 | EOF |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf ${RPM_BUILD_ROOT} |
---|
58 | |
---|
59 | |
---|
60 | %files |
---|
61 | %defattr(-,root,root) |
---|
62 | /usr/share/games/blockrage |
---|
63 | /usr/bin/blockrage |
---|
64 | /usr/share/applications/%{name}.desktop |
---|
65 | %{_mandir}/man6/blockrage.6.gz |
---|
66 | |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.3-1vl5 |
---|
70 | - applied new versioning policy, spec in utf-8 |
---|
71 | - updated man-path to %%{_mandir} |
---|
72 | |
---|
73 | * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl2 |
---|
74 | - rebuild for VineSeed |
---|
75 | |
---|
76 | * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl1 |
---|
77 | - initial build for Vine Linux |
---|
78 | |
---|
79 | # * Tue Oct 25 2005 0.2.3-0vl1 |
---|
80 | # - update |
---|
81 | |
---|
82 | # * Mon Sep 26 2005 0.2.2-0vl1 |
---|
83 | # - initial build for Vine Linux |
---|
84 | |
---|
85 | # end of file |
---|