Author: lisu                         Date: Thu Nov 16 18:18:17 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial version

---- Files affected:
SPECS:
   pyspacewar.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pyspacewar.spec
diff -u /dev/null SPECS/pyspacewar.spec:1.1
--- /dev/null   Thu Nov 16 19:18:17 2006
+++ SPECS/pyspacewar.spec       Thu Nov 16 19:18:10 2006
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without psyco           # build without python-psyco
+#
+Summary:       Space game with gravity
+Summary(pl):   Kosmiczna gra z grawitacją
+Name:          pyspacewar
+Version:       0.9.2
+Release:       1
+License:       GPL v2+
+Group:         X11/Applications/Games
+Source0:       http://mg.pov.lt/pyspacewar/%{name}-%{version}.tar.gz
+# Source0-md5: e7e738bc28cb9609041cb65f731e67b2
+Source1:       %{name}.desktop
+URL:           http://mg.pov.lt/pyspacewar/
+BuildRequires: python-devel >= 2.3
+%{?with_psyco:BuildRequires:   python-psyco}
+BuildRequires: python-pygame-devel >= 1.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PySpaceWar is game inspired by Spacewar, Gravity Wars, and a bit by
+Star Control (I and II).
+
+Two ships duel in a gravity field. Gravity doesn't affect the ships
+themselves, but it affects missiles launched by the ships.
+
+%description -l pl
+PySpaceWar jest grą zainspirowaną przez Spacewar, Gravity Wars i
+częściowo również przez Star Control (I i II).
+
+Dwa statki walczą w polu grawitacyjnym. Grawitacja nie wpływa na
+statki, ale wpływa na pociski wystrzelone przez nie.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
+python setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT \
+       --install-data=%{_datadir} \
+       --install-lib=%{py_sitescriptdir} \
+       --install-scripts=%{_bindir}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install src/pyspacewar/images/%{name}-32x32.png 
$RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS.txt README.txt TODO.txt performance-notes.txt
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{py_sitescriptdir}/*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/11/16 18:18:10  lisu
+- initial version
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to