source: projects/specs/trunk/k/kigo/kigo-vl.spec @ 10564

Revision 10564, 2.9 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: kigo
2Summary: Igo Game for KDE
3Version: 4.14.3
4Release: 2%{?_dist_release}
5
6License: GPLv2
7Group: Applications/Games
8URL: http://www.kde.org/applications/games/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: desktop-file-utils
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: libkdegames-devel >= %{version}
17
18Requires(posttrans,postun): desktop-file-utils
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: Takemikaduchi
23
24%description
25Kigo is an open-source implementation of the popular Go game. Go is a strategic
26board game for two players. It is also known as igo (Japanese), weiqi o wei ch'i (Chinese)
27or baduk (Korean). Go is noted for being rich in strategic complexity despite its simple
28rules. 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
30grid of 19x19 lines (9x9 or 13x13 for easier games).
31
32
33%prep
34%setup -q
35
36%build
37mkdir -p %{_target_platform}
38pushd %{_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    ..
48popd
49
50make %{?_smp_mflags} -C %{_target_platform}
51
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
56
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post
62touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
63
64%posttrans
65gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
66update-desktop-database -q &> /dev/null ||:
67
68%postun
69if [ $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 ||:
73fi
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* Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
91- rebuild with gcc-5.4.0
92
93* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
94- new upstream release
95
96* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
97- new upstream release
98
99* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
100- new upstream release
101
102* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
103- new upstream release
104
105* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
106- new upstream release
107
108* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
109- initial build
Note: See TracBrowser for help on using the repository browser.