1 # 2 # spec file for package SUNWevolution-jescs 3 # 4 # includes module(s): evolution-jescs.spec 5 # 6 # Copyright (c) 2004 Sun Microsystems, Inc. 7 # This file and all modifications and additions to the pristine 8 # package are under the same license as the package itself. 9 # 10 # Owner: jedy 11 # 12 %include Solaris.inc 13 %use evojescs = evolution-jescs.spec 14 %define evo_major_version 2.22 15 %define evo_prefix /usr/lib/evolution 16 17 Name: SUNWevolution-jescs 18 Summary: Evolution connector for Sun JES Calendar Server 19 Version: %{default_pkg_version} 20 SUNW_Category: EVO25,%{default_category} 21 SUNW_Copyright: %{name}.copyright 22 SUNW_BaseDir: %{_basedir} 23 BuildRoot: %{_tmppath}/%{name}-%{version}-build 24 %include default-depend.inc 25 Requires: SUNWevolution 26 Requires: SUNWjdsrm 27 Requires: SUNWgnome-base-libs 28 Requires: SUNWevolution-data-server 29 Requires: SUNWlibsoup 30 Requires: SUNWgnome-component 31 Requires: SUNWgnome-config 32 Requires: SUNWgnome-libs 33 Requires: SUNWgnome-vfs 34 Requires: SUNWidnl 35 BuildRequires: SUNWevolution-data-server-devel 36 BuildRequires: SUNWlibsoup-devel 37 BuildRequires: SUNWgnome-component-devel 38 BuildRequires: SUNWgnome-config-devel 39 BuildRequires: SUNWgnome-libs-devel 40 BuildRequires: SUNWgnome-vfs-devel 41 42 %if %build_l10n 43 %package l10n 44 Summary: %{summary} - l10n files 45 SUNW_BaseDir: %{_basedir} 46 %include default-depend.inc 47 Requires: %{name} 48 %endif 49 50 %prep 51 rm -rf %name-%version 52 mkdir -p %name-%version 53 %evojescs.prep -d %name-%version 54 55 %build 56 #FIXME: symbol clash in the evo libraries means we can't use -Bdirect 57 # should be re-enabled once these issues are fixed 58 export LD=/usr/ccs/bin/ld 59 export LDFLAGS="-z ignore %{?arch_ldadd} -L%{_libdir} -R%{_libdir} -L%{evo_prefix}/%{evo_major_version} -R%{evo_prefix}/%{evo_major_version}" 60 export CFLAGS="%optflags" 61 export RPM_OPT_FLAGS="$CFLAGS" 62 export PKG_CONFIG_PATH="%_pkg_config_path" 63 %evojescs.build -d %name-%version 64 65 %install 66 %evojescs.install -d %name-%version 67 68 %if %build_l10n 69 %else 70 # REMOVE l10n FILES 71 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale 72 %endif 73 74 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} 75 76 %clean 77 rm -rf $RPM_BUILD_ROOT 78 79 %files 80 %defattr (-, root, bin) 81 %dir %attr (0755, root, bin) %{_libdir} 82 %{_libdir}/bonobo/servers/* 83 %{_libdir}/evolution 84 %{_libdir}/evolution-data-server-* 85 %dir %attr (0755, root, sys) %{_datadir} 86 %{_datadir}/evolution-jescs 87 %{_datadir}/evolution 88 89 %if %build_l10n 90 %files l10n 91 %defattr (-, root, bin) 92 %dir %attr (0755, root, sys) %{_datadir} 93 %attr (-, root, other) %{_datadir}/locale 94 %endif 95 96 %changelog 97 * Fri Oct 5 2007 - laca@sun.com 98 - add %{arch_ldadd} to LDFLAGS for GNU libiconv/libintl 99 * Fri May 18 2007 - damien.carbery@sun.com 100 - Shorten package name to fix WOS integration warning about pkg name length. 101 * Wed Nov 29 2006 - damien.carbery@sun.com 102 - Revert version to %{default_pkg_version} as this module has been integrated 103 to Nevada with this version. Using the base module's version number (2.8.x) 104 is lower than 2.16.x and will cause an integration error. 105 - Bump evo_major_version to 2.10 to match SUNWevolution. 106 * Mon Nov 27 2006 - jeff.cai (at] sun.com 107 - Use evolution-jescs's version information to replace default one. 108 * Sat Aug 12 2006 - laca@sun.com 109 - delete some unnecessary env variables 110 * Sun Jun 24 2006 - laca@sun.com 111 - change evo_major_version to 2.8. 112 * Sun Jun 11 2006 - laca@sun.com 113 - change group from other to bin/sys 114 * Thu May 11 2006 - halton.huo@sun.com 115 - Change %defattr to (-, root, other). 116 - Remove unused -root package. 117 * Thu May 04 2006 - laca@sun.com 118 - merge -share pkg(s) into the base pkg(s) 119 * Thu Apr 13 2006 - halton.huo@sun.com 120 - Add /usr/lib/evolution/%{evo_major_version} to LDFLAGS, fix bug #6411728. 121 * Tue Apr 04 2006 - halton.huo@sun.com 122 - Alter remove .a/.la files part into linux spec. 123 * Thu Mar 30 2006 - halton.huo@sun.com 124 - Remove all *.a/*.la files. 125 * Thu Feb 23 2006 - damien.carbery@sun.com 126 - Use default pkg version to match other pkgs; add EVO25 to default category. 127 * Mon Feb 20 2006 - damien.carbery@sun.com 128 - Update Build/Requires after running check-deps.pl script. 129 * Tue Jan 24 2006 - halton.huo@sun.com 130 - Remove hard code %{evojescs.eds_api_version}. 131 - Remove *.la under /usr/lib when install. 132 * Tue Jan 24 2006 - halton.huo@sun.com 133 - s/evolution-data-server-1.2/evolution-data-server-%evojescs.eds_api_version/g 134 * Wed Dec 7 2005 - laca@sun.com 135 - disable -Bdirect as due to symbol clashes 136 * Thu Dec 2 2005 - damien.carbery@sun.com 137 - Add Build/Requires SUNWgnome-base-libs/-devel-share for glib-gettextize. 138 * Thu Oct 6 2005 - damien.carbery@sun.com 139 - Add SUNWjdsrm dependency so that the obsolete SUNWevolution-socs-connect is 140 removed before this package is installed. They contain conflicting files. 141 * Tue Sep 6 2005 - halton.huo@sun.com 142 - Fix wrong Name. 143 - Fix evolution-jescs to evojescs. 144 - Change %files section. 145 * Fri Sep 2 2005 - halton.huo@sun.com 146 - Initial spec file 147 148