thunderbird.spec
author hh150184
Thu, 09 Mar 2006 20:57:11 +0000
changeset 6899 ae2726fcc2f5
parent 6616 47b25058a763
child 6900 41c0dec5fd88
permissions -rw-r--r--
* patches/mozilla-07-bz307041.diff: Remove unused patch. * thunderbird.spec, patches/thunderbird-06-save-all-attach.diff: Add patch thunderbird-06-save-all-attach.diff to fix 6373061.
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
6242
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
    11
Version:     1.5
6616
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
    12
%define tarball_version 1.5
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    13
Release:     0
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
6899
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
    29
Patch6:      thunderbird-06-save-all-attach.diff
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    30
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    31
URL:         http://www.sun.com/software/javadesktopsystem/
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    32
6242
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
    33
BuildRoot:   %{_tmppath}/%{name}-%{tarball_version}-build
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    34
Prefix:      /usr
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    35
Provides:    webclient
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    36
Autoreqprov: on
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    37
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    38
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    39
##     Package Defines Section     ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    40
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    41
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    42
%define _unpackaged_files_terminate_build 0
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    43
%define _tbdir %{_libdir}/%{name}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    44
%define _gmdatadir %{_datadir}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    45
%ifos solaris
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    46
  %define _gmdatadir %{_basedir}/share
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    47
%endif
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    48
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    49
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    50
##  Package Requirements Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    51
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    52
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    53
BuildRequires: libpng-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    54
BuildRequires: libjpeg
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    55
BuildRequires: zlib-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    56
BuildRequires: zip
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    57
BuildRequires: perl
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    58
BuildRequires: autoconf
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    59
BuildRequires: libIDL-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    60
BuildRequires: glib2-devel
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
    61
BuildRequires: gtk2-devel
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    62
Prereq: fileutils perl
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    63
Prereq: /usr/bin/killall
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    64
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    65
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    66
##   Package Description Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    67
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    68
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    69
%description
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    70
Mozilla Thunderbird is a standalone e-mail and newsgroup client 
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    71
that can be used as a companion to Mozilla Firefox or by itself. 
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    72
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    73
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    74
##   Package Preparation Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    75
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    76
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    77
%prep
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    78
6009
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    79
%setup -q -c -n %{name}
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    80
cd ..
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    81
/bin/mv %{name} %{name}.tmp.$$
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    82
/bin/mv %{name}.tmp.$$/mozilla %{name}
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    83
rm -rf %{name}.tmp.$$
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
    84
cd %{name}
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    85
%patch1 -p1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
    86
%patch2 -p1
5669
e56f7dce459a switch files in tarball mozilla-s11-src.tar.bz2 to patch files
dave
parents: 5667
diff changeset
    87
%patch3 -p1
e56f7dce459a switch files in tarball mozilla-s11-src.tar.bz2 to patch files
dave
parents: 5667
diff changeset
    88
%patch4 -p1
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
    89
%patch5 -p1
6899
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
    90
%patch6 -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
6616
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   118
ac_add_options --enable-static
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   119
ac_add_options --disable-shared
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   120
ac_add_options --disable-tests
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   121
ac_add_options --disable-freetype2
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   122
ac_add_options --disable-auto-deps
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   123
ac_add_options --disable-debug
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   124
EOF
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   125
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   126
BUILD_OFFICIAL=1 
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   127
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
   128
MOZ_PKG_FORMAT=BZ2
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   129
#CFLAGS=
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   130
#CXXFLAGS=
5717
60499fb6305a Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball format between linux and solaris
dave
parents: 5716
diff changeset
   131
export BUILD_OFFICIAL MOZILLA_OFFICIAL MOZ_PKG_FORMAT CFLAGS CXXFLAGS
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   132
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   133
./configure
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   134
make export
6616
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   135
# 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
   136
make libs
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   137
5861
7ce5ec3f7fc6 fix build directory structure
laca
parents: 5775
diff changeset
   138
cd mail/installer
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   139
make
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   140
cd -
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   141
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   142
%install
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   143
/bin/rm -rf $RPM_BUILD_ROOT
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   144
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   145
DESTDIR=$RPM_BUILD_ROOT \
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   146
    make install
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   147
/bin/rm -rf $RPM_BUILD_ROOT%{_tbdir}
5861
7ce5ec3f7fc6 fix build directory structure
laca
parents: 5775
diff changeset
   148
BUILDDIR=`pwd`
5680
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   149
cd $RPM_BUILD_ROOT%{_libdir}
5861
7ce5ec3f7fc6 fix build directory structure
laca
parents: 5775
diff changeset
   150
