From 9ab1a59e16eacbbf98c516a0040bba5a821ea04b Mon Sep 17 00:00:00 2001 From: Radek Vokál Date: May 30 2006 11:55:40 +0000 Subject: - fixed for evolution 2.7 --- diff --git a/mail-notification-evolution.patch b/mail-notification-evolution.patch index 2a5bdea..7a22313 100644 --- a/mail-notification-evolution.patch +++ b/mail-notification-evolution.patch @@ -17,13 +17,13 @@ elif test -n "$PKG_CONFIG"; then - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.2 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 - ($PKG_CONFIG --exists "evolution-plugin-2.2 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 -+ if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.6 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 -+ ($PKG_CONFIG --exists "evolution-plugin-2.6 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 ++ if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.8 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 ++ ($PKG_CONFIG --exists "evolution-plugin-2.8 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_EVOLUTION_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "evolution-plugin-2.2 $evolution_plugin_min_version" 2>/dev/null` -+ pkg_cv_EVOLUTION_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "evolution-plugin-2.6 $evolution_plugin_min_version" 2>/dev/null` ++ pkg_cv_EVOLUTION_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "evolution-plugin-2.8 $evolution_plugin_min_version" 2>/dev/null` else pkg_failed=yes fi @@ -33,13 +33,13 @@ elif test -n "$PKG_CONFIG"; then - if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.2 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 - ($PKG_CONFIG --exists "evolution-plugin-2.2 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 -+ if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.6 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 -+ ($PKG_CONFIG --exists "evolution-plugin-2.6 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 ++ if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"evolution-plugin-2.8 \$evolution_plugin_min_version\" >/dev/null 2>&1") >&5 ++ ($PKG_CONFIG --exists "evolution-plugin-2.8 $evolution_plugin_min_version" >/dev/null 2>&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_EVOLUTION_PLUGIN_LIBS=`$PKG_CONFIG --libs "evolution-plugin-2.2 $evolution_plugin_min_version" 2>/dev/null` -+ pkg_cv_EVOLUTION_PLUGIN_LIBS=`$PKG_CONFIG --libs "evolution-plugin-2.6 $evolution_plugin_min_version" 2>/dev/null` ++ pkg_cv_EVOLUTION_PLUGIN_LIBS=`$PKG_CONFIG --libs "evolution-plugin-2.8 $evolution_plugin_min_version" 2>/dev/null` else pkg_failed=yes fi @@ -48,7 +48,7 @@ if test $pkg_failed = yes; then - EVOLUTION_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evolution-plugin-2.2 $evolution_plugin_min_version"` -+ EVOLUTION_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evolution-plugin-2.6 $evolution_plugin_min_version"` ++ EVOLUTION_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evolution-plugin-2.8 $evolution_plugin_min_version"` # Put the nasty error message in config.log where it belongs echo "$EVOLUTION_PLUGIN_PKG_ERRORS" 1>&5 @@ -57,7 +57,7 @@ echo "$as_me:$LINENO: checking for the Evolution plugin directory" >&5 echo $ECHO_N "checking for the Evolution plugin directory... $ECHO_C" >&6 - evolution_plugindir=`$PKG_CONFIG --variable=plugindir evolution-plugin-2.2 2>/dev/null` -+ evolution_plugindir=`$PKG_CONFIG --variable=plugindir evolution-plugin-2.6 2>/dev/null` ++ evolution_plugindir=`$PKG_CONFIG --variable=plugindir evolution-plugin-2.8 2>/dev/null` if test -n "$evolution_plugindir"; then echo "$as_me:$LINENO: result: $evolution_plugindir" >&5 echo "${ECHO_T}$evolution_plugindir" >&6 diff --git a/mail-notification.spec b/mail-notification.spec index baf9467..5160fd1 100644 --- a/mail-notification.spec +++ b/mail-notification.spec @@ -1,6 +1,6 @@ Name: mail-notification Version: 2.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Status icon that informs you if you have new mail Group: Applications/Internet @@ -26,7 +26,7 @@ BuildRequires: gnutls-devel >= 1.0.20 BuildRequires: libgcrypt-devel >= 1.2.0 BuildRequires: libicu-devel >= 2.6 BuildRequires: gob2 -BuildRequires: evolution-devel >= 2.5 +BuildRequires: evolution-devel >= 2.7 BuildRequires: evolution-data-server-devel >= 1.5 @@ -52,7 +52,7 @@ cp %{SOURCE1} ./README.FEDORA %build export LDFLAGS="-Wl,--export-dynamic" -%configure --disable-schemas-install --enable-evolution --with-evolution-source-dir=/usr/include/evolution-2.6 +%configure --disable-schemas-install --enable-evolution --with-evolution-source-dir=/usr/include/evolution-2.8 make %{?_smp_mflags} @@ -113,13 +113,16 @@ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` %{_datadir}/applications/fedora-mail-notification.desktop %{_datadir}/applications/fedora-mail-notification-properties.desktop %{_datadir}/gnome/help/mail-notification/ -%{_libdir}/evolution/2.6/plugins/* +%{_libdir}/evolution/2.8/plugins/* %dir %{_datadir}/omf/mail-notification/ %{_datadir}/omf/mail-notification/mail-notification-C.omf %{_datadir}/pixmaps/mail-notification.png %changelog +* Tue May 30 2006 Radek Vokal 2.0-13 +- fixed for evolution 2.7 + * Thu Apr 27 2006 Paul Clifford 2.0-12 - Added patch for IMAP authentication problem from project homepage (#190137)