SPECS: War3D.spec (NEW) - NEW; realy nice strategy game - like Sta...
sparky
sparky at pld-linux.org
Sun Sep 11 03:18:14 CEST 2005
Author: sparky Date: Sun Sep 11 01:18:14 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- NEW; realy nice strategy game - like Starcraft but in 3D
- Warning1: license is GPL with some additions, one of them says:
precompiled binary can NOT be distributed without source (I have to
ask them does the source have to be in same file as binary)
- Warning2: everything is in Spanish, even source and directory stucture
---- Files affected:
SPECS:
War3D.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/War3D.spec
diff -u /dev/null SPECS/War3D.spec:1.1
--- /dev/null Sun Sep 11 03:18:14 2005
+++ SPECS/War3D.spec Sun Sep 11 03:18:09 2005
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+Summary: War3D - strategy game
+Name: War3D
+Version: 0.08.90
+%define _snap 20050909
+Release: 0.1
+License: GPL
+Group: Applications/Games
+Source0: http://sparky.homelinux.org/snaps/war3d/%{name}Source-%{_snap}.tar.gz
+# Source0-md5: cc5441a384e64dd0a8412403170477d0
+Source1: %{name}.sh
+Source2: %{name}.desktop
+Patch0: %{name}-homeconfig.patch
+URL: http://war3d.solar-opensource.com/
+BuildRequires: OpenAL-devel
+BuildRequires: SolarSockets-devel
+BuildRequires: glut-devel
+BuildRequires: libpng-devel
+BuildRequires: libstdc++-devel
+# only because of SolarSockets:
+ExclusiveArch: %{ix86} %{x8664}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A 3D strategy game.
+
+Warning: this game is not internacionalized, everything is in Spanish.
+
+%prep
+%setup -q -n %{name}Source
+%patch0 -p1
+sed -i 's/IRCClienteSocket.getIP()/MiIP/' IRCcomunicaciones.h
+
+%build
+%{__make} \
+ CC="%{__cxx}" \
+ CFLAGS="%{rpmcflags} -funsigned-char -c -ansi -I. -Wall" \
+ LFLAGS="%{rpmldflags} -lglut -lsolarsockets -lopenal -lpng"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{_desktopdir}}
+
+install war3d $RPM_BUILD_ROOT%{_bindir}/war3d.bin
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/war3d
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
+
+cp -r Armys Edificios Efectos Esenarios Hud Interface \
+ Mapas Musica Objetos UnidadesDeCombate \
+ War3D.conf \
+ $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_bindir}/war3d*
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+
+%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 2005/09/11 01:18:09 sparky
+- NEW; realy nice strategy game - like Starcraft but in 3D
+- Warning1: license is GPL with some additions, one of them says:
+ precompiled binary can NOT be distributed without source (I have to
+ ask them does the source have to be in same file as binary)
+- Warning2: everything is in Spanish, even source and directory stucture
+
================================================================
More information about the pld-cvs-commit
mailing list