[7728] | 1 | Name: kiriki |
---|
| 2 | Summary: Yahtzee-like Dice Game for KDE |
---|
[8430] | 3 | Version: 4.12.5 |
---|
[7728] | 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 | Kiriki is an addictive and fun dice game, designed to be played by as many as six players. |
---|
| 26 | Participants 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 |
---|
| 32 | mkdir -p %{_target_platform} |
---|
| 33 | pushd %{_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 | .. |
---|
| 43 | popd |
---|
| 44 | |
---|
| 45 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %post |
---|
| 57 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 58 | |
---|
| 59 | %posttrans |
---|
| 60 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 61 | update-desktop-database -q &> /dev/null ||: |
---|
| 62 | |
---|
| 63 | %postun |
---|
| 64 | if [ $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 ||: |
---|
| 68 | fi |
---|
| 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 |
---|
[8430] | 82 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
| 83 | - new upstream release |
---|
| 84 | |
---|
[8252] | 85 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
[8056] | 88 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[7801] | 91 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[7728] | 94 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
| 95 | - initial build |
---|