37 ##################################### |
37 ##################################### |
38 ## Package Requirements Section ## |
38 ## Package Requirements Section ## |
39 ##################################### |
39 ##################################### |
40 |
40 |
41 %include default-depend.inc |
41 %include default-depend.inc |
|
42 Requires: SUNWgtk2 |
42 Requires: SUNWjdsrm |
43 Requires: SUNWjdsrm |
43 Requires: SUNWj5rt |
44 Requires: SUNWj5rt |
44 Requires: SUNWgnome-base-libs |
|
45 Requires: SUNWdtbas |
45 Requires: SUNWdtbas |
46 Requires: SUNWfontconfig |
46 Requires: SUNWfontconfig |
47 Requires: SUNWfreetype2 |
47 Requires: SUNWfreetype2 |
48 Requires: SUNWgnome-config |
48 Requires: SUNWgnome-config |
49 Requires: SUNWgnome-libs |
49 Requires: SUNWgnome-libs |
50 Requires: SUNWgnome-vfs |
50 Requires: SUNWgnome-vfs |
51 Requires: SUNWlibC |
51 Requires: SUNWlibC |
52 Requires: SUNWlibms |
52 Requires: SUNWlibms |
53 Requires: SUNWlibmsr |
53 Requires: SUNWlibmsr |
54 Requires: SUNWbash |
54 Requires: SUNWbash |
|
55 BuildRequires: SUNWgtk2-devel |
55 BuildRequires: SUNWzip |
56 BuildRequires: SUNWzip |
56 BuildRequires: SUNWgtar |
57 BuildRequires: SUNWgtar |
57 BuildRequires: SUNWgnome-config-devel |
58 BuildRequires: SUNWgnome-config-devel |
58 BuildRequires: SUNWgnome-libs-devel |
59 BuildRequires: SUNWgnome-libs-devel |
59 BuildRequires: SUNWgnome-vfs-devel |
60 BuildRequires: SUNWgnome-vfs-devel |
60 BuildRequires: SUNWgnome-component-devel |
61 BuildRequires: SUNWgnome-component-devel |
61 BuildRequires: SUNWgnome-base-libs-devel |
|
62 Requires: SUNWdesktop-cache |
62 Requires: SUNWdesktop-cache |
63 %if %option_with_indiana_branding |
63 %if %option_with_indiana_branding |
64 Requires: SUNWgetting-started-guide |
64 Requires: SUNWgetting-started-guide |
65 %endif |
65 %endif |
66 %if %without_moz_nss_nspr |
66 %if %without_moz_nss_nspr |
162 rm -f $BASEDIR/lib/%{firefox.name}/$f |
161 rm -f $BASEDIR/lib/%{firefox.name}/$f |
163 done |
162 done |
164 fi |
163 fi |
165 exit 0 |
164 exit 0 |
166 |
165 |
167 |
|
168 %if %with_apoc_adapter |
166 %if %with_apoc_adapter |
169 %post apoc-adapter |
167 %post apoc-adapter |
170 PKGCOND=/usr/bin/pkgcond |
168 PKGCOND=/usr/bin/pkgcond |
171 test -x $PKGCOND || exit 0 |
169 test -x $PKGCOND || exit 0 |
172 if $PKGCOND is_path_writable $BASEDIR/lib/%{firefox.name} > /dev/null 2>&1 ; then |
170 if $PKGCOND is_path_writable $BASEDIR/lib/%{firefox.name} > /dev/null 2>&1 ; then |
177 rm -f $BASEDIR/lib/%{firefox.name}/$f |
175 rm -f $BASEDIR/lib/%{firefox.name}/$f |
178 done |
176 done |
179 fi |
177 fi |
180 exit 0 |
178 exit 0 |
181 |
179 |
182 |
|
183 %postun apoc-adapter |
180 %postun apoc-adapter |
184 PKGCOND=/usr/bin/pkgcond |
181 PKGCOND=/usr/bin/pkgcond |
185 test -x $PKGCOND || exit 0 |
182 test -x $PKGCOND || exit 0 |
186 if $PKGCOND is_path_writable $BASEDIR/lib/%{firefox.name} > /dev/null 2>&1 ; then |
183 if $PKGCOND is_path_writable $BASEDIR/lib/%{firefox.name} > /dev/null 2>&1 ; then |
187 touch $BASEDIR/lib/%{firefox.name}/.autoreg |
184 touch $BASEDIR/lib/%{firefox.name}/.autoreg |