SUNWfirefox.spec
author hawklu
Fri, 18 Jul 2008 08:53:12 +0000
branchgnome-2-22
changeset 12476 3a21fc945607
parent 12411 aec88627d5b2
permissions -rw-r--r--
* patches/firefox3-11-getting-started-bookmark.diff: change the default homepage and bookmark to opensolaris welcome page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): firefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10354
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner:davelam
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
# DO NOT REMOVE NEXT LINE
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
# use --without-apoc-adapter to disable building apoc adapter 
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    17
# default: build apoc adapter
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    18
%define with_apoc_adapter %{?!_without_apoc_adapter:1}%{?_without_apoc_adapter:0}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
%use firefox = firefox.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
##   Package Information Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
12344
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
    25
%if %option_with_ff3
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
    26
# Build as Firefox2 only if "--with-ff3" is NOT specified
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
    27
# =======================================================
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
    28
Name:          SUNWfirefox2
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
    29
SUNW_Copyright:SUNWfirefox.copyright
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
    30
%else
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Name:          SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Summary:       Mozilla Firefox Web browser
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Version:       %{firefox.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Source:        %{name}-manpages-0.1.tar.gz
9622
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
    35
Source1:       staroffice-mime.types.in
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
    36
Source2:       staroffice-mailcap.in
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    37
%define so_mimetyp_entry %(cat %SOURCE1)
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    38
%define so_mailcap_entry %(cat %SOURCE2)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
SUNW_Category: FIREFOX,application,%{jds_version}
11921
64c1ad698b78 2008-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11859
diff changeset
    41
SUNW_Copyright:%{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
##  Package Requirements Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires: SUNWjdsrm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Requires: SUNWj5rt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
Requires: SUNWdtbas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Requires: SUNWfontconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Requires: SUNWfreetype2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
Requires: SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
Requires: SUNWlibC
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
Requires: SUNWlibms
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    60
Requires: SUNWpr
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
Requires: SUNWtls
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
Requires: SUNWlibmsr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
BuildRequires: SUNWzip
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
BuildRequires: SUNWgtar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
BuildRequires: SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
Requires: SUNWpostrun
10683
410f49dcbe7d 2007-10-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10650
diff changeset
    71
%if %option_with_indiana_branding
410f49dcbe7d 2007-10-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10650
diff changeset
    72
Requires: SUNWgetting-started-guide
410f49dcbe7d 2007-10-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10650
diff changeset
    73
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
##   Package Description Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
Summary:       %{summary} - development files
9622
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
    81
SUNW_BaseDir:  %{_basedir}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
Requires:      SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%if %with_apoc_adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%package apoc-adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
Summary:       %{summary} - Apoc Adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
Requires:      SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    93
%package root
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    94
Summary:       %{summary} - / filesystem
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    95
SUNW_BaseDir:  /
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    96
%include default-depend.inc
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    97
Requires: SUNWfirefox
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
    98
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
##   Package Preparation Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
mkdir -p %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%firefox.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
##      Package Build Section      ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
export PKG_CONFIG_PATH=${_libdir}/pkgconfig:%{_pkg_config_path}
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   116
export LDFLAGS="-z ignore -L%{_libdir} -L/usr/sfw/lib -R'\$\$ORIGIN:\$\$ORIGIN/..' -R%{_libdir}/mps"
11859
7ceaf3e7c7d3 2008-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 11427
diff changeset
   117
export CFLAGS="-xlibmil -I/usr/X11/include"
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   118
export CXXFLAGS="-norunpath -xlibmil -xlibmopt -features=tmplife -lCrun -lCstd"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   119
%ifarch sparc
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   120
export CFLAGS="$CFLAGS -xO5"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   121
export CXXFLAGS="$CXXFLAGS -xO5"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   122
%else
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   123
export CFLAGS="$CFLAGS -xO3"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   124
export CXXFLAGS="$CXXFLAGS -xO3"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
%endif
10649
5bcec618ba4d 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   126
%if %option_with_fox
10650
laca
parents: 10649
diff changeset
   127
export CFLAGS="$CFLAGS -I/usr/X11/include"
10649
5bcec618ba4d 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   128
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
%firefox.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
%firefox.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   135
%if %with_apoc_adapter
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   136
# creat file list for SUNWfirefox to separate
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   137
# libmozapoc.so which is delivered by SUNWfirefox-apoc-adapter
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
cd $RPM_BUILD_ROOT%{_libdir}
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   139
find firefox ! -type d | grep -v "libmozapoc.so" | \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
  sed -e 's#{#\\{#g' -e 's#}#\\}#g' -e 's#^.*$#%{_libdir}/&#' \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
    >  %{_builddir}/%name-%version/%{name}.list
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   142
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   143
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   144
# deliver file .autoreg for triggerring Firefox auto-registration
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   145
# right after apoc adapter removal(see bug CR#6521792)
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   146
touch $RPM_BUILD_ROOT%{_libdir}/firefox/.autoreg
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   147
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   148
%endif
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   149
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
#########################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
##  Package Post[Un] Install Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
#########################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   174
%if %with_apoc_adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   175
%post apoc-adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   176
PKGCOND=/usr/bin/pkgcond
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   177
test -x $PKGCOND || exit 0
10354
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   178
if $PKGCOND is_path_writable $BASEDIR/lib/firefox > /dev/null 2>&1 ; then
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   179
  touch $BASEDIR/lib/firefox/.autoreg
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   180
fi
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   181
10354
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   182
exit 0
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   183
%postun apoc-adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   184
PKGCOND=/usr/bin/pkgcond
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   185
test -x $PKGCOND || exit 0
10354
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   186
if $PKGCOND is_path_writable $BASEDIR/lib/firefox > /dev/null 2>&1 ; then
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   187
  touch $BASEDIR/lib/firefox/.autoreg
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   188
fi
10354
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   189
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   190
exit 0
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   191
%endif
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   192
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   193
%post root
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   194
#!/bin/sh
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   195
#
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   196
# Inherit the logic of updating mime.types and mailcap from SUNWj5cfg
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   197
#
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   198
umask 022
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   199
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   200
SOFFICE_PATH=/usr/bin/soffice
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   201
NS_COMMENT1="#--Netscape Communications Corporation MIME Information"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   202
NS_COMMENT2="#Do not delete the above line. It is used to identify the file type."
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   203
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   204
MT_COMMENT="# Mime type for StarOffice and StarSuite"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   205
MC_COMMENT="# Mailcap entry for StarOffice and StarSuite"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   206
# mime type list for StarOffice/StarSuite 
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   207
SO_MIMETYP_ENTRY="%{so_mimetyp_entry}"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   208
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   209
# mailcap list for StarOffice/StarSuite 
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   210
SO_MAILCAP_ENTRY="%{so_mailcap_entry}"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   211
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   212
# Add StarOffice/StarSuite entry to /etc/mime.types
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   213
# Add entry only if it does not exist
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   214
####################################################
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   215
UpdateMimeTypes () {
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   216
    MIMETYP_FILE=$1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   217
    MT_TEXT=""
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   218
   
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   219
    # Create the file if it does not exist
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   220
    if [ ! -f ${MIMETYP_FILE} ]; then
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   221
         echo "${NS_COMMENT1}" >> ${MIMETYP_FILE}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   222
         echo "${NS_COMMENT2}" >> ${MIMETYP_FILE}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   223
    fi
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   224
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   225
    grep "${MT_COMMENT}" ${MIMETYP_FILE} >/dev/null 2>&1 
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   226
    test $? -ne 0 && \
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   227
      MT_TEXT="${MT_COMMENT}\n"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   228
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   229
    IFS="
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   230
"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   231
    # Add entry if it does not exist
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   232
    for ent in ${SO_MIMETYP_ENTRY}; do
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   233
        grep "${ent}" ${MIMETYP_FILE} >/dev/null 2>&1 
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   234
        test $? -ne 0 && \
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   235
          MT_TEXT="${MT_TEXT}${ent}\n"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   236
    done
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   237
    test -n "${MT_TEXT}" && \
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   238
      echo "${MT_TEXT}" >> ${MIMETYP_FILE}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   239
}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   240
# End of UpdateMimeTypes
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   241
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   242
# Add StarOffice/StarSuite entry to /etc/mailcap
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   243
# Add entry anyway, would overwrite the older one
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   244
####################################################
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   245
UpdateMailcap () {
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   246
    MAILCAP_FILE=$1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   247
    MC_TEXT=""
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   248
   
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   249
    IFS="
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   250
"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   251
    if [ -r ${MAILCAP_FILE} ]; then
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   252
        # Remove existing entry, if present
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   253
        MC_TEXT=`grep -v "${MC_COMMENT}" ${MAILCAP_FILE}` 
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   254
        for ent in ${SO_MAILCAP_ENTRY}; do
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   255
            test -n "${MC_TEXT}" && \
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   256
              MC_TEXT=`echo "${MC_TEXT}" | grep -v "${ent}"` || \
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   257
              break
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   258
        done
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   259
    fi
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   260
    MC_TEXT="${MC_TEXT}\n${MC_COMMENT}"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   261
    # Add new entry
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   262
    for ent in ${SO_MAILCAP_ENTRY}; do
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   263
        MC_TEXT="${MC_TEXT}\n${ent}; ${SOFFICE_PATH} %s"
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   264
    done
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   265
    echo "${MC_TEXT}" > ${MAILCAP_FILE}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   266
}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   267
# End of UpdateMailcap
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   268
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   269
# Check the writabilty of directory - /etc
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   270
#################################################
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   271
CheckDirWritable () {
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   272
    DIR=$1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   273
    RET_VAL=1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   274
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   275
    PKGCOND=/usr/bin/pkgcond
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   276
    if [ -x ${PKGCOND} ]; then
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   277
        ${PKGCOND} is_path_writable ${DIR} >/dev/null 2>&1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   278
        RET_VAL=$?
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   279
    else
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   280
        touch ${DIR}/.test.$$ >/dev/null 2>&1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   281
        RET_VAL=$?
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   282
        rm -f ${DIR}/.test.$$ >/dev/null 2>&1
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   283
    fi
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   284
    return ${RET_VAL}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   285
}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   286
# End of CheckDirWritable
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   287
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   288
# Roll it
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   289
#################################################
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   290
CheckDirWritable $BASEDIR/etc
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   291
if [ $? -eq 0 ]; then
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   292
    UpdateMailcap $BASEDIR/etc/mailcap
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   293
    UpdateMimeTypes $BASEDIR/etc/mime.types
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   294
fi
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   295
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   296
exit 0
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   297
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   298
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   299
%if %with_apoc_adapter
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   300
%files -f SUNWfirefox.list
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   301
%else
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   302
%files
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   303
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   304
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9706
diff changeset
   305
%defattr(-, root, bin)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   306
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   307
%{_bindir}/firefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   308
%dir %attr (0755, root, bin) %{_libdir}
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   309
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   310
%if %with_apoc_adapter
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   311
%ghost %{_libdir}/firefox/.autoreg
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   312
%else
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   313
%{_libdir}/firefox
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   314
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   315
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   316
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   317
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   318
%{_datadir}/applications/firefox.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   319
%dir %attr (0755, root, other) %{_datadir}/pixmaps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   320
%{_datadir}/pixmaps/firefox-icon.png
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   321
%dir %attr (0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   322
%dir %attr (0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   323
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   324
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   325
%files devel
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9706
diff changeset
   326
%defattr(-, root, bin)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   327
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   328
%{_includedir}/firefox
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   329
%dir %attr (0755, root, bin) %{_libdir}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   330
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   331
%{_libdir}/pkgconfig/*
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   332
%dir %attr (0755, root, bin) %{_bindir}
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   333
%{_bindir}/firefox-config
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   334
%dir %attr (0755, root, sys) %{_datadir}
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   335
%{_datadir}/idl/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   336
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   337
%if %with_apoc_adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   338
%files apoc-adapter
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9706
diff changeset
   339
%defattr(-, root, bin)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   340
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   341
%{_libdir}/firefox/components/libmozapoc.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   342
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   343
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   344
%files root
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   345
# no file/dir delivered in this package
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   346
12344
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
   347
# endif for "if %option_with_ff3 else"
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
   348
%endif
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
   349
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
   350
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   351
%changelog
12411
aec88627d5b2 Removed dependency SUNWsolaris-devel-docs (See cr6700877)
davelam
parents: 12344
diff changeset
   352
* Tue Jun 03 2008 - [email protected]
aec88627d5b2 Removed dependency SUNWsolaris-devel-docs (See cr6700877)
davelam
parents: 12344
diff changeset
   353
- remove dependency SUNWsolaris-devel-docs per CR6700877
12344
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
   354
* Thu May 22 2008 - [email protected]
7f4635c6f89d 2008-05-23 Dave Lin <[email protected]>
davelam
parents: 11921
diff changeset
   355
- change to build nothing when "--with-ff3" is specified, otherwisze build as firefox2
11859
7ceaf3e7c7d3 2008-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 11427
diff changeset
   356
* Thu Mar 13 2008 - [email protected]
7ceaf3e7c7d3 2008-03-13 Damien Carbery <[email protected]>
dcarbery
parents: 11427
diff changeset
   357
- Add -I/usr/X11/include to CFLAGS after update of SUNWwinc.
11427
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   358
* Wed Jan 09 2008 - [email protected]
524ae7c62cd7 Rolled spec files *firefox.spec back to FF 2 and created new ones for FF 3 in order to let FF 3 coexist with FF 2
davelam
parents: 11357
diff changeset
   359
- roll back to FF 2
11357
64f1ad2d3149 Changed to deliver .autoreg no matter apoc enabled or not
davelam
parents: 11355
diff changeset
   360
* Fri Dec 28 2007 - [email protected]
64f1ad2d3149 Changed to deliver .autoreg no matter apoc enabled or not
davelam
parents: 11355
diff changeset
   361
- deliver .autoreg no matter apoc enabled or not
11355
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   362
* Thu Dec 27 2007 - [email protected]
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   363
- move to 3.0 beta2
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   364
- set not building apoc adapter as default
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   365
- remove SUNWfirefox-root pkg
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   366
- disable apoc adapter since it's not available for 3.0
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   367
* Thu Dec 27 2007 - [email protected]
d88df8a86e26 Bumped to 3.0 beta2. Obsoleted SUNWfirefox-root. Set not building apoc adapter as default. Disabe apoc adapter since it's not available for 3.0 yet
davelam
parents: 10683
diff changeset
   368
- set no apoc-adapter as default
10683
410f49dcbe7d 2007-10-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10650
diff changeset
   369
* Sat Oct 20 2007 - [email protected]
410f49dcbe7d 2007-10-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10650
diff changeset
   370
- add indiana getting started guide dependency
10649
5bcec618ba4d 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   371
* Fri Oct 12 2007 - [email protected]
5bcec618ba4d 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
   372
- add /usr/X11/include to CFLAGS if built with FOX
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10354
diff changeset
   373
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10354
diff changeset
   374
- delete Nevada X deps
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10354
diff changeset
   375
- disable developer guide dep if sun branding is not requested
10354
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   376
* Tue Aug 21 2007 - [email protected]
bdfd85b2aa18 made postremove/postinstall script more robust(CR#6594606)
davelam
parents: 9783
diff changeset
   377
- made postremove/postinstall script more robust(CR#6594606)
9780
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9706
diff changeset
   378
* Tue Apr 24 2007 - [email protected]
21510eb397b1 2007-04-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9706
diff changeset
   379
- s/0755/-/ in defattr so that files are not made all executable
9706
1246c2e0b12b remove dependency on SUNWstaroffice-menuintegration from SUNWfirefox-root since it caused CR#6530982 fixed failed(see details in bugster)
davelam
parents: 9622
diff changeset
   380
* Tue Apr 10 2007 - [email protected]
1246c2e0b12b remove dependency on SUNWstaroffice-menuintegration from SUNWfirefox-root since it caused CR#6530982 fixed failed(see details in bugster)
davelam
parents: 9622
diff changeset
   381
- remove dependency on SUNWstaroffice-menuintegration from SUNWfirefox-root
1246c2e0b12b remove dependency on SUNWstaroffice-menuintegration from SUNWfirefox-root since it caused CR#6530982 fixed failed(see details in bugster)
davelam
parents: 9622
diff changeset
   382
  since it caused CR#6530982 fixed failed(see details in bugster)
9622
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
   383
* Mon Mar 26 2007 - [email protected]
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
   384
- add new package SUNWfirefox-root to fix bug CR#6530982, the package 
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
   385
  would just add staroffice entries in /etc/mime.types /etc/mailcap 
d4a0583ab67b add new package SUNWfirefox-root to fix bug CR#6530982, the package would just add staroffice entries in /etc/mime.types /etc/mailcap in postinstall
davelam
parents: 9588
diff changeset
   386
  in postinstall
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   387
* Tue Mar 20 2007 - [email protected]
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   388
- fix bug CR#6521792
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   389
    part1: add file ".autoreg" and add postinstall/postremove scripts in
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   390
           SUNWfirefox-apoc-adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   391
    part2: add patch firefox-12-regenerate-compreg-file.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   392
* Thu Dec 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   393
- remove %preun to fix bug CR#6502253
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   394
* Fri Dec  8 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   395
- add SUNWsolaris-devel-docs dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   396
* Tue Nov 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   397
- add %if %with_apoc_adapter to conditinoally disable apoc adapter,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   398
  default: enable apoc adapter, use --without-apoc-adapter to disable it
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   399
* Mon Nov 27 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   400
- enable apoc adapter(SUNWfirefox-apoc-adapter), CR#6478680
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   401
* Tue Sep 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   402
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   403
* Thu Jul 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   404
- Remove 'aclocal' dir from %files as it is now empty.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   405
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   406
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   407
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   408
* Thu Jul 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   409
- add "-lCrun -lCstd" in CXXFLAGS to improve the startup performance
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   410
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   411
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   412
* Tue Jun 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   413
- Add SUNWpr and SUNWtls dependencies after check-deps.pl run.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   414
* Mon Jun 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   415
- changed to let firefox use nss,nspr in /usr/lib/mps required by ARC
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   416
- remove -R%{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   417
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   418
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   419
* Fri Jun 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   420
- Uncomment man page lines in %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   421
* Thu Jun 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   422
- add man page prepared by Leon Sha
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   423
* Thu Apr 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   424
- changed installation location from "/usr/sfw/lib" to "/usr/lib"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   425
* Fri Feb 24 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   426
- Changed package category to FIREFOX
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   427
- Improved preremove script, using ${BASEDIR} instead of absolute path
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   428
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   429
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   430
* Thu Jan 19 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   431
- Add BuildRequires SUNWgnome-base-libs-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   432
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   433
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   434
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   435
- Add .autoreg file introduced in 1.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   436
* Mon Oct 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   437
- Merge share pkgs into base
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   438
* Mon Oct 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   439
- Add BuildRequires SUNWgtar because source tarball needs GNU tar.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   440
* Mon Sep 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   441
- Change version same with linux verion.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   442
* Fri Sep 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   443
- Correct ownership of %{_libdir}/pkgconfig directory.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   444
* Fri Aug 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   445
- initial version of the spec file created