thunderbird.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 19153 f6853e603caf
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     1
#
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     2
# Copyright (c) Sun Microsystems, Inc.
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     3
#
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     4
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     5
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     6
##   Package Information Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     7
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     8
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
     9
Name:        thunderbird
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    10
Summary:     Mozilla Thunderbird Standalone E-mail and Newsgroup Client
19137
2405ceafd2da 2006-08-09 Dave Lin <[email protected]>
jl141263
parents: 7589
diff changeset
    11
Version:     1.5.0.5
7118
72082fea0ddf bump thunderbird version to 1.5.0.2
jl141263
parents: 7073
diff changeset
    12
%define tarball_version %{version}
7360
c53b1c1c01c3 Bump src version to 1.5.0.4 for Firefox/Thunderbird
jl141263
parents: 7171
diff changeset
    13
Release:     1
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    14
Copyright:   MPL/LGPL
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    15
Group:       Applications/Internet
6009
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    16
Distribution:Java Desktop System
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    17
Vendor:      Sun Microsystems, Inc.
6242
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
    18
Source:     http://ftp.mozilla.org/pub/mozilla.org/%{name}/releases/%{tarball_version}/source/%{name}-%{tarball_version}-source.tar.bz2
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    19
Source1:     thunderbird-icon.png
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    20
Source2:     thunderbird.desktop
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    21
#Source3:     thunderbird-rebuild-databases.in
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    22
#Source4:     thunderbird.1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    23
#Source5:     thunderbird.sh.in
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    24
Patch1:      mozilla-01-change-install-dir.diff
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    25
Patch2:      mozilla-02-no-patch-checker.diff
5669
e56f7dce459a switch files in tarball mozilla-s11-src.tar.bz2 to patch files
dave
parents: 5667
diff changeset
    26
Patch3:      mozilla-03-s11s-smkfl.diff
e56f7dce459a switch files in tarball mozilla-s11-src.tar.bz2 to patch files
dave
parents: 5667
diff changeset
    27
Patch4:      mozilla-04-s11x-smkfl.diff
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
    28
Patch5:      mozilla-05-common-tar-option.diff
7073
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
    29
Patch8:      thunderbird-08-locale.diff
7171
67b452fe949c * thunderbird.spec, patches/thunderbird-09-no-nss-nspr.diff:
hh150184
parents: 7170
diff changeset
    30
Patch9:      thunderbird-09-no-nss-nspr.diff
7589
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
    31
Patch10:     mozilla-07-no-ldlibpath.diff
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    32
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    33
URL:         http://www.sun.com/software/javadesktopsystem/
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    34
6242
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
    35
BuildRoot:   %{_tmppath}/%{name}-%{tarball_version}-build
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    36
Prefix:      /usr
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    37
Provides:    webclient
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    38
Autoreqprov: on
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    39
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    40
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    41
##     Package Defines Section     ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    42
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    43
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    44
%define _unpackaged_files_terminate_build 0
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    45
%define _tbdir %{_libdir}/%{name}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    46
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    47
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    48
##  Package Requirements Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    49
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    50
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    51
BuildRequires: libpng-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    52
BuildRequires: libjpeg
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    53
BuildRequires: zlib-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    54
BuildRequires: zip
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    55
BuildRequires: perl
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    56
BuildRequires: autoconf
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    57
BuildRequires: libIDL-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    58
BuildRequires: glib2-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    59
BuildRequires: gtk2-devel
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    60
Prereq: fileutils perl
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    61
Prereq: /usr/bin/killall
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    62
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    63
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    64
##   Package Description Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    65
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    66
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    67
%description
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    68
Mozilla Thunderbird is a standalone e-mail and newsgroup client 
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    69
that can be used as a companion to Mozilla Firefox or by itself. 
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    70
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    71
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    72
##   Package Preparation Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    73
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    74
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    75
%prep
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    76
6009
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    77
%setup -q -c -n %{name}
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    78
cd ..
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    79
/bin/mv %{name} %{name}.tmp.$$
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    80
/bin/mv %{name}.tmp.$$/mozilla %{name}
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    81
rm -rf %{name}.tmp.$$
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    82
cd %{name}
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    83
%patch1 -p1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    84
%patch2 -p1
5669
e56f7dce459a switch files in tarball mozilla-s11-src.tar.bz2 to patch files
dave
parents: 5667
diff changeset
    85
