Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
portaudio19
> portaudio19.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File portaudio19.spec of Package portaudio19 (Revision 24)
Currently displaying revision
24
,
show latest
# norootforbuild %define _prefix /usr Name: portaudio19 Summary: Portable Real-Time Audio Library Version: 19.1 Release: 1 License: BSD Group: System/Libraries Source: pa_stable_v19_061121.tar.gz URL: http://www.portaudio.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dos2unix alsa-devel libjack0 libjack-devel alsa jack gcc-c++ %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. Authors: Phil Burk Ross Bencina %package devel 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. The include portaudio.h was renamed to portaudio19.h. %debug_package %prep %setup -q -n portaudio autoreconf --force --install %{?suse_update_config:%{suse_update_config -f}} %suse_update_libdir Makefile.in dos2unix README.txt LICENSE.txt index.html %__chmod 644 README.txt LICENSE.txt index.html %build chmod +x configure CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -ljack -lasound" \ ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} || cat config.log %__make %install # make Makefile happy ;) %__install -dm 755 $RPM_BUILD_ROOT/%{_libdir} %__install -dm 755 $RPM_BUILD_ROOT/%{_includedir} %__make install DESTDIR=$RPM_BUILD_ROOT # change name of includefile ##%__mv $RPM_BUILD_ROOT/%{_includedir}/portaudio.h $RPM_BUILD_ROOT/%{_includedir}/%{name}.h # tests and samples %__install -dm 755 $RPM_BUILD_ROOT/%{_bindir} %__install -s -m 755 bin/patest_* $RPM_BUILD_ROOT/%{_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 %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %doc index.html %{_libdir}/lib*.a %{_libdir}/lib*.so %{_libdir}/lib*.la %{_libdir}/pkgconfig/portaudio-2.0.pc %{_includedir}/*.h %{_bindir}/patest_* %changelog * Sat Nov 24 2007 Carsten Schoene <cs@linux-administrator.com> - 19.1-0 - build v19