2005-10-21 23:29:03 +00:00
|
|
|
%define name sflphoned
|
2005-11-04 15:18:15 +00:00
|
|
|
%define version 0.6
|
2005-10-12 16:25:57 +00:00
|
|
|
%define release 1
|
2005-01-18 21:59:02 +00:00
|
|
|
%define prefix /usr
|
|
|
|
Autoreq: 0
|
|
|
|
|
|
|
|
Name: %name
|
2005-10-21 23:29:03 +00:00
|
|
|
Summary: A VoIP daemon with SIP protocol
|
2005-01-18 21:59:02 +00:00
|
|
|
Version: %version
|
|
|
|
Release: %release
|
2005-10-05 18:07:05 +00:00
|
|
|
License: GPL
|
2005-01-18 21:59:02 +00:00
|
|
|
Group: Networking/Utilities
|
2005-10-12 16:25:57 +00:00
|
|
|
URL: http://www.sflphone.org/
|
2005-01-18 21:59:02 +00:00
|
|
|
Packager: Cyrille Béraud <cyrille.beraud@savoirfairelinux.com>
|
2005-10-21 23:29:03 +00:00
|
|
|
Source: http://www.sflphone.org/releases/sflphone-0.5.tar.gz
|
2005-01-18 21:59:02 +00:00
|
|
|
BuildRoot: /tmp/sflphone-%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
2005-10-21 23:29:03 +00:00
|
|
|
SFLPhoned is a VoIP daemon with SIP protocol.
|
2005-01-18 21:59:02 +00:00
|
|
|
%prep
|
|
|
|
%setup
|
2005-10-12 16:25:57 +00:00
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix %{prefix}
|
2005-01-18 21:59:02 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2005-10-11 15:37:39 +00:00
|
|
|
%{prefix}/bin/sflphoned
|
2005-10-05 18:07:05 +00:00
|
|
|
%dir %{prefix}/share/sflphone/ringtones
|
|
|
|
%{prefix}/share/sflphone/ringtones/*
|
2005-01-18 21:59:02 +00:00
|
|
|
|