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