|
|
@ -1,15 +1,17 @@
|
|
|
|
%define real_version v18_1
|
|
|
|
%define real_version v19_061121
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Free, cross platform, open-source, audio I/O library
|
|
|
|
Summary: Free, cross platform, open-source, audio I/O library
|
|
|
|
Name: portaudio
|
|
|
|
Name: portaudio
|
|
|
|
Version: 18.1
|
|
|
|
Version: 19
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: BSD-like
|
|
|
|
License: BSD-like
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.portaudio.com/
|
|
|
|
URL: http://www.portaudio.com/
|
|
|
|
Source: http://www.portaudio.com/archives/portaudio_%{real_version}.zip
|
|
|
|
Source: http://www.portaudio.com/archives/pa_stable_%{real_version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
|
|
|
|
BuildRequires: jack-audio-connection-kit-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
PortAudio is a portable audio I/O library designed for cross-platform
|
|
|
|
PortAudio is a portable audio I/O library designed for cross-platform
|
|
|
@ -18,37 +20,70 @@ Audio can be generated in various formats, including 32 bit floating point,
|
|
|
|
and will be converted to the native format internally.
|
|
|
|
and will be converted to the native format internally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
Summary: Development files for the portaudio audio I/O library
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
PortAudio is a portable audio I/O library designed for cross-platform
|
|
|
|
|
|
|
|
support of audio. It uses a callback mechanism to request audio processing.
|
|
|
|
|
|
|
|
Audio can be generated in various formats, including 32 bit floating point,
|
|
|
|
|
|
|
|
and will be converted to the native format internally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains files required to build applications that will use the
|
|
|
|
|
|
|
|
portaudio library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -n %{name}_%{real_version}
|
|
|
|
%setup -q -n %{name}
|
|
|
|
%{__perl} -pi.orig -e 's|^(LIBINST) = /usr/local/lib|$1 = %{_libdir}|' \
|
|
|
|
|
|
|
|
Makefile.linux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__make} %{?_smp_mflags} -f Makefile.linux sharedlib \
|
|
|
|
%configure --disable-static
|
|
|
|
CFLAGS="%{optflags} -fPIC"
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
# Build html devel documentation
|
|
|
|
|
|
|
|
doxygen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__install} -D -m 0755 pa_unix_oss/libportaudio.so \
|
|
|
|
%{__make} install DESTDIR=%{buildroot}
|
|
|
|
%{buildroot}%{_libdir}/libportaudio.so
|
|
|
|
|
|
|
|
%{__install} -D -m 0644 pa_common/portaudio.h \
|
|
|
|
|
|
|
|
%{buildroot}%{_includedir}/portaudio.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, 0755)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE.txt README.txt docs/
|
|
|
|
%doc LICENSE.txt README.txt
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc doc/html/*
|
|
|
|
|
|
|
|
%{_includedir}/portaudio.h
|
|
|
|
|
|
|
|
%exclude %{_libdir}/*.la
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 19-1
|
|
|
|
|
|
|
|
- Update to "stable" v19_061121.
|
|
|
|
|
|
|
|
- Switch virtual devel provide to a real sub-package.
|
|
|
|
|
|
|
|
- Update spec to match build changes from custom Makefile to autotools.
|
|
|
|
|
|
|
|
- Include new pkgconfig file and require pkgconfig from the devel package.
|
|
|
|
|
|
|
|
- Add ldconfig calls now that we have a versionned shared library.
|
|
|
|
|
|
|
|
- Rebuild against alsa-lib and jack-audio-connection-kit.
|
|
|
|
|
|
|
|
- Build doxygen documentation and include it in the devel package.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 18.1-8
|
|
|
|
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 18.1-8
|
|
|
|
- FC6 rebuild.
|
|
|
|
- FC6 rebuild.
|
|
|
|
|
|
|
|
|
|
|
|