%patch3 -p1
e56f7dce459a switch files in tarball mozilla-s11-src.tar.bz2 to patch files
dave
parents: 5667
diff changeset
    86
%patch4 -p1
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
    87
%patch5 -p1
7073
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
    88
%patch8 -p1
7522
3f21fc77b0ed Add back the patch since it would not break build
jl141263
parents: 7493
diff changeset
    89
%patch9 -p1
7589
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
    90
%patch10 -p1
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    91
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    92
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    93
##      Package Build Section      ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    94
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    95
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    96
%build
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    97
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    98
%ifos linux
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    99
if [ -x /usr/bin/getconf ]; then
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   100
  CPUS=`getconf _NPROCESSORS_ONLN`
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   101
fi
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   102
%else
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   103
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   104
%endif
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   105
if test "x$CPUS" = "x" -o $CPUS = 0; then
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   106
  CPUS=1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   107
fi
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   108
5861
7ce5ec3f7fc6 fix build directory structure
laca
parents: 5775
diff changeset
   109
cat << "EOF" > .mozconfig
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   110
. $topsrcdir/mail/config/mozconfig
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   111
mk_add_options BUILD_OFFICIAL=1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   112
mk_add_options MOZILLA_OFFICIAL=1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   113
ac_add_options --prefix=%{_prefix}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   114
ac_add_options --libdir=%{_libdir}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   115
ac_add_options --mandir=%{_mandir}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   116
ac_add_options --enable-xft
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   117
ac_add_options --enable-default-toolkit=gtk2
7589
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
   118
ac_add_options --disable-static
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
   119
ac_add_options --enable-shared
19138
adec2c3c1508 2006-08-12 Dave Lin <[email protected]>
jl141263
parents: 19137
diff changeset
   120
ac_add_options --enable-official-branding
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   121
ac_add_options --disable-tests
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   122
ac_add_options --disable-freetype2
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   123
ac_add_options --disable-auto-deps
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   124
ac_add_options --disable-debug
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   125
EOF
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   126
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   127
BUILD_OFFICIAL=1 
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   128
MOZILLA_OFFICIAL=1
5717
60499fb6305a Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball format between linux and solaris
dave
parents: 5716
diff changeset
   129
MOZ_PKG_FORMAT=BZ2
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   130
PKG_SKIP_STRIP=1
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   131
#CFLAGS=
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   132
#CXXFLAGS=
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   133
export BUILD_OFFICIAL MOZILLA_OFFICIAL MOZ_PKG_FORMAT PKG_SKIP_STRIP CFLAGS CXXFLAGS
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   134
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   135
./configure
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   136
make export
6616
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   137
# FIXME: disabled parallel build as it seems to break the build sometimes
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   138
make libs
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   139
19138
adec2c3c1508 2006-08-12 Dave Lin <[email protected]>
jl141263
parents: 19137
diff changeset
   140
cd xpinstall/packager
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   141
make
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   142
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   143
%install
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   144
/bin/rm -rf $RPM_BUILD_ROOT
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   145
5861
7ce5ec3f7fc6 fix build directory structure
laca
parents: 5775
diff changeset
   146
BUILDDIR=`pwd`
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   147
/bin/mkdir -p $RPM_BUILD_ROOT%{_libdir}
5680
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   148
cd $RPM_BUILD_ROOT%{_libdir}
5861
7ce5ec3f7fc6 fix build directory structure
laca
parents: 5775
diff changeset
   149
