diff --git a/.gitignore b/.gitignore index 357cd5b..24d37fb 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,20 @@ evolution-2.31.5.tar.bz2 /evolution-3.9.4.tar.xz /evolution-3.9.5.tar.xz /evolution-3.9.90.tar.xz +/evolution-3.9.91.tar.xz +/evolution-3.9.92.tar.xz +/evolution-3.10.0.tar.xz +/evolution-3.10.1.tar.xz +/evolution-3.11.1.tar.xz +/evolution-3.11.2.tar.xz +/evolution-3.11.4.tar.xz +/evolution-3.11.5.tar.xz +/evolution-3.11.90.tar.xz +/evolution-3.11.91.tar.xz +/evolution-3.11.92.tar.xz +/evolution-3.12.0.tar.xz +/evolution-3.12.1.tar.xz +/evolution-3.12.2.tar.xz +/evolution-3.12.3.tar.xz +/evolution-3.12.4.tar.xz +/evolution-3.12.5.tar.xz diff --git a/evolution-2.30.1-help-contents.patch b/evolution-2.30.1-help-contents.patch deleted file mode 100644 index e0b27af..0000000 --- a/evolution-2.30.1-help-contents.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up evolution-3.9.1/shell/e-shell-window-actions.c.help-contents evolution-3.9.1/shell/e-shell-window-actions.c ---- evolution-3.9.1/shell/e-shell-window-actions.c.help-contents 2013-04-29 11:23:28.943063568 +0200 -+++ evolution-3.9.1/shell/e-shell-window-actions.c 2013-04-29 11:24:16.701599684 +0200 -@@ -1396,6 +1396,15 @@ e_shell_window_actions_init (EShellWindo - if (path == NULL) - gtk_action_set_visible (ACTION (SUBMIT_BUG), FALSE); - g_free (path); -+ -+ /* Viewing user documentation requires the evolution-help -+ * Fedora package. Look for one of the files it installs. */ -+ path = g_build_filename ( -+ EVOLUTION_DATADIR, "help", "C", -+ PACKAGE, "index.page", NULL); -+ if (!g_file_test (path, G_FILE_TEST_IS_REGULAR)) -+ gtk_action_set_visible (ACTION (CONTENTS), FALSE); -+ g_free (path); - } - - GtkWidget * diff --git a/evolution.spec b/evolution.spec index d911425..6498736 100644 --- a/evolution.spec +++ b/evolution.spec @@ -1,6 +1,6 @@ %global _changelog_trimtime %(date +%s -d "1 year ago") -%define glib2_version 2.34.0 +%define glib2_version 2.36.0 %define gtk3_version 3.4.0 %define gtkhtml_version 4.5.2 %define gnome_desktop_version 2.91.3 @@ -10,34 +10,34 @@ %define libgdata_version 0.10.0 %define libgweather_version 3.5.0 %define libsoup_version 2.40.3 -%define clutter_gtk_version 0.10 %define webkit_version 1.8.0 -%define evo_base_version 3.10 +%define evo_base_version 3.12 %define last_anjal_version 0.3.2-3 %define last_libgal2_version 2:2.5.3-2 %define last_evo_nm_version 3.5.0 -%define inline_audio_support 1 %define ldap_support 1 %define libnotify_support 1 %define libpst_support 1 -%define krb5_support 1 + +# Coverity scan can override this to 0, to skip checking in gtk-doc generated code +%{!?with_docs: %define with_docs 1} %define evo_plugin_dir %{_libdir}/evolution/%{evo_base_version}/plugins ### Abstract ### Name: evolution -Version: 3.9.90 +Version: 3.12.5 Release: 1%{?dist} Group: Applications/Productivity Summary: Mail and calendar client for GNOME License: GPLv2+ and GFDL -URL: http://projects.gnome.org/evolution/ +URL: https://wiki.gnome.org/Apps/Evolution BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -Source: http://download.gnome.org/sources/%{name}/3.9/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/%{name}/3.12/%{name}-%{version}.tar.xz Obsoletes: anjal <= %{last_anjal_version} Obsoletes: libgal2 <= %{last_libgal2_version} @@ -48,73 +48,68 @@ Obsoletes: evolution-NetworkManager < %{last_evo_nm_version} # bad hack Patch01: evolution-1.4.4-ldap-x86_64-hack.patch -# RH bug #589555 -Patch02: evolution-2.30.1-help-contents.patch - ## Dependencies ### Requires: gnome-icon-theme >= %{gnome_icon_theme_version} Requires: gvfs +Requires: gtkspell3 Requires: highlight ### Build Dependencies ### -BuildRequires: atk-devel BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1.9 -BuildRequires: cairo-gobject-devel -BuildRequires: clutter-gtk-devel >= %{clutter_gtk_version} BuildRequires: desktop-file-utils -BuildRequires: evolution-data-server-devel >= %{version} BuildRequires: gettext -BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gnome-common -BuildRequires: gnome-desktop3-devel >= %{gnome_desktop_version} BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} -BuildRequires: gnome-icon-theme-devel >= %{gnome_icon_theme_version} -BuildRequires: gnome-online-accounts -BuildRequires: gnutls-devel BuildRequires: gtk-doc -BuildRequires: gtk3-devel >= %{gtk3_version} -BuildRequires: gtkhtml3-devel >= %{gtkhtml_version} BuildRequires: highlight BuildRequires: intltool >= %{intltool_version} BuildRequires: itstool -BuildRequires: libcanberra-devel -BuildRequires: libgdata-devel >= %{libgdata_version} -BuildRequires: libgweather-devel >= %{libgweather_version} -BuildRequires: libpst-devel -BuildRequires: libsoup-devel >= %{libsoup_version} BuildRequires: libtool >= 1.5 -BuildRequires: libxml2-devel -BuildRequires: nspr-devel -BuildRequires: nss-devel BuildRequires: pkgconfig -BuildRequires: webkitgtk3-devel >= %{webkit_version} BuildRequires: yelp-tools -%if %{inline_audio_support} -BuildRequires: gstreamer1-devel -%endif +BuildRequires: pkgconfig(atk) +BuildRequires: pkgconfig(cairo-gobject) +BuildRequires: pkgconfig(camel-1.2) >= %{version} +BuildRequires: pkgconfig(gail-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(gcr-3) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gmodule-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version} +BuildRequires: pkgconfig(gnome-icon-theme) >= %{gnome_icon_theme_version} +BuildRequires: pkgconfig(gsettings-desktop-schemas) +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(gtkhtml-editor-4.0) >= %{gtkhtml_version} +BuildRequires: pkgconfig(gtkspell3-3.0) +BuildRequires: pkgconfig(gweather-3.0) >= %{libgweather_version} +BuildRequires: pkgconfig(libcanberra-gtk3) +BuildRequires: pkgconfig(libebackend-1.2) >= %{version} +BuildRequires: pkgconfig(libebook-1.2) >= %{version} +BuildRequires: pkgconfig(libecal-1.2) >= %{version} +BuildRequires: pkgconfig(libedataserver-1.2) >= %{version} +BuildRequires: pkgconfig(libgdata) >= %{libgdata_version} +BuildRequires: pkgconfig(libgtkhtml-4.0) >= %{gtkhtml_version} +BuildRequires: pkgconfig(libsoup-2.4) >= %{libsoup_version} +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(nspr) +BuildRequires: pkgconfig(nss) +BuildRequires: pkgconfig(shared-mime-info) +BuildRequires: pkgconfig(webkitgtk-3.0) >= %{webkit_version} %if %{ldap_support} BuildRequires: openldap-devel >= 2.0.11 %endif -%if %{krb5_support} -BuildRequires: krb5-devel -# tweak for krb5 1.2 vs 1.3 -%define krb5dir /usr/kerberos -#define krb5dir `pwd`/krb5-fakeprefix -%endif - %if %{libnotify_support} -BuildRequires: libnotify-devel +BuildRequires: pkgconfig(libnotify) %endif %if %{libpst_support} -BuildRequires: libpst-devel -BuildRequires: libytnef-devel +BuildRequires: pkgconfig(libpst) %endif %description @@ -127,18 +122,35 @@ personal information-management tool. Group: Development/Libraries Summary: Development files for building against %{name} Requires: %{name} = %{version}-%{release} -Requires: evolution-data-server-devel >= %{version} -Requires: gtk3-devel >= %{gtk3_version} -Requires: gtkhtml3-devel >= %{gtkhtml_version} -Requires: libgdata-devel >= %{libgdata_version} -Requires: libgweather-devel >= %{libgweather_version} -Requires: libsoup-devel >= %{libsoup_version} -Requires: libxml2-devel +Requires: pkgconfig(camel-1.2) >= %{version} +Requires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +Requires: pkgconfig(gtkhtml-editor-4.0) >= %{gtkhtml_version} +Requires: pkgconfig(gtkspell3-3.0) +Requires: pkgconfig(gweather-3.0) >= %{libgweather_version} +Requires: pkgconfig(libebackend-1.2) >= %{version} +Requires: pkgconfig(libebook-1.2) >= %{version} +Requires: pkgconfig(libecal-1.2) >= %{version} +Requires: pkgconfig(libedataserver-1.2) >= %{version} +Requires: pkgconfig(libgdata) >= %{libgdata_version} +Requires: pkgconfig(libgtkhtml-4.0) >= %{gtkhtml_version} +Requires: pkgconfig(libsoup-2.4) >= %{libsoup_version} +Requires: pkgconfig(libxml-2.0) Obsoletes: libgal2-devel <= %{last_libgal2_version} %description devel Development files needed for building things which link against %{name}. +%package devel-docs +Summary: Developer documentation for Evolution +Group: Development/Libraries +Requires: devhelp +Requires: evolution-devel = %{version}-%{release} +BuildArch: noarch + +%description devel-docs +This package contains developer documentation for Evolution. + +%if %{with_docs} %package help Group: Applications/Productivity Summary: Help files for %{name} @@ -148,6 +160,7 @@ BuildArch: noarch %description help This package contains user documentation for %{name}. +%endif %package bogofilter Group: Applications/Productivity @@ -182,7 +195,6 @@ This package contains supplemental utilities for %{name} that require Perl. Group: Applications/Productivity Summary: PST importer plugin for Evolution Requires: %{name} = %{version}-%{release} -Requires: libpst %description pst This package contains the plugin to import Microsoft Personal Storage Table @@ -192,11 +204,6 @@ This package contains the plugin to import Microsoft Personal Storage Table %prep %setup -q -n evolution-%{version} %patch01 -p1 -b .ldaphack -%patch02 -p1 -b .help-contents - -mkdir -p krb5-fakeprefix/include -mkdir -p krb5-fakeprefix/lib -mkdir -p krb5-fakeprefix/%{_lib} # Remove the welcome email from Novell for inbox in mail/default/*/Inbox; do @@ -211,12 +218,6 @@ done %define ldap_flags --without-openldap %endif -%if %{krb5_support} -%define krb5_flags --with-krb5=%{krb5dir} -%else -%define krb5_flags --without-krb5 -%endif - %define ssl_flags --enable-nss=yes --enable-smime=yes if ! pkg-config --exists nss; then @@ -224,8 +225,14 @@ if ! pkg-config --exists nss; then exit 1 fi +%if %{with_docs} +%define gtkdoc_flags --enable-gtk-doc +%else +%define gtkdoc_flags --disable-gtk-doc +%endif + CPPFLAGS="-I%{_includedir}/et"; export CPPFLAGS -CFLAGS="$RPM_OPT_FLAGS -fPIC -DLDAP_DEPRECATED -I%{_includedir}/et -Wno-sign-compare"; export CFLAGS +CFLAGS="$RPM_OPT_FLAGS -fPIC -DLDAP_DEPRECATED -I%{_includedir}/et -Wno-sign-compare -Wno-deprecated-declarations"; export CFLAGS # Regenerate configure to pick up configure.ac changes aclocal -I m4 @@ -237,13 +244,14 @@ autoconf %configure \ --disable-maintainer-mode \ - --enable-gtk-doc \ --with-sub-version=" (%{version}-%{release})" \ - %ldap_flags %krb5_flags %ssl_flags \ + %ldap_flags %ssl_flags %gtkdoc_flags \ --enable-plugins=all export tagname=CC make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool CFLAGS="$CFLAGS -fno-strict-aliasing" +%if %{with_docs} + # Strip unneeded translations from .mo files. # This reduces the RPM size by several megabytes. cd po @@ -273,6 +281,8 @@ for f in $helpdir/C/figures/*.png; do done done +# %{with_docs} +%endif %install rm -rf $RPM_BUILD_ROOT @@ -287,11 +297,6 @@ find $RPM_BUILD_ROOT/%{_libdir}/evolution -name '*.la' -exec rm {} \; # remove statically built libraries: find $RPM_BUILD_ROOT/%{_libdir}/evolution -name '*.a' -exec rm {} \; -# remove additional things we don't want -%if ! %{inline_audio_support} -%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/evolution/%{evo_base_version}/modules/module-audio-inline.so -%endif - %find_lang evolution-%{evo_base_version} --all-name --with-gnome grep "/usr/share/locale" evolution-%{evo_base_version}.lang > translations.lang @@ -347,6 +352,8 @@ rm -rf $RPM_BUILD_ROOT # The main executable %{_bindir}/evolution +%{_datadir}/appdata/evolution.appdata.xml + # Desktop files: %{_datadir}/applications/evolution.desktop %{_sysconfdir}/xdg/autostart/evolution-alarm-notify.desktop @@ -396,14 +403,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/evolution/%{evo_base_version}/modules/module-settings.so %{_libdir}/evolution/%{evo_base_version}/modules/module-startup-wizard.so %{_libdir}/evolution/%{evo_base_version}/modules/module-text-highlight.so -%{_libdir}/evolution/%{evo_base_version}/modules/module-tnef-attachment.so %{_libdir}/evolution/%{evo_base_version}/modules/module-vcard-inline.so %{_libdir}/evolution/%{evo_base_version}/modules/module-web-inspector.so -%if %{inline_audio_support} -%{_libdir}/evolution/%{evo_base_version}/modules/module-audio-inline.so -%endif - # Shared libraries: %{_libdir}/evolution/%{evo_base_version}/libevolution-mail-composer.so %{_libdir}/evolution/%{evo_base_version}/libeabutil.so @@ -483,20 +485,25 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-, root, root) -%{_datadir}/gtk-doc/html/evolution-mail-composer -%{_datadir}/gtk-doc/html/evolution-mail-formatter -%{_datadir}/gtk-doc/html/evolution-shell -%{_datadir}/gtk-doc/html/evolution-util %{_includedir}/evolution-%{evo_base_version} %{_libdir}/pkgconfig/evolution-calendar-3.0.pc %{_libdir}/pkgconfig/evolution-mail-3.0.pc -%{_libdir}/pkgconfig/evolution-plugin-3.0.pc %{_libdir}/pkgconfig/evolution-shell-3.0.pc %{_libdir}/pkgconfig/libemail-engine.pc +%files devel-docs +%defattr(-,root,root,-) +%doc %{_datadir}/gtk-doc/html/evolution-mail-composer +%doc %{_datadir}/gtk-doc/html/evolution-mail-engine +%doc %{_datadir}/gtk-doc/html/evolution-mail-formatter +%doc %{_datadir}/gtk-doc/html/evolution-shell +%doc %{_datadir}/gtk-doc/html/evolution-util + +%if %{with_docs} %files help -f help.lang %defattr(-, root, root) %dir %{_datadir}/help/*/evolution +%endif %files bogofilter %defattr(-, root, root) @@ -518,6 +525,58 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Sep 04 2014 Richard Hughes - 3.12.5-1 +- Update to 3.12.5 + +* Mon Jul 21 2014 Milan Crha - 3.12.4-1 +- Update to 3.12.4 + +* Mon Jun 09 2014 Milan Crha - 3.12.3-1 +- Update to 3.12.3 + +* Thu May 29 2014 Richard Hughes - 3.12.2-1 +- Update to 3.12.2 + +* Thu Apr 17 2014 Richard Hughes - 3.12.1-1 +- Update to 3.12.1 + +* Thu Feb 27 2014 Michael Kuhn - 3.10.4-2 +- Add upstream patches for GNOME bugs #724023, #722041 and #722698 + +* Mon Feb 10 2014 Milan Crha - 3.10.4-1 +- Update to 3.10.4 + +* Mon Dec 09 2013 Matthew Barnes - 3.10.3-1 +- Update to 3.10.3 + +* Thu Nov 21 2013 Milan Crha - 3.10.2-2 +- Rebuild for new libical (RH bug #1023020) + +* Mon Nov 11 2013 Milan Crha - 3.10.2-1 +- Update to 3.10.2 + +* Mon Oct 14 2013 Milan Crha - 3.10.1-1 +- Update to 3.10.1 +- Remove the dependency on libytnef, which apparently isn't needed for + the PST importer and disable the experimental TNEF attachments plugin +- Avoid help launch with F1 when evolution-help is not installed + +* Mon Sep 23 2013 Milan Crha - 3.10.0-1 +- Update to 3.10.0 +- Remove explicit Requires on libpst in pst subpackage + +* Mon Sep 16 2013 Milan Crha - 3.9.92-1 +- Update to 3.9.92 + +* Tue Sep 03 2013 Kalev Lember - 3.9.91-2 +- Rebuilt for libgnome-desktop soname bump + +* Mon Sep 02 2013 Milan Crha - 3.9.91-1 +- Update to 3.9.91 + +* Fri Aug 23 2013 Milan Crha - 3.9.90-2 +- Split developer documentation into evolution-devel-docs subpackage + * Mon Aug 19 2013 Milan Crha - 3.9.90-1 - Update to 3.9.90 diff --git a/sources b/sources index e559d1d..0991cb4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1152520aff50ce70a8f463a05e5de11b evolution-3.9.90.tar.xz +4cf8ad5385889cc2a701397122c11487 evolution-3.12.5.tar.xz