packages: XorCurses/XorCurses.spec - up to 0.0.8 - add -std=gnu99 to avoid ...

lisu lisu at pld-linux.org
Mon Sep 14 13:20:30 CEST 2009


Author: lisu                         Date: Mon Sep 14 11:20:30 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.0.8
- add -std=gnu99 to avoid errors

---- Files affected:
packages/XorCurses:
   XorCurses.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/XorCurses/XorCurses.spec
diff -u packages/XorCurses/XorCurses.spec:1.4 packages/XorCurses/XorCurses.spec:1.5
--- packages/XorCurses/XorCurses.spec:1.4	Thu Apr  2 13:26:27 2009
+++ packages/XorCurses/XorCurses.spec	Mon Sep 14 13:20:24 2009
@@ -2,13 +2,14 @@
 Summary:	A remake of Xor by Astral Software
 Summary(pl.UTF-8):	Remake gry Xor stworzonej przez Astral Software
 Name:		XorCurses
-Version:	0.0.7
+Version:	0.0.8
 Release:	1
 License:	GPL
 Group:		Applications/Games
 Source0:	http://www.jwm-art.net/art/archive/%{name}-%{version}.tar.bz2
-# Source0-md5:	d09540a4dc83a6a9498c20730fca84fa
+# Source0-md5:	4205a018fb6f12d9c19b39a53c58c645
 Patch0:		%{name}-Makefile.patch
+Patch1:		%{name}-loops.patch
 URL:		http://www.jwm-art.net/dark.php?p=XorCurses
 BuildRequires:	ncurses-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,11 +31,12 @@
 %prep
 %setup -q
 %patch0 -p1
+#%%patch1 -p1
 
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -I/usr/include/ncurses -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \
+	CFLAGS="%{rpmcflags} -std=gnu99 -I/usr/include/ncurses -DDATADIR=\\\"%{_datadir}/%{name}/\\\"" \
 	LDFLAGS="%{rpmldflags}"
 
 %install
@@ -48,7 +50,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES HACKING NEWS README TODO
+%doc CHANGES NEWS README TODO
 %attr(755,root,root) %{_bindir}/xorcurses
 %{_datadir}/%{name}
 
@@ -58,6 +60,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/09/14 11:20:24  lisu
+- up to 0.0.8
+- add -std=gnu99 to avoid errors
+
 Revision 1.4  2009/04/02 11:26:27  lisu
 - -I/usr/include/ncurses instead of seding files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/XorCurses/XorCurses.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list