You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.5 KiB
57 lines
1.5 KiB
21 years ago
|
# $Id: portaudio.spec 1606 2004-07-20 08:18:01Z dag $
|
||
|
# Authority: atrpms
|
||
|
# Upstream: <portaudio$techweb,rfa,org>
|
||
|
|
||
|
%define rversion v18_1
|
||
|
|
||
|
Summary: Free, cross platform, open-source, audio I/O library.
|
||
|
Name: portaudio
|
||
|
Version: 18.1
|
||
|
Release: 1.1.fc2.fr
|
||
|
License: BSD-like
|
||
|
Group: System Environment/Libraries
|
||
|
URL: http://www.portaudio.com/
|
||
|
|
||
|
Packager: Dag Wieers <dag@wieers.com>
|
||
|
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
|
||
|
|
||
|
Source: http://www.portaudio.com/archives/portaudio_%{rversion}.zip
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||
|
|
||
|
%description
|
||
|
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.
|
||
|
|
||
|
%prep
|
||
|
%setup -n %{name}_%{rversion}
|
||
|
|
||
|
%{__perl} -pi.orig -e 's|^(LIBINST) = /usr/local/lib|$1 = %{_libdir}|' Makefile.linux
|
||
|
|
||
|
%build
|
||
|
%{__make} %{?_smp_mflags} -f Makefile.linux sharedlib \
|
||
|
CFLAGS="-fPIC"
|
||
|
|
||
|
%install
|
||
|
%{__rm} -rf %{buildroot}
|
||
|
%{__install} -D -m0755 pa_unix_oss/libportaudio.so %{buildroot}%{_libdir}/libportaudio.so
|
||
|
%{__install} -D -m0644 pa_common/portaudio.h %{buildroot}%{_includedir}/portaudio.h
|
||
|
|
||
|
%clean
|
||
|
%{__rm} -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(0644, root, root, 0755)
|
||
|
%doc LICENSE.txt README.txt docs/
|
||
|
%{_libdir}/*.so
|
||
|
%{_includedir}/*.h
|
||
|
|
||
|
%changelog
|
||
|
* Thu Jun 10 2004 Dag Wieers <dag@wieers.com> - 18.1-1
|
||
|
- Added -fPIC for x86_64.
|
||
|
|
||
|
* Sat Sep 13 2003 Dag Wieers <dag@wieers.com> - 18.1-0
|
||
|
- Initial package. (using DAR)
|
||
|
|