cvsdist 0fcb49
ExcludeArch: ia64
cvsdist 0fcb49
cvsdist 0fcb49
%define gal_version 0.19.1
cvsdist 0fcb49
%define gtkhtml_version 1.0.2
cvsdist c8eb5d
cvsdist c8eb5d
%define ldap_support 1
cvsdist 0fcb49
%define pilot_support 1
cvsdist 0fcb49
# note that nntp and krb5 support are both non-functional in evo 1.0.x; defines
cvsdist 0fcb49
# are only here for future convenience
cvsdist c8eb5d
%define nntp_support 0
cvsdist c8eb5d
%define krb5_support 0
cvsdist c8eb5d
cvsdist c8eb5d
%define dbdir db-3.1.17
cvsdist c8eb5d
%define buildtopdir $RPM_BUILD_DIR/%{name}-%{version}
cvsdist c8eb5d
cvsdist c8eb5d
Name: evolution
cvsdist 0fcb49
Version: 1.0.3
cvsdist bf04f0
Release: 4
cvsdist c8eb5d
License: GPL
cvsdist c8eb5d
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist c8eb5d
URL: http://www.ximian.com/
cvsdist c8eb5d
Source0: %{name}-%{version}.tar.gz
cvsdist c8eb5d
Source1: db-3.1.17.tar.gz
cvsdist 6ca2ce
# patches pulled from upstream CVS
cvsdist 6ca2ce
Patch0: evolution-1.0.3-non-attendee-acceptance.patch
cvsdist 6ca2ce
Patch1: evolution-1.0.3-startupwizardcrash.patch
cvsdist 6ca2ce
Patch2: evolution-1.0.3-useproperldapattribs.patch
cvsdist bf04f0
Patch3: evolution-1.0.3-einprogress.patch
cvsdist 6ca2ce
cvsdist 6ca2ce
# Red Hat Linux specific patches
cvsdist 6ca2ce
Patch10: evolution-1.0.1-dborder.patch
cvsdist 6ca2ce
Patch11: evolution-1.0.2-redhatify.patch
cvsdist bf04f0
cvsdist bf04f0
Patch20: evolution-ja-charset.patch
cvsdist c8eb5d
Summary: GNOME's next-generation groupware suite
cvsdist c8eb5d
Group: Applications/Productivity
cvsdist c8eb5d
cvsdist c8eb5d
Requires: scrollkeeper >= 0.1.4
cvsdist c8eb5d
# these are explicit because older versions cause unexpected component hangs
cvsdist c8eb5d
Requires: bonobo >= 1.0.14
cvsdist c8eb5d
Requires: GConf >= 1.0.7
cvsdist c8eb5d
Requires: oaf >= 0.6.7
cvsdist 0fcb49
Requires: mozilla-nss
cvsdist 0fcb49
Requires: mozilla-nspr
cvsdist c8eb5d
cvsdist c8eb5d
BuildRequires: gtkhtml-devel >= %{gtkhtml_version}
cvsdist c8eb5d
BuildRequires: gal-devel >= %{gal_version}
cvsdist c8eb5d
BuildRequires: bonobo-devel >= 1.0.3
cvsdist c8eb5d
BuildRequires: bonobo-conf-devel >= 0.12
cvsdist c8eb5d
BuildRequires: oaf-devel >= 0.6.2
cvsdist c8eb5d
BuildRequires: gdk-pixbuf-devel >= 0.9.0
cvsdist c8eb5d
BuildRequires: gnome-vfs-devel >= 1.0.0
cvsdist c8eb5d
BuildRequires: libglade-devel >= 0.14
cvsdist c8eb5d
BuildRequires: GConf-devel >= 0.6
cvsdist c8eb5d
BuildRequires: ORBit-devel >= 0.5.10
cvsdist c8eb5d
BuildRequires: gnome-print-devel >= 0.25
cvsdist c8eb5d
BuildRequires: libxml-devel >= 1.8.16
cvsdist 0fcb49
BuildRequires: intltool >= 0.17
cvsdist c8eb5d
BuildRequires: gtk+-devel >= 1.2.9
cvsdist c8eb5d
cvsdist 0fcb49
BuildRequires: mozilla-nspr-devel
cvsdist 0fcb49
BuildRequires: mozilla-nss-devel
cvsdist c8eb5d
cvsdist c8eb5d
%if %{ldap_support} 
cvsdist c8eb5d
BuildRequires: openldap >= 2.0.11 
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist c8eb5d
%if %{pilot_support} 
cvsdist c8eb5d
BuildRequires: gnome-pilot-devel 
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist c8eb5d
%if %{krb5_support} 
cvsdist c8eb5d
BuildRequires: krb5-devel 
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist c8eb5d
%description
cvsdist c8eb5d
Evolution is the GNOME mailer, calendar, contact manager and
cvsdist c8eb5d
communications tool.  The tools which make up Evolution will
cvsdist c8eb5d
be tightly integrated with one another and act as a seamless
cvsdist c8eb5d
personal information-management tool.
cvsdist c8eb5d
cvsdist c8eb5d
%prep
cvsdist 0fcb49
%setup -q -a 1
cvsdist 6ca2ce
# these are in CVS already on the 1-0-branch
cvsdist 6ca2ce
%patch0 -p0 -b .appointments
cvsdist 6ca2ce
%patch1 -p0 -b .startupwizardcrash
cvsdist 6ca2ce
%patch2 -p0 -b .ldapattribs
cvsdist bf04f0
%patch3 -p0 -b .einprogress
cvsdist 6ca2ce
cvsdist 6ca2ce
# Red Hat specific patches
cvsdist 6ca2ce
%patch10 -p0 -b .dborder
cvsdist 6ca2ce
%patch11 -p0 -b .rhatify
cvsdist c8eb5d
cvsdist bf04f0
%patch20 -p0 -b .jacharset
cvsdist bf04f0
cvsdist c8eb5d
%build
cvsdist c8eb5d
cvsdist c8eb5d
## build our db 3.1.17
cvsdist c8eb5d
cd %{buildtopdir}/%{dbdir}/build_unix
cvsdist c8eb5d
CFLAGS="$RPM_OPT_FLAGS" ../dist/configure --prefix=%{_prefix} --enable-static
cvsdist c8eb5d
make
cvsdist c8eb5d
cvsdist c8eb5d
## back to evolution 
cvsdist c8eb5d
cd %{buildtopdir}
cvsdist c8eb5d
cvsdist c8eb5d
# define all of our flags, this is kind of ugly :(
cvsdist c8eb5d
%if %{ldap_support}
cvsdist c8eb5d
%define ldap_flags --with-openldap=yes
cvsdist c8eb5d
%else
cvsdist c8eb5d
%define ldap_flags --without-openldap
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist c8eb5d
%if %{pilot_support}
cvsdist c8eb5d
%define pilot_flags --enable-pilot-conduits=yes
cvsdist c8eb5d
%else
cvsdist c8eb5d
%define pilot_flags --enable-pilot-conduits=no
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist c8eb5d
%if %{krb5_support}
cvsdist c8eb5d
%define krb5_flags --with-krb5=/usr/kerberos
cvsdist c8eb5d
%else
cvsdist c8eb5d
%define krb5_flags --without-krb5
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist c8eb5d
%if %{nntp_support}
cvsdist c8eb5d
%define nntp_flags --enable-nntp=yes
cvsdist c8eb5d
%else
cvsdist c8eb5d
%define nntp_flags --enable-nntp=no
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist 0fcb49
%define nss_flags --with-nss-libs=/usr/lib --with-nss-includes=/usr/include/nss
cvsdist c8eb5d
cvsdist 0fcb49
%configure --with-nspr-includes=/usr/include/nspr \
cvsdist c8eb5d
  --with-nspr-libs=/usr/lib --enable-gtk-doc=no \
