pidgin-sipe/pidgin-sipe.spec
Alexei Sorokin f49e69b06e Accepting request 651430 from home:fcrozat:branches:network:pidgin
- Update to 1.24.0 (Application Sharing II):
  + Feature #104: Use user agent also for HTTP
  + Feature #6: Application Sharing Server (requires
    freerdp-shadow2)
  + add timeout handling for media streams
  + update AppStream handling
  + fix missing localisation in some code modules
  + debug log improvements
- Add BR pkgconfig(freerdp-shadow2) and AppStream for SLE15/Leap 15
  or later.

OBS-URL: https://build.opensuse.org/request/show/651430
OBS-URL: https://build.opensuse.org/package/show/network:pidgin/pidgin-sipe?expand=0&rev=10
2018-11-23 20:34:48 +00:00

196 lines
6.2 KiB
RPMSpec

#
# spec file for package pidgin-sipe
#
# Copyright (c) 2018 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.24.0
Release: 0
Summary: Pidgin protocol plugin to connect to MS Skype for Business
License: GPL-2.0-or-later
Group: Productivity/Networking/Instant Messenger
Url: https://sipe.sourceforge.io/
Source: http://downloads.sf.net/sipe/%{name}-%{version}.tar.xz
%if 0%{?suse_version} >= 1500
BuildRequires: AppStream
%endif
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(freerdp-shadow2)
%endif
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(nice) >= 0.1.13
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(purple) >= 2.0.12
BuildRequires: pkgconfig(telepathy-glib) >= 0.18.0
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(gmime-3.0)
%else
BuildRequires: pkgconfig(gmime-2.6)
%endif
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120200
BuildRequires: pkgconfig(farstream-0.2)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-rtp-1.0)
Recommends: freerdp
Recommends: remmina
%endif
%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}
%requires_ge pidgin
Supplements: packageand(libpurple-plugin-sipe:pidgin)
# pidgin-sipe was last used in openSUSE Leap 42.2.
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
BuildArch: noarch
%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
# telepathy-plugin-sipe was last used in openSUSE Leap 42.2.
Group: Productivity/Networking/Instant Messenger
Provides: telepathy-plugin-sipe = %{version}
Obsoletes: telepathy-plugin-sipe < %{version}
%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
translation-update-upstream
%build
%configure \
--disable-quality-check \
--with-krb5 \
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120200
--with-vv \
%else
--without-vv \
%endif
%if 0%{?suse_version} >= 1500
--with-appstream \
%else
--without-appstream \
%endif
--enable-purple \
--enable-telepathy
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
%if 0%{?suse_version} >= 1500
%license COPYING
%else
%doc COPYING
%endif
%doc AUTHORS ChangeLog README TODO
%dir %{_datadir}/pixmaps/pidgin/
%dir %{_datadir}/pixmaps/pidgin/protocols/
%dir %{_datadir}/pixmaps/pidgin/protocols/*/
%{_datadir}/pixmaps/pidgin/protocols/*/sipe.*
%if 0%{?suse_version} >= 1500
%dir %{_datadir}/metainfo/
%{_datadir}/metainfo/pidgin-sipe.metainfo.xml
%endif
%files -n libpurple-plugin-sipe
%{_libdir}/purple-2/libsipe.so
%files -n libpurple-plugin-sipe-lang -f %{name}.lang
%files -n telepathy-sipe
%{_libexecdir}/telepathy-sipe
%{_datadir}/telepathy/
%{_datadir}/empathy/
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sipe.service
%changelog