1 | Summary: Block Rage is a "falling-blocks" arcade game, |
---|
2 | Summary(ja): コラムスみたいなゲーム |
---|
3 | Name: blockrage |
---|
4 | Version: 0.2.3 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Source0: %{name}-%{version}.tar.gz |
---|
7 | Source1: blockrage.desktop |
---|
8 | License: GPLv2+ |
---|
9 | Group: Applications/Games |
---|
10 | URL: http://blockrage.sourceforge.net/ |
---|
11 | |
---|
12 | Requires(post,postun): desktop-file-utils |
---|
13 | Requires: SDL >= 1.2.0 |
---|
14 | BuildRequires: SDL-devel |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | %description |
---|
18 | Block Rage is a "falling-blocks" arcade game, inspired by a DOS |
---|
19 | classic. It features a two-player hotseat mode. In the future |
---|
20 | it should also feature nice graphics and sound. |
---|
21 | |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -q |
---|
25 | |
---|
26 | %build |
---|
27 | ./configure \ |
---|
28 | --prefix=%{_prefix} \ |
---|
29 | --bindir=%{_bindir} \ |
---|
30 | --datadir=%{_datadir}/games \ |
---|
31 | --sysconfdir=%{_sysconfdir} \ |
---|
32 | --mandir=%{_mandir} \ |
---|
33 | ; |
---|
34 | %__make %{?_smp_mflags} |
---|
35 | |
---|
36 | %install |
---|
37 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
38 | %__make DESTDIR=${RPM_BUILD_ROOT} install |
---|
39 | |
---|
40 | %__mkdir_p ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
41 | %__install -m0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
42 | |
---|
43 | %clean |
---|
44 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
45 | |
---|
46 | %post |
---|
47 | # touch --no-create %{_datadir}/icons/hicolor |
---|
48 | # if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
49 | # %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
50 | # fi |
---|
51 | %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || : |
---|
52 | |
---|
53 | %postun |
---|
54 | %{_bindir}/update-desktop-database --quiet %{_datadir}/applications |
---|
55 | # touch --no-create %{_datadir}/icons/hicolor |
---|
56 | # if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
57 | # %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
58 | # fi || : |
---|
59 | |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root) |
---|
63 | %doc COPYING ChangeLog INSTALL.txt KNOWN_BUGS README TODO |
---|
64 | %{_datadir}/games/%{name} |
---|
65 | %{_bindir}/blockrage |
---|
66 | %{_datadir}/applications/%{name}.desktop |
---|
67 | %{_mandir}/man6/blockrage.6.gz |
---|
68 | %{_sysconfdir}/%{name} |
---|
69 | |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Wed Feb 8 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.2.3-2 |
---|
73 | - fixed License tag |
---|
74 | |
---|
75 | * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.3-1vl5 |
---|
76 | - applied new versioning policy, spec in utf-8 |
---|
77 | - updated man-path to %%{_mandir} |
---|
78 | |
---|
79 | * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl2 |
---|
80 | - rebuild for VineSeed |
---|
81 | |
---|
82 | * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.2.3-0vl1 |
---|
83 | - initial build for Vine Linux |
---|
84 | |
---|
85 | # * Tue Oct 25 2005 0.2.3-0vl1 |
---|
86 | # - update |
---|
87 | |
---|
88 | # * Mon Sep 26 2005 0.2.2-0vl1 |
---|
89 | # - initial build for Vine Linux |
---|
90 | |
---|
91 | # end of file |
---|