581eae2
Summary: Allows ALSA devices to be JACK clients
581eae2
Name: zita-ajbridge
56c3489
Version: 0.8.4
3f01dfc
Release: 2%{?dist}
581eae2
License: GPLv3
581eae2
URL: https://kokkinizita.linuxaudio.org/linuxaudio/
581eae2
Source0: https://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
581eae2
581eae2
BuildRequires: pkgconfig(jack)
581eae2
BuildRequires: pkgconfig(alsa)
581eae2
BuildRequires: zita-resampler-devel
581eae2
BuildRequires: zita-alsa-pcmi-devel
581eae2
BuildRequires: gcc-c++
581eae2
581eae2
%description
581eae2
Zita-ajbridge provides two applications, zita-a2j and zita-j2a. They
581eae2
allow to use an ALSA device as a Jack client, to provide additional
581eae2
capture (a2j) or playback (j2a) channels. Functionally these are
581eae2
equivalent to the alsa_in and alsa_out clients that come with Jack,
581eae2
but they provide much better audio quality. The resampling ratio will
581eae2
typically be stable within 1 PPM and change only very smoothly. Delay
581eae2
will be stable as well even under worst case conditions, e.g. the Jack
581eae2
client running near the end of the cycle.
581eae2
581eae2
%prep
581eae2
%setup -q
581eae2
581eae2
%build
581eae2
rm -rf $RPM_BUILD_ROOT
581eae2
581eae2
# Force Fedora's optflags
581eae2
sed -i 's|-O2|%{optflags}|' source/Makefile
581eae2
581eae2
pushd source
581eae2
make %{?_smp_mflags}
581eae2
popd
581eae2
581eae2
%install
581eae2
pushd source
581eae2
mkdir -p $RPM_BUILD_ROOT%{_bindir}
581eae2
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
581eae2
make PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT install
581eae2
popd
581eae2
581eae2
%files
581eae2
%doc AUTHORS README
581eae2
%license COPYING
581eae2
%{_bindir}/zita-a2j
581eae2
%{_bindir}/zita-j2a
581eae2
%{_mandir}/man1/zita-a2j.*
581eae2
%{_mandir}/man1/zita-j2a.*
581eae2
%{_mandir}/man1/zita-ajbridge.*
581eae2
581eae2
%changelog
3f01dfc
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-2
3f01dfc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3f01dfc
56c3489
* Mon Apr 06 2020 - Erich Eickmeyer <erich@ericheickmeyer.com> 0.8.4-1
56c3489
- Updated to 0.8.4
56c3489
581eae2
* Sat Feb 15 2020 - Erich Eickmeyer <erich@ericheickmeyer.com> 0.8.2-3
581eae2
- Initial relase for Fedora
581eae2
581eae2
* Fri Dec 13 2019 - David Va <davidva AT tuta DOT io> 0.8.2-2
581eae2
- Rebuilt
581eae2
581eae2
* Fri Sep 07 2018 - David Va <davidva AT tuta DOT io> 0.8.2-1
581eae2
- Updated to 0.8.2
581eae2
581eae2
* Thu Aug 10 2017 David Vásquez <davidjeremias82 AT gmail DOT com> - 0.7.0-1
581eae2
- Updated to 0.7.0
581eae2
- Upstream
581eae2
581eae2
* Thu Sep 22 2016 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> - 0.6.0-1
581eae2
- update to 0.6.0
581eae2
581eae2
* Wed Aug  6 2014 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> - 0.4.0-1
581eae2
- initial build.