evolution-data-server.spec revision 11819
12258N/A# spec file for package evolution-data-server
12258N/A#
12258N/A# Copyright (c) 2005 Sun Microsystems, Inc.
12412N/A# This file and all modifications and additions to the pristine
12258N/A# package are under the same license as the package itself.
12258N/A#
12258N/A# Owner: jefftsai
15894N/A#
12258N/AName: evolution-data-server
12258N/ALicense: GPL
15153N/AGroup: System/Libraries/GNOME
12258N/AVersion: 2.21.1
15293N/ARelease: 2
12258N/ADistribution: Java Desktop System
16572N/AVendor: Sun Microsystems, Inc.
12258N/ASummary: Backend Library for Evolution
12258N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.21/%{name}-%{version}.tar.bz2
12258N/A%if %build_l10n
12258N/ASource1: l10n-configure.sh
12258N/A%endif
16214N/A# date:2006-09-28 owner:sh162551 type:branding
15153N/APatch1: evolution-data-server-01-libexec.diff
15153N/A# date:2007-10-19 owner:qc161282 type:bug bugzilla:488173
12258N/APatch2: evolution-data-server-02-function.diff
16130N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12517N/ADocdir: %{_defaultdocdir}/evolution-data-server
16130N/AAutoreqprov: on
15234N/APrereq: /sbin/ldconfig
16130N/A
14295N/A%define api_version 1.2
16130N/A%define base_version 1.6
15260N/A
16130N/A%define libbonobo_version 2.4.2
16130N/A%define gnome_vfs_version 2.4
16130N/A%define libgnome_version 2.4
16130N/A%define GConf_version 2.4
16130N/A%define libsoup_version 2.2.3
16299N/A%define gtk_doc_version 1.1
16299N/A%define openldap2_version 2.1.4
12258N/A
12258N/ARequires: libbonobo >= %{libbonobo_version}
12258N/ARequires: gnome-vfs >= %{gnome_vfs_version}
12258N/ARequires: libgnome >= %{libgnome_version}
12258N/ARequires: GConf >= %{GConf_version}
12258N/ARequires: libsoup >= %{libsoup_version}
12258N/ARequires: openldap2-client >= %{openldap2_version}
12258N/A
12258N/ABuildRequires: libbonobo-devel >= %{libbonobo_version}
12258N/ABuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
12258N/ABuildRequires: libgnome-devel >= %{libgnome_version}
12258N/ABuildRequires: GConf-devel >= %{GConf_version}
12258N/ABuildRequires: libsoup-devel >= %{libsoup_version}
12258N/ABuildRequires: openldap2-devel >= %{openldap2_version}
12258N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
12258N/ABuildRequires: bison
12258N/ABuildRequires: heimdal-devel
12258N/A
12258N/A%description
12258N/Aevolution-data-server is the backend library for Evolution, providing
12258N/Asupport for calendar and addressbook.
12258N/A
12258N/A%package devel
12258N/ASummary: Development Backend Library for Evolution
12258N/AGroup: Development/Libraries/GNOME
12258N/AAutoreqprov: on
12258N/ARequires: %name = %version
12258N/ABuildRequires: libbonobo-devel >= %{libbonobo_version}
12258N/ABuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
12258N/ABuildRequires: libgnome-devel >= %{libgnome_version}
12258N/ABuildRequires: GConf-devel >= %{GConf_version}
12258N/ABuildRequires: openldap2-devel >= %{openldap2_version}
12258N/ABuildRequires: libsoup-devel >= %{libsoup_version}
12258N/A
12258N/A%description devel
12258N/Aevolution-data-server is the backend library for Evolution, providing
12258N/Asupport for calendar and addressbook.
15523N/A
15153N/A%prep
15153N/A%setup -q
15153N/A%if %build_l10n
13875N/A# bugster 6558756
16130N/Ash -x %SOURCE1 --disable-gnu-extensions --disable-sun-linguas
16130N/A%endif
12258N/A%patch1 -p1
13708N/A%patch2 -p1
16130N/A
16130N/A%build
16130N/A
16130N/A%ifos linux
16299N/A%define ldap_option --with-openldap=%{_prefix}
12258N/A%define krb5_option --with-krb5=%{_prefix}
12258N/A%define nss_libs %{_libdir}/firefox
12258N/A%define nspr_libs %{_libdir}/firefox
12258N/A%define nss_includes %{_includedir}/firefox/nss
12258N/A%define nspr_includes %{_includedir}/firefox/nspr
12258N/A%else
12258N/A%define ldap_option --with-sunldap=%{_prefix}
12258N/A%if %is_s10
12258N/A%define krb5_option --without-krb5
12258N/A%else
12258N/A%define krb5_option --with-krb5=%{_prefix}
12258N/A%endif
12258N/A%define nss_libs %{_libdir}/mps
12258N/A%define nspr_libs %{_libdir}/mps
12773N/A%define nss_includes %{_includedir}/mps
12773N/A%define nspr_includes %{_includedir}/mps
12773N/A%endif
12258N/A%if %option_with_gnu_iconv
12258N/A%define iconv_option --with-libiconv=/usr/gnu
12258N/A%else
12258N/A%define iconv_option
12258N/A%endif
12258N/A
12258N/Aexport LDFLAGS="$LDFLAGS -L%{nss_libs} -R%{nss_libs} -L%{nspr_libs} -R%{nspr_libs}"
12258N/Aexport CFLAGS="$CFLAGS $RPM_OPT_FLAGS -I%{nss_includes} -I%{nspr_includes}"
12258N/A
12258N/Aaclocal $ACLOCAL_FLAGS
16080N/Alibtoolize --force
12258N/Aglib-gettextize --force --copy
12258N/Aintltoolize --force --automake
12258N/Aautoheader
12258N/Aautomake -a -f -c --gnu
12258N/Aautoconf
16483N/A./configure --prefix=%{_prefix} \
12258N/A --libexecdir=%{_libexecdir} \
12258N/A --sysconfdir=%{_sysconfdir} \
12258N/A --enable-nss=yes \
12258N/A --enable-smime=yes \
12258N/A --enable-nntp=yes \
12258N/A --with-nss-includes=%{nss_includes} \
12258N/A --with-nss-libs=%{nss_libs} \
12258N/A --with-nspr-includes=%{nspr_includes} \
12258N/A --with-nspr-libs=%{nspr_libs} \
12258N/A %ldap_option \
12258N/A --with-krb4=%{_prefix} \
12258N/A %krb5_option \
12258N/A %gtk_doc_option \
12258N/A %bdb_option \
12258N/A %iconv_option
12258N/A
12258N/Amake
12258N/A
12258N/A%install
12258N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
12258N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
12258N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
12258N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
12258N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
12258N/A
12258N/A%clean
16080N/Arm -rf $RPM_BUILD_ROOT
16080N/A
16080N/A%post
12258N/A/sbin/ldconfig
12258N/A
12258N/A%postun
12258N/A/sbin/ldconfig
12258N/A
12258N/A%files
12258N/A%defattr (-, root, root)
12258N/A%doc AUTHORS COPYING ChangeLog NEWS README
12258N/A%{_libdir}/*.so.*
12258N/A%{_libdir}/evolution-data-server-%{api_version}/extensions/*.so
12258N/A%{_libdir}/evolution-data-server-%{api_version}/camel-providers/*.so
16379N/A%{_libdir}/evolution-data-server-%{api_version}/camel-providers/*urls
16379N/A%{_libdir}/bonobo/servers/*
16080N/A%{_libexecdir}/*
16080N/A%{_datadir}/evolution-data-server-%{base_version}/*
16080N/A%{_datadir}/pixmaps/evolution-data-server-%{base_version}/*
16080N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
15856N/A
15856N/A%files devel
15856N/A%defattr (-, root, root)
15856N/A%{_libdir}/*.so
15523N/A%{_includedir}/evolution-data-server-%{base_version}/*
15523N/A%{_libdir}/pkgconfig/*.pc
15153N/A%{_datadir}/gtk-doc/*
15153N/A%{_datadir}/idl/*
14295N/A
14295N/A%changelog
13851N/A* Tue Oct 30 2007 - damien.carbery@sun.com
13851N/A- Bump to 2.21.1.
12517N/A* Fri Oct 19 2007 - damien.carbery@sun.com
12517N/A- Bump to 1.12.1. Add patch 02-function to fix bugzilla 488173.
12517N/A* Wed Oct 3 2007 - laca@sun.com
12474N/A- use the --with-libiconv=/usr/gnu option when building with GNU libiconv
12474N/A* Tue Sep 18 2007 - damien.carbery@sun.com
12457N/A- Bump to 1.12.0.
12457N/A* Mon Sep 03 2007 - damien.carbery@sun.com
12258N/A- Bump to 1.11.92.
12258N/A* Mon Aug 27 2007 - damien.carbery@sun.com
12258N/A- Bump to 1.11.91. Remove upstream patches 02-endian and 03-timezone.
12258N/A* Fri Aug 17 2007 - jedy.wang@sun.com
12258N/A- Fix 'patch* -p0' - change to -p1 and change patch file too.
12258N/A* Thu Aug 16 2007 - jedy.wang@sun.com
12258N/A- Remove the commands to autotoolize libical.
12258N/A* Wed Aug 15 2007 - damien.carbery@sun.com
12258N/A- Bump to 1.11.90.
12258N/A* Tue Aug 15 2007 - jedy.wang@sun.com
12258N/A- Update patch 02-endian.diff and 03-timezone.diff
12258N/A* Tue Aug 07 2007 - jeff.cai@sun.com
12258N/A- Add patch 03-timezone.diff to use zone_sun.tab instead
12258N/A of zone.tab. Fix #464252
12258N/A* Wed Aug 01 2007 - damien.carbery@sun.com
12258N/A- Bump to 1.11.6.1. Add patch 02-endian to fix build errors, #462499.
12258N/A* Tue Jul 31 2007 - damien.carbery@sun.com
- Bump to 1.11.6.
* Tue Jul 10 2007 - damien.carbery@sun.com
- Bump to 1.11.5.
* Mon Jun 18 2007 - damien.carbery@sun.com
- Bump to 1.11.4. Remove upstream patch, 01-kerberos.
* Wed Jun 13 2007 - takao.fujiwara@sun.com
- Add l10n-configure.sh to remove GNU extension from de.po, et.po, hu.po,
it.po and ja.po
* Wed Jun 06 2007 - damien.carbery@sun.com
- Bump to 1.11.3.
* Tue May 15 2007 - damien.carbery@sun.com
- Bump to 1.11.2.
* Thu May 10 2007 - damien.carbery@sun.com
- Bump to 1.11.1.
* Thu Apr 12 2007 - damien.carbery@sun.com
- Bump to 1.10.1. Remove upstream patch 03-libbdb.
* Wed Apr 04 2007 - simon.zheng@sun.com
- Add patch evolution-data-server-03-libbdb.diff,
to fix bugster bug #6538754.
* Tue Mar 13 2007 - simon.zheng@sun.com
- Bump to 1.10.0.
* Tue Feb 28 2007 - simon.zheng@sun.com
- Bump to 1.9.92.
* Mon Feb 12 2007 - damien.carbery@sun.com
- Bump to 1.9.91. Remove upstream patch, 03-mail-header.
* Fri Feb 09 2007 - jeff.cai@sun.com
- Add patch, 03-mail-header, to fix #400841.
* Sun Jan 28 2007 - laca@sun.com
- disable krb5 support on s10
* Wed Jan 24 2007 - damien.carbery@sun.com
- Bump to 1.9.6.1. Remove upstream patch, 03-gnome-keyring.
* Tue Jan 23 2007 - damien.carbery@sun.com
- Add patch, 03-gnome-keyring, to fix build error, #399706.
* Mon Jan 22 2007 - damien.carbery@sun.com
- Bump to 1.9.6.
* Tue Jan 09 2007 - jeff.cai@sun.com
- Bump to 1.9.5.
- Remove build patch for bug 387397.
* Wed Dec 20 2006 - jeff.cai@sun.com
- Add bugzilla bug number for patch 3.
* Tue Dec 19 2006 - jeff.cai@sun.com
- Add patch evolution-data-server-03-exchange-account.diff
to resolve building broken on Solaris.
* Tue Dec 19 2006 - jeff.cai@sun.com
- Bump to 1.9.4.
* Wed Dec 13 2006 - jeff.cai@sun.com
- Change patch comments.
* Tue Dec 05 2006 - damien.carbery@sun.com
- Bump to 1.9.3.
* Tue Nov 28 2006 - jeff.cai@sun.com
- Bump to 1.9.2 and remove patch:
evolution-data-server-03-mail-rlimit.diff
* Mon Nov 27 2006 - damien.carbery@sun.com
- Bump to 1.8.2.
* Fri Nov 3 2006 - laca@sun.com
- use %gtk_doc_option in configure so that it can be disabled using
--without-gtk-doc
* Mon Nov 04 2006 - irene.huang@sun.com
- Change owner to be opensolaris account.
* Mon Oct 23 2006 - irene.huang@sun.com
- moved evolution-data-server-01-kerberos.diff
and evolution-data-server-02-libexec.diff and
evolution-data-server-03-mail-rlimit.diff from
Solaris/patches
* Mon Oct 02 2006 - damien.carbery@sun.com
- Bump to 1.8.1.
* Mon Sep 04 2006 - damien.carbery@sun.com
- Bump to 1.8.0.
- Remove upstream patch, 01-attachment.
* Tue Aug 21 2006 - jedy.wang@sun.com
- Add one patch, 01-attachment.diff, for 6461581.
* Tue Aug 08 2006 - damien.carbery@sun.com
- Bump to 1.7.91.
* Wed Jul 26 2006 - halton.huo@sun.com
- Use system BerkeleyDB.
* Wed Jul 26 2006 - jeff.cai@sun.com
- Bump to 1.7.90.1
Remove patches/evolution-data-server-01-libebook-files.diff.
* Tue Jul 25 2006 - damien.carbery@sun.com
- Add patch to include files missing from tarball (but in cvs).
* Mon Jul 24 2006 - damien.carbery@sun.com
- Bump to 1.7.90
* Fri Jul 21 2006 - jeff.cai@sun.com
- Bump to 1.7.4
* Tue May 30 2006 - halton.huo@sun.com
- Bump to 1.6.2.
* 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.
* Mon Apr 10 2006 - damien.carbery@sun.com
- Bump to 1.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-data-server.spec
* Mon Mar 13 2006 - damien.carbery@sun.com
- Bump to 1.6.0.
* Tue Feb 28 2006 - halton.huo@sun.com
- Bump to 1.5.92.
* Tue Feb 14 2006 - damien.carbery@sun.com
- Bump to 1.5.91.
* Mon Jan 30 2006 - damien.carbery@sun.com
- Bump to 1.5.90.
* Thu Jan 19 2006 - halton.huo@sun.com
- Bump to 1.5.5.
* Wed Jan 04 2006 - halton.huo@sun.com
- Bump to 1.5.4.
* Wed Dec 21 2005 - halton.huo@sun.com
- Correct Source filed.
- Remove upstreamed patch evolution-data-server-6341837.diff.
- Remove upstreamed patch evolution-data-server-6359639.diff.
* Fri Dec 19 2005 - damien.carbery@sun.com
- Bump to 1.5.3.
- Bump to 1.4.2.1.
* Fri Dec 09 2005 - dave.lin@sun.com
- Add the patch evolution-data-server-6359639.diff
* Fri Dec 02 2005 - dave.lin@sun.com
- Bump to 1.4.2.1.
- Add the patch evolution-data-server-6341837.diff
* Thu Dec 01 2005 - damien.carbery@sun.com
- Remove upstream patch, patches/evolution-data-server-01-6340601.diff.
* Tue Nov 29 2005 - damien.carbery@sun.com
- Bump to 1.4.2.
* Wed Nov 23 2005 - halton.huo@sun.com
- Add patch evolution-data-server-01-6340601.diff.
* Fri Oct 21 2005 - halton.huo@sun.com
- Use firefox nss/nspr lib instead of mozilla's.
* Wed Oct 12 2005 - halton.huo@sun.com
- change --with-ldap to --with-sunldap.
* Tue Oct 11 2005 - damien.carbery@sun.com
- Bump to 1.4.1.1.
* Mon Oct 10 2005 - halton.huo@sun.com
- Bump to 1.4.1.
- Move obsolete patches:
evolution-data-server-01-libgobject.diff,
evolution-data-server-02-pretty_function.diff.
- Move upstreamed patches:
evolution-data-server-03-lock-helper.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.
* Wed Sep 7 2005 - halton.huo@sun.com
- Bump to 1.4.0.
* Tue Sep 6 2005 - damien.carbery@sun.com
- Call configure instead of autogen.sh because autogen.sh not in 1.3.8 tarball.
Remove some ver nums from %files because there is no consistency.
Remove patch3 and reorder.
* Tue Sep 6 2005 - halton.huo@sun.com
- Move patch evolution-data-server-04-ldap-ssl.diff and Source1
evolution-data-server-ldap-ssl-patch.tar to SUNWgnutls.spec.
* Fri Sep 2 2005 - halton.huo@sun.com
- Add option --enable-nntp=yes to support news groups.
- Use SUN LDAP on solaris with %ldap_option.
- Add Source1 Patch4 to support SUN LDAP
- 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 - damien.carbery@sun.com
- Redefine major_version to 1.2 so that %files section can use while patch 03
redefines it to 1.2.
* Tue Aug 30 2005 - glynn.foster@sun.com
- Bump to 1.3.8
* Mon Aug 15 2005 - damien.carbery@sun.com
- Bump to 1.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.
* Thu Jul 14 2005 - damien.carbery@sun.com
- Add 5 patches to build on Solaris.
* Wed Jun 15 2005 - matt.keenan@sun.com
- Bump to 1.2.3
* Tue May 10 2005 - glynn.foster@sun.com
- Bump to 1.2.2
* Tue Nov 23 2004 - glynn.foster@sun.com
- Bump to 1.0.2
* Thu Jun 17 2004 - niall.power@sun.com
- rpm4´ified
* Thu Jun 17 2004 - glynn.foster@sun.com
- Bump to 0.0.94.1
* Tue Jun 08 2004 - glynn.foster@sun.com
- Bump to 0.0.94
* Fri May 21 2004 - glynn.foster@sun.com
- Bump to 0.0.93
* Tue Apr 20 2004 - glynn.foster@sun.com
- Bump to 0.0.92
* Mon Apr 19 2004 - glynn.foster@sun.com
- Initial spec file for evolution-data-server 0.0.91