fixed group of librtaudio [release 4.0.12-2mamba;Thu Oct 31 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 17:30:58 +01:00
parent c5593c1db7
commit 484a64e16e
2 changed files with 86 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# rtaudio # rtaudio
RtAudio is a set of C++ classes that provide a common API (Application Programming Interface) for realtime audio input/output across Linux, Macintosh OS-X and Windows operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. It was designed with the following objectives:

84
rtaudio.spec Normal file
View File

@ -0,0 +1,84 @@
Name: rtaudio
Version: 4.0.12
Release: 2mamba
Summary: A set of C++ classes that provide a common API (Application Programming Interface) for realtime audio input/output
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.music.mcgill.ca/~gary/rtaudio/
Source: http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libgcc
BuildRequires: libjack-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
RtAudio is a set of C++ classes that provide a common API (Application Programming Interface) for realtime audio input/output across Linux, Macintosh OS-X and Windows operating systems. RtAudio significantly simplifies the process of interacting with computer audio hardware. It was designed with the following objectives:
%package -n lib%{name}
Group: System/Libraries
Summary: A library that provides a common API (Application Programming Interface) for realtime audio input/output
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
# for RtError.h
Requires: librtmidi-devel
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--with-alsa \
--with-jack
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_libdir}
cp -P librtaudio.so* %{buildroot}%{_libdir}
install -D -m0755 rtaudio-config %{buildroot}%{_bindir}/rtaudio-config
for f in RtAudio.h; do
# RtError.h already provided by rtmidi
install -D -m0644 $f %{buildroot}%{_includedir}/$f
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/librtaudio.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/rtaudio-config
%{_includedir}/RtAudio.h
%{_libdir}/librtaudio.so
%changelog
* Thu Oct 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.12-2mamba
- fixed group of librtaudio
* Thu Aug 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.12-1mamba
- package created by silvan using the webbuild interface