sflphone.spec.in 784 Bytes
Newer Older
jpbl's avatar
jpbl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
%define name sflphoned
%define version 0.6
%define release 1
%define prefix /usr
Autoreq: 0

Name:		%name
Summary:	A VoIP daemon with SIP protocol
Version:	%version
Release:	%release
License:	GPL
Group:		Networking/Utilities
URL:		http://www.sflphone.org/
Packager:	Cyrille Béraud <cyrille.beraud@savoirfairelinux.com>
Source:		http://www.sflphone.org/releases/sflphone-0.5.tar.gz
BuildRoot:	/tmp/sflphone-%{version}-%{release}

%description
SFLPhoned is a VoIP daemon with SIP protocol.
%prep
%setup
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix %{prefix}

%build
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{prefix}/bin/sflphoned
%dir %{prefix}/share/sflphone/ringtones
%{prefix}/share/sflphone/ringtones/*