Package baresip: Specfile

Name: baresip
Version: 0.4.2
Release: alt3

Summary: Baresip is a portable and modular SIP User-Agent with audio and video support

Url: http://www.creytiv.com/baresip.html
License: BSD Revised
Group: System/X11

Source: http://www.creytiv.com/pub/baresip-%version.tar

BuildRequires: libSDL-devel libXext-devel libalsa-devel
BuildRequires: libavdevice-devel libavformat-devel libswscale-devel
BuildRequires: libcelt-devel libgsm-devel libmpg123-devel
BuildRequires: libre-devel librem-devel
BuildRequires: libsndfile-devel libspandsp-devel libspeex-devel
BuildRequires: libssl-devel libuuid-devel libv4l-devel
BuildRequires: libvpx-devel libx264-devel

%description
baresip is a bare-bones SIP user agent. It supports SIP, SDP, RTP/RTCP,
and STUN/TURN/ICE, and IPv4 and IPv6, and is RFC-compliant and has
portable C89 and C99 source code. A modular plugin architecture provides
stdio, cons, and evdev user interfaces, celt, g711, g722, gsm, ilbc, l16,
and speex audio codecs, alsa, coreaudio, gst, portaudio, oss, winwav,
and mda audio drivers, speex_pp, speex_aec, speex_resamp, and sndfile
audio filters, the avcodec video codec, avformat, quicktime, qtcapture,
v4l, and v4l2 video sources, sdl, opengl, and x11 video display drivers,
and srtp media encoding.

%prep
%setup

%build
%make_build RELEASE=1 MOD_AUTODETECT=1 PREFIX=%_prefix

%install
%makeinstall_std RELEASE=1 MOD_AUTODETECT=1 LIBDIR=%_libdir

%files
%doc docs/*
%_bindir/%name
%_libdir/%name
%_datadir/%name

%changelog
* Tue Mar 26 2013 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.4.2-alt3
- fixed build with recent glibc

* Mon Oct 01 2012 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.4.2-alt2
- revisit buildreqs and modules
- fixed module path

* Mon Sep 17 2012 Vitaly Lipatov <lav@altlinux.ru> 0.4.2-alt1
- initial build for ALT Linux Sisyphus