From cf2365e722ec769ed6656231d21294edea4e4fce Mon Sep 17 00:00:00 2001 From: lisu Date: Wed, 1 Jul 2009 13:01:32 +0000 Subject: [PATCH] - initial PLD release Changed files: blobAndConquer.spec -> 1.1 --- blobAndConquer.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 blobAndConquer.spec diff --git a/blobAndConquer.spec b/blobAndConquer.spec new file mode 100644 index 0000000..f1c7681 --- /dev/null +++ b/blobAndConquer.spec @@ -0,0 +1,59 @@ +Summary: 3D action game +Summary(pl.UTF-8): Trójwymiarowa gra akcji +Name: blobAndConquer +Version: 1.06 +Release: 1 +License: GPL v2+ +Group: X11/Applications/Games +# download it from http://www.parallelrealities.co.uk/projects/blobAndConquer.php +# and put it into the blobAndConquer dir +Source0: %{name}-%{version}-1.tar.gz +# Source0-md5: 17e3dd5b42142dddbc0af85fb7470d8a +Patch0: %{name}-makefile.patch +URL: http://www.parallelrealities.co.uk/projects/blobAndConquer.php +BuildRequires: OpenGL-GLU-devel +BuildRequires: OpenGL-devel +BuildRequires: SDL_image-devel +BuildRequires: SDL_mixer-devel +BuildRequires: SDL_ttf-devel +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Mission and Objective based 3D Action game. This is episode 2 of the +Blob Wars saga. + +%description -l pl.UTF-8 +Trójwymiarowa gra akcji oparta na wykonywaniu misji i zadań. Jest to +drugi epizod sagi Blob Wars. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__make} \ + CXX="%{__cxx}" \ + CFLAGS="%{rpmcflags}" \ + LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_pixmapsdir} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install icons/blobAndConquer.png $RPM_BUILD_ROOT%{_pixmapsdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc doc +%attr(755,root,root) %{_bindir}/* +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/blobAndConquer.pak +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.png -- 2.44.0