%bcond_without cap # without Contact Availability Prediction
%bcond_without dbus # without D-BUS (for pidgin-remote and others)
%bcond_without doc # do not generate and include documentation
-%bcond_with dotnet # build with mono support
%bcond_without perl # build without Perl support
%bcond_with evolution # compile without the Pidgin-Evolution plugin
%bcond_with gnutls # use GnuTLS instead of NSS
%undefine with_nm
%endif
-# plain i386 is not supported; mono uses cmpxchg/xadd which require i486
-%ifarch i386
-%undefine with_dotnet
-%endif
-
%define gtk2_ver 2.10.6
%define glib2_ver 2.26.0
Summary(pl.UTF-8): Oparty na GTK+ klient komunikatorów obsługujący wiele protokołów
Summary(pt_BR.UTF-8): Um cliente para o AOL Instant Messenger (AIM)
Name: pidgin
-Version: 2.14.0
+Version: 2.14.1
Release: 1
License: GPL v2+
Group: Applications/Communications
Source0: http://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2
-# Source0-md5: e0afa39c63b7b0e7eccaab254e276e35
+# Source0-md5: e135798bcf952ddb3c9e030c4b160c3e
Patch0: %{name}-nolibs.patch
Patch1: %{name}-dbus-dir.patch
URL: http://www.pidgin.im/
BuildRequires: libtool
BuildRequires: libxml2-devel >= 2.6.26
%{?with_meanwhile:BuildRequires: meanwhile-devel >= 1.0.0}
-%{?with_dotnet:BuildRequires: mono-csharp}
-%{?with_dotnet:BuildRequires: mono-devel}
BuildRequires: pango-devel >= 1.4.0
BuildRequires: rpm >= 4.4.9-56
%if %{with text}
%{__sed} -i -e '1s|#!/usr/bin/env python$|#!%{__python}|' libpurple/purple-{remote,url-handler}
%build
-%if %{with dotnet}
-if [ ! -f /proc/cpuinfo ]; then
- echo >&2 "Mono requires /proc to be mounted."
- exit 1
-fi
-%endif
-
%{__libtoolize}
%{__aclocal} -I m4macros
%{__autoheader}
--%{?with_nm:en}%{!?with_nm:dis}able-nm \
--%{?with_evolution:en}%{!?with_evolution:dis}able-gevolution \
--%{!?with_gtkspell:dis}%{?with_gtkspell:en}able-gtkspell \
- --%{!?with_dotnet:dis}%{?with_dotnet:en}able-mono \
--%{!?with_perl:dis}%{?with_perl:en}able-perl \
--%{?with_text:en}%{!?with_text:dis}able-consoleui \
--with-gadu-libs=%{_libdir} \
%attr(755,root,root) %{_libdir}/purple-2/offlinemsg.so
%attr(755,root,root) %{_libdir}/purple-2/psychic.so
%attr(755,root,root) %{_libdir}/purple-2/ssl.so
+%if %{without gnutls}
%attr(755,root,root) %{_libdir}/purple-2/nss-prefs.so
+%attr(755,root,root) %{_libdir}/purple-2/ssl-nss.so
+%endif
%{?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-gnutls.so}
-%{!?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-nss.so}
%attr(755,root,root) %{_libdir}/purple-2/statenotify.so
-%if %{with dotnet}
-#%attr(755,root,root) %{_libdir}/purple-2/*.dll
-#%attr(755,root,root) %{_libdir}/purple-2/mono.so
-%endif
%{_datadir}/sounds/purple
%if %{with dbus}