/usr/bin/bzip2 -dc $BUILDDIR/dist/thunderbird-*.tar.bz2 | /bin/tar -xf -
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   150
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   151
/bin/mkdir -p $RPM_BUILD_ROOT%{_bindir}
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   152
/bin/ln -s ../lib/thunderbird/thunderbird $RPM_BUILD_ROOT%{_bindir}/thunderbird
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   153
7071
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   154
/bin/mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   155
/bin/mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   156
install -c -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/thunderbird-icon.png
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   157
install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/thunderbird.desktop
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   158
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   159
# install the man page
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   160
#/bin/mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   161
#install -c -m 644  %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/thunderbird.1
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   162
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   163
#/bin/cat %{SOURCE3} | /usr/bin/sed -e 's,FFDIR,%{_tbdir},g' > \
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   164
#  $RPM_BUILD_ROOT%{_tbdir}/thunderbird-rebuild-databases
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   165
#/bin/chmod 755 $RPM_BUILD_ROOT%{_tbdir}/thunderbird-rebuild-databases
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   166
19153
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   167
# create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   168
# to fix bug CR#6459752
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   169
ln -s ../mps/libnssckbi.so $RPM_BUILD_ROOT%{_tbdir}/libnssckbi.so
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   170
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   171
%clean
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   172
/bin/rm -rf $RPM_BUILD_ROOT
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   173
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   174
#########################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   175
##  Package Post[Un] Install Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   176
#########################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   177
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   178
%post
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   179
# run ldconfig before regxpcom
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   180
/sbin/ldconfig >/dev/null 2>/dev/null
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   181
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   182
%postun
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   183
/sbin/ldconfig >/dev/null 2>/dev/null
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   184
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   185
%preun
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   186
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   187
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   188
##      Package Files Section      ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   189
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   190
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   191
%files
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   192
%defattr(-,root,root)
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   193
%dir %{_tbdir}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   194
%{_tbdir}/*
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   195
%{_bindir}/thunderbird
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   196
#%{_mandir}/man1/*
7071
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   197
%{_datadir}/applications/%{name}.desktop
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   198
%{_datadir}/pixmaps/%{name}-icon.png
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   199
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   200
%changelog
19153
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   201
* Mon Aug 28 2006 - [email protected]
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   202
- create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
f6853e603caf 2006-08-28 Dave Lin <[email protected]>
jl141263
parents: 19138
diff changeset
   203
  to fix bug CR#6459752
19138
adec2c3c1508 2006-08-12 Dave Lin <[email protected]>
jl141263
parents: 19137
diff changeset
   204
* Sat Aug 12 2006 - [email protected]
adec2c3c1508 2006-08-12 Dave Lin <[email protected]>
jl141263
parents: 19137
diff changeset
   205
- change to use official branding 
19137
2405ceafd2da 2006-08-09 Dave Lin <[email protected]>
jl141263
parents: 7589
diff changeset
   206
* Wed Aug 09 2006 - [email protected]
2405ceafd2da 2006-08-09 Dave Lin <[email protected]>
jl141263
parents: 7589
diff changeset
   207
- bump version to 1.5.0.5
7589
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
   208
* Fri Jul 07 2006 - [email protected]
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
   209
- add patch mozilla-07-no-ldlibpath.diff to remove the LD_LIBRARY_PATH in
94ad5a8d0612 2006-07-07 Dave Lin <[email protected]>
jl141263
parents: 7522
diff changeset
   210
- change to "disable-static, enable-shared" per Brian Lu
7475
1deebbc61ff8 remove patch thunderbird-07-ldap-prefs.diff to fix bug CR#6344861
jl141263
parents: 7360
diff changeset
   211
* Wed Jun 21 2006 - [email protected]
1deebbc61ff8 remove patch thunderbird-07-ldap-prefs.diff to fix bug CR#6344861
jl141263
parents: 7360
diff changeset
   212
- remove patch thunderbird-07-ldap-prefs.diff to fix bug CR#6344861
7360
c53b1c1c01c3 Bump src version to 1.5.0.4 for Firefox/Thunderbird
jl141263
parents: 7171
diff changeset
   213
* Fri Jun 02 2006 - [email protected]
c53b1c1c01c3 Bump src version to 1.5.0.4 for Firefox/Thunderbird
jl141263
parents: 7171
diff changeset
   214
- bump src version to 1.5.0.4
7171
67b452fe949c * thunderbird.spec, patches/thunderbird-09-no-nss-nspr.diff:
hh150184
parents: 7170
diff changeset
   215
* Sat Apr 29 2006 - [email protected]
67b452fe949c * thunderbird.spec, patches/thunderbird-09-no-nss-nspr.diff:
hh150184
parents: 7170
diff changeset
   216
- Add patch thunderbird-09-no-nss-nspr.diff to not deliver the nss,nspr
7170
32a5b40de8fc 2006-04-28 Damien Carbery <[email protected]>
dc144907
parents: 7163
diff changeset
   217
* Fri Apr 27 2006 - [email protected]
32a5b40de8fc 2006-04-28 Damien Carbery <[email protected]>
dc144907
parents: 7163
diff changeset
   218
- Remove patch 9 as it is not in svn and breaks build.
7163
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   219
* Fri Apr 27 2006 - [email protected]
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   220
- change to not deliver the devel pkg
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   221
- add patch thunderbird-09-no-nss-nspr.diff to not deliver the nss,nspr
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   222
  libraries, and use firefox's instead 
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   223
- remove patch mozilla-06-skip-strip.diff, use another simple way to skip
613af44d8879 remove the devel pkg of thunderbird and nss,nspr libs from SUNWthunderbird, and use firefoxs' instead
jl141263
parents: 7118
diff changeset
   224
  strip instead, setting PKG_SKIP_STRIP=1 
7118
72082fea0ddf bump thunderbird version to 1.5.0.2
jl141263
parents: 7073
diff changeset
   225
* Fri Apr 21 2006 - [email protected]
72082fea0ddf bump thunderbird version to 1.5.0.2
jl141263
parents: 7073
diff changeset
   226
- bump to 1.5.0.2, remove patch 06 thunderbird-06-save-all-attach.diff,
72082fea0ddf bump thunderbird version to 1.5.0.2
jl141263
parents: 7073
diff changeset
   227
  which is already upstreamed
7073
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
   228
* Fri Apr 14 2006 - [email protected]
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
   229
- add patch mozilla-06-skip-strip.diff to make no stripped libraries 
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
   230
- add patch firefox-13-locale.diff to make firefox automatically
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
   231
  pick up locale setting from user environment and start up in
b48309966e86 * firefox.spec: removed firefox-chrome-lang.txt per l10n team's request,
jl141263
parents: 7071
diff changeset
   232
  that locale
7071
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   233
* Thu Apr 13 2006 - [email protected]
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   234
- Changed the installation location from "/usr/sfw/lib" to "/usr/lib"
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   235
  on Solaris
57a7c947d6c5 changed spec files to move firefox/thunderbird to "/usr/lib", and changed the depending components(Evolution, JRE config) correspondingly
jl141263
parents: 6900
diff changeset
   236
6899
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
   237
* Fri Mar 10 2006 [email protected]
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
   238
- Add patch thunderbird-06-save-all-attach.diff to fix 6373061.
6900
41c0dec5fd88 2006-03-10 Dave Lin <[email protected]>
dave
parents: 6899
diff changeset
   239
- Add patch thunderbird-07-ldap-prefs.diff to fix CR6344861.
6899
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
   240
6616
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   241
* Tue Jan 17 2006 - [email protected]
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   242
- Bump tarball version to 1.5
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   243
- add two configure options --enable-static, --disable-shared
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   244
- to get rid of intermedia shared libraries  
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   245
- disable parallel build option 
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   246
6262
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   247
* Tue Nov 08 2005 - [email protected]
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   248
- Bump tarball version to 1.5rc1
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   249
- Remove the patch mozilla-07-bz307041.diff since it's upstreamed in 1.5rc1 already
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   250
6242
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
   251
* Thu Nov  1 2005 - [email protected]
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
   252
- change version to numeric and introduce %tarball_version
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
   253
6148
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   254
* Fri Oct 21 2005 - <[email protected]>
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   255
- Bump to 1.5b2.
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   256
- Add patch 307041 from bugzilla.
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   257
6009
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   258
* Mon Sep 26 2005 - <[email protected]>
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   259
- Bump to 1.5b1.
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   260
- Move dir mozilla to thunderbird after tarball unpacking.
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   261
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   262
* Thu Sep 08 2005 - [email protected]
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   263
- Change BuildPrereq to BuildRequires, a format that build-gnome2 understands.
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   264
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   265
* Mon Sep 05 2005 - Dave Lin <[email protected]>
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
   266
- Add patches to remove the specific gtar options
5717
60499fb6305a Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball format between linux and solaris
dave
parents: 5716
diff changeset
   267
- Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball
60499fb6305a Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball format between linux and solaris
dave
parents: 5716
diff changeset
   268
  format between linux and solaris
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
   269
5680
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   270
* Fri Sep 02 2005 - [email protected]
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   271
- Change gtar to tar and rework tar command.
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   272
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   273
* Mon Aug 22 2005 - Dave Lin <[email protected]>
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   274
- initial version of the spec file created
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   275