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