10139N/A#
10139N/A# spec file for package SUNWevolution-data-server
10139N/A#
10139N/A# includes module(s): evolution-data-server
10139N/A#
11311N/A# Copyright 2007 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner jefftsai
10139N/A#
10139N/A%include Solaris.inc
10139N/A%use eds = evolution-data-server.spec
10139N/A
10139N/AName: SUNWevolution-data-server
19093N/ALicense: LGPL v2
18688N/AIPS_package_name: library/desktop/evolution-data-server
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
10139N/ASummary: Backend library for Evolution
19013N/AVersion: %{eds.version}
10139N/ASUNW_Category: EVO25,%{default_category}
10139N/ASUNW_BaseDir: %{_basedir}
12745N/ASUNW_Copyright:%{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
10139N/ASource2: %{name}-manpages-0.1.tar.gz
16401N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-libs
20829N/ABuildRequires: library/security/nss
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWevolution-libs
12533N/ARequires: SUNWlibsoup
10139N/ARequires: SUNWlibpopt
10139N/ARequires: SUNWzlib
10139N/ARequires: SUNWlibgpg-error
20829N/ABuildRequires: library/nspr
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWgnutls
10139N/ARequires: SUNWlibgcrypt
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWkrbu
10139N/ARequires: SUNWgss
13645N/ARequires: SUNWsqlite3
15759N/ARequires: SUNWlibical
16837N/A%if %option_with_sun_branding
10139N/ARequires: SUNWbdb
10139N/A%endif
16401N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWgnutls-devel
10139N/ABuildRequires: SUNWlibgcrypt-devel
10139N/ABuildRequires: SUNWlibgpg-error-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWevolution-libs-devel
12533N/ABuildRequires: SUNWlibsoup-devel
10139N/ABuildRequires: SUNWlibpopt-devel
10139N/ABuildRequires: SUNWhea
13645N/ABuildRequires: SUNWsqlite3
15759N/ABuildRequires: SUNWlibical
16837N/A%if %option_with_sun_branding
10139N/A# must build the supported SUNWevolution-data-server product using
10139N/A# the version of bdb included in Solaris
10139N/ABuildRequires: SUNWevolution-bdb-devel
10139N/A%endif
18138N/ABuildRequires: SUNWlibgweather
18397N/ABuildRequires: SUNWgnu-gperf
18850N/ABuildRequires: SUNWuiu8
18850N/ABuildRequires: SUNWiconv-unicode
18850N/ABuildRequires: SUNWgnome-common-devel
18850N/ABuildRequires: SUNWlibgnome-keyring
19789N/A#BuildRequires: data/docbook
19789N/ABuildRequires: SUNWgnome-xml-share
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
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%eds.prep -d %name-%version
10139N/A# Apply patch for SUN LDAP
10139N/Acd %{_builddir}/%name-%version/evolution-data-server-%{eds.version}
10139N/Acd ..
10139N/A# Expand manpages tarball
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE2 | tar xf -
10139N/A
10139N/A%build
17974N/Aexport LDFLAGS="%_ldflags -L%{_libdir} -R%{_libdir} -R`pkg-config --variable=libdir nss` -R`pkg-config --variable=libdir nspr`"
17974N/Aexport CFLAGS="%optflags -D__EXTENSIONS__"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport PKG_CONFIG_PATH="%{_pkg_config_path}"
10139N/A
16837N/A%if %option_with_sun_branding
10139N/A%define bdb_option --with-libdb=%{_basedir}
10139N/A%else
10139N/A%define bdb_option
10139N/A%endif
10139N/A
10139N/A%eds.build -d %name-%version
10139N/A
10139N/A%install
10139N/A%eds.install -d %name-%version
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
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%files
14341N/A%doc(bzip2) -d evolution-data-server-%{eds.version} ChangeLog
14341N/A%doc(bzip2) -d evolution-data-server-%{eds.version} COPYING
14341N/A%doc(bzip2) -d evolution-data-server-%{eds.version} NEWS
14341N/A%dir %attr (0755, root, other) %{_datadir}/doc
14341N/A
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/lib*.so*
10139N/A%{_libdir}/camel-index-control-*
10139N/A%{_libdir}/camel-lock-helper-*
17866N/A%{_libdir}/e-addressbook-factory
17866N/A%{_libdir}/e-calendar-factory
10139N/A%{_libdir}/evolution-data-server-*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/*
17866N/A%dir %attr (0755, root, bin) %{_datadir}/dbus-1
17866N/A%dir %attr (0755, root, bin) %{_datadir}/dbus-1/services
17866N/A%{_datadir}/dbus-1/services/*
10139N/A%{_datadir}/evolution-data-server-*
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/gtk-doc
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A
10139N/A%changelog
19784N/A* Thu Dec 02 2010 - jeff.cai@oracle.com
19784N/A- Add BuildRequires data/docbook
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
18397N/A* Mon Mar 08 2010 - jeff.cai@sun.com
18397N/A- Add build dependency on SUNWgnu-gperf since IMAPx uses it
18098N/A* Fri Jan 15 2009 - jeff.cai@sun.com
18098N/A- Add dependency on SUNWprod which contains nspr
17986N/A* Wed Dec 23 - jedy.wang@sun.com
17986N/A- Use default ld.
17912N/A* Thu Dec 10 2009 - christian.kelly@sun.com
17912N/A- Add dependency on SUNWlibgweather.
17286N/A* Fri Sep 11 2009 - jedy.wang@sun.com
17286N/A- Remove SUNWmlib dependency.
16837N/A* Web Jul 22 2009 - jeff.cai@sun.com
16837N/A- Replace with-bdb with option_with_sun_branding
16837N/A Fix #10176
15759N/A* Wed Feb 04 2009 - jeff.cai@sun.com
15759N/A- Add the dependency on SUNWlibical
14341N/A* Tue Sep 16 2008 - jeff.cai@sun.com
14341N/A- Add copyright.
13645N/A* Wed Jul 23 2008 - jeff.cai@sun.com
13645N/A- Add dependency of SUNWsqlite3
12745N/A* Wed Apr 02 2008 - jeff.cai@sun.com
12745N/A- Add copyright file.
12084N/A* Thu Dec 20 2007 - halton.huo@sun.com
12084N/A- Fix build problem when %support_level is not supported. Only set
12084N/A bdb_option and depend on SUNWbdb and SUNWevolution-bdb-devel when
12084N/A %support_level is supported.
11859N/A* Mon Nov 05 2007 - jeff.cai@sun.com
11859N/A- Use system ldflag to enable -BDirect
11311N/A* Fri Sep 28 2007 - laca@sun.com
11311N/A- delete -I%{_includedir} from CFLAGS -- it's redundant but breaks the
11311N/A indiana build; add %{?arch_ldadd} to LDFLAGS for iconv LDFLAGS
10139N/A* Wed Nov 29 2006 - damien.carbery@sun.com
10139N/A- Revert version to %{default_pkg_version} as this module has been integrated
10139N/A to Nevada with this version. Using the base module's version number (2.8.x)
10139N/A is lower than 2.16.x and will cause an integration error.
10139N/A* Tue Nov 28 2006 - jeff.cai@sun.com
10139N/A- Use eds to refer to the spec file.
10139N/A- Use evolution-data-server's version information to replace
10139N/A* Mon Nov 27 2006 - jeff.cai@sun.com
10139N/A- Use evolution-data-server's version information to replace
10139N/A default one.
10139N/A* Mon Oct 23 2006 - irene.huang@sun.com
10139N/A- Moved all patches to ../patches
10139N/A* Fri Oct 20 2006 - damien.carbery@sun.com
10139N/A- Add code to expand manpage tarball, otherwise build breaks.
10139N/A* Thu Oct 19 2006 - irene.huang@sun.com
10139N/A- add manpages
10139N/A* Tue Oct 17 2006 - jeff.cai@sun.com
10139N/A- add patch evolution-data-server-03-mail-rlimit.diff to fix bug 348888
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- delete some unnecessary env variables
10139N/A* Thu Jul 27 2006 - halton.huo@sun.com
10139N/A- Correct with_bdb_devel depend on SUNWbdb, not SUNWevolution-bdb-devel
10139N/A* Wed Jul 26 2006 - halton.huo@sun.com
10139N/A- Add SUNWbdb Requires and SUNWevolution-bdb-devel BuildRequires to use
10139N/A system BerkeleyDB.
10139N/A* Tue Jul 25 2006 - jeff.cai@sun.com
10139N/A- Reorder patches.
10139N/A* Fri Jul 20 2006 - jeff.cai@sun.com
10139N/A- Bump to 1.7.4
10139N/A Remove patch evolution-data-server-01-ldap-ssl.diff.
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Tue May 30 2006 - Irene.Huang@sun.com
10139N/A- Remove '-I%{_includedir}/kerberosv5' from CFLAGS as this has been
10139N/A defined in evolution-data-server/configure.in
10139N/A* Mon May 29 2006 - damien.carbery@sun.com
10139N/A- Add '-I%{_includedir}/kerberosv5' to CFLAGS to find headers.
10139N/A* Sun May 28 2006 - irene.huang@sun.com
10139N/A- Add patch evolution-data-server-02-kerberos.diff, add package requirement of
10139N/A SUNWkrbu and SUNWgss.
10139N/A* Fri May 12 2006 - damien.carbery@sun.com
10139N/A- Small update to dependency list after check-deps.pl run.
10139N/A* Thu May 11 2006 - halton.huo@sun.com
10139N/A- Change %defattr to (-, root, other).
10139N/A* Thu May 04 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Wed Apr 26 2006 - halton.huo@sun.com
10139N/A- Use JES's NSS/NSPR(/usr/lib/mps) instead of that provided by
10139N/A mozilla or firefox, to fix bug #6418049.
10139N/A* Thu Apr 13 2006 - halton.huo@sun.com
10139N/A- Use firefox_prefix defination in linux spec.
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- Further 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 6 2006 - simon.zheng@sun.com
10139N/A- Update patch evolution-data-server-01-ldap-ssl.diff
10139N/A- Remove patch evolution-data-server-02-ldap-ssl-addfiles.diff
10139N/A* Tue Dec 6 2005 - laca@sun.com
10139N/A- disable -Bdirect as due to symbol clashes
10139N/A* Fri Oct 21 2005 - halton.huo@sun.com
10139N/A- evolution-data-server-03-libexec.diff: Fix bug #6334159.
10139N/A- Add firefox dependence, add firefox lib to LDFLAGS, add firefox include to CFLAGS.
10139N/A* Mon Oct 10 2005 - halton.huo@sun.com
10139N/A- Move upstreamed patch evolution-data-server-03-solaris-kerberos.diff.
10139N/A* Thu Sep 15 2005 - halton.huo@sun.com
10139N/A- Change Source1 evolution-data-server-ldap-ssl-patch.tar
10139N/A to Patch2 evolution-data-server-02-ldap-ssl-addfiles.diff,
10139N/A and re-order patch.
10139N/A- Remove define krb5_prefix and related.
10139N/A- Add patch evolution-data-server-03-solaris-kerberos.diff
10139N/A to disable krb5.
10139N/A* Thu Sep 8 2005 - halton.huo@sun.com
10139N/A- Add krb5_prefix define.
10139N/A- Add "-L%{krb5_prefix}/lib -R%{krb5_prefix}/lib" to LDFLAGS.
10139N/A- Add "-I%{krb5_prefix}/include" to CFLAGS.
10139N/A- Use /bin/tar to extract Source1.
10139N/A- Replace version number to * in %files section to avoid
10139N/A version update error.
10139N/A* Tue Sep 6 2006 - halton.huo@sun.com
10139N/A- Add patch evolution-data-server-01-ldap-ssl.diff and Source1
10139N/A evolution-data-server-ldap-ssl-patch.tar to support SUN LDAP.
10139N/A* Wed Aug 31 2005 - halton.huo@sun.com
10139N/A- Change SUNW_Category for open solaris.
10139N/A* Mon Jul 18 2005 - damien.carbery@sun.com
10139N/A- Add SUNWevolution-libs-devel (libsoup) dependency.
10139N/A- Fix %files sections.
10139N/A* Thu Jul 14 2005 - laca@sun.com
10139N/A- add missing dependencies
10139N/A* Thu Jul 14 2005 - damien.carbery@sun.com
10139N/A- Initial version created
16401N/A
19189N/A
19506N/A