1 | Name: kigo |
---|
2 | Summary: Igo Game for KDE |
---|
3 | Version: 4.12.2 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | License: GPLv2 |
---|
7 | Group: Applications/Accessories |
---|
8 | URL: http://www.kde.org/applications/games/ |
---|
9 | |
---|
10 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: desktop-file-utils |
---|
15 | BuildRequires: kdelibs4-devel >= %{version} |
---|
16 | BuildRequires: libkdegames-devel >= %{version} |
---|
17 | |
---|
18 | Requires(posttrans,postun): desktop-file-utils |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: Takemikaduchi |
---|
23 | |
---|
24 | %description |
---|
25 | Kigo is an open-source implementation of the popular Go game. Go is a strategic |
---|
26 | board game for two players. It is also known as igo (Japanese), weiqi o wei ch'i (Chinese) |
---|
27 | or baduk (Korean). Go is noted for being rich in strategic complexity despite its simple |
---|
28 | rules. The game is played by two players who alternately place black and white stones |
---|
29 | (playing pieces, now usually made of glass or plastic) on the vacant intersections of a |
---|
30 | grid of 19x19 lines (9x9 or 13x13 for easier games). |
---|
31 | |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | |
---|
36 | %build |
---|
37 | mkdir -p %{_target_platform} |
---|
38 | pushd %{_target_platform} |
---|
39 | %cmake \ |
---|
40 | -DCMAKE_BUILD_TYPE=release \ |
---|
41 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
42 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
43 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
44 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
45 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
46 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
47 | .. |
---|
48 | popd |
---|
49 | |
---|
50 | make %{?_smp_mflags} -C %{_target_platform} |
---|
51 | |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
56 | |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | %post |
---|
62 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
63 | |
---|
64 | %posttrans |
---|
65 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
66 | update-desktop-database -q &> /dev/null ||: |
---|
67 | |
---|
68 | %postun |
---|
69 | if [ $1 -eq 0 ] ; then |
---|
70 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null |
---|
71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null |
---|
72 | update-desktop-database -q &> /dev/null ||: |
---|
73 | fi |
---|
74 | |
---|
75 | |
---|
76 | %files |
---|
77 | %defattr(-,root,root) |
---|
78 | %doc COPYING COPYING.DOC |
---|
79 | %{_bindir}/%{name} |
---|
80 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
81 | %{_datadir}/config.kcfg/%{name}.kcfg |
---|
82 | %{_datadir}/config/%{name}-games.knsrc |
---|
83 | %{_datadir}/config/%{name}.knsrc |
---|
84 | %{_datadir}/icons/hicolor/*/*/* |
---|
85 | %{_datadir}/kde4/apps/%{name} |
---|
86 | %doc %{_docdir}/HTML/en/%{name}/ |
---|
87 | |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
91 | - new upstream release |
---|
92 | |
---|
93 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
100 | - initial build |
---|