cvsdist c8eb5d
  --with-db3-includes=%{buildtopdir}/%{dbdir}/build_unix \
cvsdist c8eb5d
  --with-db3-libs=%{buildtopdir}/%{dbdir}/build_unix \
cvsdist c8eb5d
  --enable-file-locking=fcntl --enable-dot-locking=no \
cvsdist c8eb5d
  --with-sub-version=" (%{version}-%{release})" \
cvsdist c8eb5d
  %ldap_flags %pilot_flags %krb5_flags %nntp_flags %nss_flags
cvsdist c8eb5d
make
cvsdist c8eb5d
cvsdist 6ca2ce
cat /dev/null > default_user/local/Inbox/mbox
cvsdist 6ca2ce
cvsdist c8eb5d
%install
cvsdist c8eb5d
make DESTDIR=$RPM_BUILD_ROOT install
cvsdist c8eb5d
cvsdist 6ca2ce
# move desktop file to applink location per #62399 
cvsdist 6ca2ce
mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Applications
cvsdist 6ca2ce
mv $RPM_BUILD_ROOT/usr/share/gnome/apps/Applications/evolution.desktop $RPM_BUILD_ROOT/etc/X11/applnk/Applications/evolution.desktop
cvsdist 6ca2ce
cvsdist c8eb5d
%find_lang %name
cvsdist c8eb5d
cvsdist c8eb5d
%post -p /sbin/ldconfig
cvsdist c8eb5d
cvsdist c8eb5d
%postun -p /sbin/ldconfig
cvsdist c8eb5d
cvsdist c8eb5d
%clean
cvsdist c8eb5d
rm -rf $RPM_BUILD_ROOT
cvsdist c8eb5d
cvsdist c8eb5d
%files -f %{name}.lang
cvsdist c8eb5d
%defattr(-, root, root)
cvsdist c8eb5d
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
cvsdist 6ca2ce
%{_sysconfdir}/X11/applnk/Applications/evolution.desktop
cvsdist c8eb5d
%{_datadir}/gnome/help/evolution
cvsdist c8eb5d
%{_datadir}/gnome/ui/*
cvsdist c8eb5d
%{_datadir}/gnome/html/*
cvsdist c8eb5d
%{_datadir}/libical-evolution
cvsdist c8eb5d
%{_datadir}/mime-info/*
cvsdist c8eb5d
%{_datadir}/evolution
cvsdist c8eb5d
%{_datadir}/idl/*.idl
cvsdist c8eb5d
%{_datadir}/oaf/*.oaf
cvsdist c8eb5d
%{_datadir}/omf/evolution
cvsdist c8eb5d
%{_datadir}/pixmaps/*
cvsdist c8eb5d
%{_datadir}/images
cvsdist c8eb5d
%{_libdir}/*.so*
cvsdist c8eb5d
%{_libdir}/evolution
cvsdist c8eb5d
%{_bindir}/*
cvsdist c8eb5d
%{_sbindir}/*
cvsdist c8eb5d
%{_mandir}/man*/*
cvsdist c8eb5d
cvsdist c8eb5d
%if %{pilot_support}
cvsdist c8eb5d
%{_libdir}/gnome-pilot/conduits/*.so
cvsdist c8eb5d
%{_datadir}/gnome-pilot/conduits/*
cvsdist c8eb5d
%endif
cvsdist c8eb5d
cvsdist 0fcb49
%changelog
cvsdist bf04f0
* Mon Apr 15 2002 Jeremy Katz <katzj@redhat.com> 1.0.3-4
cvsdist bf04f0
- include fejj(at)ximian.com's patch to fix the EINPROGRESS error with ssl 
cvsdist bf04f0
  since it's been committed to the branch and fixes the problem for me
cvsdist bf04f0
- include patch from tagoh(at)redhat.com to change the default charset 
cvsdist bf04f0
  for Japanese to ISO-2022-JP (#63214)
cvsdist bf04f0
cvsdist 6ca2ce
* Wed Apr 10 2002 Jeremy Katz <katzj@redhat.com> 1.0.3-3
cvsdist 6ca2ce
- minor tweaks to the redhatify patch
cvsdist 6ca2ce
- make accepting appointments sent to mailing lists work
cvsdist 6ca2ce
- use the RFC specified LDAP attribs for freebusy and calendarURI 
cvsdist 6ca2ce
  in addressbook
cvsdist 6ca2ce
- fix a crash in the startup wizard
cvsdist 6ca2ce
cvsdist 6ca2ce
* Sun Mar 31 2002 Jeremy Katz <katzj@redhat.com> 1.0.3-2
cvsdist 6ca2ce
- move desktop file to /etc/X11/applnk (#62399)
cvsdist c8eb5d
cvsdist 6ca2ce
* Sun Mar 24 2002 Jeremy Katz <katzj@redhat.com> 1.0.3-1
cvsdist 0fcb49
- update to evolution 1.0.3
cvsdist 0fcb49
- change summary view to show a recent errata list by default
cvsdist c8eb5d
cvsdist 0fcb49
* Thu Mar 14 2002 Jeremy Katz <katzj@redhat.com>
cvsdist 0fcb49
- put correct path to nspr includes on configure command line
cvsdist c8eb5d
cvsdist 0fcb49
* Mon Mar 11 2002 Jeremy Katz <katzj@redhat.com> 1.0.2-3
cvsdist 0fcb49
- mozilla 0.9.9 has nspr and nss subpackages, hooray!  rip out the static 
cvsdist 0fcb49
  libnss linkage and just link against what is provided dynamically
cvsdist 0fcb49
- kill the -devel subpackage since it's of questionable use
cvsdist 0fcb49
- explicitly require mozilla-nss and mozilla-nspr packages to make it easier
cvsdist 0fcb49
  to resolve the requirements
cvsdist 0fcb49
cvsdist 0fcb49
* Thu Feb 21 2002 Jeremy Katz <katzj@redhat.com> 1.0.2-2
cvsdist 0fcb49
- rebuild in new environment
cvsdist 0fcb49
- temporarily exclude on ia64 again
cvsdist 0fcb49
cvsdist 0fcb49
* Thu Jan 31 2002 Jeremy Katz <katzj@redhat.com> 1.0.2-1
cvsdist c8eb5d
- update to 1.0.2
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Jan 28 2002 Jeremy Katz <katzj@redhat.com> 1.0.1-4
cvsdist c8eb5d
- build on ia64 now that mozilla exists for ia64
cvsdist c8eb5d
cvsdist c8eb5d
* Sun Jan 27 2002 Jeremy Katz <katzj@redhat.com> 1.0.1-3
cvsdist c8eb5d
- rebuild in new environment
cvsdist c8eb5d
- add pilot support
cvsdist c8eb5d
cvsdist c8eb5d
* Sun Jan 13 2002 Jeremy Katz <katzj@redhat.com> 1.0.1-2
cvsdist c8eb5d
- rebuild without mozilla-psm in the buildroot so libnss is linked 
cvsdist c8eb5d
  statically as intended
cvsdist c8eb5d
cvsdist c8eb5d
* Sat Jan 12 2002 Jeremy Katz <katzj@redhat.com> 1.0.1-1
cvsdist c8eb5d
- update to 1.0.1
cvsdist c8eb5d
- patch for autoconf 2.52 accepted upstream
cvsdist c8eb5d
- include man page
cvsdist c8eb5d
- use --with-sub-version=" (%%{version}-%%{release})"
cvsdist c8eb5d
cvsdist c8eb5d
* Tue Dec 18 2001 Jeremy Katz <katzj@redhat.com> 1.0-2
cvsdist c8eb5d
- really disable news
cvsdist c8eb5d
- add patch from Jens Petersen <juhp@redhat.com> to hopefully get 
cvsdist c8eb5d
  builds working with autoconf 2.52
cvsdist c8eb5d
- conditionalize static libnss stuff so that it can go away when we
cvsdist c8eb5d
  have a mozilla with shared libnss
cvsdist c8eb5d
cvsdist c8eb5d
* Thu Dec  6 2001 Jeremy Katz <katzj@redhat.com> 1.0-1.7.2
cvsdist c8eb5d
- add patches off of branch for:
cvsdist c8eb5d
  * do not show up as Preview Release in version string
cvsdist c8eb5d
  * have next/previous work with multiple selected messages
cvsdist c8eb5d
- build without pilot support
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Dec  3 2001 Jeremy Katz <katzj@redhat.com> 1.0-1
cvsdist c8eb5d
- and bump to 1.0
cvsdist c8eb5d
cvsdist c8eb5d
* Sun Dec  2 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- let's build with an included copy of libnss now since OpenSSL is support
cvsdist c8eb5d
  is disabled on the 1.0 branch
cvsdist c8eb5d
- build with --enable-dot-locking=no
cvsdist c8eb5d
- excludearch ia64 again now that we need libnspr
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Nov 26 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- build with gnome-pilot and krb5 support
cvsdist c8eb5d
- conditionalize ldap, pilot and krb5 support
cvsdist c8eb5d
- clean up buildrequires some
cvsdist c8eb5d
cvsdist c8eb5d
* Sat Nov 17 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- we can build on ia64 since we're using openssl instead of nspr
cvsdist c8eb5d
- disable non-functional nntp support 
cvsdist c8eb5d
- 0.99.2 (rc2) 
cvsdist c8eb5d
cvsdist c8eb5d
* Fri Nov  9 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- add explicit requires on current bonobo, oaf, and GConf to help people
cvsdist c8eb5d
  help themselves
cvsdist c8eb5d
- s/Copyright/License/
cvsdist c8eb5d
cvsdist c8eb5d
* Thu Nov  8 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- add a patch to revert changes to camel-tcp-stream-openssl; appears to 
cvsdist c8eb5d
  fix the SSL hangs
cvsdist c8eb5d
cvsdist c8eb5d
* Wed Nov  7 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- fix filelist to include libical zoneinfo
cvsdist c8eb5d
- add devel subpackage with includes and static libs
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Nov  5 2001 Jeremy Katz <katzj@redhat.com>
cvsdist c8eb5d
- updated to 0.99.0 aka 1.0 RC1
cvsdist c8eb5d
cvsdist c8eb5d
* Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
cvsdist c8eb5d
- 0.16 snagged from Ximian GNOME
cvsdist c8eb5d
cvsdist c8eb5d
* Fri Oct  5 2001 Havoc Pennington <hp@redhat.com>
cvsdist c8eb5d
- initial build based on David Sainty's specfile
cvsdist c8eb5d
cvsdist c8eb5d
* Thu Oct 04 2001 David Sainty <dsainty@redhat.com>
cvsdist c8eb5d
- Updated to 0.15.99, 20011004 from cvs.
cvsdist c8eb5d
cvsdist c8eb5d
* Wed Sep 05 2001 David Sainty <dsainty@redhat.com>
cvsdist c8eb5d
- Updated to 0.13.99, 20010905 from cvs.
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Sep 03 2001 David Sainty <dsainty@redhat.com>
cvsdist c8eb5d
- Updated to 0.13.99, 20010903 from cvs.
cvsdist c8eb5d
- Fixed Requires + BuildRequires
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Aug 06 2001 David Sainty <dsainty@redhat.com>
cvsdist c8eb5d
- Updated to 0.12.99, 20010806 from cvs.
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Aug 06 2001 David Sainty <dsainty@redhat.com>
cvsdist c8eb5d
- Relocated libical* from /usr/lib due to kdepim, -2
cvsdist c8eb5d
cvsdist c8eb5d
* Mon Aug 06 2001 David Sainty <dsainty@redhat.com>
cvsdist c8eb5d
- First spec file for evolution.
cvsdist c8eb5d