rpms/qemu/F-10 qemu.spec,1.43,1.44

Dennis Gilmore ausil at fedoraproject.org
Thu Jan 1 16:26:18 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/qemu/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31499

Modified Files:
	qemu.spec 
Log Message:
add sparc arch support



Index: qemu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qemu/F-10/qemu.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- qemu.spec	25 Jul 2008 14:39:15 -0000	1.43
+++ qemu.spec	1 Jan 2009 16:25:48 -0000	1.44
@@ -8,7 +8,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 0.9.1
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: Development/Tools
 URL: http://www.qemu.org/
@@ -20,13 +20,16 @@
 Patch4: qemu-%{version}-block-rw-range-check.patch
 # Upstream SVN changeset #4338
 Patch5: qemu-%{version}-pty-rawmode.patch
+Patch6: qemu-0.9.1-alpha-int.patch                                                                                
+Patch7: qemu-0.9.1-dirent.patch                                                                                   
+Patch8: qemu-0.9.1-sparc-configure.patch  
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: SDL-devel compat-gcc-%{gccver} zlib-devel which texi2html gnutls-devel
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service /sbin/chkconfig
 Requires(postun): /sbin/service
 Requires: %{name}-img = %{version}-%{release}
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparc armv4l
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 sparc64 armv4l
 
 %description
 QEMU is a generic and open source processor emulator which achieves a good
@@ -57,6 +60,9 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
 
 %build
 # FIXME: add --extra-cflags="$RPM_OPT_FLAGS" when we drop gcc34
@@ -64,7 +70,15 @@
     --prefix=%{_prefix} \
     --interp-prefix=%{_prefix}/qemu-%%M \
     --cc=gcc%{gccver} \
-    --enable-alsa \
+%ifnarch sparcv9
+     --enable-alsa \
+%endif
+%ifarch sparcv9
+    --sparc_cpu=v932 \
+%endif
+%ifarch sparc64
+    --sparc_cpu=v9 \
+%endif
     --extra-ldflags="-Wl,--build-id"
 make %{?_smp_mflags} VL_LDFLAGS="-Wl,--build-id"
 
@@ -145,6 +159,9 @@
 %{_mandir}/man1/qemu-img.1*
 
 %changelog
+* Wed Dec 31 2008 Dennis Gilmore <dennis at ausil.us> - 0.9.1-11
+- add sparcv9 and sparc64 support
+
 * Fri Jul 25 2008 Bill Nottingham <notting at redhat.com>
 - Fix qemu-img summary (#456344)
 




More information about the fedora-extras-commits mailing list