source: projects/specs/branches/6/d/daemonshogi/daemonshogi-vl.spec @ 5629

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

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

Line 
1Summary:        Daemonshogi is a GTK+ based, Simple shogi(japanese chess) program.
2Summary(ja):    GTK+ を使ったシンプルな将棋プログラム
3Name:           daemonshogi
4Version:        0.6.1
5Release:        1%{?_dist_release}
6License:        GPLv3
7Group:          Applications/Games
8URL:            http://daemonshogi.sourceforge.jp/
9Source0:        %{name}-%{version}.tar.gz
10Source1:        %{name}.png
11Source2:        %{name}.desktop
12Patch10:        %{name}-0.6.1-gtk.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  gtk2-devel >= 2.16.0
16BuildRequires:  desktop-file-utils
17BuildRequires:  tokyocabinet-devel
18BuildRequires:  cppunit-devel
19BuildRequires:  libboost-devel
20BuildRequires:  bzip2-devel
21Requires:       gtk2 >= 2.16.0
22Requires:       tokyocabinet
23Requires(post): gtk2 >= 2.16.0
24Requires(postun): gtk2 >= 2.16.0
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28
29%description
30Daemonshogi is a GTK+ based, Simple shogi(japanese chess) program.
31
32%description -l ja
33デーモン将棋は GTK+ を使ったシンプルな将棋プログラムです。
34
35%prep
36%setup -q
37%patch10 -p1
38
39%build
40#autoconf
41#RELCFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s -ldl" \
42./configure --prefix=%{_prefix}
43make %{?_smp_mflags} V=1
44
45%install
46rm -rf $RPM_BUILD_ROOT
47make DESTDIR=$RPM_BUILD_ROOT install
48
49# install desktop
50mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
51install -p -m644 %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
52desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %SOURCE2
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%posttrans
58update-desktop-database -q  &> /dev/null || :
59
60%postun
61if [ $1 -eq 0 ] ; then
62    update-desktop-database -q  &> /dev/null || :
63fi
64
65%files
66%defattr(-, root, root)
67%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README README.ja
68%{_bindir}/%{name}
69%{_localedir}/ja/LC_MESSAGES/%{name}*
70%{_datadir}/applications/%{name}.desktop
71%{_datadir}/%{name}/01.json
72%{_datadir}/%{name}/daemon.xpm
73%{_datadir}/%{name}/daemonshogi-book.bin
74%{_datadir}/%{name}/daemonshogi.gtkbuilder
75%{_datadir}/pixmaps/%{name}.png
76
77%changelog
78* Sun Feb 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.1-1
79- new upstream release
80- add BuildRequires: libboost-devel, bzip2-devel
81- replace Patch10 (daemonshogi-0.6.1-gtk.patch)
82
83* Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5-1
84- new upstream release
85- updated Patch10
86- used %%posttrans section instead of %%post
87
88* Wed Feb 10 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4-2
89- add Patch10 to honour CFLAGS environment variable
90  (and fix configure.in which doesn't care ppc* at all)
91
92* Sun Nov 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.4-1
93- updated daemonshogi to 0.4
94- dropt patch0: daemonshogi-0.3.conf.patch
95
96* Sun Oct 25 2009 Shu KONNO <owa@bg.wakwak.com> 0.3-1
97- updated daemonshogi to 0.3
98- changed lisence to GPL v3
99- dropt patch0: daemonshogi-vine31.patch
100- dropt patch1: daemonshogi-0.1.4-config.patch
101- added patch0: daemonshogi-0.3.conf.patch
102
103* Tue Jul 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.1.4-1vl5
104- applied new versioning policy and spec in utf-8
105
106* Tue Jan 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.1.4-0vl3
107- updated url
108- added %{name}.desktop
109- added daemonshogi-0.1.4-config.patch (for x86_64)
110
111* Sun Jul  1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.4-0vl2
112- rebuilt with new toolchain
113
114* Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.4-0vl1
115- updated to 0.1.4
116- changed Group to Applications/Games
117
118* Sun Jan 09 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.1.3-0vl2
119- Added BuildRequires and Patch0 for Vine Linux 3.1.
120
121* Fri Sep 20 2002 Masahiko Tokita <BQB04357@nifty.ne.jp>
122- 0.1.3-0vl1
123- update for Vine Linux
124
125* Thu Sep 13 2002 Masahiko Tokita <BQB04357@nifty.ne.jp>
126- Cleaned up a bit
127
128* Thu Sep 12 2002 Masahiko Tokita <BQB04357@nifty.ne.jp>
129- First try at an RPM
Note: See TracBrowser for help on using the repository browser.