1 # 2 # spec file for package evolution-jescs 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: jedy 9 # 10 Name: evolution-jescs 11 License: GPL 12 Group: System/Libraries/GNOME 13 Version: 2.8.2 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: Evolution connector for Sun Java Enterprise System Calendar Server 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.8/%{name}-%{version}.tar.bz2 19 URL: http://www.gnome.org 20 BuildRoot: %{_tmppath}/%{name}-%{version}-build 21 Autoreqprov: on 22 Prereq: /sbin/ldconfig 23 24 %define evolution_version 2.2 25 %define libgnomeui_version 2.10.0 26 %define libglade_version 2.5.0 27 %define libsoup_version 2.2.3 28 %define GConf_version 2.10.0 29 %define openldap2_version 2.2.6 30 %define gtk_doc_version 1.3 31 32 Requires: evolution >= %{evolution_version} 33 Requires: libgnomeui >= %{libgnomeui_version} 34 Requires: libglade >= %{libglade_version} 35 Requires: libsoup >= %{libsoup_version} 36 Requires: GConf >= %{GConf_version} 37 Requires: openldap2-client >= %{openldap2_version} 38 39 BuildRequires: evolution-devel >= %{evolution_version} 40 BuildRequires: libgnomeui-devel >= %{libgnomeui_version} 41 BuildRequires: libglade-devel >= %{libglade_version} 42 BuildRequires: libsoup-devel >= %{libsoup_version} 43 BuildRequires: GConf-devel >= %{GConf_version} 44 BuildRequires: openldap2-devel >= %{openldap2_version} 45 BuildRequires: gtk-doc >= %{gtk_doc_version} 46 47 %description 48 This is the Evolution Connector for Sun Java Enterprise System Calendar Server 49 (SJESCS), which adds support for SJESCS 5.1 and above to Evolution. 50 51 %post 52 ldconfig 53 54 # $RPM_COMMAND is an environment variable used by the SUN build 55 # system to control the build process with finer granularity than RPM 56 # normally allows. This specfile will function as expected by RPM if 57 # $RPM_COMMAND is unset. If you are not the SUN build system, 58 # feel free to ignore it. 59 60 %prep 61 %setup -q 62 63 %build 64 65 aclocal $ACLOCAL_FLAGS 66 libtoolize --force 67 glib-gettextize --force --copy 68 intltoolize --force --automake 69 autoheader 70 automake -a -f -c --gnu 71 autoconf 72 ./configure --prefix=%{_prefix} \ 73 --enable-idn=yes 74 75 make 76 77 %install 78 make -i install DESTDIR=$RPM_BUILD_ROOT 79 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' 80 find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' 81 82 %clean 83 rm -rf $RPM_BUILD_ROOT 84 85 %files 86 %defattr(-, root, root) 87 %doc COPYING ChangeLog AUTHORS INSTALL NEWS README 88 %{_libdir}/bonobo/servers/GNOME_Evolution_SunOne_Storage.server 89 %{_libdir}/evolution 90 %{_libexecdir}/evolution 91 %{_libdir}/evolution-data-server-* 92 %{_datadir}/evolution 93 %{_datadir}/evolution-jescs 94 %{_datadir}/locale/*/LC_MESSAGES/*.mo 95 96 %changelog 97 * Wed Sep 27 2006 - jedy.wang@sun.com 98 - Bump to 2.8.2. 99 100 * Mon Sep 21 2006 - jedy.wang@sun.com 101 - Bump to 2.8.1. 102 103 * Mon Sep 14 2006 - jedy.wang@sun.com 104 - Bump to 2.8.0. 105 106 * Mon Sep 14 2006 - jedy.wang@sun.com 107 - Bump to 2.7.1. 108 109 * Mon Jul 24 2006 - jedy.wang@sun.com 110 - Bump to 2.7.0. 111 112 * Mon Jul 14 2006 - jedy.wang@sun.com 113 - Bump to 2.6.4. 114 115 * Mon Jun 12 2006 - jedy.wang@sun.com 116 - Bump to 2.6.3. 117 118 * Mon May 29 2006 - halton.huo@sun.com 119 - Bump to 2.6.2. 120 121 * Fri May 12 2006 - halton.huo@sun.com 122 - Bump to 2.6.1. 123 124 * Thu May 11 2006 - halton.huo@sun.com 125 - Bump to 2.5.4. 126 127 * Fri Apr 10 2006 - damien.carbery@sun.com 128 - Bump to 2.5.3. 129 130 * Tue Apr 04 2006 - halton.huo@sun.com 131 - Remove .a/.la files in linux spec. 132 133 * Mon Mar 13 2006 - damien.carbery@sun.com 134 - Remove patch, 01-bonobo, as crashes have been fixed upstream. 135 136 * Fri Mar 10 2006 - damien.carbery@sun.com 137 - Bump to 2.5.2. 138 - Remove upstream patch, 01-close-tag. 139 140 * Fri Mar 3 2006 - harry.lu@sun.com 141 - Add patch, 01-bonobo.diff to fix a starup crash. 142 143 * Fri Feb 24 2006 - damien.carbery@sun.com 144 - Bump to 2.5.1. 145 - Remove upstream patch, 01-close-tag. 146 147 * Thu Feb 2 2006 - damien.carbery@sun.com 148 - Add patch, 01-close-tag, to close a tag in 149 GNOME_Evolution_SunOne_Storage.server.in.in file. 150 151 * Tue Jan 24 2006 - halton.huo@sun.com 152 - s/%{eds_api_version}/\*/g 153 154 * Tue Jan 24 2006 - halton.huo@sun.com 155 - Remove hard code evo_major_version and eds_api_version. 156 157 * Tue Jan 24 2006 - halton.huo@sun.com 158 - Bump to 2.5.0. 159 - Add define evo_major_version and eds_api_version. 160 - Remove define evolution_imagesdir. 161 162 * Fri Nov 25 2005 - halton.huo@sun.com 163 - Bump to 2.4.3. 164 165 * Wed Nov 16 2005 - halton.huo@sun.com 166 - Bump to 2.4.2. 167 168 * Thu Sep 8 2005 - halton.huo@sun.com 169 - Bump to 2.4.1. 170 171 * Thu Sep 8 2005 - halton.huo@sun.com 172 - Remove upstream patch evolution-jescs-01-autogen.diff. 173 - Enable idn. 174 - Use aclocal, ..., ./configure steps, not ./autogen, 175 because download tarball does not have autogen.sh. 176 177 * Tue Sep 6 2005 - halton.huo@sun.com 178 - Add patch evolution-jescs-01-autogen.diff. 179 - Temporarily disable idn. 180 - Change %install, %clean and %files section. 181 182 * Wed Aug 31 2005 - halton.huo@sun.com 183 - Initial spec file 184