source: projects/specs/branches/6/e/eboard/eboard-vl.spec @ 5629

Revision 5629, 4.3 KB checked in by Takemikaduchi, 12 years ago (diff)

daemonshogi, ebook-tools: new upstream release
others: rebuild

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