SHA256
1
0
forked from pool/pidgin-sipe
Alexei Sorokin 2018-03-16 11:28:22 +00:00 committed by Git OBS Bridge
parent 5d441acb70
commit 6c4c82b25b

View File

@ -22,20 +22,24 @@ 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/
Url: https://sipe.sourceforge.io/
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})
%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)
@ -62,12 +66,12 @@ Skype for Business client with Pidgin.
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
%requires_ge pidgin
%description -n pidgin-plugin-sipe
A third-party plugin for the Pidgin multi-protocol instant
@ -133,7 +137,7 @@ translation-update-upstream
%configure \
--disable-quality-check \
--with-krb5 \
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120200
--with-vv \
%else
--without-vv \
@ -151,8 +155,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
make %{?_smp_mflags} V=1 check
%files -n pidgin-plugin-sipe
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README TODO
%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/*/
@ -161,14 +169,11 @@ make %{?_smp_mflags} V=1 check
%{_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/