SPECS: wrogue.spec - up to 0.8.0 - change build workaround - more ...

lisu lisu at pld-linux.org
Fri Jan 18 01:54:27 CET 2008


Author: lisu                         Date: Fri Jan 18 00:54:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.8.0
- change build workaround
- more docs

---- Files affected:
SPECS:
   wrogue.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/wrogue.spec
diff -u SPECS/wrogue.spec:1.6 SPECS/wrogue.spec:1.7
--- SPECS/wrogue.spec:1.6	Thu Nov  1 18:55:13 2007
+++ SPECS/wrogue.spec	Fri Jan 18 01:54:21 2008
@@ -2,12 +2,12 @@
 Summary:	A gothic fantasy roguelike game
 Summary(pl.UTF-8):	Gotycka gra fantasy typu rogue
 Name:		wrogue
-Version:	0.7.7b
+Version:	0.8.0
 Release:	1
-License:	GPL v2+
+License:	GPL v3+
 Group:		Applications/Games
 Source0:	http://dl.sourceforge.net/todoom/%{name}-%{version}.tar.bz2
-# Source0-md5:	928d1e7bcf4531f15b7473d9e29d0544
+# Source0-md5:	c03ac3b590ec668a84965007d08126a9
 Source1:	%{name}.desktop
 Source2:	%{name}.xpm
 Patch0:		%{name}-makefile.patch
@@ -27,15 +27,14 @@
 %prep
 %setup -q
 %patch0 -p1
-%{__sed} -i 's at ./data@%{_datadir}/%{name}/data@' src/platform/unix/pl_unix.c
+%{__sed} -i 's at ./data@%{_datadir}/%{name}/data@' src/platform/unix/platform_unix.c
 
 %build
 cd src/
 %{__make} -f unix.mak \
 	CC="%{__cc}" \
-	OPTFLAGS="%{rpmcflags}" \
-	LDFLAGS="%{rpmldflags} `sdl-config --libs`" \
-	MAKECMDGOALS="release"
+	CFLAGS="%{rpmcflags} -I. -I./lib `sdl-config --cflags`" \
+	LDFLAGS="%{rpmldflags} `sdl-config --libs`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,7 +50,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc changes.txt
+%doc changes.txt scenario_guide.txt
 %attr(755,root,root) %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
@@ -63,6 +62,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-01-18 00:54:21  lisu
+- up to 0.8.0
+- change build workaround
+- more docs
+
 Revision 1.6  2007-11-01 17:55:13  lisu
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wrogue.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list