evolution.spec revision 10339
13826N/A#
13826N/A# spec file for package evolution
13826N/A#
13826N/A# Copyright (c) 2005 Sun Microsystems, Inc.
13826N/A# This file and all modifications and additions to the pristine
16307N/A# package are under the same license as the package itself.
13826N/A#
13826N/A# Owner: jefftsai
13826N/A#
17185N/A%include l10n.inc
13826N/AName: evolution
13826N/ALicense: GPL
13826N/AGroup: System/GUI/GNOME
18602N/AVersion: 2.10.0
17177N/ARelease: 1
13826N/ADistribution: java-desktop-system
18688N/AVendor: Sun Microsystems, Inc.
18688N/ASummary: Evolution
13826N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.10/%{name}-%{version}.tar.bz2
18602N/ASource1: %{name}-po-sun-%{po_sun_version}.tar.bz2
13826N/A# date:2005-01-01 owner:jefftsai type:branding
18303N/APatch2: evolution-02-menu-entry.diff
13826N/A# date:2005-12-21 bugzilla:319376 owner:jefftsai type:bug
14530N/APatch3: evolution-03-display-mail.diff
13826N/A# date:2006-09-28 bugzilla:355919 busgter:6458897 owner:xz159989 type:bug
13826N/APatch4: evolution-04-pixmap-new.diff
13826N/A# date:2006-05-28 bugzilla:344728 owner:sh162551 type:bug
13826N/APatch5: evolution-05-kerberos.diff
13826N/A# date:2005-10-10 owner:jefftsai type:branding
16401N/APatch6: evolution-06-solaris-sed.diff
13826N/A# date:2006-10-24 bugzilla:364618 owner:jyu_mit type:bug
13826N/APatch10: evolution-10-charset.diff
13826N/A# date:2006-12-26 bugzilla:389668 bugster:6504980 owner:jyu_mit type:bug
13826N/APatch11: evolution-11-memo.diff
13826N/A# date:2007-01-09 bugzilla:394579 bugster:6510008 owner:jedy type:bug
16401N/APatch12: evolution-12-awk.diff
13826N/A# date:2007-03-07 bugzilla:415562 owner:jedy type:bug
13826N/APatch13: evolution-13-tasks.diff
13826N/A# date:2007-03-09 bugzilla:380750 owner:jedy type:bug
13826N/APatch14: evolution-14-shutdown.diff
16307N/AURL: http://www.gnome.org
13826N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13826N/ADocdir: %{_defaultdocdir}/evolution
13826N/AAutoreqprov: on
13826N/APrereq: /sbin/ldconfig
13826N/APrereq: scrollkeeper
13826N/APrereq: sh-utils
13826N/APrereq: GConf
13826N/A
13826N/A%define major_version 2.10
13826N/A
13826N/A%define GConf_version 2.5.0
13826N/A%define gtkhtml_version 3.2
13826N/A%define gnome_pilot_version 2.0.10
13826N/A%define libgnomeui_version 2.4.0
13826N/A%define scrollkeeper_version 0.3.11
13826N/A%define gtk_doc_version 1.1
13826N/A%define evolution_data_server_version 1.0.0
13826N/A
17861N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
13826N/ABuildRequires: gtkhtml-devel >= %{gtkhtml_version}
13826N/ABuildRequires: GConf-devel >= %{GConf_version}
13826N/ABuildRequires: gnome-pilot-devel >= %{gnome_pilot_version}
13826N/ABuildRequires: evolution-data-server-devel >= %{evolution_data_server_version}
13826N/ABuildRequires: firefox
13826N/ABuildRequires: scrollkeeper >= %{scrollkeeper_version}
13826N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
13826N/ABuildRequires: intltool
13826N/ABuildRequires: bison
17531N/ARequires: libgnomeui >= %{libgnomeui_version}
13826N/ARequires: gtkhtml >= %{gtkhtml_version}
13826N/ARequires: GConf >= %{GConf_version}
13826N/ARequires: gnome-pilot >= %{gnome_pilot_version}
13826N/ARequires: evolution-data-server >= %{evolution_data_server_version}
13826N/ARequires: firefox
13826N/ARequires: scrollkeeper >= %{scrollkeeper_version}
13826N/A
13826N/A%description
13826N/AEvolution is a mail, calendar and addressbook client for the GNOME Desktop
13826N/A
13826N/A%package devel
13826N/ASummary: Development Evolution Libraries
13826N/AGroup: System/GUI/GNOME
13826N/AAutoreqprov: on
13826N/ARequires: %name = %version
17531N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
17531N/ABuildRequires: GConf-devel >= %{GConf_version}
13826N/ABuildRequires: gtkhtml-devel >= %{gtkhtml_version}
13826N/ABuildRequires: evolution-data-server-devel >= %{evolution_data_server_version}
13826N/A
13826N/A%description devel
13826N/AThis package contains the development libraries for Evolution, the GNOME mail, calendar
13826N/Aand addressbook client.
16307N/A
13826N/A%package pilot
13826N/ASummary: Pilot support for Evolution
16307N/AGroup: System/GUI/GNOME
13826N/AAutoreqprov: on
13826N/ARequires: %name = %version
14230N/ABuildRequires: gnome-pilot-devel >= %{gnome_pilot_version}
14230N/A
14230N/A%description pilot
13826N/AThis package contains the pilot support for Evolution, the GNOME mail, calendar and
13826N/Aaddressbook client, allowing you to synchronize your Palm with Evolution.
13826N/A
13826N/A%prep
13826N/A%setup -q
13826N/A%if %build_l10n
13826N/Abzcat %SOURCE1 | tar xf -
13826N/Acd po-sun; make; cd ..
13826N/A%endif
13826N/A%patch2 -p0
13826N/A%patch3 -p0
13826N/A%patch4 -p0
13826N/A%patch5 -p0
13826N/A%patch6 -p0
13826N/A%patch10 -p0
13826N/A%patch11 -p0
13826N/A%patch12 -p0
13826N/A%patch14 -p0
13826N/A
13826N/A%build
13826N/A
13826N/A%ifos linux
17531N/A%define ldap_option --with-openldap=%{_prefix}
17531N/A%define krb5_option --with-krb5=%{_prefix}
17531N/A%define nss_libs %{_libdir}/firefox
13826N/A%define nspr_libs %{_libdir}/firefox
13826N/A%define nss_includes %{_includedir}/firefox/nss
13826N/A%define nspr_includes %{_includedir}/firefox/nspr
18329N/A%else
18329N/A%define ldap_option --with-sunldap=%{_prefix}
18329N/A%define krb5_option --with-krb5=%{_prefix}
18303N/A%define nss_libs %{_libdir}/mps
17955N/A%define nspr_libs %{_libdir}/mps
17955N/A%define nss_includes %{_includedir}/mps
17955N/A%define nspr_includes %{_includedir}/mps
17531N/A%endif
17531N/A%define pilot_option --enable-pilot-conduits=yes --with-pisock=yes
17531N/A
17531N/Aexport LDFLAGS="$LDFLAGS -L%{nss_libs} -R%{nss_libs} -L%{nspr_libs} -R%{nspr_libs}"
17531N/Aexport CFLAGS="$CFLAGS $RPM_OPT_FLAGS -I%{nss_includes} -I%{nspr_includes}"
17531N/A
17531N/Aaclocal $ACLOCAL_FLAGS
16307N/Alibtoolize --force
16307N/Aglib-gettextize --force --copy
14230N/Aintltoolize --force --automake
14230N/Aautoheader
14005N/Aautomake -a -f -c --gnu
14005N/Aautoconf
14005N/A./configure --prefix=%{_prefix} \
13826N/A --libexecdir=%{_libexecdir} \
13826N/A --sysconfdir=%{_sysconfdir} \
13826N/A --localstatedir=/var \
13826N/A --enable-default-binary \
13826N/A --enable-nss=yes \
13826N/A --enable-smime=yes \
13826N/A --enable-nntp=yes \
13826N/A %pilot_option \
13826N/A %ldap_option \
13826N/A --with-nss-includes=%{nss_includes} \
13826N/A --with-nss-libs=%{nss_libs} \
13826N/A --with-nspr-includes=%{nspr_includes} \
13826N/A --with-nspr-libs=%{nspr_libs} \
13826N/A --with-krb4=%{_prefix} \
13826N/A %krb5_option
13826N/A
13826N/Amake
13826N/A
13826N/A%install
13826N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
16401N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
for i in C zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do
langtag=$i
[ ${i:0:2} == "zh" ] || langtag=${i:0:2}
[ -e %{_datadir}/omf/evolution/evolution-2.0-$langtag.omf ] && \
env LANG=$i LC_ALL=$i scrollkeeper-install -q %{_datadir}/omf/evolution/evolution-2.0-$langtag.omf
done
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="apps_evolution_addressbook-%{major_version}.schemas apps_evolution_calendar-%{major_version}.schemas apps_evolution_shell-%{major_version}.schemas evolution-mail-%{major_version}.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
done
%postun
/sbin/ldconfig
scrollkeeper-update -q
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_libexecdir}/evolution/%{major_version}/*
%{_libdir}/bonobo/servers
%{_libdir}/evolution/%{major_version}/*.so.*
%{_libdir}/evolution/%{major_version}/components/*.so
%{_libdir}/evolution/%{major_version}/plugins/*.so
%{_libdir}/evolution/%{major_version}/plugins/*.eplug
%{_libdir}/evolution/%{major_version}/plugins/*.xml
%{_libdir}/evolution/%{major_version}/plugins/*.glade
%{_datadir}/applications/*
%{_datadir}/evolution/%{major_version}/*
%{_datadir}/gnome/help/evolution-%{major_version}/*
%{_datadir}/mime-info/*
%{_datadir}/omf/*
%{_datadir}/pixmaps/*
%config %{_sysconfdir}/gconf/schemas/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%files devel
%defattr (-, root, root)
%{_includedir}/evolution-%{major_version}/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/evolution/%{major_version}/*.so
%{_datadir}/idl/*
%files pilot
%defattr (-, root, root)
%{_libdir}/evolution/%{major_version}/conduits/*.so
%{_datadir}/gnome-pilot/*
%changelog
* Wed Mar 21 2007 - jijun.yu@sun.com
- Modify the comments for patch evolution-11-memo.diff.
* Tue Mar 13 2007 - simon.zheng@sun.com
- Bump to 2.10.0. Remove upstream patch, 13-add-attachment. Renumber remainder.
* Mon Mar 05 2007 - jijun.yu@sun.com
- Change comment on evolution-11-memo.diff.
* Tue Feb 28 2007 - simon.zheng@sun.com
- Change comment on evolution-04-pixmap-new.diff.
* Tue Feb 28 2007 - simon.zheng@sun.com
- Bump to 2.9.92.
* Tue Feb 13 2007 - takao.fujiwara@sun.com
- Add l10n tarball.
* Tue Feb 13 2007 - damien.carbery@sun.com
- Bump to 2.17.91. Remove upstream patches, 13-glade, 14-etext and
16-mail-header. Renumber remainder.
* Fri Feb 09 2007 - jeff.cai@sun.com
- Add patch -16-mail-header to fix #400841.
* Fri Feb 09 2007 - jijun.yu@sun.com
- Modify patch evolution-11-memo.diff to fix bugster 6522186.
* Fri Feb 02 2007 - jeff.cai@sun.com
- Added new patch evolution-15-add-attachment.diff to fix bugzilla 399307
and bugster 6497879.
* Thu Jan 24 2007 - jedy.wang@sun.com
- Added new patch evolution-14-etext.diff to fix bugzilla 400121 and bugster
6514112.
* Tue Jan 23 2007 - jeff.cai@sun.com
- Bump to 2.9.6.
* Thu Jan 18 2007 - jedy.wang@sun.com
- Added new patch evolution-13-glade.diff to fix bugzilla 397893 and bugster
6514087.
* Thu Jan 09 2007 - jedy.wang@sun.com
- Added new patch evolution-12-awk.diff to fix bugzilla 394579 and bugster
6510008.
* Thu Jan 04 2007 - jijun.yu@sun.com
- Its dependencies-gnome-pilot and pilot-link are updated to new version
* Fri Dec 27 2006 - jedy.wang@sun.com
- Added new patch evolution-08-todo.diff
- Added new patch evolution-09-menuitem.diff
* Fri Dec 22 2006 - simon.zheng@sun.com
- Added new patch evolution-07-mail-account.diff
* Tue Dec 19 2006 - jeff.cai@sun.com
- Bump version to 2.9.4.
* Wed Dec 13 2006 - jeff.cai@sun.com
- Change patch comments.
* Tue Dec 05 2006 - damien.carbery@sun.com
- Bump to 2.9.3.
* Tue Tue 28 2006 - jeff.cai@sun.com
- Bump to 2.9.2.
* Mon Nov 27 2006 - damien.carbery@sun.com
- Bump to 2.8.2.1.
* Mon Oct 23 2006 - irene.huang@sun.com
- Added new patch evolution-05-kerberos.diff
and evolution-06-solaris-sed.diff (moved from
Solaris/patches.
* Fri Oct 20 2006 - jeff.cai@sun.com
- Bump to 2.8.1.1
* Mon Oct 02 2006 - damien.carbery@sun.com
- Bump to 2.8.1.
* Thu Sep 28 2006 - simon.zheng@sun.com
- Add patch evolution-04-pixmap-new.diff
* Wed Sep 06 2006 - irene.huang@sun.com
- add patch 03-display-mail.
* Mon Sep 04 2006 - damien.carbery@sun.com
- Bump to 2.8.0.
- Remove upstream patches, 01-display-mail and 04-local-account. Renumber rest.
* Tue Aug 20 2006 - simon.zheng@sun.com
- Add one patch evolution-04-local-account.diff
* Tue Aug 08 2006 - damien.carbery@sun.com
- Bump to 2.7.91.
* Mon Jun 24 2006 - damien.carbery@sun.com
- Bump to 2.7.90
* Fri Jun 21 2006 - jeff.cai@sun.com
- Bump to 2.7.4
Remove following patches
evolution-04-contact-print-dialog.diff
evolution-05-message-list.diff
evolution-06-e-sidebar.diff
evolution-07-ecell-text.diff
Change major version to 2.8
* Thu Jun 22 2006 - li.yuan@sun.com
- Add one patch:
evolution-07-ecell-text.diff, make message can be grabbed by gok.
* Fri Jun 09 2006 - li.yuan@sun.com
- Add one patch:
evolution-06-e-sidebar.diff, to fix an Evolution crash bug, CR6425103.
* Thu May 30 2006 - li.yuan@sun.com
- Add one patch:
evolution-05-message-list.diff
* Tue May 30 2006 - halton.huo@sun.com
- Bump to 2.6.2.
- Remove upstreamed patch evolution-05-exchange-operation.diff.
* Thu Apr 29 2006 - simon.zheng@sun.com
- Add two patches:
evolution-04-contact-print-dialog.diff
evolution-05-exchange-operation.diff
* Wed Apr 26 2006 - halton.huo@sun.com
- Use JES's NSS/NSPR(/usr/lib/mps) instead of that provided by
mozilla or firefox, to fix bug #6418049.
* Thu Apr 13 2006 - halton.huo@sun.com
- Firefox move from /usr/sfw to /usr.
* Tue Apr 11 2006 - halton.huo@sun.com
- Remove upstream patch: 03-remove-uri.
* Mon Apr 10 2006 - damien.carbery@sun.com
- Bump to 2.6.1.
* Tue Apr 04 2006 - halton.huo@sun.com
- Remove .a/.la files in linux spec.
* Thu Mar 30 2006 - halton.huo@sun.com
- Alter "remove *.a/*.la files part" to SUNWevolution.spec
* Mon Mar 13 2006 - damien.carbery@sun.com
- Bump to 2.6.0.
- Remove upstream patches, 03-init-config and 05-show-border. Rename remainder.
* Fri Mar 3 2006 - jeff.cai@sun.com
- add three patches:
evolution-03-init-config.diff
evolution-04-remove-uri.diff
evolution-05-show-border.diff
* Tue Feb 28 2006 - halton.huo@sun.com
- Bump to 2.5.92.
- Remove upstreamed patches:
evolution-03-caldav-startup-fail.diff,
evolution-04-return-fix.diff.
* Tue Feb 14 2006 - damien.carbery@sun.com
- Bump to 2.5.91.
* Mon Jan 30 2006 - damien.carbery@sun.com
- Bump to 2.5.90.
* Mon Jan 23 2006 - Irene.Huang@sun.com
- Add patch evolution-03-caldav-startup-fail.diff.
* Fri Jan 20 2006 - halton.huo@sun.com
- Bump to 2.5.5.1.
* Thu Jan 17 2006 - halton.huo@sun.com
- Bump to 2.5.5.
- Removed upstreamed patches and reorder:
evolution-02-addressbook-config-ludcheck.diff
evolution-04-build-fix.diff
evolution-05-search-clear-crash.diff
* Thu Jan 12 2006 - Irene.Huang@sun.com
- Add patch evolution-05-search-clear-crash.diff
for bug 6371085 in bugzilla.
* Thu Jan 12 2006 - glynn.foster@sun.com
- Add upstream evolution-04-build-fix.diff which fixes
send/receive crash.
* Tue Jan 10 2006 - halton.huo@sun.com
- Add patch evolution-03-conduit.diff.
- Set --enable-pilot-conduits=yes.
- Add define plink_prefix.
* Fri Jan 06 2006 - simon.zheng@sun.om
- Add patch evolution-02-dddressbook-config-ludcheck.diff.
* Wed Jan 04 2006 - halton.huo@sun.com
- Bump to 2.5.4.
- Remove upstreamed patches:
evolution-02-be-po.diff,
evolution-03-alarm-hang.diff.
* Wed Dec 21 2005 - halton.huo@sun.com
- Rename evolution-01-6334819.diff
to evolution-01-display-mail.diff.
- Rename evolution-03-alarm-hang-6364800.diff
to evolution-03-alarm-hang.diff.
* Wed Dec 21 2005 - halton.huo@sun.com
- Correct Source filed.
- Change major_verion from 2.4 to 2.6.
- Add patch evolution-02-be-po.diff.
- Add patch evolution-03-alarm-hang-6364800.diff.
* Tue Dec 19 2005 - damien.carbery@sun.com
- Bump to 2.5.3.
* Tue Dec 13 2005 - halton.huo@sun.com
- Bump to 2.4.2.1.
* Fri Dec 02 2005 - dave.lin@sun.com
- Add evolution-02-6355700.diff for 2.4.2
* Tue Nov 29 2005 - damien.carbery@sun.com
- Bump to 2.4.2.
* Wed Nov 23 2005 - halton.huo@sun.com
- Add patch evolution-01-6334819.diff.
* Tue Nov 09 2005 - halton.huo@sun.com
- Add option --enable-default-binary, create evolution link to
evolution-2.4, fix bug #6344895, better than old one.
* Tue Nov 08 2005 - halton.huo@sun.com
- Add evolution link to evolution-2.4, fix bug #6344895.
* Fri Oct 21 2005 - halton.huo@sun.com
- Disable pilot-conduits on solaris for does not work now.
- Use firefox nss/nspr lib instead of mozilla's.
* Wed Oct 12 2005 - halton.huo@sun.com
- change --with-ldap to --with-sunldap.
* Mon Oct 10 2005 - halton.huo@sun.com
- Bump to 2.4.1.
- Move upstreamed patch evolution-01-configure-grep.diff.
* Thu Sep 15 2005 - halton.huo@sun.com
- Add define krb5_option, disable Kerberos 5 on Solaris.
* Thu Sep 8 2005 - halton.huo@sun.com
- Add krb5_prefix define and Enable Kerberos 5.
- Fix CFLAGS problem.
- Use aclocal, ..., ./configure steps, not ./autogen,
because download tarball does not have autogen.sh.
* Wed Sep 7 2005 - damien.carbery@sun.com
- Bump to 2.4.0.
* Mon Sep 5 2005 - halton.huo@sun.com
- Temporarily --enable-exchange=no because e-d-s with Kerberos is not ready.
- Move patch evolution-01-solaris-ldap.diff to SUNWevolution.spec.
- Add patch evolution-01-configure-grep.diff for configure.in "grep -q" bug.
* Fri Sep 2 2005 - halton.huo@sun.com
- Remove gal since it is merged in evolution itself.
- Remove DB3 since it is merged in evolution-data-server.
- Add option --enable-nntp=yes to support news groups.
- Add option --enable-exchange=yes to support exchange plugin.
- Use SUN LDAP on solaris with %ldap_option.
- Use ./autogen.sh to replace libtoolize aclocal automake autoconf ./configure
steps, because we need build code that checked out from community HEAD.
- Temporarily disable Kerberos for header files are not installed on Nevada.
* Tue Aug 30 2005 - glynn.foster@sun.com
- Bump to 2.3.8
* Mon Aug 15 2005 - damien.carbery@sun.com
- Bump to 2.3.7.
* Thu Jul 28 2005 - damien.carbery@sun.com
- Rename --with-openldap configure option to --with-ldap as a result of Jerry's
patch from Jul 27. Also remove '%ifos' code around this option.
* Wed Jul 27 2005 - damien.carbery@sun.com
- Add patch from Jerry Pu (Shi.Pu@sun.com) to support LDAP on Solaris.
* Wed Jul 13 2005 - damien.carbery@sun.com
- Remove gnome2-macros dir from aclocal call as that dir no longer exists.
* Wed Jun 15 2005 - matt.keenan@sun.com
- Bump to 2.2.3
* Mon May 16 2005 - glynn.foster@sun.com
- Bump to 2.2.2
* Tue Nov 23 2004 - glynn.foster@sun.com
- Bump to 2.0.2
* Thu Jun 17 2004 - niall.power@sun.com
- rpm4'ified
* Thu Jun 17 2004 - glynn.foster@sun.com
- Bump to 1.5.9.2
* Tue Jun 08 2004 - glynn.foster@sun.com
- Bump to 1.5.9
* Fri May 21 2004 - glynn.foster@sun.com
- Bump to 1.5.8
* Tue Apr 20 2004 - glynn.foster@sun.com
- Bump to 1.5.7
* Mon Apr 19 2004 - glynn.foster@sun.com
- Initial spec file for Evolution 1.5.x