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

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

rebuild with gcc-5.4.0

Line 
1Name: kiriki
2Summary: Yahtzee-like Dice 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
25Kiriki is an addictive and fun dice game, designed to be played by as many as six players.
26Participants have to collect points by rolling five dice for up to three times per single turn.
27
28%prep
29%setup -q
30
31%build
32mkdir -p %{_target_platform}
33pushd %{_target_platform}
34%cmake \
35    -DCMAKE_BUILD_TYPE=release \
36    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
37    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
38    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
39    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
40    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
41    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
42    ..
43popd
44
45make %{?_smp_mflags} -C %{_target_platform}
46
47
48%install
49rm -rf $RPM_BUILD_ROOT
50make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
51
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%post
57touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
58
59%posttrans
60gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
61update-desktop-database -q &> /dev/null ||:
62
63%postun
64if [ $1 -eq 0 ] ; then
65    touch --no-create %{_datadir}/icons/hicolor &> /dev/null
66    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
67        update-desktop-database -q &> /dev/null ||:
68fi
69
70
71%files
72%defattr(-,root,root)
73%doc COPYING COPYING.DOC
74%{_bindir}/%{name}
75%{_datadir}/applications/kde4/%{name}.desktop
76%{_datadir}/icons/hicolor/*/*/*
77%{_datadir}/kde4/apps/%{name}
78%doc %{_docdir}/HTML/en/%{name}/
79
80
81%changelog
82* Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
83- rebuild with gcc-5.4.0
84
85* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
86- new upstream release
87
88* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
89- new upstream release
90
91* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
92- new upstream release
93
94* Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
95- new upstream release
96
97* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
98- new upstream release
99
100* Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
101- initial build
Note: See TracBrowser for help on using the repository browser.