thunderbird.spec revision 15404
#
# Copyright (c) Sun Microsystems, Inc.
#
# Owner: davelam
# bugdb: bugzilla.mozilla.org
#
#####################################
## Package Information Section ##
#####################################
Release: 1
Source: http://ftp.mozilla.org/pub/mozilla.org/%{name}/releases/%{tarball_version}/source/%{name}-%{tarball_version}-source.tar.bz2
%if %with_lightning
Source3: http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/%{lightning_version}/source/lightning-sunbird-%{lightning_version}-source.tar.bz2
# owner:davelam date:2005-08-22 type:branding
# change install dir from 'name-version' to 'name'
# owner:evan date:2007-11-28 type:branding
# change preference to support multi-language
# owner:davelam date:2005-09-01 type:branding
# let moz patch checker support S10 and S11
# owner:davelam date:2005-09-05 type:branding
# remove gtar specific options
# owner:davelam date:2006-04-29 type:branding
# let firefox use system bundled nss,nspr
# owner:davelam date:2006-07-07 type:branding
# comment LD_LIBRARY_PATH setting
# owner:davelam date:2006-09-07 type:branding
# remove moz patch checker from package
# owner:hawklu date:2007-03-21 type:bug bugzilla:446374
# bugster:6535724
# owner:hawklu date:2007-04-27 type:branding
# bugster:6542910
# owner:hawklu date:2007-06-05 type:bug state:upstream
# bugster:6284006
# owner:dcarbery date:2007-06-21 type:bug
# owner:hawklu date:2008-03-26 type:bug state:upstream
# bugster:CR6640830 bugzilla 420050
# owner:ginnchen date:2008-06-02 type:branding
# bugzilla:359777 doo:513,2019
# We don't want this patch on Solaris Nevada, because in Thunderbird 2
# on Nevada the hardcoded fonts look better than the default ones
#%if %with_lightning
#%endif
# owner:hawklu date:2008-09-26 type:bug
# bugster:CR6752288 bugzilla:4407147
# owner:alfred date:2008-10-10 type:bug bugster:6750518
# owner:rickju date:2008-11-26 type:bug state: upstream
# bugzilla: 249754
#####################################
## Package Defines Section ##
#####################################
#####################################
## Package Requirements Section ##
#####################################
#####################################
## Package Description Section ##
#####################################
#####################################
## Package Preparation Section ##
#####################################
%prep
cd ..
%if %with_lightning
cd %{name}
#%if %with_lightning
#%patch14 -p1
#%endif
#####################################
## Package Build Section ##
#####################################
fi
%else
CPUS=1
fi
%if %with_lightning
echo "ac_add_options --enable-extensions=default,lightning" >> .mozconfig
#CFLAGS=
#CXXFLAGS=
make export
# FIXME: disabled parallel build as it seems to break the build sometimes
BUILDDIR=`pwd`
cd $RPM_BUILD_ROOT%{_libdir}
# install the man page
#install -c -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/thunderbird.1
# $RPM_BUILD_ROOT%{_tbdir}/thunderbird-rebuild-databases
# remove the empty directories
# cpu/sparcv8plus/libnspr_flt4.so is not packaged
# create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
# to fix bug CR#6459752
# install thunderbird.cfg
# remove local dictionary and share the one that delivered
# by myspell-dictionary
#########################################
## Package Post[Un] Install Section ##
#########################################
%post
# run ldconfig before regxpcom
#####################################
## Package Files Section ##
#####################################
%{_tbdir}/*
#%{_mandir}/man1/*
- Fix the bug CR6284006: GConf Error: Bad key or directory name: "desktop/gnome/url-handlers/GMT+00/command": `+' messages
* Mon Apr 30 2007 - dave.lin@sun.com
- remove local dictionary and use the one delivered by myspell-dictionary(CR6218511)
* Thu Apr 27 2007 - brian.lu@sun.com
on Solaris so far(CR#6542910)
* Wed Mar 23 2007 - brian.lu@sun.com
- Fix the bug CR6535724:Thunderbird crashes with LDAP in snv 60
* Mon Mar 12 2007 - brian.lu@sun.com
- Fix the bug CR6530327
* Sat Mar 10 2007 - dougs@truemail.co.th
- Fixed URL for lightning
* Sat Mar 03 2007 - dave.lin@sun.com
- bump lightning version to 0.3.1
* Thu Feb 01 2007 - brian.lu@sun.com
- fix drag and drop crashing bug CR6519257
- bugzilla id 367203. The patch has been put into upstream
* Sun Jan 28 2007 - laca@sun.com
- add full download url for lightning
* Fri Jan 26 2007 - dave.lin@sun.com
- enable lightning extension(0.3) in Thunderbird
* Wed Jan 24 2007 - dave.lin@sun.com
- bump version to 2.0b2
* Thu Dec 28 2006 - dave.lin@sun.com
- change the patch type to branding for some patches in patch comments
- bump version to 2.0b1 and remove mozilla-03-s11s-smkfl.diff,
mozilla-04-s11x-smkfl.diff since they're upstreamed in that branch
* Thu Sep 07 2006 - dave.lin@sun.com
- add patch thunderbird-10-no-pkg-files.diff to remove patch checker scripts
- create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
* Sat Apr 29 2006 - halton.huo@sun.com
* Fri Apr 27 2006 - damien.carbery@sun.com
- remove patch mozilla-06-skip-strip.diff, use another simple way to skip
strip instead, setting PKG_SKIP_STRIP=1
* Fri Apr 21 2006 - dave.lin@sun.com
- bump to 1.5.0.2, remove patch 06 thunderbird-06-save-all-attach.diff,
which is already upstreamed
* Fri Apr 14 2006 - dave.lin@sun.com
- add patch mozilla-06-skip-strip.diff to make no stripped libraries
- add patch firefox-13-locale.diff to make firefox automatically
pick up locale setting from user environment and start up in
that locale
* Thu Apr 13 2006 - dave.lin@sun.com
on Solaris
* Fri Mar 10 2006 -halton.huo@sun.com
- Add patch thunderbird-06-save-all-attach.diff to fix 6373061.
- Add patch thunderbird-07-ldap-prefs.diff to fix CR6344861.
* Tue Jan 17 2006 - dave.lin@sun.com
- Bump tarball version to 1.5
- add two configure options --enable-static, --disable-shared
- to get rid of intermedia shared libraries
- disable parallel build option
* Tue Nov 08 2005 - dave.lin@sun.com
- Bump tarball version to 1.5rc1
- Remove the patch mozilla-07-bz307041.diff since it's upstreamed in 1.5rc1 already
* Fri Oct 21 2005 - <halton.huo@sun.com>
* Mon Sep 26 2005 - <halton.huo@sun.com>
* Thu Sep 08 2005 - damien.carbery@sun.com
* Fri Sep 02 2005 - damien.carbery@sun.com