Changed files:
libsndfile.spec -> 1.68
octave32.patch -> 1.1
Group: Development/Libraries
Source0: http://www.mega-nerd.com/libsndfile/%{name}-%{version}.tar.gz
# Source0-md5: e0553e12c7a467af44693e95e2eac668
+Patch0: octave32.patch
URL: http://www.mega-nerd.com/libsndfile/
BuildRequires: alsa-lib-devel
BuildRequires: autoconf >= 2.54
%prep
%setup -q
+%patch0 -p1
%if %{without tests}
%{__sed} -i 's, tests$,,' Makefile.am
--- /dev/null
+--- libsndfile-1.0.20/M4/octave.m4.orig 2009-10-25 15:51:00.461732576 +0100
++++ libsndfile-1.0.20/M4/octave.m4 2009-10-25 15:51:32.459533439 +0100
+@@ -125,6 +125,12 @@
+
+ OCTAVE_BUILD=yes
+ ;;
++ 3.2.*)
++ OCTAVE_DEST_ODIR=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'`
++ OCTAVE_DEST_MDIR=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'`
++
++ OCTAVE_BUILD=yes
++ ;;
+ *)
+ AC_MSG_WARN([Octave version $MKOCTFILE_VERSION is not supported.])
+ ;;