MozillaFirefox/MozillaFirefox.spec
branchmozilla-1.9.2
changeset 362 92e81e89dc95
parent 348 ebdb6a9e0132
child 374 6303420aaf0d
equal deleted inserted replaced
348:ebdb6a9e0132 362:92e81e89dc95
    22 %define mainver %major.6
    22 %define mainver %major.6
    23 
    23 
    24 Name:           MozillaFirefox
    24 Name:           MozillaFirefox
    25 %define xulrunner mozilla-xulrunner192
    25 %define xulrunner mozilla-xulrunner192
    26 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip
    26 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python unzip update-desktop-files zip
    27 BuildRequires:  %{xulrunner}-devel = 1.9.2.24
    27 BuildRequires:  %{xulrunner}-devel = 1.9.2.25
    28 %if %suse_version > 1020
    28 %if %suse_version > 1020
    29 BuildRequires:  fdupes
    29 BuildRequires:  fdupes
    30 %endif
    30 %endif
    31 %if %suse_version > 1110
    31 %if %suse_version > 1110
    32 BuildRequires:  libiw-devel
    32 BuildRequires:  libiw-devel
    33 %else
    33 %else
    34 BuildRequires:  wireless-tools
    34 BuildRequires:  wireless-tools
    35 %endif
    35 %endif
    36 License:        MPLv1.1 or GPLv2+ or LGPLv2+
    36 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
    37 Version:        %mainver.24
    37 Version:        %mainver.25
    38 Release:        1
    38 Release:        1
    39 Provides:       web_browser
    39 Provides:       web_browser
    40 Provides:       firefox = %{mainver}
    40 Provides:       firefox = %{mainver}
    41 Provides:       firefox = %{version}-%{release}
    41 Provides:       firefox = %{version}-%{release}
    42 Provides:       firefox = %{version}
    42 Provides:       firefox = %{version}
    43 %define         releasedate 2011110100
    43 %define         releasedate 2011121600
    44 Summary:        Mozilla Firefox Web Browser
    44 Summary:        Mozilla Firefox Web Browser
    45 Url:            http://www.mozilla.org/
    45 Url:            http://www.mozilla.org/
    46 Group:          Productivity/Networking/Web/Browsers
    46 Group:          Productivity/Networking/Web/Browsers
    47 Source:         firefox-%{version}-source.tar.bz2
    47 Source:         firefox-%{version}-source.tar.bz2
    48 Source1:        MozillaFirefox.desktop
    48 Source1:        MozillaFirefox.desktop
   104 Mozilla Firefox is a standalone web browser, designed for standards
   104 Mozilla Firefox is a standalone web browser, designed for standards
   105 compliance and performance.  Its functionality can be enhanced via a
   105 compliance and performance.  Its functionality can be enhanced via a
   106 plethora of extensions.
   106 plethora of extensions.
   107 
   107 
   108 %package devel
   108 %package devel
   109 License:        MPLv1.1 or GPLv2+ or LGPLv2+
   109 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
   110 Summary:        Devel package for Firefox
   110 Summary:        Devel package for Firefox
   111 Group:          Development/Tools/Other
   111 Group:          Development/Tools/Other
   112 Provides:       firefox-devel = %{version}-%{release}
   112 Provides:       firefox-devel = %{version}-%{release}
   113 Requires:       %{name} = %{version}
   113 Requires:       %{name} = %{version}
   114 Requires:       perl(XML::Simple)
   114 Requires:       perl(XML::Simple)
   118 Development files for Firefox to make packaging of addons easier.
   118 Development files for Firefox to make packaging of addons easier.
   119 
   119 
   120 %if %localize
   120 %if %localize
   121 %package translations-common
   121 %package translations-common
   122 Summary:        Common translations for MozillaFirefox
   122 Summary:        Common translations for MozillaFirefox
   123 License:        MPLv1.1 or GPLv2+ or LGPLv2+
   123 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
   124 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)
   124 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)
   125 Group:          System/Localization
   125 Group:          System/Localization
   126 Requires:       %{name} = %{version}
   126 Requires:       %{name} = %{version}
   127 Requires:       %{xulrunner}-translations-common
   127 Requires:       %{xulrunner}-translations-common
   128 Obsoletes:      %{name}-translations < %{version}-%{release}
   128 Obsoletes:      %{name}-translations < %{version}-%{release}
   131 This package contains several common languages for the user interface
   131 This package contains several common languages for the user interface
   132 of MozillaFirefox.
   132 of MozillaFirefox.
   133 
   133 
   134 %package translations-other
   134 %package translations-other
   135 Summary:        Extra translations for MozillaFirefox
   135 Summary:        Extra translations for MozillaFirefox
   136 License:        MPLv1.1 or GPLv2+ or LGPLv2+
   136 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
   137 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)
   137 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)
   138 Group:          System/Localization
   138 Group:          System/Localization
   139 Requires:       %{name} = %{version}
   139 Requires:       %{name} = %{version}
   140 Requires:       %{xulrunner}-translations-other
   140 Requires:       %{xulrunner}-translations-other
   141 Obsoletes:      %{name}-translations < %{version}-%{release}
   141 Obsoletes:      %{name}-translations < %{version}-%{release}
   145 of MozillaFirefox.
   145 of MozillaFirefox.
   146 
   146 
   147 %endif
   147 %endif
   148 
   148 
   149 %package branding-upstream
   149 %package branding-upstream
   150 License:        MPLv1.1 or GPLv2+ or LGPLv2+
   150 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
   151 Summary:        Upstream branding for MozillaFirefox
   151 Summary:        Upstream branding for MozillaFirefox
   152 Group:          Productivity/Networking/Web/Browsers
   152 Group:          Productivity/Networking/Web/Browsers
   153 Provides:       %{name}-branding = 3.5
   153 Provides:       %{name}-branding = 3.5
   154 Conflicts:      otherproviders(%{name}-branding)
   154 Conflicts:      otherproviders(%{name}-branding)
   155 Supplements:    packageand(%{name}:branding-upstream)
   155 Supplements:    packageand(%{name}:branding-upstream)