2009-04-24 11:45:47 +02:00
#
2011-05-23 15:39:44 +02:00
# spec file for package pidgin-sipe
2009-04-24 11:45:47 +02:00
#
2015-02-16 07:36:26 +01:00
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
2009-04-24 11:45:47 +02:00
#
# 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/
#
2010-12-10 18:50:18 +01:00
2012-12-20 11:04:28 +01:00
%define build_telepathy 1
2009-04-24 11:45:47 +02:00
Name : pidgin-sipe
2015-04-10 09:52:04 +02:00
Version : 1.19.1
2012-01-09 21:44:10 +01:00
Release : 0
2010-03-19 10:08:23 +01:00
Summary : Pidgin protocol plugin to connect to MS Office Communicator
2012-01-09 21:44:10 +01:00
License : GPL-2.0+
2009-12-30 00:29:03 +01:00
Group : Productivity/Networking/Instant Messenger
2012-01-09 21:44:10 +01:00
Url : http://sipe.sourceforge.net/
2015-04-10 09:52:04 +02:00
Source : http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-1.19.1/%{name} -%{version} .tar.xz
2015-08-17 11:52:19 +02:00
# 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
2009-12-30 00:29:03 +01:00
BuildRequires : gettext-devel
2010-04-08 15:39:39 +02:00
BuildRequires : glib2-devel >= 2.12.0
2012-01-19 16:56:40 +01:00
BuildRequires : gmime-devel
2009-12-30 00:29:03 +01:00
BuildRequires : intltool
BuildRequires : krb5-devel
2010-03-19 10:08:23 +01:00
BuildRequires : libpurple-devel >= 2.4.0
2009-12-30 00:29:03 +01:00
BuildRequires : libtool
# For directory ownership
BuildRequires : pidgin
2010-06-05 12:53:21 +02:00
BuildRequires : translation-update-upstream
2011-09-09 11:50:38 +02:00
%if 0%{?suse_version} > 1140
# Put gstreamer in the %%if too, since it's only checked if we have libnice
2015-08-17 11:52:19 +02:00
BuildRequires : pkgconfig(gstreamer-1.0)
2011-09-09 11:50:38 +02:00
BuildRequires : pkgconfig(nice) >= 0.1.0
%endif
2010-12-10 18:50:12 +01:00
BuildRequires : pkgconfig(nss)
%if %{build_telepathy}
2012-12-20 11:04:28 +01:00
BuildRequires : pkgconfig(telepathy-glib) >= 0.18.0
2010-12-10 18:50:12 +01:00
%endif
2009-12-30 00:29:03 +01:00
Requires : libpurple-plugin-sipe = %{version}
Requires : pidgin
Supplements: packageand(libpurple-plugin-sipe:pidgin}
2009-04-24 11:45:47 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
2010-03-19 10:08:23 +01:00
A third-party plugin for the Pidgin multi-protocol instant messenger.
It implements the extended version of SIP/SIMPLE used by various products:
2009-04-24 11:45:47 +02:00
2010-03-19 10:08:23 +01:00
* Microsoft Office Communications Server (OCS 2007/2007 R2 and newer)
2009-12-30 00:29:03 +01:00
* Microsoft Live Communications Server (LCS 2003/2005)
* Reuters Messaging
2009-04-24 11:45:47 +02:00
2010-03-19 10:08:23 +01:00
With this plugin you should be able to replace your Microsoft Office
Communicator client with Pidgin.
2009-12-30 00:29:03 +01:00
This package provides the icon set for Pidgin.
%package -n libpurple-plugin-sipe
Summary : Libpurple third-party plugin for Microsoft LCS/OCS
Group : Productivity/Networking/Instant Messenger
Enhances: libpurple
2009-04-24 11:45:47 +02:00
2009-12-30 00:29:03 +01:00
%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:
2010-03-19 10:08:23 +01:00
* Microsoft Office Communications Server (OCS 2007/2007 R2 and newer)
2009-12-30 00:29:03 +01:00
* Microsoft Live Communications Server (LCS 2003/2005)
* Reuters Messaging
2009-04-24 11:45:47 +02:00
2010-12-10 18:50:12 +01:00
%if %{build_telepathy}
2010-12-10 18:50:18 +01:00
2010-12-10 18:50:12 +01:00
%package -n telepathy-plugin-sipe
2011-09-09 11:50:44 +02:00
2010-12-10 18:50:12 +01:00
Summary : Microsoft LCS/OCS connection manager for Telepathy
Group : Productivity/Networking/Instant Messenger
%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
%endif
2009-04-24 11:45:47 +02:00
%prep
%setup -q
2015-08-17 11:52:19 +02:00
%patch0 -p1
2010-06-05 12:53:21 +02:00
translation-update-upstream
2009-04-24 11:45:47 +02:00
%build
%{?env_options}
2015-08-17 11:52:19 +02:00
autoreconf -fiv
2010-04-08 15:39:39 +02:00
%configure \
--with-krb5 \
--enable-purple \
2015-08-17 11:52:19 +02:00
--with-vv \
2010-12-10 18:50:12 +01:00
%if %{build_telepathy}
--enable-telepathy
%else
2010-04-08 15:39:39 +02:00
--disable-telepathy
2010-12-10 18:50:12 +01:00
%endif
2009-12-30 00:29:03 +01:00
make %{_smp_mflags}
2009-04-24 11:45:47 +02:00
%install
%makeinstall
2009-12-30 00:29:03 +01:00
find %{buildroot} -type f -name " * . l a " -delete -print
2010-04-08 15:39:39 +02:00
# SLES11 defines suse_version = 1110
%if 0%{?suse_version} && 0%{?suse_version} < 1120
rm -r %{buildroot} /%{_datadir} /pixmaps/pidgin/protocols/scalable
%endif
2009-12-30 00:29:03 +01:00
%find_lang %{name}
2009-04-24 11:45:47 +02:00
2010-04-08 15:39:39 +02:00
%check
make check
2009-04-24 11:45:47 +02:00
%clean
2009-12-30 00:29:03 +01:00
rm -rf %{buildroot}
%files -n libpurple-plugin-sipe -f %{name}.lang
%defattr (-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_libdir} /purple-2/libsipe.so
%files
%defattr (-,root,root,-)
%doc AUTHORS COPYING
2012-12-20 11:04:28 +01:00
%dir %{_datadir} /pixmaps/pidgin/protocols/24
%dir %{_datadir} /pixmaps/pidgin/protocols/32
2009-12-30 00:29:03 +01:00
%{_datadir} /pixmaps/pidgin/protocols/*/sipe.png
2010-04-08 15:39:39 +02:00
# SLES11 defines suse_version = 1110
%if !0%{?suse_version} || 0%{?suse_version} >= 1120
%{_datadir} /pixmaps/pidgin/protocols/*/sipe.svg
%endif
2009-04-24 11:45:47 +02:00
2010-12-10 18:50:12 +01:00
%if %{build_telepathy}
2010-12-10 18:50:18 +01:00
2010-12-10 18:50:12 +01:00
%files -n telepathy-plugin-sipe
%defattr (-, root, root)
%{_libexecdir} /telepathy-sipe
2012-12-20 11:04:28 +01:00
%{_datadir} /dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sipe.service
%{_datadir} /empathy/
%{_datadir} /telepathy/
2010-12-10 18:50:12 +01:00
%endif }
2009-04-24 11:45:47 +02:00
%changelog