SUNWfirefox.spec
changeset 15650 dbcf7e3715dd
parent 15582 aece1b26afa9
child 15802 6b5530d84691
equal deleted inserted replaced
15649:241f195b9ae0 15650:dbcf7e3715dd
    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
   147       test -f $BASEDIR/lib/%{firefox.name}/$f && \
   147       test -f $BASEDIR/lib/%{firefox.name}/$f && \
   148         rm -f $BASEDIR/lib/%{firefox.name}/$f
   148         rm -f $BASEDIR/lib/%{firefox.name}/$f
   149   done
   149   done
   150 fi
   150 fi
   151 exit 0
   151 exit 0
   152 
       
   153 
   152 
   154 %postun
   153 %postun
   155 %restart_fmri desktop-mime-cache || exit 1
   154 %restart_fmri desktop-mime-cache || exit 1
   156 
   155 
   157 PKGCOND=/usr/bin/pkgcond
   156 PKGCOND=/usr/bin/pkgcond
   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
   190       test -f $BASEDIR/lib/%{firefox.name}/$f && \
   187       test -f $BASEDIR/lib/%{firefox.name}/$f && \
   191         rm -f $BASEDIR/lib/%{firefox.name}/$f
   188         rm -f $BASEDIR/lib/%{firefox.name}/$f
   192   done
   189   done
   193 fi
   190 fi
   194 exit 0
   191 exit 0
   195 
       
   196 
   192 
   197 %endif
   193 %endif
   198 
   194 
   199 %files -f SUNWfirefox.list
   195 %files -f SUNWfirefox.list
   200 
   196 
   356 - Change version same with linux verion.
   352 - Change version same with linux verion.
   357 * Fri Sep 02 2005 - [email protected]
   353 * Fri Sep 02 2005 - [email protected]
   358 - Correct ownership of %{_libdir}/pkgconfig directory.
   354 - Correct ownership of %{_libdir}/pkgconfig directory.
   359 * Fri Aug 26 2005 - [email protected]
   355 * Fri Aug 26 2005 - [email protected]
   360 - initial version of the spec file created
   356 - initial version of the spec file created
       
   357