diff --git a/.cvsignore b/.cvsignore index e69de29..22dde3d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bio2jack-0.9.tar.gz diff --git a/bio2jack.spec b/bio2jack.spec new file mode 100644 index 0000000..ba561d1 --- /dev/null +++ b/bio2jack.spec @@ -0,0 +1,90 @@ +Name: bio2jack +Version: 0.9 +Release: 2 +Group: System Environment/Libraries +# The license file says GPLv2+ but the source files say LGPLv2+. +# The author of the software confirmed (via email) that it is +# actually LGPLv2+. +License: LGPLv2+ +Summary: A library for porting blocked io(OSS/ALSA) applications to jack +URL: http://bio2jack.sourceforge.net/ +Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: libsamplerate-devel +BuildRequires: libtool + +%description +Bio (blocked i/o) 2 jack is a library for enabling easy porting of blocked +io(OSS/ALSA) applications to the jack sound server. This library allows the +person porting the code to simply replace the calls into OSS/ALSA with calls +into interface functions of this library. The library buffers a small amount of +audio data and takes care of the rest of the jack implementation including the +linked list of audio data buffers and the jack callback. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: jack-audio-connection-kit-devel +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for developing +applications that use %{name}. + + +%prep +%setup -q -n %{name} + +# Remove precompiled binaries: +rm -fr .libs *.o + +# In order to pass the optflags later: +sed -i -e 's|./configure||g' autogen.sh + + +%build +./autogen.sh +%configure \ + --enable-static=no \ + --enable-shared=yes +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +# Kill libtool archive +rm %{buildroot}%{_libdir}/lib%{name}.la + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root, -) +%doc AUTHORS ChangeLog README NEWS +%{_libdir}/lib%{name}.so.* + +%files devel +%defattr(-, root, root, -) +%{_bindir}/%{name}-config +%{_includedir}/%{name}.h +%{_libdir}/lib%{name}.so + +%changelog +* Thu Mar 12 2009 Orcan Ogetbil - 0.9-2 +- License is LGPLv2+. Don't package the wrong COPYING file + +* Thu Mar 05 2009 Orcan Ogetbil - 0.9-1 +- initial Fedora build (SPEC file borrowed from SuSE) + +* Mon May 07 2007 Toni Graffy - 0.9-0.pm.1 +- initial build 0.9 diff --git a/import.log b/import.log new file mode 100644 index 0000000..2e877b2 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +bio2jack-0_9-2:HEAD:bio2jack-0.9-2.src.rpm:1237178953 diff --git a/sources b/sources index e69de29..fb65f95 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +00b64a99856cb35f1170c97ecb6bc431 bio2jack-0.9.tar.gz