linphone/linphone.spec

162 lines
4.8 KiB
RPMSpec
Raw Normal View History

Name: linphone
2005-03-24 19:32:18 +00:00
Version: 1.0.1
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
2005-03-24 19:32:18 +00:00
Source0: http://simon.morlat.free.fr/download/1.0.x/source/linphone-1.0.1.tar.gz
Patch: linphone-1.0.1-pkgconfig.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnome-panel-devel libgnomeui-devel glib2-devel alsa-lib-devel
2005-03-24 19:32:18 +00:00
BuildRequires: libosip2-devel speex-devel gettext desktop-file-utils
%description
2005-03-17 22:53:01 +00:00
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.
2005-03-17 22:53:01 +00:00
* 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
2005-03-24 02:17:47 +00:00
Requires: %{name} = %{version}-%{release} glib2-devel
%description devel
2005-03-24 19:32:18 +00:00
Libraries and headers required to develop software with linphone.
%package -n ortp
Summary: A C library implementing the RTP protocol (rfc1889)
Group: System Environment/Libraries
Version: 0.7.0
%description -n ortp
oRTP is a LGPL licensed C library implementing the RTP protocol (rfc1889). It
is available for most *nix clones (primilarly Linux and HP-UX), and Win32.
%package -n ortp-devel
Summary: Development libraries for ortp
Group: Development/Libraries
Version: 0.7.0
%description -n ortp-devel
Libraries and headers required to develop software with ortp.
%prep
%setup -q
2005-03-24 19:32:18 +00:00
%patch -p 1 -b .pkgconfig
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
2005-03-19 15:57:41 +00:00
%find_lang %{name}
2005-03-24 19:32:18 +00:00
desktop-file-install --vendor=fedora \
--delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Network \
--add-category X-Fedora \
--add-category Internet \
--add-category Telephony \
--add-category GTK \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
2005-03-19 15:57:41 +00:00
%post -p /sbin/ldconfig
2005-03-19 15:57:41 +00:00
%postun -p /sbin/ldconfig
2005-03-24 19:32:18 +00:00
%post -n ortp -p /sbin/ldconfig
%postun -n ortp -p /sbin/ldconfig
2005-03-19 15:57:41 +00:00
%files -f %{name}.lang
%defattr(-,root,root)
2005-03-24 19:32:18 +00:00
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/*
2005-03-19 15:57:41 +00:00
%{_libdir}/bonobo/servers/*.server
2005-03-24 19:32:18 +00:00
%{_libdir}/liblinphone.so.*
%{_libexecdir}/*
%{_mandir}/man1/*
2005-03-24 19:32:18 +00:00
%{_datadir}/applications/*%{name}.desktop
2005-03-19 15:57:41 +00:00
%{_datadir}/gnome/apps/Internet/*.desktop
%{_datadir}/gnome/help/linphone
%{_datadir}/gnome-2.0/ui/*.xml
%{_datadir}/gtk-doc/html/mediastreamer
%{_datadir}/pixmaps/linphone
%{_datadir}/sounds/linphone
%files devel
%defattr(-,root,root)
2005-03-24 19:32:18 +00:00
%{_datadir}/gtk-doc/html/ortp
%{_includedir}/linphone
%{_libdir}/liblinphone.a
%{_libdir}/liblinphone.la
%{_libdir}/liblinphone.so
%{_libdir}/pkgconfig/*
2005-03-24 19:32:18 +00:00
%files -n ortp
%defattr(-,root,root)
%doc oRTP/AUTHORS oRTP/ChangeLog oRTP/COPYING oRTP/NEWS oRTP/README oRTP/TODO oRTP/
%{_libdir}/libortp.so.*
%files -n ortp-devel
%defattr(-,root,root)
%{_includedir}/ortp
%{_libdir}/libortp.a
%{_libdir}/libortp.la
%{_libdir}/libortp.so
%changelog
2005-03-24 19:32:18 +00:00
* Thu Mar 24 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-1
- Upstream update
- Separated ortp
- Added %%doc
2005-03-24 02:17:47 +00:00
* Wed Mar 23 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-7
- pkgconfig and -devel fixes
2005-03-23 21:35:47 +00:00
* Wed Mar 23 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-6
- Fix build on x86_64
2005-03-19 17:52:45 +00:00
* Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-5
- %%
2005-03-19 15:57:41 +00:00
* Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-4
2005-03-19 17:52:45 +00:00
- Used %%find_lang
- Tightened up %%files
2005-03-19 15:57:41 +00:00
- Streamlined spec file
2005-03-17 22:53:01 +00:00
* Thu Mar 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-3
2005-03-19 17:52:45 +00:00
- Broke %%description at 80 columns
2005-03-17 22:53:01 +00:00
2005-03-16 18:54:45 +00:00
* Wed Mar 16 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-2
- Removed explicit Requires
* 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.