rpms/gnubg/F-9 gnubg-0.9.0.1-disable_sse.patch, NONE, 1.1 gnubg.spec, 1.18, 1.19 sources, 1.4, 1.5

Jon Ciesla limb at fedoraproject.org
Mon Sep 8 13:25:42 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/gnubg/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3387

Modified Files:
	gnubg.spec sources 
Added Files:
	gnubg-0.9.0.1-disable_sse.patch 
Log Message:
New upstream.


gnubg-0.9.0.1-disable_sse.patch:

--- NEW FILE gnubg-0.9.0.1-disable_sse.patch ---
--- configure.in	2008-09-08 07:21:20.000000000 -0500
+++ configure.in	2008-09-08 07:21:20.000000000 -0500
@@ -234,15 +234,17 @@
 
 SSE_CFLAGS=''
 AC_ARG_ENABLE( sse, [  --enable-sse=TYPE  enable SSE for newer cpus(TYPE=yes,no,cputest, default cputest)], ssecpu=$enableval, ssecpu=cputest)
-if test "$ssecpu" != "no"; then
-        AC_DEFINE(USE_SSE_VECTORIZE,1,Define if you want to compile with SSE support)
-        if test "$ssecpu" = "yes"; then
-                AC_DEFINE(DISABLE_SSE_TEST, 1, Define if you want to disable the SSE cpu test)
-        fi
-        if test x"$GCC" = xyes; then
-                SSE_CFLAGS="-msse"
-        fi
-fi
+dnl if test "$ssecpu" != "no"; then
+dnl        AC_DEFINE(USE_SSE_VECTORIZE,1,Define if you want to compile with SSE support)
+dnl        if test "$ssecpu" = "yes"; then
+dnl                AC_DEFINE(DISABLE_SSE_TEST, 1, Define if you want to disable the SSE cpu test)
+dnl        fi
+dnl        if test x"$GCC" = xyes; then
+dnl                SSE_CFLAGS="-msse"
+dnl        fi
+dnlfi
+AC_DEFINE(USE_SSE_VECTORIZE,0,DisableSSE)
+AC_DEFINE(DISABLE_SSE_TEST,1,DisableSSE)
 
 AC_SUBST(SSE_CFLAGS)
 


Index: gnubg.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnubg/F-9/gnubg.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gnubg.spec	9 Feb 2008 04:37:37 -0000	1.18
+++ gnubg.spec	8 Sep 2008 13:25:11 -0000	1.19
@@ -2,12 +2,14 @@
 License:       GPLv2
 Group:         Amusements/Games
 Summary:       A backgammon game and analyser
-Version:       20061119
-Release:       14%{?dist}
-Source0:       http://www.gnubg.org/media/sources/%{name}-source-MAIN-%{version}.tar.gz
+Epoch:         1
+Version:       0.9.0.1
+Release:       1%{?dist}
+Source0:       http://gnubg.org/media/sources/gnubg-0.9.0-1.tar.gz
 Source1:       gnubg.weights
 Source2:       gnubg.desktop
 Source3:       gnubg.png
+Patch0:        gnubg-0.9.0.1-disable_sse.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n ) 
 URL:           http://www.gnubg.org
 BuildRequires: gtk2-devel
@@ -51,8 +53,12 @@
 %prep
 %setup -qn %{name}
 # convert man page from ISO-8859-1 to UTF8
-/usr/bin/iconv -f ISO-8859-1 -t UTF8 gnubg.6 > gnubg.6.tmp 
-/bin/mv gnubg.6.tmp gnubg.6
+#/usr/bin/iconv -f ISO-8859-1 -t UTF8 gnubg.6 > gnubg.6.tmp 
+#/bin/mv gnubg.6.tmp gnubg.6
+/usr/bin/iconv -f ISO-8859-1 -t UTF8 ChangeLog > ChangeLog.tmp 
+/bin/mv ChangeLog.tmp ChangeLog
+
+%patch0 -p0
 
 # running autogen, sources are nightly CVS tarballs not
 # containing configure
@@ -61,9 +67,9 @@
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
 %configure --with-python \
-	--without-gdbm \
-	--without-guile \
-	--without-timecontrol
+        --without-gdbm \
+        --without-guile \
+        --without-timecontrol
 make
 
 %install
@@ -118,12 +124,13 @@
 %{_bindir}/gnubg
 %{_bindir}/makebearoff
 %{_bindir}/makehyper
-%{_infodir}/gnubg.info.gz
+%{_bindir}/makeweights
+#%{_infodir}/gnubg.info.gz
 %dir %{_datadir}/gnubg
 %{_datadir}/gnubg/met
 %{_datadir}/gnubg/doc
 %{_datadir}/gnubg/boards.xml
-%{_datadir}/gnubg/gnubg.game.sql
+#%{_datadir}/gnubg/gnubg.game.sql
 #%{_datadir}/gnubg/gnubg.gtkrc
 %{_datadir}/gnubg/gnubg_os0.bd
 %{_datadir}/gnubg/gnubg.weights
@@ -139,8 +146,14 @@
 %{_datadir}/gnubg/gnubg.wd
 %{_datadir}/gnubg/scripts/
 %{_datadir}/gnubg/flags/
+%{_datadir}/gnubg/gnubg.png
+%{_datadir}/gnubg/gnubg.sql
+%{_datadir}/gnubg/gnubg.svg
+%{_datadir}/gnubg/gnubg_ts0.bd
 
 %changelog
+* Fri Sep 05 2008 Jon Ciesla <limb at jcomserv.net> - 1:0.9.0.1-1
+- Update to latest version, BZ 461281.
 * Fri Feb 08 2008 Jon Ciesla <limb at jcomserv.net> - 20061119-14
 - GCC 4.3 rebuild.
 * Thu Aug 16 2007 Jon Ciesla <limb at jcomserv.net> - 20061119-13


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnubg/F-9/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	13 Feb 2007 20:13:45 -0000	1.4
+++ sources	8 Sep 2008 13:25:11 -0000	1.5
@@ -1 +1 @@
-e326528df95bdb68345c435d8df141a2  gnubg-source-MAIN-20061119.tar.gz
+5ede44ec371a0a6501751126f73ae662  gnubg-0.9.0-1.tar.gz




More information about the fedora-extras-commits mailing list