[7728] | 1 | Name: bomber |
---|
| 2 | Summary: Arcade Bombing 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 | Bomber is a single player arcade game. The player is invading various cities in |
---|
| 26 | a plane that is decreasing in height. |
---|
| 27 | The goal of the game is to destroy all the buildings and advance to the next level. |
---|
| 28 | Each level gets a bit harder by increasing the speed of the plane and the height of |
---|
| 29 | the buildings. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | mkdir -p %{_target_platform} |
---|
| 37 | pushd %{_target_platform} |
---|
| 38 | %cmake \ |
---|
| 39 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 40 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 41 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 42 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 43 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 44 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 45 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 46 | .. |
---|
| 47 | popd |
---|
| 48 | |
---|
| 49 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
| 60 | %post |
---|
| 61 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 62 | |
---|
| 63 | %posttrans |
---|
| 64 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 65 | update-desktop-database -q &> /dev/null ||: |
---|
| 66 | |
---|
| 67 | %postun |
---|
| 68 | if [ $1 -eq 0 ] ; then |
---|
| 69 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null |
---|
| 70 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null |
---|
| 71 | update-desktop-database -q &> /dev/null ||: |
---|
| 72 | fi |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %files |
---|
| 76 | %defattr(-,root,root) |
---|
| 77 | %doc COPYING COPYING.DOC |
---|
| 78 | %{_bindir}/%{name} |
---|
| 79 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
| 80 | %{_datadir}/config.kcfg/%{name}.kcfg |
---|
| 81 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 82 | %{_datadir}/kde4/apps/%{name} |
---|
| 83 | %doc %{_docdir}/HTML/en/%{name}/ |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %changelog |
---|
[8430] | 87 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[8252] | 90 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[8056] | 93 | * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[7801] | 96 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[7728] | 99 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
| 100 | - initial build |
---|