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

Revision 10570, 4.6 KB checked in by Takemikaduchi, 7 years ago (diff)

rebuild with gcc-5.4.0

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