SPECS: alienblaster.spec (NEW) - initial release
lisu
lisu at pld-linux.org
Fri Aug 3 07:45:38 CEST 2007
Author: lisu Date: Fri Aug 3 05:45:38 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial release
---- Files affected:
SPECS:
alienblaster.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/alienblaster.spec
diff -u /dev/null SPECS/alienblaster.spec:1.1
--- /dev/null Fri Aug 3 07:45:38 2007
+++ SPECS/alienblaster.spec Fri Aug 3 07:45:33 2007
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary: Shooting arcade game
+Summary(pl.UTF-8): Zręcznościowa strzelanka
+Name: alienblaster
+Version: 1.1.0
+Release: 1
+License: GPL v2+
+Group: X11/Applications/Games
+Source0: http://www.informatik.uni-bremen.de/~schwardt/alienblaster/%{name}-%{version}.tgz
+# Source0-md5: 27412a868f7d4ae0949036aeb29a6691
+Patch0: %{name}-Makefile.patch
+URL: http://www.schwardtnet.de/alienblaster/
+BuildRequires: SDL-devel >= 1.2.7
+BuildRequires: SDL_mixer >= 1.2.5
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The game goal is to stop the invasion of the aliens and blast them.
+
+%description -l pl.UTF-8
+Celem gry jest powstrzymanie inwazji obcych i znieszczenie ich.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+%{__sed} -i 's at images@%{_datadir}/%{name}/images@' cfg/{level1.cfg,level2.cfg}
+%{__sed} -i 's at .//@/@' cfg/{level1.cfg,level2.cfg}
+%{__sed} -i 's at ./images@%{_datadir}/%{name}/images@' src/{global.cc,global.h}
+%{__sed} -i 's at ./sound@%{_datadir}/%{name}/sound@' src/global.h
+%{__sed} -i 's at ./cfg@%{_datadir}/%{name}/cfg@' src/global.h
+
+%build
+%{__make} \
+ COMPILER="%{__cxx}" \
+ CXXFLAGS="%{rpmcxxflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+
+cp alienBlaster $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -r {images,sound,cfg} $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGELOG
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{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/08/03 05:45:33 lisu
+- initial release
+
================================================================
More information about the pld-cvs-commit
mailing list