X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=pidgin.spec;h=8edb8b821f14fbccbd073a3f9a2c8d759c794aac;hb=b4a5bf13f8ba1ef181db722b7ff730724369fb33;hp=c20701ce30d09d1cf797a77c4b5516000637f8e7;hpb=6afd3623d170a3f1415532af72b690dff043abae;p=packages%2Fpidgin.git diff --git a/pidgin.spec b/pidgin.spec index c20701c..8edb8b8 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -7,6 +7,7 @@ %bcond_without doc # Doxygen generated documentation %bcond_without cap # Contact Availability Prediction plugin %bcond_without dbus # D-Bus support (for pidgin-remote and others) +%bcond_without gconf # URL handler registration via GConf2 %bcond_with gnutls # use GnuTLS instead of NSS %bcond_without gtkspell # GtkSpell automatic spell checking %bcond_without nm # NetworkManager support (requires D-Bus) @@ -25,7 +26,7 @@ %endif %define gtk2_ver 2.10.6 -%define glib2_ver 2.26.0 +%define glib2_ver 2.68.0 Summary: A GTK+ based multiprotocol instant messaging client Summary(de.UTF-8): Pidgin ist ein Instant Messenger @@ -34,18 +35,20 @@ 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.4 -Release: 3 +Version: 2.14.6 +Release: 1 License: GPL v2+ Group: Applications/Communications Source0: https://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2 -# Source0-md5: 9c25da082df1bd42bd1f345fe01d83d1 +# Source0-md5: bba0fd38ee1d8b9b725c4dbdc33e58e7 Patch0: %{name}-nolibs.patch Patch1: %{name}-dbus-dir.patch Patch2: %{name}-ca_file.patch URL: http://www.pidgin.im/ +%if %{with gconf} BuildRequires: GConf2 BuildRequires: GConf2-devel >= 2.16.0 +%endif %{?with_nm:BuildRequires: NetworkManager-devel} BuildRequires: autoconf >= 2.50 BuildRequires: automake >= 1:1.9 @@ -108,7 +111,7 @@ BuildRequires: graphviz %endif Requires(post,postun): gtk-update-icon-cache Requires(post,postun): hicolor-icon-theme -Requires(post,preun): GConf2 >= 2.16.0 +%{?with_gconf:Requires(post,preun): GConf2 >= 2.16.0} Requires: gtk+2 >= 2:%{gtk2_ver} Requires: hicolor-icon-theme Requires: libpurple = %{version}-%{release} @@ -568,6 +571,7 @@ Obsługa protokołu Zephyr dla libpurple. %{__autoheader} %{__automake} %configure \ + %{!?with_gconf:ac_cv_path_GCONFTOOL=no} \ --enable-cap%{!?with_cap:=no} \ --enable-consoleui%{!?with_text:=no} \ %{?with_sasl:--enable-cyrus-sasl} \ @@ -639,7 +643,7 @@ done rm -rf $RPM_BUILD_ROOT %post -%gconf_schema_install purple.schemas +%{?with_gconf:%gconf_schema_install purple.schemas} %update_icon_cache hicolor if [ "$1" = 1 ]; then %banner %{name} -e <<-EOF @@ -648,7 +652,7 @@ EOF fi %preun -%gconf_schema_uninstall purple.schemas +%{?with_gconf:%gconf_schema_uninstall purple.schemas} %postun %update_icon_cache hicolor @@ -662,7 +666,7 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog{,.API} HACKING NEWS PLUGIN_HOWTO README* -%{_sysconfdir}/gconf/schemas/purple.schemas +%{?with_gconf:%{_sysconfdir}/gconf/schemas/purple.schemas} %attr(755,root,root) %{_bindir}/pidgin %dir %{_libdir}/pidgin %if %{with cap}