thunderbird.spec revision 10638
#
# Copyright (c) Sun Microsystems, Inc.
#
# Owner: davelam
#
#####################################
## Package Information Section ##
#####################################
Version: 2.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
Source3: http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.3.1/source/lightning-%{lightning_version}.source.tar.bz2
# owner:davelam date:2005-08-22 type:branding
# change install dir from 'name-version' to 'name'
# owner:davelam date:2006-04-14 type:branding
# change startup script 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
# bugster:6535724
# owner:hawklu date:2007-04-27 type:branding
# bugster:6542910
#####################################
## Package Defines Section ##
#####################################
#####################################
## Package Requirements Section ##
#####################################
#####################################
## Package Description Section ##
#####################################
#####################################
## Package Preparation Section ##
#####################################
%prep
cd ..
%if %with_lightning
cd %{name}
#####################################
## 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/*
* Sat Apr 21 2007 - dave.lin@sun.com
- Bump to 2.0.0.0
* Thu Apr 12 2007 - dave.lin@sun.com
- bump to 2.0.0.0rc1, removed the patches thunderbird-11-drag-and-drop.diff,
thunderbird-12-defaultAccount.diff which are upstreamed in this release
* Thu Apr 12 2007 - dave.lin@sun.com
* Sat Mar 10 2007 - dougs@truemail.co.th
mozilla-04-s11x-smkfl.diff since they're upstreamed in that branch
* Fri Nov 17 2006 - dave.lin@sun.com
- add patch comments
* Mon Nov 13 2006 - dave.lin@sun.com
- change the version to 1.5.0.8 since 2.0a1 could not be able to integrated
into SNV, and add patches mozilla-03-s11s-smkfl.diff, mozilla-04-s11x-smkfl.diff
back because they're not upstreamed in the branch that for Thunderbird 1.5.x
- change the version 2.0a1 to 2.0 to comply WOS integration rules
- re-organize the patch list
* Mon Aug 28 2006 - dave.lin@sun.com
- create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
to fix bug CR#6459752
* Tue Aug 08 2006 - dave.lin@sun.com
- bump version to 2.0a1
- remove the patch mozilla-03-s11s-smkfl.diff, mozilla-04-s11x-smkfl.diff
which have been fixed in 2.0a1
* Mon Jul 31 2006 - dave.lin@sun.com
- bump to 1.5.0.5
* Fri Jul 07 2006 - dave.lin@sun.com
- add patch mozilla-07-no-ldlibpath.diff to remove the LD_LIBRARY_PATH in
- change to "disable-static, enable-shared" per Brian Lu
* Wed Jun 21 2006 - dave.lin@sun.com
- remove patch thunderbird-07-ldap-prefs.diff to fix bug CR#6344861
* Fri Jun 02 2006 - dave.lin@sun.com
- bump src version to 1.5.0.4
* Sat Apr 29 2006 - halton.huo@sun.com
- Add patch thunderbird-09-no-nss-nspr.diff to not deliver the nss,nspr
* Fri Apr 27 2006 - damien.carbery@sun.com
- Remove patch 9 as it is not in svn and breaks build.
* Fri Apr 27 2006 - dave.lin@sun.com
- change to not deliver the devel pkg
- add patch thunderbird-09-no-nss-nspr.diff to not deliver the nss,nspr
libraries, and use firefox's instead
- bump to 1.5.0.2, remove patch 06 thunderbird-06-save-all-attach.diff,
* Fri Mar 10 2006 -halton.huo@sun.com
- Add patch thunderbird-06-save-all-attach.diff to fix 6373061.
* Thu Nov 1 2005 - laca@sun.com
- change version to numeric and introduce %tarball_version
* Fri Oct 21 2005 - <halton.huo@sun.com>
- Bump to 1.5b2.
- Add patch 307041 from bugzilla.
* Mon Sep 26 2005 - <halton.huo@sun.com>
- Bump to 1.5b1.
- Move dir mozilla to thunderbird after tarball unpacking.
* Thu Sep 08 2005 - damien.carbery@sun.com
- Change BuildPrereq to BuildRequires, a format that build-gnome2 understands.
* Mon Sep 05 2005 - Dave Lin <dave.lin@sun.com>
- Add patches to remove the specific gtar options
- Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball
format between linux and solaris
* Fri Sep 02 2005 - damien.carbery@sun.com
- Change gtar to tar and rework tar command.
* Mon Aug 22 2005 - Dave Lin <dave.lin@sun.com>
- initial version of the spec file created