]> git.pld-linux.org Git - packages/pidgin.git/commitdiff
- force nss (gnutls also possible) as openssl is not capable for msn encrypt auto/th/pidgin-2_5_0-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 26 Aug 2008 23:09:55 +0000 (23:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- networkmanager bcond
- dot and devhelp for docs

Changed files:
    pidgin.spec -> 1.218

pidgin.spec

index f9762065f3963d64f97399381d120aadacaf6068..cb9e02b60916a3e6c35f8867a4c56a6fdf0d4586 100644 (file)
@@ -11,7 +11,7 @@
 # - add NetworkManager support
 #
 %bcond_without cap             # without Contact Availability Prediction
-%bcond_without dbus            # without dbus (for pidgin-remote and others)
+%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 evolution       # compile without the Pidgin-Evolution plugin
 %bcond_without sasl            # disable SASL support
 %bcond_without text            # don't build text UI
 %bcond_without         silc            # Build without SILC libraries
+%bcond_without         nm                      # NetworkManager support (requires D-Bus)
+
+%if %{without dbus}
+%undefine      with_nm
+%endif
 
 # plain i386 is not supported; mono uses cmpxchg/xadd which require i486
 %ifarch i386
@@ -34,7 +39,7 @@ Summary(pl.UTF-8):    Klient kompatybilny z AOL Instant Messenger
 Summary(pt_BR.UTF-8):  Um cliente para o AOL Instant Messenger (AIM)
 Name:          pidgin
 Version:       2.5.0
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://dl.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2
@@ -45,10 +50,12 @@ Patch2:             %{name}-libgadu.patch
 Patch3:                %{name}-autoconf.patch
 URL:           http://www.pidgin.im/
 BuildRequires: GConf2-devel >= 2.16.0
+%{?with_nm:BuildRequires:      NetworkManager-devel}
 BuildRequires: audiofile-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: avahi-devel
+BuildRequires: nss-devel
 BuildRequires: bind-devel
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 %{?with_dbus:BuildRequires:    dbus-glib-devel >= 0.71}
@@ -249,14 +256,17 @@ fi
 %{__autoconf}
 %{__automake}
 %configure \
+       --disable-gnutls \
        --disable-nas \
-       --enable-nss=no \
+       --enable-nss \
+       %{?with_doc:--enable-dot --enable-devhelp} \
        --with-perl-lib=vendor \
        %{!?with_silc:--with-silc-includes=not_existent_directory} \
        --%{?with_cap:en}%{!?with_cap:dis}able-cap \
        %{?with_sasl:--enable-cyrus-sasl} \
        %{?with_dbus:--enable-dbus --with-dbus-session-dir=%{_datadir}/dbus-1/services} \
        %{!?with_dbus:--disable-dbus} \
+       --%{?with_nm:en}%{!?with_nm:dis}able-nm \
        --%{?with_evolution:en}%{!?with_evolution:dis}able-gevolution \
        %{!?with_gtkspell:--disable-gtkspell} \
        %{?with_dotnet:--enable-mono} \
@@ -355,7 +365,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/purple-2/libqq.so
 %attr(755,root,root) %{_libdir}/purple-2/libjabber.so
 %attr(755,root,root) %{_libdir}/purple-2/liboscar.so
-      
+
 %{?with_meanwhile:%attr(755,root,root) %{_libdir}/purple-2/libsametime.so}
 %{?with_silc:%attr(755,root,root) %{_libdir}/purple-2/libsilcpurple.so}
 %attr(755,root,root) %{_libdir}/purple-2/libsimple.so
This page took 0.166421 seconds and 4 git commands to generate.