rpms/zynaddsubfx/devel zynaddsubfx.spec,1.2,1.3

Anthony Green (green) fedora-extras-commits at redhat.com
Sat Sep 2 05:23:17 UTC 2006


Author: green

Update of /cvs/extras/rpms/zynaddsubfx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11125

Modified Files:
	zynaddsubfx.spec 
Log Message:
Add ppc support again.



Index: zynaddsubfx.spec
===================================================================
RCS file: /cvs/extras/rpms/zynaddsubfx/devel/zynaddsubfx.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- zynaddsubfx.spec	2 Sep 2006 05:13:25 -0000	1.2
+++ zynaddsubfx.spec	2 Sep 2006 05:23:17 -0000	1.3
@@ -1,7 +1,7 @@
 Summary:        Real-time software synthesizer
 Name:           zynaddsubfx
 Version:        2.2.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 License:        GPL
 Group:          Applications/Multimedia
 URL:            http://zynaddsubfx.sourceforge.net
@@ -21,7 +21,7 @@
 BuildRequires:  alsa-lib-devel fftw3-devel fltk-devel mxml-devel
 BuildRequires:  jack-audio-connection-kit-devel zlib-devel lash-devel
 BuildRequires:  libX11-devel fltk-fluid
-BuildRequires:  ImageMagick
+BuildRequires:  ImageMagick perl
 
 BuildRequires:    desktop-file-utils
 Requires(post):   desktop-file-utils
@@ -49,6 +49,10 @@
 # fix microtuning bug (no keyboard mapping being done)
 %{__perl} -p -i -e "s|tmp=Pmapping\[tx\]|Pmapping\[tx\]=tmp|g" src/Misc/Microtonal.C
 
+%ifarch ppc
+%{__perl} -p -i -e "s|ASM_F2I=YES|ASM_F2I=NO|g" src/Makefile.inc
+%endif
+
 cd src
 # do not use smp flags, makefile is not smp safe
 make AUDIOOUT=JACK CXXFLAGS="-DOS_LINUX -DALSAMIDIIN -DFFTW_VERSION_3 -DASM_F2I_YES `fltk-config --cflags`  -DJACKAUDIOOUT  `pkg-config --cflags jack` `pkg-config --cflags lash-1.0`"
@@ -141,6 +145,9 @@
 %{_datadir}/icons/hicolor/64x64/apps/zynaddsubfx.png
 
 %changelog
+* Wed Aug 30 2006 Anthony Green <green at redhat.com>  2.2.1-10
+- Fix ppc problem.  Add perl dependency.
+
 * Wed Aug 30 2006 Anthony Green <green at redhat.com>  2.2.1-9
 - Only build for x86 and x86-64 for now.  (ppc build problem)
 




More information about the scm-commits mailing list