Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
linphone
linphone.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File linphone.spec of Package linphone
# # spec file for package linphone # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_without ffmpeg Name: linphone Version: 3.10.2 Release: 0 Summary: Web Phone License: GPL-2.0+ Group: Productivity/Networking/Other Url: https://linphone.org/ Source: https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz Source1: %{name}-manual.tar.bz2 BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: libeXosip2-devel BuildRequires: libgsm-devel BuildRequires: libtool BuildRequires: openldap2-devel BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: sgmltool BuildRequires: update-desktop-files BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(belle-sip) >= 1.5.0 BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0 BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libosip2) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libupnp) BuildRequires: pkgconfig(libv4l2) >= 0.8.4 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mediastreamer) >= 2.14.0 BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(ortp) >= 0.27.0 BuildRequires: pkgconfig(speex) >= 1.1.6 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(udev) Recommends: %{name}-lang %if 0%{?suse_version} >= 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) BuildRequires: pkgconfig(libsasl2) %endif %if %{with ffmpeg} BuildRequires: pkgconfig(libavcodec) >= 51.0.0 BuildRequires: pkgconfig(libswscale) >= 0.7.0 %endif %description Linphone is a Web phone with a GNOME interface. It lets you make two-party calls over IP networks such as the Internet. It uses the IETF protocols SIP (Session Initiation Protocol) and RTP (Realtime TransporT Protocol) to make calls, so it should be able to communicate with other SIP-based Web phones. With several codecs available, it can be used with high speed connections as well as 28k modems. %package devel Summary: Web Phone Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: glibc-devel Requires: libeXosip2-devel Requires: libosip2-devel Requires: pkgconfig(alsa) Requires: pkgconfig(glib-2.0) Requires: pkgconfig(speex) %if %{with ffmpeg} Requires: pkgconfig(libavcodec) >= 51.0.0 Requires: pkgconfig(libswscale) >= 0.7.0 %endif %description devel Linphone is a Web phone with a GNOME interface. It lets you make two-party calls over IP networks such as the Internet. It uses the IETF protocols SIP (Session Initiation Protocol) and RTP (Realtime TransporT Protocol) to make calls, so it should be able to communicate with other SIP-based Web phones. With several codecs available, it can be used with high speed connections as well as 28k modems. %lang_package %prep %setup -q %setup -q -D -T -a 1 # Set tutorial path inside /usr/share/linphone/. sed -i "s|\(\$(datadir)/\)\(tutorials\)/%{name}|\1%{name}/\2|" coreapi/help/Makefile.am %build NOCONFIGURE=1 ./autogen.sh %configure \ --docdir=%{_docdir} \ --enable-pulseaudio \ --enable-external-ortp \ --enable-external-mediastreamer \ --enable-zrtp \ %if 0%{?suse_version} >= 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) --enable-ldap \ %endif %if 0%{?suse_version} <= 1320 && !(0%{?sle_version} >= 120100 && 0%{?is_opensuse}) && %{without ffmpeg} --disable-video \ %endif --disable-strict \ --disable-static make %{?_smp_mflags} V=1 %install %make_install %suse_update_desktop_file -r -D "%{name}/index.xml.html" %{name} Network Telephony find %{buildroot} -type f -name "*.la" -delete -print # Remove duplicate COPYING. rm -f %{buildroot}%{_datadir}/%{name}/COPYING # Install the manual. mkdir -p %{buildroot}%{_datadir}/gnome/help/ cp -a %{name} %{buildroot}%{_datadir}/gnome/help/%{name}/ %find_lang %{name} %fdupes %{buildroot}%{_datadir}/ %post %desktop_database_post %icon_theme_cache_post /sbin/ldconfig %postun %desktop_database_postun %icon_theme_cache_postun /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_bindir}/* %{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}tester.so.* %{_datadir}/%{name}/ %exclude %{_datadir}/%{name}/tutorials/ %{_datadir}/lib%{name}_tester/ %{_datadir}/sounds/%{name}/ %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/%{name}* %{_datadir}/pixmaps/%{name}/ %{_mandir}/man?/*.?%{?ext_man} %{_mandir}/*/man?/*.?%{?ext_man} %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml %files devel %defattr(-,root,root) %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/lib%{name}tester.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/%{name}/tutorials/ %files lang -f %{name}.lang %defattr(-,root,root) %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor