SHA256
1
0
forked from pool/pidgin-sipe
pidgin-sipe/pidgin-sipe.spec
Tomáš Chvátal 5d441acb70 Accepting request 586471 from home:fcrozat:branches:network:pidgin
- Update to 1.23.2:
  + fix some HTTP requests that were not sent
- Changes from version 1.23.1:
  + Fixed #337: Duplicate candidates in SDP
  + Fixed #336: Lync autodiscover does not follow user redirect
  + media: unconditionally ignore multichannel codecs
  + Updated translations.
- Changes from version 1.23.0:
  + Feature #100: Extend libpurple D-Bus interface
  + Feature #99: IPv6 addresses in SIP & SDP messages
  + don't load buddy photos from unknown sites by default
    * custom web URIs pose a security risk as they may be abused
    * users can override this behaviour in the account settings
    * Office365 accounts should not be affected by this change
  + add support for GMime 3.0 API
  + raise BR glib-2.0 >= 2.18.0
  + raise BR purple >= 2.7.0
  + drop support for GMime 2.4
  + drop support for gstreamer-0.10

- Update to 1.22.1:

OBS-URL: https://build.opensuse.org/request/show/586471
OBS-URL: https://build.opensuse.org/package/show/network:pidgin/pidgin-sipe?expand=0&rev=5
2018-03-13 20:01:37 +00:00

178 lines
5.9 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.23.2
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: http://sipe.sourceforge.net/
Source: http://downloads.sf.net/sipe/%{name}-%{version}.tar.xz
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmime-3.0)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(nice) >= 0.1.0
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(purple)
BuildRequires: pkgconfig(telepathy-glib) >= 0.18.0
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
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}
Supplements: packageand(libpurple-plugin-sipe:pidgin)
# pidgin-sipe was last used in openSUSE Leap 42.2.
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
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
# 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} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
--with-vv \
%else
--without-vv \
%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
%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