source: projects/specs/trunk/e/eboard/eboard-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: A chess board interface for ICS and engines
2Summary(ja): ICS (Internet Chess Servers) と思考エンジンに対応のチェスボード。
3Name: eboard
4Version: 1.0.4
5Release: 1%{?_dist_release}
6License: GPL
7Group: Applications/Games
8Source: http://prdownloads.sourceforge.net/eboard/eboard-%{version}.tar.bz2
9Patch: eboard-0.9.5jp.patch
10URL: http://www.bergo.eng.br/eboard/
11Buildroot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: gtk2-devel, libpng-devel
13Vendor: Project Vine
14Distribution: Vine Linux
15Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp>
16
17%define _sysconfdir /etc
18
19%description
20eboard is a GTK+ chess board interface for ICS (Internet
21Chess Servers) and chess engines (GNU Chess, Crafty, etc.).
22It also displays games in PGN (Portable Game Notation)
23format.
24
25%description -l ja
26eboard は、ICS (Internet Chess Servers) や チェスエンジン (GNU Chess や Crafty
27など)に対応した、GTK+ を使ったチェスボードのインターフェースです。ネットワーク
28による人間同士の対戦や、コンピュータとの対戦を楽しむことができます。
29PGN (Portable Game Notation) フォーマットのゲームを表示することもできます。
30
31%prep
32%setup -q
33#patch -p1
34
35%build
36%configure --man-prefix=%{_mandir}
37make
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42make bindir=${RPM_BUILD_ROOT}%{_bindir} mandir=${RPM_BUILD_ROOT}%{_mandir} datadir=${RPM_BUILD_ROOT}%{_datadir}/eboard install
43
44chmod 644 ${RPM_BUILD_ROOT}%{_mandir}/*/*
45install gnupiece.xpm ${RPM_BUILD_ROOT}%{_datadir}/eboard/
46
47# Desktop file
48mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
49
50pushd ${RPM_BUILD_ROOT}%{_datadir}/applications
51#cat << EOF > eboard.desktop.euc
52cat << EOF > eboard.desktop
53[Desktop Entry]
54Name=eboard
55Comment=A chess board interface
56Comment[ja]=チェスボードのインタフェース
57Exec=eboard
58Icon=/usr/share/eboard/gnupiece.xpm
59Type=Application
60Categories=GNOME;Application;Game;
61EOF
62#iconv -f EUC-JP -t UTF-8 -o eboard.desktop eboard.desktop.euc
63#rm -f eboard.desktop.euc
64popd
65
66desktop-file-install --delete-original --vendor= \
67  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
68  ${RPM_BUILD_ROOT}%{_datadir}/applications/*
69
70%clean
71rm -rf ${RPM_BUILD_ROOT}
72
73%files
74%defattr(-,root,root)
75%doc ChangeLog COPYING INSTALL README TODO
76%doc Documentation/Crafty.txt Documentation/FICS-Timeseal.txt
77%doc Documentation/GNUChess4.txt Documentation/GNUChess5.txt
78%doc Documentation/Scripts.txt Documentation/Sjeng.txt Documentation/Themes.txt
79%{_bindir}/eboard
80%{_bindir}/eboard-config
81%{_bindir}/eboard-addtheme
82%{_mandir}/man1/eboard-config.1*
83%{_mandir}/man1/eboard-addtheme.1*
84%{_mandir}/man6/eboard.6*
85%{_datadir}/eboard/classic.png
86%{_datadir}/eboard/ghouls.png
87%{_datadir}/eboard/plastic.png
88%{_datadir}/eboard/eboard_themes.conf
89%{_datadir}/eboard/NAG.en.txt
90%{_datadir}/eboard/eboard.*.dict
91%{_datadir}/eboard/gnupiece.xpm
92%{_datadir}/applications/eboard.desktop
93
94%changelog
95* Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.4-1vl5
96- applied new versioning policy, spec in utf-8
97- reverted script to make eboard.desktop
98
99* Sat Aug 25 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.4-0vl2
100- changed euic-jp string to utf-8 codes in script eboard.desktop
101
102* Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-0vl1
103- new upstream release
104- updated URL
105
106* Mon Sep 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.5-1vl4
107- changed Group to Applications/Games
108
109* Sun Aug 15 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl3
110- Added BuildRequires.
111- Modified Requires (libstdc++3).
112- Modified the install way of eboard.desktop.
113- Rebuild for Vine Linux 3.0
114
115* Fri Jul 23 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl2
116- Removed duplicated configure.
117- Modified %%install and %%files.
118
119* Fri Feb 13 2004 by IKEDA Katsumi  <ikeda@webmasters.gr.jp>
120- 0.9.5-1vl1
121- Modified Group, Source, Buildroot, %build, %install and %files.
122- Add Patch, %Summary(ja) and %description -l ja.
123- Remove %define ver, rel and prefix.
124
125* Fri May 25 2001 Felipe Bergo <bergo@seul.org>
126- built from the gPS spec
Note: See TracBrowser for help on using the repository browser.