linphone/linphone.spec

96 lines
2.8 KiB
RPMSpec
Raw Normal View History

Name: linphone
Version: 0.12.2
Release: 1
Summary: Phone anywhere in the whole world by using the Internet
Group: Applications/Communications
License: GPL
URL: http://www.linphone.org/?lang=us&rubrique=1
Source0: http://simon.morlat.free.fr/download/0.12.2/source/linphone-0.12.2.tar.gz
Patch: linphone-0.12.2-docs.patch
Patch1: linphone-0.12.2-speex.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnome-panel-devel libgnomeui-devel glib2-devel alsa-lib-devel
BuildRequires: libosip-devel speex-devel gettext
Requires: gnome-panel libgnomeui glib2 alsa-lib libosip speex
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description
Linphone is mostly sip compliant. It works successfully with these implementations:
* eStara softphone (commercial software for windows)
* Pingtel phones (with DNS enabled and VLAN QOS support disabled).
* Hotsip, a free of charge phone for Windows.
* Vocal, an open source SIP stack from Vovida that includes a SIP proxy that works with linphone since version 0.7.1.
* Siproxd is a free sip proxy being developped by Thomas Ries because he would like to have linphone working behind his firewall. Siproxd is simple to setup and works perfectly with linphone.
* Partysip aims at being a generic and fully functionnal SIP proxy. Visit the web page for more details on its functionalities.
Linphone may work also with other sip phones, but this has not been tested yet.
%package devel
Summary: Development libraries for linphone
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Libraries required to develop software with linphone
%prep
%setup -q
%patch -p 1 -b .docs
%patch1 -p 1 -b .speex
rm -r $RPM_BUILD_DIR/linphone-0.12.2/oRTP/docs
rm -r $RPM_BUILD_DIR/linphone-0.12.2/speex
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/bonobo
%{_libdir}/*.so.*
%{_libexecdir}/*
%{_mandir}/man1/*
%{_datadir}/gnome
%{_datadir}/gnome-2.0
%{_datadir}/gtk-doc
%{_datadir}/linphonec/linphonec
%{_datadir}/locale/*/*
%{_datadir}/pixmaps
%{_datadir}/sounds
%files devel
%defattr(-,root,root)
%{_includedir}/*/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%changelog
* Tue Mar 15 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-1
- Bump release to 1
- Cleaned up the -docs and -speex patches
* Fri Jan 21 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:0.12.2-0.iva.1
- Fixed a silly spec error
* Fri Jan 21 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0:0.12.2-0.iva.0
- Initial RPM release.