SUNWfirefox.spec
author davelam
Tue, 20 Mar 2007 07:43:55 +0000
changeset 9588 34417bcd888f
parent 9397 b16e349d18c5
child 9622 d4a0583ab67b
permissions -rw-r--r--
Fix bug CR#CR6521792, part1: deliver new file ".autoreg" and add postinstall, postremove scripts in SUNWfirefox-apoc-adapter part2: add patch firefox-12-regenerate-compreg-file.diff
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
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 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
# default: build apoc adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
%define with_apoc_adapter %{?!_without_apoc_adapter:1}%{?_without_apoc_adapter:0}
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Name:          SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Summary:       Mozilla Firefox Web browser
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Version:       %{firefox.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Source:        %{name}-manpages-0.1.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
SUNW_Category: FIREFOX,application,%{jds_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
SUNW_Copyright:firefox-copyright.txt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
##  Package Requirements Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires: SUNWjdsrm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Requires: SUNWj5rt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Requires: SUNWdtbas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires: SUNWfontconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: SUNWfreetype2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires: SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires: SUNWlibC
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Requires: SUNWxwrtl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Requires: SUNWpr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
Requires: SUNWtls
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Requires: SUNWlibmsr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Requires: SUNWxwplt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
Requires: SUNWxwxft
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
BuildRequires: SUNWzip
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
BuildRequires: SUNWgtar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
BuildRequires: SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
Requires: SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
Requires: SUNWsolaris-devel-docs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
##   Package Description Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
Summary:       %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
Requires:      SUNWfirefox
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
%if %with_apoc_adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%package apoc-adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
Summary:       %{summary} - Apoc Adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
Requires:      SUNWfirefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
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
##   Package Preparation Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
mkdir -p %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%firefox.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
##      Package Build Section      ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
export PKG_CONFIG_PATH=${_libdir}/pkgconfig:%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
export MSGFMT="/usr/bin/msgfmt"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
export LDFLAGS="-z ignore -L%{_libdir} -L/usr/sfw/lib -R'\$\$ORIGIN:\$\$ORIGIN/..' -R%{_libdir}/mps"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
export CFLAGS="-xlibmil"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
export CXXFLAGS="-norunpath -xlibmil -xlibmopt -features=tmplife -lCrun -lCstd"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%ifarch sparc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
export CFLAGS="$CFLAGS -xO5"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
export CXXFLAGS="$CXXFLAGS -xO5"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
export CFLAGS="$CFLAGS -xO3"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
export CXXFLAGS="$CXXFLAGS -xO3"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%endif
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
%firefox.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%firefox.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%if %with_apoc_adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
# creat file list for SUNWfirefox to separate
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
# libmozapoc.so which is delivered by SUNWfirefox-apoc-adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
cd $RPM_BUILD_ROOT%{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
find firefox ! -type d | grep -v "libmozapoc.so" | \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
  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
   124
    >  %{_builddir}/%name-%version/%{name}.list
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   125
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   126
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   127
# deliver file .autoreg for triggerring Firefox auto-registration
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   128
# right after apoc adapter removal(see bug CR#6521792)
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   129
touch $RPM_BUILD_ROOT%{_libdir}/firefox/.autoreg
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   130
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
%{?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
   138
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
#########################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
##  Package Post[Un] Install Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
#########################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
( 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
   148
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
( 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
   154
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   157
%if %with_apoc_adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   158
%post apoc-adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   159
PKGCOND=/usr/bin/pkgcond
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   160
test -x $PKGCOND || exit 0
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   161
if $PKGCOND is_path_writable $BASEDIR/lib/firefox; then
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   162
  touch $BASEDIR/lib/firefox/.autoreg
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   163
fi
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   164
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   165
%postun apoc-adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   166
PKGCOND=/usr/bin/pkgcond
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   167
test -x $PKGCOND || exit 0
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   168
if $PKGCOND is_path_writable $BASEDIR/lib/firefox; then
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   169
  touch $BASEDIR/lib/firefox/.autoreg
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   170
fi
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   171
%endif
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   172
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%if %with_apoc_adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
%files -f SUNWfirefox.list
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
%defattr(0755, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
%{_bindir}/firefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
%if %with_apoc_adapter
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   186
%ghost %{_libdir}/firefox/.autoreg
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%{_libdir}/firefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%dir %attr (0755, root, other) %{_datadir}/applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   193
%{_datadir}/applications/firefox.desktop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   194
%dir %attr (0755, root, other) %{_datadir}/pixmaps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   195
%{_datadir}/pixmaps/firefox-icon.png
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   196
%dir %attr (0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   197
%dir %attr (0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   198
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%defattr(0755, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   203
%{_includedir}/firefox
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   204
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   205
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   206
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%{_bindir}/firefox-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
%{_datadir}/idl/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
%if %with_apoc_adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
%files apoc-adapter
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
%defattr(0755, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
%{_libdir}/firefox/components/libmozapoc.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
%changelog
9588
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   220
* Tue Mar 20 2007 - [email protected]
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   221
- fix bug CR#6521792
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   222
    part1: add file ".autoreg" and add postinstall/postremove scripts in
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   223
           SUNWfirefox-apoc-adapter
34417bcd888f Fix bug CR#CR6521792,
davelam
parents: 9397
diff changeset
   224
    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
   225
* Thu Dec 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
- remove %preun to fix bug CR#6502253
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
* Fri Dec  8 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
- add SUNWsolaris-devel-docs dependency
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
* Tue Nov 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
- 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
   231
  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
   232
* Mon Nov 27 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
- enable apoc adapter(SUNWfirefox-apoc-adapter), CR#6478680
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
* Tue Sep 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
* Thu Jul 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
- 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
   238
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
- 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
   240
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
* Thu Jul 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
- 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
   243
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
* Tue Jun 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
- 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
   247
* Mon Jun 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
- 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
   249
- remove -R%{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
* Fri Jun 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
- Uncomment man page lines in %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
* Thu Jun 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
- add man page prepared by Leon Sha
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
* Thu Apr 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
- 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
   258
* Fri Feb 24 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
- Changed package category to FIREFOX
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   260
- Improved preremove script, using ${BASEDIR} instead of absolute path
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   261
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   262
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   263
* Thu Jan 19 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   264
- Add BuildRequires SUNWgnome-base-libs-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   265
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
* Fri Dec 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
- Add .autoreg file introduced in 1.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   269
* Mon Oct 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
- Merge share pkgs into base
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   271
* Mon Oct 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   272
- Add BuildRequires SUNWgtar because source tarball needs GNU tar.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
* Mon Sep 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
- Change version same with linux verion.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
* Fri Sep 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
- Correct ownership of %{_libdir}/pkgconfig directory.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
* Fri Aug 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
- initial version of the spec file created