/usr/bin/bzip2 -dc $BUILDDIR/dist/thunderbird-*.tar.bz2 | /bin/tar -xf -
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   151
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   152
/bin/mkdir -p $RPM_BUILD_ROOT%{_gmdatadir}/applications
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   153
/bin/mkdir -p $RPM_BUILD_ROOT%{_gmdatadir}/pixmaps
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   154
#/bin/mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   155
install -c -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_gmdatadir}/pixmaps/thunderbird-icon.png
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   156
install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_gmdatadir}/applications/thunderbird.desktop
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   157
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   158
#/bin/cat %{SOURCE3} | /usr/bin/sed -e 's,FFDIR,%{_tbdir},g' > \
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   159
#  $RPM_BUILD_ROOT%{_tbdir}/thunderbird-rebuild-databases
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   160
#/bin/chmod 755 $RPM_BUILD_ROOT%{_tbdir}/thunderbird-rebuild-databases
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   161
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   162
/bin/rm -f $RPM_BUILD_ROOT%{_bindir}/thunderbird
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   163
/bin/ln -s ../lib/thunderbird/thunderbird $RPM_BUILD_ROOT%{_bindir}/thunderbird
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   164
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   165
# install the man page
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   166
#install -c -m 644  %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/thunderbird.1
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   167
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   168
# upgrade installed-chrome.txt
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   169
#/bin/cat %{SOURCE5} >>  $RPM_BUILD_ROOT%{_tbdir}/chrome/installed-chrome.txt
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   170
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   171
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   172
%clean
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   173
#/bin/rm -rf $RPM_BUILD_ROOT
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   174
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   175
#########################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   176
##  Package Post[Un] Install Section   ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   177
#########################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   178
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   179
%post
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   180
# run ldconfig before regxpcom
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   181
/sbin/ldconfig >/dev/null 2>/dev/null
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   182
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   183
%postun
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   184
/sbin/ldconfig >/dev/null 2>/dev/null
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   185
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   186
%preun
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   187
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   188
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   189
##      Package Files Section      ##
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   190
#####################################
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   191
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   192
%files
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   193
%defattr(-,root,root)
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   194
%dir %{_tbdir}
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   195
%{_tbdir}/*
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   196
%{_bindir}/thunderbird
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   197
#%{_mandir}/man1/*
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   198
%{_gmdatadir}/applications/%{name}.desktop
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   199
%{_gmdatadir}/pixmaps/%{name}-icon.png
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   200
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   201
%changelog
6899
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
   202
* Fri Mar 10 2006 [email protected]
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
   203
- Add patch thunderbird-06-save-all-attach.diff to fix 6373061.
ae2726fcc2f5 * patches/mozilla-07-bz307041.diff: Remove unused patch.
hh150184
parents: 6616
diff changeset
   204
6616
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   205
* Tue Jan 17 2006 - [email protected]
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   206
- Bump tarball version to 1.5
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   207
- add two configure options --enable-static, --disable-shared
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   208
- to get rid of intermedia shared libraries  
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   209
- disable parallel build option 
47b25058a763 1) Bump tarball version to 1.5
dave
parents: 6262
diff changeset
   210
6262
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   211
* Tue Nov 08 2005 - [email protected]
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   212
- Bump tarball version to 1.5rc1
9655cc0fee8c 2005-11-08 Dave Lin <[email protected]>
hh150184
parents: 6242
diff changeset
   213
- 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
   214
6242
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
   215
* Thu Nov  1 2005 - [email protected]
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
   216
- change version to numeric and introduce %tarball_version
f957630a5b56 2005-11-01 Laszlo Peter <[email protected]>
laca
parents: 6148
diff changeset
   217
6148
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   218
* Fri Oct 21 2005 - <[email protected]>
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   219
- Bump to 1.5b2.
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   220
- Add patch 307041 from bugzilla.
415a59f458f7 * thunderbird.spec: Bump to 1.5b2 and patch 307041 from bugzilla.
hh150184
parents: 6009
diff changeset
   221
6009
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   222
* Mon Sep 26 2005 - <[email protected]>
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   223
- Bump to 1.5b1.
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   224
- Move dir mozilla to thunderbird after tarball unpacking.
e7cfb0e5975d * firefox.spec: Bump to 1.5b1, Move dir mozilla to
hh150184
parents: 5861
diff changeset
   225
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   226
* Thu Sep 08 2005 - [email protected]
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   227
- Change BuildPrereq to BuildRequires, a format that build-gnome2 understands.
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   228
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5718
diff changeset
   229
* Mon Sep 05 2005 - Dave Lin <[email protected]>
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
   230
- 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
   231
- 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
   232
  format between linux and solaris
5716
c8718e03e3d4 add new patch to remove the specific gtar options
dave
parents: 5680
diff changeset
   233
5680
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   234
* Fri Sep 02 2005 - [email protected]
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   235
- 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
   236
19b62aabaf43 * firefox.spec: Change gtar to tar; add two necessary mkdir's.
dc144907
parents: 5669
diff changeset
   237
* Mon Aug 22 2005 - Dave Lin <[email protected]>
5667
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   238
- initial version of the spec file created
acad5d71e52b Add Thunderbird stuff into spec-files
dave
parents:
diff changeset
   239