1 | Summary: Yet Another Reversi |
---|
2 | Summary(ja): 更にもう一つのリバーシ |
---|
3 | Name: reverzi |
---|
4 | Version: 1.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Source0: %{name}-%{version}.tgz |
---|
7 | Source1: %{name}.desktop |
---|
8 | Source2: %{name}.png |
---|
9 | |
---|
10 | License: GPL |
---|
11 | Group: Applications/Games |
---|
12 | URL: http://sourceforge.net/projects/reverzi/ |
---|
13 | |
---|
14 | BuildRequires: SDL-devel SDL_image-devel |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
20 | %description |
---|
21 | Reverzi starts in 'menu' mode, where you can select the type of both players |
---|
22 | by clicking on the face icons at the bottom of the screen. Available types are: |
---|
23 | Human - waits for your input |
---|
24 | Toaster - weak AI that responds immediately. Shouldn't be able to beat you. |
---|
25 | Emil - basic AI. Reasonable strength and speed. |
---|
26 | Cyborg - stronger AI. Slow but should be a bit harder to beat. |
---|
27 | |
---|
28 | %description -l ja |
---|
29 | いわゆるリバーシゲーム。 |
---|
30 | 人間vs人間の対戦以外に、強さが異なる3種類の対戦相手を選択できます。 |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q -n %{name} |
---|
34 | |
---|
35 | |
---|
36 | %build |
---|
37 | echo make start |
---|
38 | make PREFIX=%{_prefix} PREFIXBINARY=%{_bindir} |
---|
39 | echo make end |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf $RPM_BUILD_ROOT |
---|
43 | |
---|
44 | # bin install |
---|
45 | mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
---|
46 | install -s -p %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name} |
---|
47 | |
---|
48 | # img install |
---|
49 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/img |
---|
50 | install -p img/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/img/ |
---|
51 | |
---|
52 | # add desktop |
---|
53 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications |
---|
54 | install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
---|
55 | |
---|
56 | # add desktop icon |
---|
57 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps |
---|
58 | install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png |
---|
59 | |
---|
60 | %clean |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | |
---|
64 | %files |
---|
65 | %defattr(-,root,root) |
---|
66 | %doc README LICENSE |
---|
67 | %{_bindir}/%{name} |
---|
68 | %{_datadir}/applications/* |
---|
69 | %{_datadir}/pixmaps/* |
---|
70 | %{_datadir}/reverzi |
---|
71 | |
---|
72 | %changelog |
---|
73 | * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-2vl5 |
---|
74 | - applied new versioning policy, spec in utf-8 |
---|
75 | |
---|
76 | * Thu Aug 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1vl3 |
---|
77 | - rebuilt with new toolchain |
---|
78 | |
---|
79 | * Wed Aug 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1vl2 |
---|
80 | - changed Group to Applications/Games |
---|
81 | |
---|
82 | * Wed Feb 9 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> 1.0-1vl1 |
---|
83 | - initial build for Vine Linux |
---|
84 | - add icon and desktop |
---|