[bomber] import

Rex Dieter rdieter at fedoraproject.org
Thu Feb 14 16:02:59 UTC 2013


commit 8bd2f0c12055a7cd39d39e61d20d0dc529c707ef
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Feb 14 10:02:39 2013 -0600

    import

 .gitignore  |    1 +
 bomber.spec |   84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..733d709 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bomber-4.10.0.tar.xz
diff --git a/bomber.spec b/bomber.spec
new file mode 100644
index 0000000..0b42fe6
--- /dev/null
+++ b/bomber.spec
@@ -0,0 +1,84 @@
+
+Name:    bomber
+Summary: Arcade bombing game
+Version: 4.10.0
+Release: 3%{?dist}
+
+# code LGPLv2+, docs GFDL
+License: LGPLv2+ and GFDL
+URL:     https://projects.kde.org/projects/kde/kdegames/%{name}
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+BuildRequires: libkdegames-devel >= %{version}
+
+Requires: libkdegames%{?_isa} >= %{_kde4_version}
+
+%description
+Bomber is a single player arcade game. The player is invading various
+cities in a plane that is decreasing in height. The goal of the game is
+to destroy all the buildings and advance to the next level. Each level
+gets a harder by increasing the speed of the plane and the height of the
+buildings.
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --with-kde
+
+
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
+
+
+%post
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%files -f %{name}.lang
+%doc COPYING* README*
+%{_kde4_bindir}/%{name}
+%{_kde4_datadir}/applications/kde4/%{name}.desktop
+%{_kde4_configdir}.kcfg/%{name}.kcfg
+%{_kde4_iconsdir}/hicolor/*/*/*
+%{_kde4_appsdir}/%{name}/
+
+%changelog
+* Wed Feb 13 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-3
+- update %%description
+
+* Wed Feb 13 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-2
+- update summary/description
+- fix License
+
+* Thu Feb 07 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-1
+- first try
+
diff --git a/sources b/sources
index e69de29..0771e4d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7a55f6c2e80a75addf756e3850e1e160  bomber-4.10.0.tar.xz


More information about the scm-commits mailing list