thunderbird.spec revision 15586
#
# Copyright (c) Sun Microsystems, Inc.
#
# Owner: davelam
# bugdb: bugzilla.mozilla.org
#
#####################################
## Package Information Section ##
#####################################
Version: 3.0
Release: 1
Source: http://ftp.mozilla.org/pub/mozilla.org/%{name}/releases/%{tarball_version}/source/%{name}-%{tarball_version}-source.tar.bz2
%if %with_lightning
#%define lightning_version 0.9
#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
%if %without_moz_nss_nspr
# owner:davelam date:2006-04-29 type:branding
# let firefox use system bundled nss,nspr
# owner:hawklu date:2007-04-27 type:branding
# bugster:6542910
# owner:hawklu date:2008-12-04 type:bug bugzilla:463987
# owner:hawklu date:2008-12-12 type:bug bugzilla:468041
# owner:hawklu date:2008-12-12 type:bug bugzilla:469639
# owner:hawklu date:2008-12-10 type:bug bugzilla:449754 status:upstream
# owner:hawklu date:2008-12-10 type:bug bugzilla:449754 status:upstream
# owner:hawklu date:2008-12-10 type:bug bugzilla:449754 status:upstream
# owner:hawklu date:2008-09-26 type:bug
# bugster:CR6752288 bugzilla:4407147
# owner:alfred date:2008-10-10 type:bug bugster:6750518
# owner:hawklu date:2008-12-16 type:bug bugster:6770058
# owner:hawklu date:2007-03-21 type:bug bugzilla:446374
# bugster:6535724
# owner:hawklu date:2008-12-31 type:bug bugzilla:471642
#####################################
## Package Defines Section ##
#####################################
#####################################
## Package Requirements Section ##
#####################################
#####################################
## Package Description Section ##
#####################################
#####################################
## Package Preparation Section ##
#####################################
%prep
cd ..
#%if %with_lightning
#chmod -Rf a+rX,g-w,o-w mozilla
#rm -rf %{name}/calendar
#rm -rf %{name}/extensions/lightning
#mv mozilla/extensions/lightning %{name}/extensions/
#rm -rf mozilla
#%endif
%if %without_moz_nss_nspr
# go back to the thunderbird directory
cd ..
#####################################
## Package Build Section ##
#####################################
fi
%else
CPUS=1
fi
%if %with_lightning
#echo "ac_add_options --enable-extensions=default,lightning" >> .mozconfig
echo "ac_add_options --enable-calendar" >> .mozconfig
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
%if %without_moz_nss_nspr
# 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