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

Revision 1024, 4.1 KB checked in by owa, 14 years ago (diff)

rebuilt pkgs about chess

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