Репозитории ALT
S: | 3.50.0-alt1 |
5.1: | 2.26.3-alt2 |
4.1: | 2.22.3-alt0.M41.1 |
4.0: | 2.8.3-alt3 |
3.0: | 2.2.3-alt1.1 |
Группа :: Офис
Пакет: evolution
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 2.8
%define ver_base 2.8
%def_disable pilot
Name: evolution
Version: %ver_major.3
Release: alt3
Summary: Integrated GNOME mail client, calendar and address book
License: GPL
Group: Office
Url: http://www.gnome.org/projects/%name/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch0: %name-2.8.0-gnome-spell-gconf-path.patch
### Patches ###
# bad hack
Patch10: evolution-1.4.4-ldap-x86_64-hack.patch
# Fix for RH bug #154360:
Patch11: evolution-2.5.5.1-commit-enter-on-calendar.patch
# Move autosave file
Patch12: evolution-2.5.4-move-autosave-file.patch
# Fix for RH bug 164957 (was for 145552):
Patch13: evolution-2.0.2-fix-145552.patch
# Part of RH bug 170799:
Patch14: evolution-2.4.1-hide-switcher-buttons-by-default.patch
# Patches for conduits, based upon
# rh-161817-attach-116019-conduit_pilot_link_updates.diff
# (the latter patch was originally by Mark G. Adams):
# Patch15: evolution-2.5.4-fix-conduits.patch
# Move .conduit files from share to lib (for the sake of multilib)
# This patch effects other parts of evolution.spec and so is necessary
# for a successful build.
Patch16: evolution-2.5.4-fix-conduit-dir.patch
# Remove gnome-common macros from configure.in.
# We do not ship gnome-common (or at least we're not supposed to).
Patch17: evolution-2.7.1-no-gnome-common.patch
# RH bug #157400 / GNOME bug #303877
Patch18: evolution-2.7.4-candidate-window-position-task.patch
# RH bug #157505 / GNOME bug #303878
Patch19: evolution-2.7.4-candidate-window-position-calendar.patch
# RH bug #166231 / GNOME bug #264485
Patch20: evolution-2.7.3-replicated-cjk-input.patch
# RH bug #178295 / GNOME bug #348638
Patch21: evolution-2.7.4-deleting-preedit-buffer.patch
# RH bug #202289
Patch22: evolution-2.7.92-fix-prgname.patch
# RH bug #161885 / GNOME bug #309166
Patch23: evolution-2.8.0-indic-cursor-movement.patch
# GNOME bug #357216
Patch24: evolution-2.8.0-deprecated-gdk-font.patch
# GNOME bug #402606
Patch25: evolution-2.8.3-implicit-function-declaration.patch
# CVE-2007-1002
Patch26: evolution-2.8.3-CVE-2007-1002.patch
Provides: camel
%define GConf_ver 2.10.0
%define ORBit_ver 2.12.1
%define libbonobo_ver 2.8.1
%define gtkhtml3_ver 3.10.0
%define soup_ver 2.2.6
%define eds_ver 1.8.0
Requires(post,postun): scrollkeeper
PreReq: GConf2 >= %GConf_ver
Requires: gnome-spell
Requires: libgtkhtml3 >= %gtkhtml3_ver
Requires: libsoup >= %soup_ver
Requires: libORBit2 >= %ORBit_ver
Requires: libbonobo2 >= %libbonobo_ver
Requires: evolution-data-server >= %eds_ver
# Some plugins/extensions link with others, resulting in multiple rpath entries
%set_verify_elf_method rpath=relaxed
# Automatically added by buildreq on Tue Sep 05 2006
BuildRequires: docbook-utils evolution-data-server-devel flex GConf glibc-devel-static gnome-vfs-devel gtk-doc libavahi-glib libbonobo-devel libdbus-glib-devel libGConf-devel libglade-devel libgnomeprint-devel libgnomeprintui-devel libgnomeui-devel libgtkhtml3-devel libhal-devel libkrb5-devel libldap-devel libnotify-devel libnspr-devel libnss-devel libsoup-devel libssl-devel libX11-devel
BuildRequires: gnome-common
BuildRequires: libgtkhtml3-devel >= %gtkhtml3_ver
BuildRequires: ORBit2-devel >= %ORBit_ver
BuildRequires: libbonobo2-devel >= %libbonobo_ver
BuildRequires: libsoup-devel >= %soup_ver
BuildRequires: evolution-data-server-devel >= %eds_ver
BuildRequires: gnome-icon-theme
BuildConflicts: evolution-devel
%description
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.
%package pilot
Summary: Evolution conduits for gnome-pilot
Group: Communications
Obsoletes: %name-pilot
Requires: %name = %version-%release
%description pilot
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.
This package contains conduits needed by gnome-pilot to
synchronize your Palm with Evolution
%package devel
Summary: Evolution development files
Group: Development/C
Requires: %name = %version-%release
Requires: evolution-data-server-devel >= %eds_ver
%description devel
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.
This package contains files needed to develop Evolution plugins.
%add_findprov_lib_path %_libdir/%name/%ver_base
%add_findprov_lib_path %_libdir/%name/%ver_base/components
%prep
%setup -q
%patch0 -p1
%patch10 -p1 -b .ldaphack
%patch11 -p1 -b .commit-enter-on-calendar
%patch12 -p1 -b .move-autosave-file
%patch13 -p1 -b .fix-164957
%patch14 -p1 -b .hide-switcher-buttons-by-default
#patch15 -p1 -b .fix-conduits # leave commented
%patch16 -p1 -b .fix-conduit-dir
%patch17 -p1 -b .no-gnome-common
%patch18 -p1 -b .candidate-window-position-task
%patch19 -p1 -b .candidate-window-position-calendar
%patch20 -p1 -b .replicated-cjk-input
%patch21 -p1 -b .deleting-preedit-buffer
%patch22 -p1 -b .fix-prgname
%patch23 -p1 -b .indic-cursor-movement
%patch24 -p1 -b .deprecated-gdk-font
%patch25 -p1 -b .implicit-function-declaration
%patch26 -p1 -b .CVE-2007-1002
%__subst '/use diagnostics/d' addressbook/tools/csv2vcard
#__subst 's,(Unstable),,' data/evolution.desktop*
%build
%define _libexecdir %_libdir
# Required after Patch1
intltoolize --copy --force
autoreconf -isfv
export ac_cv_path_SENDMAIL=%_sbindir/sendmail
export KILL_PROCESS_CMD=%_bindir/killall
%configure \
--with-openldap \
--enable-gtk-doc \
--with-openldap=yes \
--with-static-ldap=no \
--with-sub-version=" (%version-%release)" \
--with-kde-applnk-path=no \
--enable-ipv6 \
--enable-nntp=yes \
%if_enabled pilot
--enable-pilot-conduits=yes \
%else
--enable-pilot-conduits=no \
%endif
--enable-nss \
--with-nspr-includes=%_includedir/nspr \
--with-nss-includes=%_includedir/nss \
--with-krb5=%_prefix \
--with-krb5-includes=%_includedir/krb5 \
--disable-schemas-install
# --disable-default-binary
%make_build
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make DESTDIR=%buildroot install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# evolution command name
%__ln_s evolution-%ver_major %buildroot%_bindir/evolution
# remove non-packaged files
%__rm -f %buildroot%_libdir/%name/%ver_base/*.la
%__rm -f %buildroot%_libdir/%name/%ver_base/*/*.la
%__rm -f %buildroot%_libdir/%name/%ver_base/gnome-pilot/conduits/*.la
# temporarily fix for other applications that requires thease libraries
for f in %buildroot%_libdir/%name/%ver_base/{libeshell*,libeutil*}; do
%__ln_s %name/%ver_base/`basename $f` %buildroot%_libdir/`basename $f`
done
%__mkdir_p %buildroot%_datadir/mime-info
%__install -p -m644 data/%name.keys %buildroot%_datadir/mime-info/evolution-2.8.keys
%__install -p -m644 data/%name.mime %buildroot%_datadir/mime-info/evolution-2.8.mime
%find_lang --with-gnome --output=%name.lang %name %name-%ver_base
%define schemas apps-evolution-mail-prompts-checkdefault-%ver_base apps_evolution_addressbook-%ver_base apps_evolution_calendar-%ver_base apps_evolution_shell-%ver_base evolution-mail-%ver_base
%post
%post_ldconfig
%gconf2_install %schemas
%update_scrollkeeper
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas
fi
%postun
%postun_ldconfig
%clean_scrollkeeper
%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_libdir/bonobo/servers/*
%_libdir/%name
%_datadir/applications/*
%_datadir/idl/*
%_datadir/mime-info/*
%_datadir/%name
%_datadir/pixmaps/*
%_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog INSTALL NEWS README
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%if_enabled pilot
%files pilot
%_libdir/gnome-pilot/conduits/*.so
%_datadir/gnome-pilot/conduits/*
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%define ver_base 2.8
%def_disable pilot
Name: evolution
Version: %ver_major.3
Release: alt3
Summary: Integrated GNOME mail client, calendar and address book
License: GPL
Group: Office
Url: http://www.gnome.org/projects/%name/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch0: %name-2.8.0-gnome-spell-gconf-path.patch
### Patches ###
# bad hack
Patch10: evolution-1.4.4-ldap-x86_64-hack.patch
# Fix for RH bug #154360:
Patch11: evolution-2.5.5.1-commit-enter-on-calendar.patch
# Move autosave file
Patch12: evolution-2.5.4-move-autosave-file.patch
# Fix for RH bug 164957 (was for 145552):
Patch13: evolution-2.0.2-fix-145552.patch
# Part of RH bug 170799:
Patch14: evolution-2.4.1-hide-switcher-buttons-by-default.patch
# Patches for conduits, based upon
# rh-161817-attach-116019-conduit_pilot_link_updates.diff
# (the latter patch was originally by Mark G. Adams):
# Patch15: evolution-2.5.4-fix-conduits.patch
# Move .conduit files from share to lib (for the sake of multilib)
# This patch effects other parts of evolution.spec and so is necessary
# for a successful build.
Patch16: evolution-2.5.4-fix-conduit-dir.patch
# Remove gnome-common macros from configure.in.
# We do not ship gnome-common (or at least we're not supposed to).
Patch17: evolution-2.7.1-no-gnome-common.patch
# RH bug #157400 / GNOME bug #303877
Patch18: evolution-2.7.4-candidate-window-position-task.patch
# RH bug #157505 / GNOME bug #303878
Patch19: evolution-2.7.4-candidate-window-position-calendar.patch
# RH bug #166231 / GNOME bug #264485
Patch20: evolution-2.7.3-replicated-cjk-input.patch
# RH bug #178295 / GNOME bug #348638
Patch21: evolution-2.7.4-deleting-preedit-buffer.patch
# RH bug #202289
Patch22: evolution-2.7.92-fix-prgname.patch
# RH bug #161885 / GNOME bug #309166
Patch23: evolution-2.8.0-indic-cursor-movement.patch
# GNOME bug #357216
Patch24: evolution-2.8.0-deprecated-gdk-font.patch
# GNOME bug #402606
Patch25: evolution-2.8.3-implicit-function-declaration.patch
# CVE-2007-1002
Patch26: evolution-2.8.3-CVE-2007-1002.patch
Provides: camel
%define GConf_ver 2.10.0
%define ORBit_ver 2.12.1
%define libbonobo_ver 2.8.1
%define gtkhtml3_ver 3.10.0
%define soup_ver 2.2.6
%define eds_ver 1.8.0
Requires(post,postun): scrollkeeper
PreReq: GConf2 >= %GConf_ver
Requires: gnome-spell
Requires: libgtkhtml3 >= %gtkhtml3_ver
Requires: libsoup >= %soup_ver
Requires: libORBit2 >= %ORBit_ver
Requires: libbonobo2 >= %libbonobo_ver
Requires: evolution-data-server >= %eds_ver
# Some plugins/extensions link with others, resulting in multiple rpath entries
%set_verify_elf_method rpath=relaxed
# Automatically added by buildreq on Tue Sep 05 2006
BuildRequires: docbook-utils evolution-data-server-devel flex GConf glibc-devel-static gnome-vfs-devel gtk-doc libavahi-glib libbonobo-devel libdbus-glib-devel libGConf-devel libglade-devel libgnomeprint-devel libgnomeprintui-devel libgnomeui-devel libgtkhtml3-devel libhal-devel libkrb5-devel libldap-devel libnotify-devel libnspr-devel libnss-devel libsoup-devel libssl-devel libX11-devel
BuildRequires: gnome-common
BuildRequires: libgtkhtml3-devel >= %gtkhtml3_ver
BuildRequires: ORBit2-devel >= %ORBit_ver
BuildRequires: libbonobo2-devel >= %libbonobo_ver
BuildRequires: libsoup-devel >= %soup_ver
BuildRequires: evolution-data-server-devel >= %eds_ver
BuildRequires: gnome-icon-theme
BuildConflicts: evolution-devel
%description
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.
%package pilot
Summary: Evolution conduits for gnome-pilot
Group: Communications
Obsoletes: %name-pilot
Requires: %name = %version-%release
%description pilot
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.
This package contains conduits needed by gnome-pilot to
synchronize your Palm with Evolution
%package devel
Summary: Evolution development files
Group: Development/C
Requires: %name = %version-%release
Requires: evolution-data-server-devel >= %eds_ver
%description devel
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.
This package contains files needed to develop Evolution plugins.
%add_findprov_lib_path %_libdir/%name/%ver_base
%add_findprov_lib_path %_libdir/%name/%ver_base/components
%prep
%setup -q
%patch0 -p1
%patch10 -p1 -b .ldaphack
%patch11 -p1 -b .commit-enter-on-calendar
%patch12 -p1 -b .move-autosave-file
%patch13 -p1 -b .fix-164957
%patch14 -p1 -b .hide-switcher-buttons-by-default
#patch15 -p1 -b .fix-conduits # leave commented
%patch16 -p1 -b .fix-conduit-dir
%patch17 -p1 -b .no-gnome-common
%patch18 -p1 -b .candidate-window-position-task
%patch19 -p1 -b .candidate-window-position-calendar
%patch20 -p1 -b .replicated-cjk-input
%patch21 -p1 -b .deleting-preedit-buffer
%patch22 -p1 -b .fix-prgname
%patch23 -p1 -b .indic-cursor-movement
%patch24 -p1 -b .deprecated-gdk-font
%patch25 -p1 -b .implicit-function-declaration
%patch26 -p1 -b .CVE-2007-1002
%__subst '/use diagnostics/d' addressbook/tools/csv2vcard
#__subst 's,(Unstable),,' data/evolution.desktop*
%build
%define _libexecdir %_libdir
# Required after Patch1
intltoolize --copy --force
autoreconf -isfv
export ac_cv_path_SENDMAIL=%_sbindir/sendmail
export KILL_PROCESS_CMD=%_bindir/killall
%configure \
--with-openldap \
--enable-gtk-doc \
--with-openldap=yes \
--with-static-ldap=no \
--with-sub-version=" (%version-%release)" \
--with-kde-applnk-path=no \
--enable-ipv6 \
--enable-nntp=yes \
%if_enabled pilot
--enable-pilot-conduits=yes \
%else
--enable-pilot-conduits=no \
%endif
--enable-nss \
--with-nspr-includes=%_includedir/nspr \
--with-nss-includes=%_includedir/nss \
--with-krb5=%_prefix \
--with-krb5-includes=%_includedir/krb5 \
--disable-schemas-install
# --disable-default-binary
%make_build
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make DESTDIR=%buildroot install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# evolution command name
%__ln_s evolution-%ver_major %buildroot%_bindir/evolution
# remove non-packaged files
%__rm -f %buildroot%_libdir/%name/%ver_base/*.la
%__rm -f %buildroot%_libdir/%name/%ver_base/*/*.la
%__rm -f %buildroot%_libdir/%name/%ver_base/gnome-pilot/conduits/*.la
# temporarily fix for other applications that requires thease libraries
for f in %buildroot%_libdir/%name/%ver_base/{libeshell*,libeutil*}; do
%__ln_s %name/%ver_base/`basename $f` %buildroot%_libdir/`basename $f`
done
%__mkdir_p %buildroot%_datadir/mime-info
%__install -p -m644 data/%name.keys %buildroot%_datadir/mime-info/evolution-2.8.keys
%__install -p -m644 data/%name.mime %buildroot%_datadir/mime-info/evolution-2.8.mime
%find_lang --with-gnome --output=%name.lang %name %name-%ver_base
%define schemas apps-evolution-mail-prompts-checkdefault-%ver_base apps_evolution_addressbook-%ver_base apps_evolution_calendar-%ver_base apps_evolution_shell-%ver_base evolution-mail-%ver_base
%post
%post_ldconfig
%gconf2_install %schemas
%update_scrollkeeper
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas
fi
%postun
%postun_ldconfig
%clean_scrollkeeper
%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_libdir/bonobo/servers/*
%_libdir/%name
%_datadir/applications/*
%_datadir/idl/*
%_datadir/mime-info/*
%_datadir/%name
%_datadir/pixmaps/*
%_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog INSTALL NEWS README
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%if_enabled pilot
%files pilot
%_libdir/gnome-pilot/conduits/*.so
%_datadir/gnome-pilot/conduits/*
%endif
%changelog
…
Полный changelog можно просмотреть здесь