Name: sflphone Version: 0.9.13 Release: 1%{?dist} Summary: SIP/IAX2 compatible enterprise-class softphone for multi-way conferencing Group: Applications/Internet License: GPLv3 URL: http://sflphone.org/ Source0: https://projects.savoirfairelinux.com/attachments/download/2162/%{name}-%{version}.tar.gz Patch0: fixed_astylerc_for_astyle-2.01.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf, automake, gnome-doc-utils, gettext, rarian-compat, pulseaudio, m4 BuildRequires: gstreamer-plugins-base-devel, pulseaudio-libs-devel, uuid-devel, alsa-lib-devel BuildRequires: libsamplerate-devel, commoncpp2-devel, ccrtp-devel, libzrtpcpp-devel, astyle BuildRequires: expat-devel, gsm-devel, speex-devel, libyaml-devel, , dbus-c++-devel BuildRequires: check-devel, dbus-glib-devel, glib2-devel, GConf2-devel, pcre-devel, libtool BuildRequires: libsexy-devel, dbus-glib-devel, libnotify-devel, openssl-devel, cppunit-devel BuildRequires: gtk+-devel, webkitgtk-devel, evolution-data-server-devel, libgnomeui-devel BuildRequires: GConf2 Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 %description SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems. It is designed to handle several hundreds of calls a day. It supports both SIP and IAX2 protocols. %prep %setup -q %patch0 -p1 -b .fix %build # Compile the daemon pushd %{name}-common ./autogen.sh # Compile pjproject first pushd libs/pjproject ./autogen.sh %configure make && make dep popd %configure --without-celt make %{?_smp_mflags} make doc popd # Compile the client pushd %{name}-client-gnome ./autogen.sh %configure make %{?_smp_mflags} popd %install rm -rf %{buildroot} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 pushd %{name}-common make install DESTDIR=$RPM_BUILD_ROOT popd pushd %{name}-client-gnome make install DESTDIR=$RPM_BUILD_ROOT # Find Lang files %find_lang %{name}-client-gnome popd unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # Handling desktop file desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %pre if [ "$1" -gt 1 ] ; then export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}-client-gnome.schemas >/dev/null || : fi %post export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/%{name}-client-gnome.schemas > /dev/null || : %preun if [ "$1" -eq 0 ] ; then export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}-client-gnome.schemas > /dev/null || : fi %files -f %{name}-client-gnome/%{name}-client-gnome.lang %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README %{_bindir}/* %{_datadir}/gnome/help/%{name}/C/* %{_datadir}/gnome/help/%{name}/es/* %{_datadir}/gnome/help/%{name}/fr/* %{_libdir}/%{name}/* %config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}-client-gnome.schemas %{_datadir}/applications/%{name}.desktop %{_datadir}/dbus-1/services/org.%{name}.SFLphone.service %{_mandir}/man1/* %{_datadir}/omf/%{name}/* %{_datadir}/pixmaps/%{name}.svg %{_datadir}/%{name}/* %changelog * Wed Apr 20 2011 Prabin Kumar Datta - 0.9.13-1 - avoiding compling with Celt codec support to resolve build problem - removed clean section since not required - upgraded to 0.9.13 * Mon Apr 18 2011 Prabin Kumar Datta - 0.9.12-2 - Fixed schema registration problem * Fri Mar 25 2011 Prabin Kumar Datta - 0.9.12-1 - Initial build