Home | History | Annotate | Download | only in gnome-2-24
      1 #
      2 # spec file for package SUNWfirefox-bookmark
      3 #
      4 # includes module(s): firefox-bookmark
      5 #
      6 # Copyright 2008 Sun Microsystems, Inc.
      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: Alfred
     11 #
     12 %include Solaris.inc
     13 %use firefox = firefox.spec
     14 
     15 Name:                    SUNWfirefox-bookmark
     16 Summary:                 Firefox's default bookmark
     17 Version:                 %{firefox.version}
     18 Vendor:                  Sun Microsystems, Inc.
     19 # default bookmarks for OpenSolaris
     20 Source:                  opensolaris-default-bookmarks.html
     21 # default bookmarks for development Solaris builds
     22 Source1:                 firefox-default-bookmarks.html
     23 SUNW_Copyright:          SUNWfirefox.copyright
     24 
     25 SUNW_BaseDir:            %{_basedir}
     26 BuildRoot:               %{_tmppath}/%{name}-build
     27 %include default-depend.inc
     28 Requires: SUNWfirefox
     29 
     30 %install
     31 rm -rf $RPM_BUILD_ROOT
     32 
     33 mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/profile/
     34 %if %option_with_indiana_branding
     35 cp %{SOURCE} $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/profile/bookmarks.html
     36 %else
     37 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/profile/bookmarks.html
     38 %endif
     39 
     40 %clean
     41 rm -rf $RPM_BUILD_ROOT
     42 
     43 %files
     44 %defattr (-, root, bin)
     45 %dir %attr (0755, root, bin) %{_libdir}
     46 %{_libdir}/*
     47 
     48 %changelog
     49 * Sat Dec 20 2008 - alfred.peng (at] sun.com
     50 - Change the mod bits of the bookmark file to 0644.
     51 * Fri Nov 28 2008 - alfred.peng (at] sun.com
     52 - Initial version
     53