All pastes #170022 Raw Edit

leon

public text v1 · immutable
·published 2006-09-14 09:56 UTC
rendered paste body
# norootforbuild# Packmangroup: Libraries# Packmanpackagename: portaudio18# Packman: Oliver BengsName:          portaudio18Summary:       Portable Real-Time Audio LibraryVersion:       18.1Release:       0.pm.1License:       BSDGroup:         System/LibrariesSource:        portaudio_v18_1.zipURL:           http://www.portaudio.com/BuildRoot:     %{_tmppath}/%{name}-%{version}-buildPackager:       %packagerVendor:         %vendorDistribution:   %distribution%descriptionPortAudio is a portable audio I/O library designed for cross-platform supportof audio. It uses a callback mechanism to request audio processing. Audio canbe generated in various formats, including 32 bit floating point, and will beconverted to the native format internally.This package renames portaudio.so* to portaudio18.so* So both versions, theactual portaudio-v19 and v18 can coexist.Authors:--------    Phil Burk    Ross Bencina%package develSummary:       Development package for the portaudio libraryGroup:         Development/Languages/C and C++Requires:      %{name} = %{version}%description develThis package contains the files needed to compile programs that use theportaudio library.This package renames portaudio.a to portaudio18.a. So both versions, theactual portaudio-v19 and v18 can coexist.The include portaudio.h was renamed to portaudio18.h.%prep%setup -q -n portaudio_v18_1%suse_update_libdir Makefile.inautoreconf --force --install%{?suse_update_config:%{suse_update_config -f}}%buildchmod +x configureCFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" \%configure%__make \	PALIB=lib%{name}.a \	PADLL=lib%{name}.so \	PADLLV=lib%{name}.so.0.0.18%install[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}# make Makefile happy ;)mkdir -p %{buildroot}%{_libdir}mkdir -p %{buildroot}%{_includedir}%makeinstall \	PREFIX=%{buildroot}%{_prefix} \	PALIB=lib%{name}.a \	PADLL=lib%{name}.so \	PADLLV=lib%{name}.so.0.0.18# change name of includefilemv %{buildroot}%{_includedir}/portaudio.h %{buildroot}%{_includedir}/%{name}.h# tests and samplesmkdir -p %{buildroot}%{_bindir}install -s -m 755 bin/patest_* %{buildroot}%{_bindir}%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%clean[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}%files%defattr(-,root,root)%doc README.txt LICENSE.txt pa_unix_oss/low_latency_tip.txt%{_libdir}/lib*.so.0.0.18%files devel%defattr(-,root,root)%doc index.html docs%{_libdir}/lib*.a%{_includedir}/*.h%{_bindir}/patest_*%{_libdir}/lib*.so%changelog -n portaudio* Wed Sep 13 2006 - Oliver Bengs <appleonkel@flashgrafik.de>- rebuild for packman* Tue May 23 2006 - r.neike@gmx.de 18.1-0.jacklab.1- build for SuSE-10.1* Fri Jan 27 2006 - r.neike@gmx.de 18.1-0.jacklab.1- build for JackLab* Sun Jan 22 2005 - oc2pus@arcor.de 18.1-0.oc2pus.1- initial version for v18_1