Home | History | Annotate | Download | only in trunk
      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 %define owner Alfred
     11 #
     12 # DO NOT REMOVE NEXT LINE
     13 # PACKAGE NOT INCLUDED IN GNOME UMBRELLA ARC
     14 #
     15 %include Solaris.inc
     16 %use firefox = firefox.spec
     17 
     18 Name:                    SUNWfirefox-bookmark
     19 Summary:                 Firefox's default bookmark
     20 Version:                 %{firefox.version}
     21 Vendor:                  Sun Microsystems, Inc.
     22 # default bookmarks for OpenSolaris
     23 Source:                  opensolaris-default-bookmarks.html
     24 # default bookmarks for development Solaris builds
     25 Source1:                 firefox-default-bookmarks.html
     26 SUNW_Copyright:          SUNWfirefox.copyright
     27 
     28 SUNW_BaseDir:            %{_basedir}
     29 BuildRoot:               %{_tmppath}/%{name}-build
     30 %include default-depend.inc
     31 Requires: SUNWfirefox
     32 
     33 %install
     34 rm -rf $RPM_BUILD_ROOT
     35 
     36 mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/profile/
     37 %if %option_with_indiana_branding
     38 cp %{SOURCE} $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/profile/bookmarks.html
     39 %else
     40 cp %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/profile/bookmarks.html
     41 %endif
     42 
     43 %clean
     44 rm -rf $RPM_BUILD_ROOT
     45 
     46 %files
     47 %defattr (-, root, bin)
     48 %dir %attr (0755, root, bin) %{_libdir}
     49 %{_libdir}/*
     50 
     51 %changelog
     52 * Fri Feb 20 2009 - jeff.cai (at] sun.com
     53 - Add comment to remove the output in modulediffs
     54 * Sat Dec 20 2008 - alfred.peng (at] sun.com
     55 - Change the mod bits of the bookmark file to 0644.
     56 * Fri Nov 28 2008 - alfred.peng (at] sun.com
     57 - Initial version
     58