File portaudio.spec of Package portaudio

# spec file for package portaudio (Version 19)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           portaudio
BuildRequires:  alsa-devel doxygen libjack-devel
%define package_date 20071207
Summary:        Portable Real-Time Audio Library
Version:        19
Release:        263
License:        BSD3c
Group:          System/Libraries
Source:         pa_stable_v19_%{package_date}.tar.bz2
Patch:          portaudio.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

    Phil Burk
    Ross Bencina

%package devel
License:        BSD3c
Summary:        Development package for the portaudio library
Group:          Development/Languages/C and C++
Requires:       %{name} = %{version}

%description devel
This package contains the files needed to compile programs that use the
portaudio library.

%setup -q -n portaudio

autoreconf -fiv
%configure 	--disable-static --with-pic\
			--with-alsa=yes \
			--with-jack=yes \
%{__make} %{?jobs:-j%jobs}

make DESTDIR="$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig



%files devel
%doc README.txt LICENSE.txt
%doc V19-devel-readme.txt
%doc doc/html