1 | Name: black-box |
---|
2 | License: GPL |
---|
3 | Group: Applications/Games |
---|
4 | Summary: Find the crystals |
---|
5 | Summary(ja): 隠された水晶の位置を推測するパズルゲーム |
---|
6 | Version: 1.4.3 |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | URL: http://www.linux-games.com/black-box/ |
---|
9 | Source: %{name}-%{version}.tar.bz2 |
---|
10 | Source1: %{name}.xpm |
---|
11 | Source2: %{name}.desktop |
---|
12 | Source3: %{name}.6 |
---|
13 | Patch: black-box-1.4.3-gcc33.dif |
---|
14 | Patch1: black-box-1.4.3-maxpath.dif |
---|
15 | Patch2: black-box-1.4.3-warnings.dif |
---|
16 | Patch3: black-box-1.4.3-config.patch |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
---|
18 | |
---|
19 | BuildRequires: automake autoconf SDL-devel SDL_mixer-devel libpng-devel |
---|
20 | Requires: SDL SDL_mixer libpng |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> |
---|
25 | |
---|
26 | %description |
---|
27 | There's a black box. You can shoot in and watch, where the shot leaves |
---|
28 | the box. In the box, crystals are reflecting the shots. You have to |
---|
29 | guess where the crystals are hidden, by watching your shots. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | ブラックボックスに光線をあてると、光の跡が残ります。 |
---|
33 | 箱の中にある水晶が、光を反射しているのです。 |
---|
34 | 光の跡を手がかりにに、水晶が隠されている場所を推測しなければなりません。 |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup |
---|
38 | %patch |
---|
39 | %patch1 |
---|
40 | %patch2 |
---|
41 | %patch3 -p0 -b .config |
---|
42 | |
---|
43 | %build |
---|
44 | aclocal |
---|
45 | automake -a |
---|
46 | autoconf |
---|
47 | #CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix} |
---|
48 | %configure --prefix=%{_prefix} |
---|
49 | make |
---|
50 | |
---|
51 | %install |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | make DESTDIR=$RPM_BUILD_ROOT install-strip |
---|
54 | |
---|
55 | # add desktop icon |
---|
56 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps |
---|
57 | install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.xpm |
---|
58 | |
---|
59 | # add desktop |
---|
60 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications |
---|
61 | install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
62 | |
---|
63 | # add man |
---|
64 | mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6 |
---|
65 | install -p -D -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_mandir}/man6/%{name}.6 |
---|
66 | |
---|
67 | |
---|
68 | %clean |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(-,root,root) |
---|
73 | %doc AUTHORS COPYING ChangeLog README NEWS |
---|
74 | %{_bindir}/%{name} |
---|
75 | %{_datadir}/black-box |
---|
76 | %{_datadir}/pixmaps |
---|
77 | %{_datadir}/applications |
---|
78 | %{_mandir}/man6 |
---|
79 | |
---|
80 | %changelog -n black-box |
---|
81 | * Sat Sep 06 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2vl5 |
---|
82 | - applied new versioning policy, spec in utf-8 |
---|
83 | - added black-box-1.4.3-config.patch |
---|
84 | |
---|
85 | * Tue Oct 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.3-1vl2 |
---|
86 | - rebuilt for Vine Linux 4.0 |
---|
87 | - changed Group to Applications/Games |
---|
88 | |
---|
89 | * Sun Feb 6 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.4.3-1vl1 |
---|
90 | - initial build |
---|
91 | - patchs (and source) from suse |
---|
92 | - man from deb |
---|
93 | - add desktop and icon |
---|