SPECS: psypong3d.spec (NEW) - new
adamg
adamg at pld-linux.org
Sun Jan 11 16:38:33 CET 2009
Author: adamg Date: Sun Jan 11 15:38:33 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
psypong3d.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/psypong3d.spec
diff -u /dev/null SPECS/psypong3d.spec:1.1
--- /dev/null Sun Jan 11 16:38:33 2009
+++ SPECS/psypong3d.spec Sun Jan 11 16:38:28 2009
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary: 3d pong clone game
+Summary(pl.UTF-8): trójwymiarowa wersja gry pong
+Name: psypong3d
+Version: 0.9
+Release: 1
+License: GPL v3
+Group: X11/Applications/Games
+Source0: http://dl.sourceforge.net/psypong3d/%{name}-%{version}.tar.bz2
+# Source0-md5: c0f5891a306dbcfed07e2e513a854362
+Source1: %{name}.desktop
+Patch0: %{name}-paths.patch
+URL: http://psypong3d.sourceforge.net/
+BuildRequires: OpenGL-GLU-devel
+BuildRequires: OpenGL-devel
+BuildRequires: OpenGL-glut-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PSY PONG 3D, is a three dimensional Pong clone made in C, using
+OpenGL/GLUT.
+
+%description -l pl.UTF-8
+PSY PONG 3D to trójwymiarowy klon gry Pong napisany w C z
+wykorzystaniem OpenGL/GLUT.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} -C src \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_datadir}/games/%{name}/textures}
+
+install src/pp3d $RPM_BUILD_ROOT%{_bindir}/%{name}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install src/textures/* $RPM_BUILD_ROOT%{_datadir}/games/%{name}/textures
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_datadir}/games/%{name}
+
+%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 2009/01/11 15:38:28 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list