[7728] | 1 | Name: palapeli |
---|
| 2 | Summary: Jigsaw puzzle game for KDE |
---|
[9222] | 3 | Version: 4.14.3 |
---|
[7728] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | License: GPLv2 |
---|
[9222] | 7 | Group: Applications/Games |
---|
[7728] | 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 | Requires(post,postun): shared-mime-info |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: Takemikaduchi |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | Palapeli is a single-player jigsaw puzzle game. Unlike other games in that genre, |
---|
| 27 | you are not limited to aligning pieces on imaginary grids. The pieces are freely |
---|
| 28 | moveable. Also, Palapeli features real persistency, i.e. everything you do is saved |
---|
| 29 | on your disk immediately. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: Development files for %{name} |
---|
| 34 | Summary(ja): %{name} の開発用ファイル |
---|
| 35 | Group: Development/Libraries |
---|
| 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | Requires: kdelibs-devel |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | %{summary}. |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | mkdir -p %{_target_platform} |
---|
| 48 | pushd %{_target_platform} |
---|
| 49 | %cmake \ |
---|
| 50 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 51 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 52 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 53 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 54 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 55 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 56 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 57 | .. |
---|
| 58 | popd |
---|
| 59 | |
---|
| 60 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %install |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -rf $RPM_BUILD_ROOT |
---|
| 69 | |
---|
| 70 | %post |
---|
| 71 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 72 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
| 73 | |
---|
| 74 | %posttrans |
---|
| 75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 76 | update-desktop-database -q &> /dev/null ||: |
---|
| 77 | |
---|
| 78 | %postun |
---|
| 79 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
| 80 | if [ $1 -eq 0 ] ; then |
---|
| 81 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 82 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 83 | update-desktop-database -q &> /dev/null ||: |
---|
| 84 | fi |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %files |
---|
| 88 | %defattr(-,root,root) |
---|
| 89 | %doc COPYING COPYING.DOC |
---|
| 90 | %{_bindir}/%{name} |
---|
| 91 | %{_libdir}/libpala.so.* |
---|
| 92 | %{_libdir}/kde4/*.so |
---|
| 93 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
| 94 | %{_datadir}/config/palapeli-collectionrc |
---|
| 95 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 96 | %{_datadir}/kde4/apps/%{name} |
---|
| 97 | %{_datadir}/kde4/services/*.desktop |
---|
| 98 | %{_datadir}/kde4/services/ServiceMenus/palapeli_servicemenu.desktop |
---|
| 99 | %{_datadir}/kde4/servicetypes/libpala-slicerplugin.desktop |
---|
| 100 | %{_datadir}/mime/packages/palapeli-mimetypes.xml |
---|
| 101 | %doc %{_docdir}/HTML/en/%{name}/ |
---|
| 102 | |
---|
| 103 | %files devel |
---|
| 104 | %defattr(-,root,root) |
---|
| 105 | %{_includedir}/kde4/Pala |
---|
| 106 | %{_includedir}/kde4/libpala |
---|
| 107 | %{_libdir}/libpala.so |
---|
| 108 | %{_libdir}/libpala/*.cmake |
---|
| 109 | |
---|
| 110 | %changelog |
---|
[9222] | 111 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[8430] | 114 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[8252] | 117 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[8056] | 120 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[7801] | 123 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[7728] | 126 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
| 127 | - initial build |
---|