%define name sflphone %define version 0.9.4 Autoreq: 0 Name: %name Summary: A VoIP daemon with SIP protocol and IAX protocol Version: %version Release: 2fedora License: GPL Group: System Environment/Daemons URL: http://www.sflphone.org/ Packager: Emmanuel Milou <emmanuel.milouu@savoirfairelinux.com> Source0: %{name}-%{version}.tar.gz Source1: libpj-sfl.pc BuildRoot: %{_tmppath}/%{name}-%{version} Requires: commoncpp2 ccrtp cppunit libsamplerate pulseaudio-libs-zeroconf pulseaudio-libs-devel gsm speex libgcc dbus-glib expat gtk2 glibc glib2 dbus-libs dbus-glib libsexy libnotify perl %description SFLphoned is a VoIP daeamon with SIP protocol and IAX protocol. %prep %setup -q cd libs/pjproject-1.0.1 ./configure --prefix=/usr make dep make clean make cd ../dbus-c++ ./configure --prefix=/usr make cd ../libiax2 ./gen.sh ./configure --prefix=/usr make cd ../.. %build ./autogen.sh --prefix=/usr make cd sflphone-gtk/ ./autogen.sh --prefix=/usr make cd .. %install %makeinstall cd sflphone-gtk/ %makeinstall cd ../libs/pjproject-1.0.1 %makeinstall cd ../dbus-c++ %makeinstall cd ../libiax2 %makeinstall cd ../.. cd %{buildroot}/usr/bin/ ln -sf ./sflphone-gtk sflphone cd - cp %{SOURCE1} %{buildroot}/usr/lib/pkgconfig/ -f rm -rf %{buildroot}/usr/lib/debug rm -rf %{buildroot}/usr/include/ %files %defattr(-, root, root) /usr/bin/* /usr/lib/* /usr/share/applications/* /usr/share/dbus-1/services/* /usr/share/locale/* /usr/share/pixmaps/* /usr/share/sflphone/* /usr/share/man/* %clean rm -rf %{buildroot} %changelog * Mon Feb 16 2009 Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> 2fedora - Packaging 0.9.3-2 sflphone version on Fedora 10 * Mon Jan 26 2009 Yun Liu <yun.liu@savoirfairelinux.com> 6 - Packaging sflphone for Fedora 10 * Mon Jan 5 2009 Yun Liu <yun.liu@savoirfairelinux.com> - Fix bug ticket #107, #108, #109, #110, #111, #117, #129 * Thu Nov 6 2008 Yun Liu <yun.liu@savoirfairelinux.com> - Packaging sflphone for Fedora 9 * Thu Nov 30 2006 Yan Morin <yan.morin@savoirfairelinux.com> Packaging sflphone for Fedora Core 6 * Wed Sep 6 2006 Yan Morin <yan.morin@savoirfairelinux.com> Packaging sflphone, sflphone-qt and sflphone-cli * Mon Nov 21 2005 Yan Morin <yan.morin@savoirfairelinux.com> - Final 0.6.0 version (Release / Source without alphatag)