source: projects/specs/trunk/r/reverzi/reverzi-vl.spec @ 521

Revision 521, 2.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Yet Another Reversi
2Summary(ja): 更にもう一つのリバーシ
3Name: reverzi
4Version: 1.0
5Release: 2%{?_dist_release}
6Source0: %{name}-%{version}.tgz
7Source1: %{name}.desktop
8Source2: %{name}.png
9
10License: GPL
11Group: Applications/Games
12URL: http://sourceforge.net/projects/reverzi/
13
14BuildRequires: SDL-devel SDL_image-devel
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21Reverzi starts in 'menu' mode, where you can select the type of both players
22by clicking on the face icons at the bottom of the screen. Available types are:
23Human   - waits for your input
24Toaster - weak AI that responds immediately. Shouldn't be able to beat you.
25Emil    - basic AI. Reasonable strength and speed.
26Cyborg  - 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
37echo make start
38make PREFIX=%{_prefix} PREFIXBINARY=%{_bindir}
39echo make end
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44# bin install
45mkdir -p $RPM_BUILD_ROOT/%{_bindir}
46install -s -p %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name}
47
48# img install
49mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/img
50install -p img/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/img/
51
52# add desktop
53mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
54install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
55
56# add desktop icon
57mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
58install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%{name}.png
59
60%clean
61rm -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
Note: See TracBrowser for help on using the repository browser.