SPECS: snowballz.spec (NEW) - initial, but works perfectly
cactus
cactus at pld-linux.org
Sat May 26 20:33:52 CEST 2007
Author: cactus Date: Sat May 26 18:33:52 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, but works perfectly
---- Files affected:
SPECS:
snowballz.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/snowballz.spec
diff -u /dev/null SPECS/snowballz.spec:1.1
--- /dev/null Sat May 26 20:33:52 2007
+++ SPECS/snowballz.spec Sat May 26 20:33:47 2007
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - icon
+# - polish desc
+#
+Summary: The fun, free snowballing computer game.
+Summary(pl.UTF-8): Zabawna, darmowa gra komputerowa w snieżki.
+Name: snowballz
+Version: 0.9.1
+Release: 0.1
+License: GPL v2
+Group: X11/Applications/Games
+Source0: http://joey101.net/snowballz/%{name}-%{version}.tar.gz
+# Source0-md5: 9b8fe55fb21e398a43694e3717312adf
+# Source 1: %{name}.desktop
+URL: http://joey101.net/snowballz/
+Requires: python-pygame
+Requires: python-PIL
+Requires: python-Numeric
+Requires: python-PyOpenGL
+Requires: python-GooeyPy
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Take command of your army of penguins as you blaze your path to victory!
+March through snow laden forests to conqueror new frontears and grow your small army.
+Ambush enemy lines with blasts of freezing snowballs.
+But don't neglect your home, invaders are just over the next snow drift!
+Gather fish for your cold penguins to munch on as they warm up in your cozy igloo.
+It's a snowy world you don't want to miss!
+
+Snowballz is packed with adventure and fun yearning to be discovered.
+Grab your free copy now and play by yourself or duel it out with your friends.
+Well, what are you waiting for?
+
+#%description -l pl.UTF-8
+
+
+%prep
+%setup -q -n %{name}-0.9
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir}}
+
+cat <<'EOF' >$RPM_BUILD_ROOT%{_bindir}/snowballz.sh
+#!/bin/sh
+cd %{_datadir}/snowballz
+exec python snowballz.pyc $@
+EOF
+
+cp -fr buildings $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr data $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr maps $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -fr plugins $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -f *.py $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE README*
+%{_datadir}/%{name}
+#%{_desktopdir}/%{name}.desktop
+#%{_pixmapsdir}/%{name}.png
+%attr(755,root,root) %{_bindir}/snowballz.sh
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/05/26 18:33:47 cactus
+- initial, but works perfectly
+
================================================================
More information about the pld-cvs-commit
mailing list