SPECS: maxfighter.spec (NEW) - initial PLD release

gotar gotar at pld-linux.org
Sun May 20 15:32:05 CEST 2007


Author: gotar                        Date: Sun May 20 13:32:05 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/maxfighter.spec
diff -u /dev/null SPECS/maxfighter.spec:1.1
--- /dev/null	Sun May 20 15:32:05 2007
+++ SPECS/maxfighter.spec	Sun May 20 15:32:00 2007
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	Max Fighter vertical shoot'em up
+Summary(pl.UTF-8):	Strzelanka kosmiczna Max Fighter
+Name:		maxfighter
+Version:	1.0
+Release:	1
+License:	GPL, Creative Commons NCSA 2.5
+Group:		X11/Applications/Games
+Source0:	http://source.musgit.com/files/%{name}_%{version}.tar.bz2
+# Source0-md5:	3e9e62d3a3c81a55f910db028ff82809
+Patch0:		%{name}-scons.patch
+URL:		http://maxfighter.musgit.com/
+BuildRequires:	OpenAL-devel
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	SDL_image-devel
+BuildRequires:	expat-devel
+BuildRequires:	libpng-devel
+BuildRequires:	libvorbis-devel
+BuildRequires:	mysdl
+BuildRequires:	scons
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{name}_%{version}
+%patch0 -p1
+
+%build
+sed -i "/RESOURCEDIR/s|resources/|/usr/share/games/%{name}/|" SConstruct
+%{__scons} \
+	%{!?debug:dist=1} \
+	CXXFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/games/%{name},/var/games/%{name}}
+
+install build/linux/%{name} $RPM_BUILD_ROOT%{_bindir}
+cp -r resources/* $RPM_BUILD_ROOT%{_datadir}/games/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%attr(2755,root,games) %{_bindir}/%{name}
+%{_datadir}/games/%{name}
+%attr(770,root,games) %dir /var/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  2007/05/20 13:32:00  gotar
+- initial PLD release
================================================================


More information about the pld-cvs-commit mailing list