Author: uzsolt                       Date: Wed Apr  6 08:46:22 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial
- doesn't build (I have no more time now)

---- Files affected:
packages/conquests:
   conquests.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/conquests/conquests.spec
diff -u /dev/null packages/conquests/conquests.spec:1.1
--- /dev/null   Wed Apr  6 10:46:22 2011
+++ packages/conquests/conquests.spec   Wed Apr  6 10:46:17 2011
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+Summary:       Turn based strategy game similar to Civilization
+Summary(hu.UTF-8):     Körökre osztott stratégiai játék, a Civilization-hoz 
hasonló
+Name:          conquests
+Version:       0.11
+Release:       0.1
+License:       GPL v2
+Group:         X11/Applications/Games/Strategy
+Source0:       http://homepage.ntlworld.com/mark.harman/%{name}_src.zip
+# Source0-md5: ca45310a13d91bf9ecfd077fb72132fe
+URL:           http://homepage.ntlworld.com/mark.harman/conquests.html
+Patch0:                makefile.patch
+BuildRequires: FreeImage-devel
+BuildRequires: Mesa-libGLU-devel
+BuildRequires: SDL-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: cg-devel
+BuildRequires: freetype-devel
+BuildRequires: lua51-devel
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Turn based strategy game similar to Civilization.
+
+
+%description -l hu.UTF-8
+Körökre osztott stratégiai játék, a Civilization-hoz hasonló.
+
+%prep
+%setup -q -n %{name}_src
+%patch0 -p1
+%{__sed} -i "s@lua5\.1/@@" conquests/game.h
+
+%build
+PACKS="lua51 freetype2 SDL_mixer"
+%{__make} -f makefile_conquests \
+       CC="%{__cc}" \
+       CCFLAGS="%{rpmcflags}" \
+       INC="`pkg-config --cflags $PACKS`" \
+       LIBS="`pkg-config --cflags $PACKS` -lfreeimage"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/04/06 08:46:17  uzsolt
+- initial
+- doesn't build (I have no more time now)
+
+Revision 1.7  2008/08/27 20:47:03  qboosh
+- tab
+
+Revision 1.6  2007/07/01 14:38:10  spider
+- added gpl3
+
+Revision 1.5  2007/02/12 22:09:17  glen
+- tabs in preamble
+
+Revision 1.4  2007/02/12 01:06:34  baggins
+- converted to UTF-8
+
+Revision 1.3  2006/12/26 22:35:56  qboosh
+- killed spaces at eol
+
+Revision 1.2  2006/03/09 11:16:26  qboosh
+- tabs
+
+Revision 1.1  2006/03/05 09:12:27  spider
+- for simple programs, which needs to work only, configure, make, make install
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to