Toshaan Bharvani
2 years ago
commit
c6eafdc337
2 changed files with 152 additions and 0 deletions
@ -0,0 +1,152 @@
@@ -0,0 +1,152 @@
|
||||
Summary: Real-time Audio I/O Library |
||||
Name: rtaudio |
||||
Version: 5.0.0 |
||||
Release: 1%{?dist} |
||||
License: MIT |
||||
Group: System Environment/Libraries |
||||
URL: http://www.music.mcgill.ca/~gary/rtaudio/ |
||||
Source0: https://github.com/thestk/rtaudio/archive/v%{version}/rtaudio-%{version}.tar.gz |
||||
BuildRequires: alsa-lib-devel |
||||
BuildRequires: jack-audio-connection-kit-devel |
||||
BuildRequires: pulseaudio-libs-devel |
||||
BuildRequires: autoconf |
||||
BuildRequires: automake |
||||
BuildRequires: libtool |
||||
BuildRequires: doxygen |
||||
|
||||
|
||||
%description |
||||
RtAudio is a set of C++ classes that provide a common API for realtime audio |
||||
input/output across different operating systems. RtAudio significantly |
||||
simplifies the process of interacting with computer audio hardware. It was |
||||
designed with the following objectives: |
||||
|
||||
* object-oriented C++ design |
||||
* simple, common API across all supported platforms |
||||
* allow simultaneous multi-api support |
||||
* support dynamic connection of devices |
||||
* provide extensive audio device parameter control |
||||
* allow audio device capability probing |
||||
* automatic internal conversion for data format, channel number compensation, |
||||
(de)interleaving, and byte-swapping |
||||
|
||||
|
||||
%package devel |
||||
Summary: Real-time Audio I/O Library |
||||
Group: System Environment/Libraries |
||||
Requires: %{name}%{?_isa} = %{version}-%{release} |
||||
|
||||
%description devel |
||||
RtAudio is a set of C++ classes that provide a common API for realtime audio |
||||
input/output across different operating systems. RtAudio significantly |
||||
simplifies the process of interacting with computer audio hardware. It was |
||||
designed with the following objectives: |
||||
|
||||
* object-oriented C++ design |
||||
* simple, common API across all supported platforms |
||||
* allow simultaneous multi-api support |
||||
* support dynamic connection of devices |
||||
* provide extensive audio device parameter control |
||||
* allow audio device capability probing |
||||
* automatic internal conversion for data format, channel number compensation, |
||||
(de)interleaving, and byte-swapping |
||||
|
||||
%prep |
||||
%setup -q |
||||
# Fix encoding issues |
||||
for file in tests/teststops.cpp; do |
||||
sed 's|\r||' $file > $file.tmp |
||||
iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2 |
||||
touch -r $file $file.tmp2 |
||||
mv -f $file.tmp2 $file |
||||
done |
||||
|
||||
%build |
||||
autoreconf -fiv |
||||
export CFLAGS="%optflags -fPIC" |
||||
%configure --with-jack --with-alsa --with-pulse --enable-shared --disable-static --verbose |
||||
make %{?_smp_mflags} V=1 |
||||
|
||||
%install |
||||
make install DESTDIR=%{buildroot} |
||||
|
||||
%post -p /sbin/ldconfig |
||||
|
||||
%postun -p /sbin/ldconfig |
||||
|
||||
%files |
||||
%license doc/doxygen/license.txt |
||||
%doc readme doc/release.txt |
||||
%{_libdir}/lib%{name}.so.* |
||||
|
||||
%files devel |
||||
%doc doc/html doc/images |
||||
%{_includedir}/%{name}/*.h |
||||
%{_libdir}/lib%{name}.so |
||||
%exclude %{_libdir}/lib%{name}.la |
||||
%{_libdir}/pkgconfig/%{name}.pc |
||||
|
||||
%changelog |
||||
* Sun Jan 07 2018 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 5.0.0-1 |
||||
- Update to 5.0.0 |
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-13 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.11-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 4.0.11-8 |
||||
- Rebuilt for GCC 5 C++11 ABI change |
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.11-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.11-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.11-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.11-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Thu Nov 15 2012 Brendan Jones <brendan.jones.it@gmail.com> 4.0.11-3 |
||||
- Update source comments |
||||
|
||||
* Sun Oct 28 2012 Brendan Jones <brendan.jones.it@gmail.com> 4.0.11-2 |
||||
- Add pulse dependancies |
||||
|
||||
* Sun Oct 14 2012 Brendan Jones <brendan.jones.it@gmail.com> 4.0.11-1 |
||||
- Update to 4.011 |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.7-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Fri Feb 05 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.7-1 |
||||
- Update to 4.0.7 |
||||
- Upstream is supporting shared libraries now. Drop the static library |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.6-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Fri Jun 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.6-1 |
||||
- Update to 4.0.6 |
||||
|
||||
* Sat Feb 28 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-3 |
||||
- Don't remove the tests/Release directory |
||||
|
||||
* Fri Feb 27 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-2 |
||||
- Build static library only |
||||
|
||||
* Tue Feb 24 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-1 |
||||
- Initial build |
Loading…
Reference in new issue