MozillaFirefox/MozillaFirefox.spec
changeset 46 c743908ffe6f
parent 36 c55ce8284eb3
child 49 18b77ae68610
equal deleted inserted replaced
45:f4afdb80c73c 46:c743908ffe6f
     1 #
     1 #
     2 # spec file for package MozillaFirefox (Version 3.6b5)
     2 # spec file for package MozillaFirefox (Version 3.6rc1)
     3 #
     3 #
     4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
     4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 # Copyright (c) 2006-2009 Wolfgang Rosenauer
     5 #               2006-2010 Wolfgang Rosenauer
     6 #
     6 #
     7 # All modifications and additions to the file contributed by third parties
     7 # All modifications and additions to the file contributed by third parties
     8 # remain the property of their copyright owners, unless otherwise agreed
     8 # remain the property of their copyright owners, unless otherwise agreed
     9 # upon. The license for this file, and modifications and additions to the
     9 # upon. The license for this file, and modifications and additions to the
    10 # file, is the same license as for the pristine package itself (unless the
    10 # file, is the same license as for the pristine package itself (unless the
    20 
    20 
    21 
    21 
    22 Name:           MozillaFirefox
    22 Name:           MozillaFirefox
    23 %define xulrunner mozilla-xulrunner192
    23 %define xulrunner mozilla-xulrunner192
    24 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel orbit-devel python unzip update-desktop-files zip
    24 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel orbit-devel python unzip update-desktop-files zip
    25 BuildRequires:  %{xulrunner}-devel = 1.9.2b5
    25 BuildRequires:  %{xulrunner}-devel = 1.9.2rc1
    26 %if %suse_version > 1020
    26 %if %suse_version > 1020
    27 BuildRequires:  fdupes
    27 BuildRequires:  fdupes
    28 %endif
    28 %endif
    29 %if %suse_version > 1110
    29 %if %suse_version > 1110
    30 BuildRequires:  libiw-devel
    30 BuildRequires:  libiw-devel
    32 BuildRequires:  wireless-tools
    32 BuildRequires:  wireless-tools
    33 %endif
    33 %endif
    34 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    34 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    35 Provides:       web_browser
    35 Provides:       web_browser
    36 Provides:       firefox
    36 Provides:       firefox
    37 Version:        3.6b5
    37 Version:        3.6rc1
    38 Release:        1
    38 Release:        1
    39 %define         releasedate 2009120400
    39 %define         releasedate 2010010500
    40 Summary:        Mozilla Firefox Web Browser
    40 Summary:        Mozilla Firefox Web Browser
    41 Url:            http://www.mozilla.org/
    41 Url:            http://www.mozilla.org/
    42 Group:          Productivity/Networking/Web/Browsers
    42 Group:          Productivity/Networking/Web/Browsers
    43 Source:         firefox-%{version}-source.tar.bz2
    43 Source:         firefox-%{version}-source.tar.bz2
    44 Source1:        MozillaFirefox.desktop
    44 Source1:        MozillaFirefox.desktop
    62 Patch8:         firefox-appname.patch
    62 Patch8:         firefox-appname.patch
    63 Patch9:         firefox-kde.patch
    63 Patch9:         firefox-kde.patch
    64 Patch10:        firefox-ui-lockdown.patch
    64 Patch10:        firefox-ui-lockdown.patch
    65 Patch11:        firefox-crashreporter.patch
    65 Patch11:        firefox-crashreporter.patch
    66 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    66 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    67 PreReq:         coreutils /bin/sh shared-mime-info desktop-file-utils
    67 Requires(post):   coreutils shared-mime-info desktop-file-utils
       
    68 Requires(postun): shared-mime-info desktop-file-utils
    68 Requires:       %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
    69 Requires:       %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
    69 %requires_eq    %{xulrunner}
    70 %requires_eq    %{xulrunner}
    70 %ifarch %ix86
    71 %ifarch %ix86
    71 Requires:       %{xulrunner}-32bit >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
    72 Requires:       %{xulrunner}-32bit >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
    72 Requires:       %{xulrunner}-32bit = %(rpm -q --queryformat '%{VERSION}' %{xulrunner})
    73 Requires:       %{xulrunner}-32bit = %(rpm -q --queryformat '%{VERSION}' %{xulrunner})
    98 %package translations-common
    99 %package translations-common
    99 Summary:        Common translations for MozillaFirefox
   100 Summary:        Common translations for MozillaFirefox
   100 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   101 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   101 Provides:       locale(%{name}:ar;ca;cs;da;de;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW)
   102 Provides:       locale(%{name}:ar;ca;cs;da;de;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW)
   102 Group:          System/Localization
   103 Group:          System/Localization
   103 PreReq:         %{name} = %{version}
   104 Requires:       %{name} = %{version}
   104 Requires:       %{xulrunner}-translations-common
   105 Requires:       %{xulrunner}-translations-common
   105 Obsoletes:      %{name}-translations < %{version}-%{release}
   106 Obsoletes:      %{name}-translations < %{version}-%{release}
   106 
   107 
   107 %description translations-common
   108 %description translations-common
   108 This package contains several common languages for the user interface
   109 This package contains several common languages for the user interface
   109 of MozillaFirefox.
   110 of MozillaFirefox.
   110 
   111 
   111 %package translations-other
   112 %package translations-other
   112 Summary:        Extra translations for MozillaFirefox
   113 Summary:        Extra translations for MozillaFirefox
   113 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   114 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   114 Provides:       locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
   115 Provides:       locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;ku;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
   115 Group:          System/Localization
   116 Group:          System/Localization
   116 PreReq:         %{name} = %{version}
   117 Requires:       %{name} = %{version}
   117 Requires:       %{xulrunner}-translations-other
   118 Requires:       %{xulrunner}-translations-other
   118 Obsoletes:      %{name}-translations < %{version}-%{release}
   119 Obsoletes:      %{name}-translations < %{version}-%{release}
   119 
   120 
   120 %description translations-other
   121 %description translations-other
   121 This package contains rarely used languages for the user interface
   122 This package contains rarely used languages for the user interface
   370 %doc %{_mandir}/man1/%{progname}.1.gz
   371 %doc %{_mandir}/man1/%{progname}.1.gz
   371 
   372 
   372 %if %localize
   373 %if %localize
   373 %files translations-common -f %{_tmppath}/translations.common
   374 %files translations-common -f %{_tmppath}/translations.common
   374 %defattr(-,root,root)
   375 %defattr(-,root,root)
       
   376 %dir %{progdir}
       
   377 %dir %{progdir}/chrome/
   375 
   378 
   376 %files translations-other -f %{_tmppath}/translations.other
   379 %files translations-other -f %{_tmppath}/translations.other
   377 %defattr(-,root,root)
   380 %defattr(-,root,root)
       
   381 %dir %{progdir}
       
   382 %dir %{progdir}/chrome/
   378 %endif
   383 %endif
   379 
   384 
   380 %files branding-upstream  
   385 %files branding-upstream  
   381 %defattr(-,root,root)  
   386 %defattr(-,root,root)  
       
   387 %dir %{progdir}
       
   388 %dir %{progdir}/defaults/
   382 %{progdir}/browserconfig.properties  
   389 %{progdir}/browserconfig.properties  
   383 %{progdir}/defaults/profile/bookmarks.html
   390 %{progdir}/defaults/profile/bookmarks.html
   384 
   391 
   385 %changelog
   392 %changelog