SHA256
1
0
forked from pool/pidgin-sipe
Dominique Leuenberger 2017-01-27 10:04:37 +00:00 committed by Git OBS Bridge
parent c87a5c2059
commit d3c7c3e702
2 changed files with 110 additions and 61 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 16 09:13:38 UTC 2016 - sor.alexei@meowr.ru
- Rename the pidgin-sipe package to pidgin-plugin-sipe.
- Rename the telepathy-plugin-sipe package to telepathy-sipe.
- Require Pidgin of the exact or greater version.
- Make pidgin-plugin-sipe noarch.
- Separate locales to libpurple-plugin-sipe-lang.
- Update description.
-------------------------------------------------------------------
Fri Jul 8 11:27:28 UTC 2016 - tchvatal@suse.com
@ -719,4 +729,3 @@ Mon Aug 11 11:21:48 CDT 2008 - gburt@suse.de
- Initial package for pidgin-sipe
- SIPE 1.2
- http://sipe.sourceforge.net/

View File

@ -19,71 +19,107 @@
Name: pidgin-sipe
Version: 1.21.1
Release: 0
Summary: Pidgin protocol plugin to connect to MS Office Communicator
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.sourceforge.net/project/sipe/sipe/%{name}-%{version}/%{name}-%{version}.tar.xz
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: gettext-devel
BuildRequires: glib2-devel >= 2.12.0
BuildRequires: gmime-devel
BuildRequires: intltool
BuildRequires: krb5-devel
BuildRequires: libpurple-devel >= 2.4.0
BuildRequires: libtool
# For directory ownership
BuildRequires: pidgin
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
Requires: libpurple-plugin-sipe = %{version}
Requires: pidgin
Supplements: packageand(libpurple-plugin-sipe:pidgin}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A third-party plugin for the Pidgin multi-protocol instant messenger.
It implements the extended version of SIP/SIMPLE used by various products:
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.
* Microsoft Office Communications Server (OCS 2007/2007 R2 and newer)
* 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.
With this plugin you should be able to replace your Microsoft Office
Communicator 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 Microsoft LCS/OCS
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 core.
It implements the extended version of SIP/SIMPLE used by various products:
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.
* Microsoft Office Communications Server (OCS 2007/2007 R2 and newer)
* Microsoft Live Communications Server (LCS 2003/2005)
* Reuters Messaging
%lang_package -n libpurple-plugin-sipe
%package -n telepathy-plugin-sipe
Summary: Microsoft LCS/OCS connection manager for Telepathy
%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-plugin-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:
* Microsoft Office Communications Server (OCS 2007/2007 R2 and newer)
* Microsoft Live Communications Server (LCS 2003/2005)
* Reuters Messaging
%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
@ -91,41 +127,45 @@ various products:
translation-update-upstream
%build
autoreconf -fiv
autoreconf -fi
%configure \
--disable-quality-check \
--with-krb5 \
--enable-purple \
--with-vv \
--enable-telepathy
make %{?_smp_mflags}
--enable-telepathy \
--with-vv
make %{?_smp_mflags} V=1
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
%check
make %{?_smp_mflags} check
make %{?_smp_mflags} V=1 check
%files -n libpurple-plugin-sipe -f %{name}.lang
%defattr(-,root,root,-)
%{_libdir}/purple-2/libsipe.so
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%dir %{_datadir}/pixmaps/pidgin/protocols/24
%dir %{_datadir}/pixmaps/pidgin/protocols/32
%{_datadir}/pixmaps/pidgin/protocols/*/sipe.png
%{_datadir}/pixmaps/pidgin/protocols/*/sipe.svg
%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 telepathy-plugin-sipe
%defattr(-, root, root)
%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}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sipe.service
%{_datadir}/empathy/
%{_datadir}/telepathy/
%{_datadir}/empathy/
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sipe.service
%changelog