MozillaFirefox/MozillaFirefox.spec
changeset 363 48596576f932
parent 361 f19ac1a825a1
child 364 0f5c150b9dcd
equal deleted inserted replaced
361:f19ac1a825a1 363:48596576f932
    14 # published by the Open Source Initiative.
    14 # published by the Open Source Initiative.
    15 
    15 
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    17 #
    17 #
    18 
    18 
    19 # norootforbuild
    19 %define major 9
    20 
    20 %define mainver %major.0
    21 %define major 8
       
    22 %define mainver %major.99
       
    23 
    21 
    24 Name:           MozillaFirefox
    22 Name:           MozillaFirefox
    25 BuildRequires:  Mesa-devel autoconf213 dbus-1-glib-devel fdupes gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files yasm zip
    23 BuildRequires:  Mesa-devel
       
    24 BuildRequires:  autoconf213
       
    25 BuildRequires:  dbus-1-glib-devel
       
    26 BuildRequires:  fdupes
       
    27 BuildRequires:  gcc-c++
       
    28 BuildRequires:  libcurl-devel
       
    29 BuildRequires:  libgnomeui-devel
       
    30 BuildRequires:  libidl-devel
       
    31 BuildRequires:  libnotify-devel
       
    32 BuildRequires:  python
       
    33 BuildRequires:  startup-notification-devel
       
    34 BuildRequires:  unzip
       
    35 BuildRequires:  update-desktop-files
       
    36 BuildRequires:  yasm
       
    37 BuildRequires:  zip
    26 %if %suse_version > 1110
    38 %if %suse_version > 1110
    27 BuildRequires:  libiw-devel
    39 BuildRequires:  libiw-devel
    28 BuildRequires:  libproxy-devel
    40 BuildRequires:  libproxy-devel
    29 %else
    41 %else
    30 BuildRequires:  wireless-tools
    42 BuildRequires:  wireless-tools
    31 %endif
    43 %endif
    32 BuildRequires:  mozilla-nspr-devel >= 4.8.9
    44 BuildRequires:  mozilla-nspr-devel >= 4.8.9
    33 BuildRequires:  mozilla-nss-devel >= 3.13.1
    45 BuildRequires:  mozilla-nss-devel >= 3.13.1
    34 BuildRequires:  nss-shared-helper-devel
    46 BuildRequires:  nss-shared-helper-devel
    35 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
       
    36 Version:        %{mainver}
    47 Version:        %{mainver}
    37 Release:        1
    48 Release:        0
    38 %define         releasedate 2011120800
    49 %define         releasedate 2011121600
    39 Provides:       web_browser
    50 Provides:       web_browser
    40 Provides:       firefox = %{version}-%{release}
    51 Provides:       firefox = %{version}-%{release}
    41 Provides:       firefox = %{mainver}
    52 Provides:       firefox = %{mainver}
    42 # this is needed to match this package with the kde4 helper package without the main package
    53 # this is needed to match this package with the kde4 helper package without the main package
    43 # having a hard requirement on the kde4 package
    54 # having a hard requirement on the kde4 package
    44 %define kde_helper_version 6
    55 %define kde_helper_version 6
    45 Provides:       mozilla-kde4-version = %{kde_helper_version}
    56 Provides:       mozilla-kde4-version = %{kde_helper_version}
    46 Summary:        Mozilla Firefox Web Browser
    57 Summary:        Mozilla Firefox Web Browser
       
    58 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
       
    59 Group:          Productivity/Networking/Web/Browsers
    47 Url:            http://www.mozilla.org/
    60 Url:            http://www.mozilla.org/
    48 Group:          Productivity/Networking/Web/Browsers
       
    49 Source:         firefox-%{version}-source.tar.bz2
    61 Source:         firefox-%{version}-source.tar.bz2
    50 Source1:        MozillaFirefox.desktop
    62 Source1:        MozillaFirefox.desktop
    51 Source2:        MozillaFirefox-rpmlintrc
    63 Source2:        MozillaFirefox-rpmlintrc
    52 Source3:        mozilla.sh.in
    64 Source3:        mozilla.sh.in
    53 Source4:        find-external-requires.sh
    65 Source4:        find-external-requires.sh
   116 Mozilla Firefox is a standalone web browser, designed for standards
   128 Mozilla Firefox is a standalone web browser, designed for standards
   117 compliance and performance.  Its functionality can be enhanced via a
   129 compliance and performance.  Its functionality can be enhanced via a
   118 plethora of extensions.
   130 plethora of extensions.
   119 
   131 
   120 %package devel
   132 %package devel
   121 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
       
   122 Summary:        Devel package for Firefox
   133 Summary:        Devel package for Firefox
   123 Group:          Development/Tools/Other
   134 Group:          Development/Tools/Other
   124 Provides:       firefox-devel = %{version}-%{release}
   135 Provides:       firefox-devel = %{version}-%{release}
   125 Requires:       %{name} = %{version}
   136 Requires:       %{name} = %{version}
   126 Requires:       perl(XML::Simple)
   137 Requires:       perl(XML::Simple)
   131 
   142 
   132 %if %localize
   143 %if %localize
   133 
   144 
   134 %package translations-common
   145 %package translations-common
   135 Summary:        Common translations for MozillaFirefox
   146 Summary:        Common translations for MozillaFirefox
   136 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
   147 Group:          System/Localization
   137 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)
   148 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)
   138 Group:          System/Localization
       
   139 Requires:       %{name} = %{version}
   149 Requires:       %{name} = %{version}
   140 Obsoletes:      %{name}-translations < %{version}-%{release}
   150 Obsoletes:      %{name}-translations < %{version}-%{release}
   141 
   151 
   142 %description translations-common
   152 %description translations-common
   143 This package contains several common languages for the user interface
   153 This package contains several common languages for the user interface
   144 of MozillaFirefox.
   154 of MozillaFirefox.
   145 
   155 
   146 %package translations-other
   156 %package translations-other
   147 Summary:        Extra translations for MozillaFirefox
   157 Summary:        Extra translations for MozillaFirefox
   148 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
   158 Group:          System/Localization
   149 Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;bn_IN;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu)
   159 Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;bn_IN;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu)
   150 Group:          System/Localization
       
   151 Requires:       %{name} = %{version}
   160 Requires:       %{name} = %{version}
   152 Obsoletes:      %{name}-translations < %{version}-%{release}
   161 Obsoletes:      %{name}-translations < %{version}-%{release}
   153 
   162 
   154 %description translations-other
   163 %description translations-other
   155 This package contains rarely used languages for the user interface
   164 This package contains rarely used languages for the user interface
   156 of MozillaFirefox.
   165 of MozillaFirefox.
   157 %endif
   166 %endif
   158 
   167 
   159 %package branding-upstream
   168 %package branding-upstream
   160 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
       
   161 Summary:        Upstream branding for MozillaFirefox
   169 Summary:        Upstream branding for MozillaFirefox
   162 Group:          Productivity/Networking/Web/Browsers
   170 Group:          Productivity/Networking/Web/Browsers
   163 Provides:       %{name}-branding = 5.0
   171 Provides:       %{name}-branding = 5.0
   164 Conflicts:      otherproviders(%{name}-branding)
   172 Conflicts:      otherproviders(%{name}-branding)
   165 Supplements:    packageand(%{name}:branding-upstream)
   173 Supplements:    packageand(%{name}:branding-upstream)
   178 
   186 
   179 
   187 
   180 %if %crashreporter
   188 %if %crashreporter
   181 
   189 
   182 %package buildsymbols
   190 %package buildsymbols
   183 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
       
   184 Summary:        Breakpad buildsymbols for %{name}
   191 Summary:        Breakpad buildsymbols for %{name}
   185 Group:          Development/Debug
   192 Group:          Development/Debug
   186 
   193 
   187 %description buildsymbols
   194 %description buildsymbols
   188 This subpackage contains the Breakpad created and compatible debugging
   195 This subpackage contains the Breakpad created and compatible debugging
   268 ac_add_options --disable-updater
   275 ac_add_options --disable-updater
   269 ac_add_options --disable-tests
   276 ac_add_options --disable-tests
   270 ac_add_options --disable-debug
   277 ac_add_options --disable-debug
   271 ac_add_options --enable-startup-notification
   278 ac_add_options --enable-startup-notification
   272 #ac_add_options --enable-chrome-format=jar
   279 #ac_add_options --enable-chrome-format=jar
   273 ac_add_options --enable-update-channel=beta
   280 ac_add_options --enable-update-channel=default
   274 EOF
   281 EOF
   275 %if %suse_version > 1130
   282 %if %suse_version > 1130
   276 cat << EOF >> $MOZCONFIG
   283 cat << EOF >> $MOZCONFIG
   277 ac_add_options --disable-gnomevfs
   284 ac_add_options --disable-gnomevfs
   278 ac_add_options --enable-gio
   285 ac_add_options --enable-gio