10139N/A#
10139N/A# spec file for package SUNWevolution-exchange
10139N/A#
12219N/A# includes module(s): exchange-connector
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
10139N/A#
17176N/A%define owner jedy
18603N/A#
17176N/A%include Solaris.inc
10139N/A%use evolution = evolution.spec
10139N/A%use evoexchange = evolution-exchange.spec
15291N/A%define evo_prefix /usr/lib/evolution
10139N/A
10615N/AName: SUNWevolution-exchange
17866N/ALicense: GPL v2, LGPL v2.1, FDL v1.1
18685N/AIPS_package_name: mail/evolution/connector/evolution-exchange
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
10139N/ASummary: Exchange connector for Evolution
18615N/AVersion: %{evoexchange.version}
10139N/ASUNW_Category: EVO25,%{default_category}
18532N/ASUNW_Copyright: %{name}.copyright
10794N/ASUNW_BaseDir: %{_basedir}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10794N/A%include default-depend.inc
12773N/A%include desktop-incorporation.inc
12773N/ASource1: %{name}-manpages-0.1.tar.gz
12773N/ARequires: SUNWlibgnomecanvas
10794N/ARequires: SUNWevolution
10139N/ARequires: SUNWgnome-config
10640N/ARequires: SUNWgnome-libs
17989N/ARequires: SUNWevolution-data-server
18099N/ARequires: SUNWevolution-libs
16105N/ARequires: SUNWlibsoup
18099N/ARequires: SUNWgnome-component
10861N/ARequires: SUNWgnome-vfs
18099N/ARequires: SUNWgnome-panel
18534N/ARequires: SUNWgnutls
18534N/ARequires: SUNWlibgcrypt
13379N/ARequires: SUNWlibgpg-error
18099N/ARequires: SUNWlibms
15219N/ARequires: SUNWlibpopt
18099N/ARequires: SUNWlxml
16472N/ARequires: SUNWzlib
18099N/ARequires: %{name}-root
16472N/ARequires: SUNWdesktop-cache
18099N/ARequires: SUNWlibunique
16690N/ABuildRequires: library/security/nss
18099N/ABuildRequires: SUNWlibgnomecanvas-devel
18489N/ABuildRequires: SUNWevolution-data-server-devel
18489N/ABuildRequires: SUNWevolution-libs-devel
10139N/ABuildRequires: SUNWlibsoup-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWgnutls-devel
10139N/ABuildRequires: SUNWlibgcrypt-devel
10139N/ABuildRequires: SUNWlibgpg-error-devel
10139N/ABuildRequires: SUNWlibpopt-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWevolution-devel
10139N/ABuildRequires: SUNWlibunique
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include desktop-incorporation.inc
10139N/ARequires: SUNWgnome-config
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir -p %name-%version
10139N/A%evoexchange.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
17891N/Agzcat %SOURCE1 | tar xf -
17891N/A
10139N/A%build
10139N/Aexport LDFLAGS="%_ldflags -L%{_libdir} -R%{_libdir} -L%{evo_prefix}/%{evolution.major_version} -R%{evo_prefix}/%{evolution.major_version}"
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport PKG_CONFIG_PATH="%_pkg_config_path"
10139N/A%evoexchange.build -d %name-%version
10139N/A
17891N/A%install
17891N/A%evoexchange.install -d %name-%version
10139N/Amv $RPM_BUILD_ROOT%{_bindir}/exchange-connector-setup-%{evolution.major_version} $RPM_BUILD_ROOT%{_bindir}/exchange-connector-setup
10139N/A
10139N/A# Delete gtk-doc files before packagine.
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
10139N/A
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A%restart_fmri gconf-cache
10139N/A
10139N/A%files
10139N/A%doc -d evolution-exchange-%{evoexchange.version} AUTHORS
10139N/A%doc(bzip2) -d evolution-exchange-%{evoexchange.version} ChangeLog
10139N/A%doc(bzip2) -d evolution-exchange-%{evoexchange.version} COPYING
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/evolution
10139N/A%{_libdir}/evolution-data-server-*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/evolution-exchange
10139N/A%{_datadir}/evolution/%{evolution.major_version}
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10794N/A%dir %attr(0755, root, bin) %{_mandir}/*
12754N/A%{_mandir}/*/*
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
11087N/A%dir %attr (0755, root, sys) %{_datadir}
18099N/A%attr (-, root, other) %{_datadir}/locale
18641N/A
18099N/A%files root
18685N/A%defattr (-, root, sys)
16769N/A%attr (0755, root, sys) %dir %{_sysconfdir}
13306N/A%{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-*.schemas
17866N/A
18099N/A%changelog
18099N/A* Mon Dec 21 2009 - ghee.teo@sun.com
18685N/A- Remove SUNWgnome-print dependency.
16998N/A* Wed Dec 09 2009 - jedy.wang@sun.com
10139N/A- Update to fix build problem.
10139N/A* Fri Sep 11 2009 - jedy.wang@sun.com
10139N/A- Remove SUNWmlib dependency.
17891N/A* Wed Sep 09 2009 - dave.lin@sun.com
17891N/A- Add dependency 'Requires: SUNWgnome-panel'.
17891N/A* Thu Jun 18 2009 - jedy.wang@sun.com
10139N/A- Update 2.26 to 2.28.
10139N/A_ Fix build problem.
10139N/A* Tue Jun 16 2009 - christian.kelly@sun.com
10139N/A- Minor build/pkg'ing issue.
10139N/A* Fri Apr 3 2009 - laca@sun.com
17891N/A- use desktop-cache instead of postrun
10139N/A* Fri Sep 19 2008 - christian.kelly@sun.com
17891N/A- Set permissions on /usr/share/doc.
17891N/A* Wed Sep 16 2008 - jedy.wang@sun.com
17891N/A- Add new copyright files.
17891N/A* Thu Jan 3 2008 - laca@sun.com
17891N/A- use gconf-install.script instead of an inline script
10139N/A* Fri Oct 5 2007 - laca@sun.com
17891N/A- add %{arch_ldadd} to LDFLAGS for GNU libiconv/libintl
11344N/A* Tue Apr 24 2007 - laca@sun.com
11344N/A- s/0755/-/ in defattr so that files are not made all executable
11344N/A* Wed Dec 13 2006 - jedy.wang@sun.com
11344N/A- Replace evo_major_version with major_version in evolution.spec.
11344N/A- Ship schema.
10139N/A* Wed Nov 29 2006 - damien.carbery@sun.com
11994N/A- Revert version to %{default_pkg_version} as this module has been integrated
11994N/A to Nevada with this version. Using the base module's version number (2.8.x)
12773N/A is lower than 2.16.x and will cause an integration error.
12773N/A- Bump evo_major_version to 2.10 to match SUNWevolution.
12773N/A- Remove unnecessary 'cd' calls in %prep.
12773N/A* Tue Nov 28 2006 - jeff.cai@sun.com
12773N/A- use evoexchange to refer to the spec file.
17081N/A* Mon Nov 27 2006 - jeff.cai@sun.com
10139N/A- Use evolution-exchange's version information to replace default one.
10139N/A* Mon Oct 23 2006 - irene.huang@sun.com
10139N/A- Moved all patches to ../patches/
10139N/A* Fri Sep 01 2006 - matt.keenan@sun.com
10139N/A- Add new man page tarball
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- delete some unnecessary env variables
10139N/A* Tue Jul 25 2006 - Jeff.Cai@sun.com
10139N/A- Reorder patches.
10139N/A* Mon Jun 24 2006 - Jeff.Cai@sun.com
10139N/A- Bump to trunk 2.7.4
10139N/A Remove patch evolution-exchange-01-ldap.diff.
10139N/A- Updated patch evolution-exchange-01-ldap.diff.
10139N/A* Sun Jun 22 2006 - Simon.zheng@sun.com
11826N/A- Updated patch evolution-exchange-01-ldap.diff.
11344N/A* Sun Jun 11 2006 - laca@sun.com
16786N/A- change group from other to bin/sys
17866N/A* Thu Jun 8 2006 - Jeff.Cai@sun.com
17866N/A- Add man page exchange-connector-setup.1
10139N/A* Thu Jun 1 2006 - Irene.Huang@sun.com
17891N/A- Change renaming of ximian-connector-setup to renaming
10139N/A of exchange-connector-setup in %install section.
10139N/A* Wed May 31 2006 - damien.carbery@sun.com
10139N/A- When moving ximian-connector-setup-2.6 use %{tarball} instead of '*'.
10139N/A- Revmove references to gtk-doc dir from %files as files no longer installed.
10139N/A* Thu May 11 2006 - halton.huo@sun.com
10139N/A- Change %defattr to (-, root, other).
10139N/A* Thu Apr 27 2006 - halton.huo@sun.com
10139N/A- Move ximian-connector-setup-2.6 to ximian-connector-setup,
10139N/A ARC request: no version binnaries under /usr/bin
10139N/A* Thu Apr 06 2006 - brian.cameron@sun.com
10139N/A- Now use tarball_version.
10139N/A* Tue Apr 04 2006 - halton.huo@sun.com
10139N/A- Alter remove .a/.la files part into linux spec.
10139N/A* Thu Mar 30 2006 - halton.huo@sun.com
10139N/A- Remove all *.a/*.la files.
10139N/A* Thu Feb 23 2006 - damien.carbery@sun.com
10139N/A- Use default pkg version to match other pkgs; add EVO25 to default category.
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Complete update of Build/Requires after running check-deps.pl script.
10139N/A* Thu Feb 16 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Fri Jan 06 2006 - simon.zheng@sun.com
10139N/A- Remove Solaris/patches/evolution-exchange-02-ldap-addfiles.diff
10139N/A* Wed Dec 21 2005 - halton.huo@sun.com
10139N/A- Change evo_major_version from 2.4 to 2.6.
10139N/A- Remove evolution-exchange-03-solaris-kerberos.diff and reorder.
10139N/A* Wed Dec 7 2005 - laca@sun.com
10139N/A- disable -Bdirect as due to symbol clashes
10139N/A* Wed Nov 09 2005 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-print as required by evolution-exchange.
10139N/A* Tue Nov 08 2005 - halton.huo@sun.com
10139N/A- Add /usr/lib/evolution/2.4 to LDFLAGS, fix bug #6347334.
10139N/A* Mon Oct 10 2005 - halton.huo@sun.com
10139N/A- Moved define moz_prefix.
10139N/A- Moved "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" from LDFLAGS.
10139N/A* Thu Sep 15 2005 - halton.huo@sun.com
10139N/A- Added define moz_prefix.
12402N/A- Added "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" to LDFLAGS
10139N/A so mozilla libraries can be found.
10139N/A- Added patch evolution-exchange-01-ldap.diff, evolution-exchange-02-ldap-addfiles.diff
10139N/A for SUN LDAP.
10139N/A- Added patch evolution-exchange-03-solaris-kerberos.diff to disable krb5.
10139N/A- Added patch evolution-exchange-04-solaris-eutil.diff to fix -leutil not found problem.
10139N/A- Change %files section.
10139N/A- Change changelog more readable.
10139N/A* Wed Aug 31 2005 - halton.huo@sun.com
10139N/A- Change SUNW_Category for open solaris
10139N/A* Wed Aug 31 2005 - damien.carbery@sun.com
10139N/A- Use evolution-exchange instead of ximian-connector.
10139N/A* Thu Jul 14 2005 - damien.carbery@sun.com
10139N/A- Use ximian-connector instead of oxygen2. %files changes will be needed.
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Mon Sep 13 2004 - dave.lin@sun.com
10139N/A- change the component name from SUNWevolution-xchg-connect to SUNWevolution-exchange per Michelle Lei
10139N/A* Tue Sep 07 2004 - laca@sun.com
10139N/A- change copyright to ximian
10139N/A* Sun Jun 27 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A- Added -root package for /etc files
10139N/A* Wed Jun 16 2004 - laca@sun.com
10139N/A- rename back to SUNWevolution-xchg-connect
10139N/A* Fri Jun 11 2004 - damien.carbery@sun.com
10139N/A- Set perms on _sysconfdir to correct a conflict.
10139N/A
18685N/A
18685N/A
18641N/A