# # spec file for package pidgin-sipe # # Copyright (c) 2016 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/ # Name: pidgin-sipe Version: 1.21.1 Release: 0 Summary: Pidgin protocol plugin to connect to MS Skype for Business License: GPL-2.0+ Group: Productivity/Networking/Instant Messenger Url: http://sipe.sourceforge.net/ Source: http://downloads.sf.net/sipe/%{name}-%{version}.tar.xz # PATCH-FEATURE-UPSTREAM pidgin-sipe-gstreamer-1.0.patch dimstar@opensuse.org -- Read the GStreamer branch to be used from purple.pc; taken from https://pidgin.im/pipermail/devel/2015-March/023647.html Patch0: pidgin-sipe-gstreamer-1.0.patch BuildRequires: intltool BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: translation-update-upstream BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmime-2.6) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(nice) >= 0.1.0 BuildRequires: pkgconfig(nss) BuildRequires: pkgconfig(purple) BuildRequires: pkgconfig(telepathy-glib) >= 0.18.0 %description A third-party plugin for the Pidgin multi-protocol instant messenger. It implements the extended version of SIP/SIMPLE used by various products: * Skype for Business. * Microsoft Office 365. * Microsoft Business Productivity Online Suite (BPOS). * Microsoft Lync Server. * Microsoft Office Communications Server (OCS 2007/2007 R2). * Microsoft Live Communications Server (LCS 2003/2005). * Reuters Messaging. With this plugin you should be able to replace your Skype for Business client with Pidgin. %package -n pidgin-plugin-sipe Summary: Pidgin protocol plugin to connect to MS Skype for Business Group: Productivity/Networking/Instant Messenger Requires: libpurple-plugin-sipe = %{version} Supplements: packageand(libpurple-plugin-sipe:pidgin) # pidgin-sipe was last used in openSUSE Leap 42.2. Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} BuildArch: noarch %requires_ge pidgin %description -n pidgin-plugin-sipe A third-party plugin for the Pidgin multi-protocol instant messenger. It implements the extended version of SIP/SIMPLE used by various products: * Skype for Business. * Microsoft Office 365. * Microsoft Business Productivity Online Suite (BPOS). * Microsoft Lync Server. * Microsoft Office Communications Server (OCS 2007/2007 R2). * Microsoft Live Communications Server (LCS 2003/2005). * Reuters Messaging. With this plugin you should be able to replace your Skype for Business client with Pidgin. This package provides the icon set for Pidgin. %package -n libpurple-plugin-sipe Summary: Libpurple third-party plugin for MS Skype for Business Group: Productivity/Networking/Instant Messenger Recommends: libpurple-plugin-sipe-lang Enhances: libpurple %description -n libpurple-plugin-sipe A third-party plugin for the libpurple multi-protocol instant messaging library. It implements the extended version of SIP/SIMPLE used by various products: * Skype for Business. * Microsoft Office 365. * Microsoft Business Productivity Online Suite (BPOS). * Microsoft Lync Server. * Microsoft Office Communications Server (OCS 2007/2007 R2). * Microsoft Live Communications Server (LCS 2003/2005). * Reuters Messaging. %lang_package -n libpurple-plugin-sipe %package -n telepathy-sipe Summary: MS Skype for Business connection manager for Telepathy Group: Productivity/Networking/Instant Messenger # telepathy-plugin-sipe was last used in openSUSE Leap 42.2. Provides: telepathy-plugin-sipe = %{version}-%{release} Obsoletes: telepathy-plugin-sipe < %{version}-%{release} %description -n telepathy-sipe A third-party connection manager for the telepathy multi-protocol instant messaging core. It implements the extended version of SIP/SIMPLE used by various products: * Skype for Business. * Microsoft Office 365. * Microsoft Business Productivity Online Suite (BPOS). * Microsoft Lync Server. * Microsoft Office Communications Server (OCS 2007/2007 R2). * Microsoft Live Communications Server (LCS 2003/2005). * Reuters Messaging. %prep %setup -q %patch0 -p1 translation-update-upstream %build autoreconf -fi %configure \ --disable-quality-check \ --with-krb5 \ --enable-purple \ --enable-telepathy \ --with-vv make %{?_smp_mflags} V=1 %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %check make %{?_smp_mflags} V=1 check %files -n pidgin-plugin-sipe %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README TODO %dir %{_datadir}/pixmaps/pidgin/ %dir %{_datadir}/pixmaps/pidgin/protocols/ %dir %{_datadir}/pixmaps/pidgin/protocols/*/ %{_datadir}/pixmaps/pidgin/protocols/*/sipe.* %dir %{_datadir}/appdata/ %{_datadir}/appdata/pidgin-sipe.metainfo.xml %files -n libpurple-plugin-sipe %defattr(-,root,root) %{_libdir}/purple-2/libsipe.so %files -n libpurple-plugin-sipe-lang -f %{name}.lang %defattr(-,root,root) %files -n telepathy-sipe %defattr(-,root,root) %{_libexecdir}/telepathy-sipe %{_datadir}/telepathy/ %{_datadir}/empathy/ %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sipe.service %changelog