9c0f9db
Name:		bio2jack
9c0f9db
Version:	0.9
a78a735
Release:	18%{?dist}
9c0f9db
Group:		System Environment/Libraries
9c0f9db
# The license file says GPLv2+ but the source files say LGPLv2+.
9c0f9db
# The author of the software confirmed (via email) that it is 
9c0f9db
# actually LGPLv2+.
9c0f9db
License:	LGPLv2+
9c0f9db
Summary:	A library for porting blocked io(OSS/ALSA) applications to jack
9c0f9db
URL:		http://bio2jack.sourceforge.net/
2d594f1
9c0f9db
Source:		http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9c0f9db
BuildRequires:  gettext
9c0f9db
BuildRequires:	jack-audio-connection-kit-devel
9c0f9db
BuildRequires:	libsamplerate-devel
2d594f1
BuildRequires:	libtool autoconf automake
9c0f9db
9c0f9db
%description
9c0f9db
Bio (blocked i/o) 2 jack is a library for enabling easy porting of blocked
9c0f9db
io(OSS/ALSA) applications to the jack sound server. This library allows the 
9c0f9db
person porting the code to simply replace the calls into OSS/ALSA with calls
9c0f9db
into interface functions of this library. The library buffers a small amount of
9c0f9db
audio data and takes care of the rest of the jack implementation including the
9c0f9db
linked list of audio data buffers and the jack callback.
9c0f9db
9c0f9db
9c0f9db
%package devel
9c0f9db
Summary:	Development files for %{name}
9c0f9db
Group:		Development/Libraries
9c0f9db
Requires:	jack-audio-connection-kit-devel
9c0f9db
Requires:	%{name} = %{version}-%{release}
9c0f9db
9c0f9db
%description devel
9c0f9db
The %{name}-devel package contains libraries and header files for developing
9c0f9db
applications that use %{name}.
9c0f9db
9c0f9db
9c0f9db
%prep
9c0f9db
%setup -q -n %{name}
9c0f9db
9c0f9db
# Remove precompiled binaries:
9c0f9db
rm -fr .libs *.o
9c0f9db
33994a4
# Screws up the build if left alive
33994a4
rm -f *.lo
33994a4
9c0f9db
9c0f9db
%build
2d594f1
autoreconf -vif
2d594f1
%configure --enable-static=no --enable-shared=yes
2d594f1
2d594f1
make %{?_smp_mflags} V=1
9c0f9db
9c0f9db
%install
9c0f9db
make install DESTDIR=%{buildroot}
9c0f9db
9c0f9db
# Kill libtool archive
2d594f1
find %{buildroot} -type f -name "*.la" -delete
9c0f9db
9c0f9db
9c0f9db
%post -p /sbin/ldconfig
9c0f9db
9c0f9db
%postun -p /sbin/ldconfig
9c0f9db
9c0f9db
%files
9c0f9db
%doc AUTHORS ChangeLog README NEWS
9c0f9db
%{_libdir}/lib%{name}.so.*
9c0f9db
9c0f9db
%files devel
9c0f9db
%{_bindir}/%{name}-config
9c0f9db
%{_includedir}/%{name}.h
9c0f9db
%{_libdir}/lib%{name}.so
9c0f9db
9c0f9db
%changelog
a78a735
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-18
a78a735
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a78a735
319215f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-17
319215f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
319215f
159c9ef
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-16
159c9ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
159c9ef
619bda3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-15
619bda3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
619bda3
e582997
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-14
e582997
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e582997
42e8e06
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-13
42e8e06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
42e8e06
2d594f1
* Mon Jun 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.9-12
2d594f1
- Fix FTBFS, cleanup and modernise spec
2d594f1
c8095ed
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-11
c8095ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c8095ed
12fb4be
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-10
12fb4be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12fb4be
714fcfd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-9
714fcfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
714fcfd
1bf267f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-8
1bf267f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1bf267f
551e7c2
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
551e7c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
551e7c2
a41c284
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-6
a41c284
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a41c284
33994a4
* Sat Feb 13 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.9-5
33994a4
- Remove .lo file prior to build. Fixes RHBZ#564695
33994a4
1add936
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
1add936
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1add936
d47fbb5
* Mon Mar 16 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.9-3
d47fbb5
- add disttag
d47fbb5
9c0f9db
* Thu Mar 12 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.9-2
9c0f9db
- License is LGPLv2+. Don't package the wrong COPYING file
9c0f9db
9c0f9db
* Thu Mar 05 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.9-1
9c0f9db
- initial Fedora build (SPEC file borrowed from SuSE)
9c0f9db
9c0f9db
* Mon May 07 2007 Toni Graffy <toni@links2linux.de> - 0.9-0.pm.1
9c0f9db
- initial build 0.9