Changes of Revision 35
[-] | Changed | portaudio19.spec |
x 1
2 Name: portaudio 3 Summary: Portable Real-Time Audio Library 4 Version: 19 5 -Release: 222 6 +Release: 242 7 License: BSD 8 Group: System/Libraries 9 10 Source: pa_stable_v19_20071207.tar.gz 11 - 12 +Patch: portaudio.diff 13 URL: http://www.portaudio.com/ 14 BuildRoot: %{_tmppath}/%{name}-%{version}-build 15 BuildRequires: dos2unix alsa-devel libjack0 libjack-devel alsa jack gcc-c++ doxygen 16
17 18 %prep 19 %setup -q -n portaudio 20 +%patch 21 + 22 autoreconf --force --install 23 %{?suse_update_config:%{suse_update_config -f}} 24 %if 0%{?suse_version} 25
26 doxygen 27 28 %install 29 -%makeinstall 30 -# make Makefile happy ;) 31 -##%__install -dm 755 $RPM_BUILD_ROOT/%{_libdir} 32 -##%__install -dm 755 $RPM_BUILD_ROOT/%{_includedir} 33 -##%__make install DESTDIR=$RPM_BUILD_ROOT 34 -# change name of includefile 35 -##%__mv $RPM_BUILD_ROOT/%{_includedir}/portaudio.h $RPM_BUILD_ROOT/%{_includedir}/%{name}.h 36 -# tests and samples 37 -##%__install -dm 755 $RPM_BUILD_ROOT/%{_bindir} 38 -##%__install -s -m 755 bin/patest_* $RPM_BUILD_ROOT/%{_bindir} 39 +%__make DESTDIR=%{buildroot} install 40 41 %post -p /sbin/ldconfig 42 43 |
||
[+] | Added | portaudio.diff ^ |
@@ -0,0 +1,10 @@ +--- configure.in ++++ configure.in +@@ -300,7 +300,6 @@ case "${host_os}" in + DLL_LIBS="$DLL_LIBS -lm -lpthread"; + LIBS="$LIBS -lm -lpthread"; + PADLL="libportaudio.so"; +- SHARED_FLAGS="-shared -fPIC"; + + OTHER_OBJS="$OTHER_OBJS src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o" + esac |