Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37412147
en ru br
ALT Linux repositórios
S:19-alt8
5.0: 19-alt2.svn1134
4.1: 19-alt1.svn1134
4.0: 19-alt0.svn1134

Group :: Sistema/Bibliotecas
RPM: portaudio2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable snapshot
%define _name portaudio
%def_enable docs

Name: %{_name}2
Version: 19
Release: alt8

Summary: PortAudio is a free, cross platform, open-source, audio I/O library
License: MIT
Group: System/Libraries
Url: http://www.portaudio.com/

%if_disabled snapshot
Source: http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz
%else
Vcs: https://github.com/PortAudio/portaudio.git
Source: %_name-%version.tar
%endif

# Automatically added by buildreq on Mon Sep 19 2011

BuildRequires: gcc-c++ libalsa-devel libjack-devel
%{?_enable_docs:BuildRequires: doxygen graphviz}

%description
PortAudio is a free, cross platform, open-source, audio I/O
library. It lets you write simple audio programs in 'C' that will
compile and run on many platforms including Windows, Macintosh
(8,9,X), Unix (OSS), SGI, and BeOS. PortAudio is intended to
promote the exchange of audio synthesis software between
developers on different platforms, and was recently selected as
the audio component of a larger PortMusic project that includes
MIDI and sound file support.

PortAudio provides a very simple API for recording and/or playing
sound using a simple callback function. Example programs are
included that synthesize sine waves and pink noise, perform fuzz
distortion on a guitar, list available audio devices, etc.

%package -n lib%name
Summary: PortAudio is a free, cross platform, open-source, audio I/O library
Group: System/Libraries

%description -n lib%name
PortAudio is a free, cross platform, open-source, audio I/O
library. It lets you write simple audio programs in 'C' that will
compile and run on many platforms including Windows, Macintosh
(8,9,X), Unix (OSS), SGI, and BeOS. PortAudio is intended to
promote the exchange of audio synthesis software between
developers on different platforms, and was recently selected as
the audio component of a larger PortMusic project that includes
MIDI and sound file support.

PortAudio provides a very simple API for recording and/or playing
sound using a simple callback function. Example programs are
included that synthesize sine waves and pink noise, perform fuzz
distortion on a guitar, list available audio devices, etc.

%package -n lib%name-devel
Summary: Static library and header files for the PortAudio library
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: libportaudio-devel

%description -n lib%name-devel
PortAudio is a free, cross platform, open-source, audio I/O
library. It lets you write simple audio programs in 'C' that will
compile and run on many platforms including Windows, Macintosh
(8,9,X), Unix (OSS), SGI, and BeOS. PortAudio is intended to
promote the exchange of audio synthesis software between
developers on different platforms, and was recently selected as
the audio component of a larger PortMusic project that includes
MIDI and sound file support.

PortAudio provides a very simple API for recording and/or playing
sound using a simple callback function. Example programs are
included that synthesize sine waves and pink noise, perform fuzz
distortion on a guitar, list available audio devices, etc.

This package contains the static PortAudio library and its header
files.

%prep
%setup -n portaudio%{?_enable_snapshot:-%version}
sed -i '/^Libs:/s/  at /\nLibs.private:  at /
       s/^\(Requires:\)/\1 alsa/' portaudio-2.0.pc.in

%build
%autoreconf
# and do it one more time for ac-2.71
%autoreconf
%configure --disable-static --enable-cxx
%make_build lib/libportaudio.la
%make_build
%{?_enable_docs:doxygen}

%install
%makeinstall_std

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%doc README.md
%{?_enable_docs:%doc doc/html}

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009