author | hawklu |
Fri, 18 Jul 2008 08:53:12 +0000 | |
branch | gnome-2-22 |
changeset 12476 | 3a21fc945607 |
parent 12411 | aec88627d5b2 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWfirefox |
|
3 |
# |
|
4 |
# includes module(s): firefox |
|
5 |
# |
|
10572 | 6 |
# Copyright 2007 Sun Microsystems, Inc. |
9397 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
# Owner:davelam |
|
11 |
# |
|
12 |
# DO NOT REMOVE NEXT LINE |
|
13 |
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM |
|
14 |
# |
|
15 |
%include Solaris.inc |
|
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 | 19 |
%use firefox = firefox.spec |
20 |
||
21 |
##################################### |
|
22 |
## Package Information Section ## |
|
23 |
##################################### |
|
24 |
||
12344 | 25 |
%if %option_with_ff3 |
26 |
# Build as Firefox2 only if "--with-ff3" is NOT specified |
|
27 |
# ======================================================= |
|
28 |
Name: SUNWfirefox2 |
|
29 |
SUNW_Copyright:SUNWfirefox.copyright |
|
30 |
%else |
|
9397 | 31 |
Name: SUNWfirefox |
32 |
Summary: Mozilla Firefox Web browser |
|
33 |
Version: %{firefox.version} |
|
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 | 39 |
SUNW_BaseDir: %{_basedir} |
40 |
SUNW_Category: FIREFOX,application,%{jds_version} |
|
11921 | 41 |
SUNW_Copyright:%{name}.copyright |
9397 | 42 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
43 |
||
44 |
##################################### |
|
45 |
## Package Requirements Section ## |
|
46 |
##################################### |
|
47 |
||
48 |
%include default-depend.inc |
|
49 |
Requires: SUNWjdsrm |
|
50 |
Requires: SUNWj5rt |
|
51 |
Requires: SUNWgnome-base-libs |
|
52 |
Requires: SUNWdtbas |
|
53 |
Requires: SUNWfontconfig |
|
54 |
Requires: SUNWfreetype2 |
|
55 |
Requires: SUNWgnome-config |
|
56 |
Requires: SUNWgnome-libs |
|
57 |
Requires: SUNWgnome-vfs |
|
58 |
Requires: SUNWlibC |
|
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 | 61 |
Requires: SUNWtls |
62 |
Requires: SUNWlibmsr |
|
63 |
BuildRequires: SUNWzip |
|
64 |
BuildRequires: SUNWgtar |
|
65 |
BuildRequires: SUNWgnome-config-devel |
|
66 |
BuildRequires: SUNWgnome-libs-devel |
|
67 |
BuildRequires: SUNWgnome-vfs-devel |
|
68 |
BuildRequires: SUNWgnome-component-devel |
|
69 |
BuildRequires: SUNWgnome-base-libs-devel |
|
70 |
Requires: SUNWpostrun |
|
10683 | 71 |
%if %option_with_indiana_branding |
72 |
Requires: SUNWgetting-started-guide |
|
73 |
%endif |
|
9397 | 74 |
|
75 |
##################################### |
|
76 |
## Package Description Section ## |
|
77 |
##################################### |
|
78 |
||
79 |
%package devel |
|
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 | 82 |
%include default-depend.inc |
83 |
Requires: SUNWfirefox |
|
84 |
||
85 |
%if %with_apoc_adapter |
|
86 |
%package apoc-adapter |
|
87 |
Summary: %{summary} - Apoc Adapter |
|
88 |
SUNW_BaseDir: %{_basedir} |
|
89 |
%include default-depend.inc |
|
90 |
Requires: SUNWfirefox |
|
91 |
%endif |
|
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 | 99 |
##################################### |
100 |
## Package Preparation Section ## |
|
101 |
##################################### |
|
102 |
||
103 |
%prep |
|
104 |
rm -rf %name-%version |
|
105 |
mkdir -p %name-%version |
|
106 |
%firefox.prep -d %name-%version |
|
107 |
cd %{_builddir}/%name-%version |
|
108 |
gzcat %SOURCE0 | tar xf - |
|
109 |
||
110 |
##################################### |
|
111 |
## Package Build Section ## |
|
112 |
##################################### |
|
113 |
||
114 |
%build |
|
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 | 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 | 125 |
%endif |
10649 | 126 |
%if %option_with_fox |
10650 | 127 |
export CFLAGS="$CFLAGS -I/usr/X11/include" |
10649 | 128 |
%endif |
9397 | 129 |
|
130 |
%firefox.build -d %name-%version |
|
131 |
||
132 |
%install |
|
133 |
%firefox.install -d %name-%version |
|
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 | 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 | 140 |
sed -e 's#{#\\{#g' -e 's#}#\\}#g' -e 's#^.*$#%{_libdir}/&#' \ |
141 |
> %{_builddir}/%name-%version/%{name}.list |
|
9588 | 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 | 150 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
151 |
cd %{_builddir}/%name-%version/sun-manpages |
|
152 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
153 |
||
154 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
155 |
||
156 |
%clean |
|
157 |
rm -rf $RPM_BUILD_ROOT |
|
158 |
||
159 |
######################################### |
|
160 |
## Package Post[Un] Install Section ## |
|
161 |
######################################### |
|
162 |
||
163 |
%post |
|
164 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
165 |
echo '/usr/bin/update-desktop-database' |
|
166 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
167 |
||
168 |
%postun |
|
169 |
test -x $BASEDIR/lib/postrun || exit 0 |
|
170 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
171 |
echo '/usr/bin/update-desktop-database' |
|
172 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
173 |
||
9588 | 174 |
%if %with_apoc_adapter |
175 |
%post apoc-adapter |
|
176 |
PKGCOND=/usr/bin/pkgcond |
|
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 | 179 |
touch $BASEDIR/lib/firefox/.autoreg |
180 |
fi |
|
181 |
||
10354
bdfd85b2aa18
made postremove/postinstall script more robust(CR#6594606)
davelam
parents:
9783
diff
changeset
|
182 |
exit 0 |
9588 | 183 |
%postun apoc-adapter |
184 |
PKGCOND=/usr/bin/pkgcond |
|
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 | 187 |
touch $BASEDIR/lib/firefox/.autoreg |
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 | 191 |
%endif |
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 | 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 | 304 |
|
9780 | 305 |
%defattr(-, root, bin) |
9397 | 306 |
%dir %attr (0755, root, bin) %{_bindir} |
307 |
%{_bindir}/firefox |
|
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 | 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 | 315 |
|
316 |
%dir %attr (0755, root, sys) %{_datadir} |
|
317 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
318 |
%{_datadir}/applications/firefox.desktop |
|
319 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps |
|
320 |
%{_datadir}/pixmaps/firefox-icon.png |
|
321 |
%dir %attr (0755, root, bin) %{_mandir} |
|
322 |
%dir %attr (0755, root, bin) %{_mandir}/man1 |
|
323 |
%{_mandir}/man1/* |
|
324 |
||
325 |
%files devel |
|
9780 | 326 |
%defattr(-, root, bin) |
9397 | 327 |
%dir %attr (0755, root, bin) %{_includedir} |
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 | 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 | 336 |
|
337 |
%if %with_apoc_adapter |
|
338 |
%files apoc-adapter |
|
9780 | 339 |
%defattr(-, root, bin) |
9397 | 340 |
%dir %attr (0755, root, bin) %{_libdir} |
341 |
%{_libdir}/firefox/components/libmozapoc.so |
|
342 |
%endif |
|
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 | 347 |
# endif for "if %option_with_ff3 else" |
348 |
%endif |
|
349 |
||
350 |
||
9397 | 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 | 354 |
* Thu May 22 2008 - [email protected] |
355 |
- change to build nothing when "--with-ff3" is specified, otherwisze build as firefox2 |
|
11859 | 356 |
* Thu Mar 13 2008 - [email protected] |
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 | 369 |
* Sat Oct 20 2007 - [email protected] |
370 |
- add indiana getting started guide dependency |
|
10649 | 371 |
* Fri Oct 12 2007 - [email protected] |
372 |
- add /usr/X11/include to CFLAGS if built with FOX |
|
10572 | 373 |
* Fri Sep 28 2007 - [email protected] |
374 |
- delete Nevada X deps |
|
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 | 378 |
* Tue Apr 24 2007 - [email protected] |
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 | 387 |
* Tue Mar 20 2007 - [email protected] |
388 |
- fix bug CR#6521792 |
|
389 |
part1: add file ".autoreg" and add postinstall/postremove scripts in |
|
390 |
SUNWfirefox-apoc-adapter |
|
391 |
part2: add patch firefox-12-regenerate-compreg-file.diff |
|
9397 | 392 |
* Thu Dec 28 2006 - [email protected] |
393 |
- remove %preun to fix bug CR#6502253 |
|
394 |
* Fri Dec 8 2006 - [email protected] |
|
395 |
- add SUNWsolaris-devel-docs dependency |
|
396 |
* Tue Nov 28 2006 - [email protected] |
|
397 |
- add %if %with_apoc_adapter to conditinoally disable apoc adapter, |
|
398 |
default: enable apoc adapter, use --without-apoc-adapter to disable it |
|
399 |
* Mon Nov 27 - [email protected] |
|
400 |
- enable apoc adapter(SUNWfirefox-apoc-adapter), CR#6478680 |
|
401 |
* Tue Sep 05 2006 - [email protected] |
|
402 |
- New Manpage tarball |
|
403 |
* Thu Jul 27 2006 - [email protected] |
|
404 |
- Remove 'aclocal' dir from %files as it is now empty. |
|
405 |
* Fri Jul 14 2006 - [email protected] |
|
406 |
- update %post/%postun/etc scripts to support diskless client setup, |
|
407 |
part of 6448317 |
|
408 |
* Thu Jul 13 2006 - [email protected] |
|
409 |
- add "-lCrun -lCstd" in CXXFLAGS to improve the startup performance |
|
410 |
* Thu Jun 29 2006 - [email protected] |
|
411 |
- update postrun scripts |
|
412 |
* Tue Jun 20 2006 - [email protected] |
|
413 |
- Add SUNWpr and SUNWtls dependencies after check-deps.pl run. |
|
414 |
* Mon Jun 12 2006 - [email protected] |
|
415 |
- changed to let firefox use nss,nspr in /usr/lib/mps required by ARC |
|
416 |
- remove -R%{_libdir} |
|
417 |
* Sun Jun 11 2006 - [email protected] |
|
418 |
- change group from other to bin/sys |
|
419 |
* Fri Jun 09 2006 - [email protected] |
|
420 |
- Uncomment man page lines in %files. |
|
421 |
* Thu Jun 08 2006 - [email protected] |
|
422 |
- add man page prepared by Leon Sha |
|
423 |
* Thu Apr 13 2006 - [email protected] |
|
424 |
- changed installation location from "/usr/sfw/lib" to "/usr/lib" |
|
425 |
* Fri Feb 24 2006 - [email protected] |
|
426 |
- Changed package category to FIREFOX |
|
427 |
- Improved preremove script, using ${BASEDIR} instead of absolute path |
|
428 |
* Mon Feb 20 2006 - [email protected] |
|
429 |
- Update Build/Requires after running check-deps.pl script. |
|
430 |
* Thu Jan 19 2006 - [email protected] |
|
431 |
- Add BuildRequires SUNWgnome-base-libs-devel. |
|
432 |
* Sat Dec 3 2005 - [email protected] |
|
433 |
- add %post script that runs update-desktop-database |
|
434 |
* Fri Dec 02 2005 - [email protected] |
|
435 |
- Add .autoreg file introduced in 1.5. |
|
436 |
* Mon Oct 31 2005 - [email protected] |
|
437 |
- Merge share pkgs into base |
|
438 |
* Mon Oct 24 2005 - [email protected] |
|
439 |
- Add BuildRequires SUNWgtar because source tarball needs GNU tar. |
|
440 |
* Mon Sep 26 2005 - [email protected] |
|
441 |
- Change version same with linux verion. |
|
442 |
* Fri Sep 02 2005 - [email protected] |
|
443 |
- Correct ownership of %{_libdir}/pkgconfig directory. |
|
444 |
* Fri Aug 26 2005 - [email protected] |
|
445 |
- initial version of the spec file created |