]> git.pld-linux.org Git - packages/pidgin.git/blobdiff - pidgin.spec
fix build with gnutls
[packages/pidgin.git] / pidgin.spec
index bf0ed50cd76b7cdccd2f732495a726a5dadc1a50..6a3462e9249a69aea2260b03e7ab4be5bb1f437d 100644 (file)
@@ -16,7 +16,6 @@
 %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
 
@@ -47,12 +41,12 @@ Summary(ko.UTF-8):  AOL 인스턴트 메신저와 호환되는 클라이언트
 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/
@@ -81,8 +75,6 @@ BuildRequires:        libidn-devel
 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}
@@ -568,13 +560,6 @@ Dokumentacja Pidgina dla programistów (format HTML).
 %{__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}
@@ -597,7 +582,6 @@ fi
        --%{?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} \
@@ -732,14 +716,12 @@ fi
 %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}
This page took 0.079506 seconds and 4 git commands to generate.