File darkice.spec of Package darkice

# spec file for package darkice (Version 1.0)
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           darkice
Version:        1.0
Release:        1
License:        GPL
Summary:        An audio encoder to create ogg/mp3 streams for audio streamers
Group:          Productivity/Multimedia/Sound/Players
BuildRequires:  gcc-c++ alsa-devel libvorbis-devel
BuildRequires:  libjack-devel

sound card), encodes it and sends it to a streaming server.

%setup -q
#Apparently Darkice wants to statically link in various upackages which opensuse only have available dynamically.  Hacking around that:
%{__sed} -i -e 's|libogg.a||g'  configure
%{__sed} -i -e 's|libvorbis.a||g'  configure
%{__sed} -i -e 's|libvorbisenc.a||g'  configure

%configure --with-vorbis --with-alsa --with-jack