xulrunner/xulrunner.spec
branchfirefox13
changeset 445 b8a9179c123d
parent 436 0d065e025384
child 446 e0ab7119246f
equal deleted inserted replaced
441:de015e47b365 445:b8a9179c123d
    44 %endif
    44 %endif
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.0
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.0
    46 BuildRequires:  mozilla-nss-devel >= 3.13.4
    46 BuildRequires:  mozilla-nss-devel >= 3.13.4
    47 Version:        12.99
    47 Version:        12.99
    48 Release:        0
    48 Release:        0
    49 %define         releasedate 2012042500
    49 %define         releasedate 2012050900
    50 %define         version_internal 13.0
    50 %define         version_internal 13.0
    51 %define         apiversion 13
    51 %define         apiversion 13
    52 %define         uaweight 1300000
    52 %define         uaweight 1300000
    53 Summary:        Mozilla Runtime Environment
    53 Summary:        Mozilla Runtime Environment
    54 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
    54 License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
    71 Patch1:         toolkit-download-folder.patch
    71 Patch1:         toolkit-download-folder.patch
    72 Patch2:         mozilla-pkgconfig.patch
    72 Patch2:         mozilla-pkgconfig.patch
    73 Patch3:         idldir.patch
    73 Patch3:         idldir.patch
    74 Patch4:         mozilla-nongnome-proxies.patch
    74 Patch4:         mozilla-nongnome-proxies.patch
    75 Patch5:         mozilla-prefer_plugin_pref.patch
    75 Patch5:         mozilla-prefer_plugin_pref.patch
    76 Patch9:         mozilla-language.patch
    76 Patch6:         mozilla-language.patch
    77 Patch11:        mozilla-ntlm-full-path.patch
    77 Patch7:         mozilla-ntlm-full-path.patch
    78 Patch12:        mozilla-dump_syms-static.patch
    78 Patch8:         mozilla-dump_syms-static.patch
    79 Patch13:        mozilla-sle11.patch
    79 Patch9:         mozilla-sle11.patch
    80 Patch14:        mozilla-linux3.patch
    80 Patch10:        mozilla-linux3.patch
    81 Patch15:        mozilla-arm-cpu-detection.patch
    81 Patch11:        mozilla-disable-neon-option.patch
    82 Patch16:        mozilla-system-nspr.patch
    82 Patch12:        mozilla-system-nspr.patch
    83 Patch17:        mozilla-revert_621446.patch
    83 Patch13:        mozilla-revert_621446.patch
    84 Patch18:        mozilla-yarr-pcre.patch
    84 Patch14:        mozilla-yarr-pcre.patch
    85 Patch19:        mozilla-libnotify.patch
    85 Patch15:        mozilla-libnotify.patch
    86 Patch20:        mozilla-gcc47.patch
    86 Patch16:        mozilla-gcc47.patch
       
    87 Patch17:        mozilla-nsSound.patch
    87 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    88 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    88 Requires:       mozilla-js = %{version}
    89 Requires:       mozilla-js = %{version}
    89 Requires(post):  update-alternatives coreutils
    90 Requires(post):  update-alternatives coreutils
    90 Requires(preun): update-alternatives coreutils
    91 Requires(preun): update-alternatives coreutils
    91 ### build configuration ###
    92 ### build configuration ###
    92 %define has_system_nspr  1
    93 %define has_system_nspr  1
    93 %define has_system_nss   1
    94 %define has_system_nss   1
    94 %define has_system_cairo 0
    95 %define has_system_cairo 0
    95 %define localize 0
    96 %define localize 0
    96 %ifarch ppc ppc64 s390 s390x ia64
    97 %ifarch ppc ppc64 s390 s390x ia64 %arm
    97 %define crashreporter    0
    98 %define crashreporter    0
    98 %define plugincontainer  0
    99 %define plugincontainer  0
    99 %else
   100 %else
   100 %define crashreporter    1
   101 %define crashreporter    1
   101 %define plugincontainer  1
   102 %define plugincontainer  1
       
   103 %endif
       
   104 # temporary gcc 4.7
       
   105 %if %suse_version > 1210
       
   106 %define crashreporter 0
   102 %endif
   107 %endif
   103 ### configuration end ###
   108 ### configuration end ###
   104 %define _use_internal_dependency_generator 0
   109 %define _use_internal_dependency_generator 0
   105 %define __find_requires sh %{SOURCE2}
   110 %define __find_requires sh %{SOURCE2}
   106 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|unixprint' | %__find_provides"
   111 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|unixprint' | %__find_provides"
   163 
   168 
   164 %package translations-other
   169 %package translations-other
   165 Summary:        Extra translations for XULRunner
   170 Summary:        Extra translations for XULRunner
   166 Group:          System/Localization
   171 Group:          System/Localization
   167 Requires:       %{name} = %{version}
   172 Requires:       %{name} = %{version}
   168 Provides:       locale(%{name}:af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;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;lij;lt;lv;mai;mk;ml;mn;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;sw;ta;ta_LK;te;th;tr;uk;vi;zu)
   173 Provides:       locale(%{name}:af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;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;km;kn;ku;lg;lij;lt;lv;mai;mk;ml;mn;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;sw;ta;ta_LK;te;th;tr;uk;vi;zu)
   169 Obsoletes:      %{name}-translations < %{version}-%{release}
   174 Obsoletes:      %{name}-translations < %{version}-%{release}
   170 
   175 
   171 %description translations-other
   176 %description translations-other
   172 XULRunner is a single installable package that can be used to bootstrap
   177 XULRunner is a single installable package that can be used to bootstrap
   173 multiple XUL+XPCOM applications that are as rich as Firefox and
   178 multiple XUL+XPCOM applications that are as rich as Firefox and
   192 %patch1 -p1
   197 %patch1 -p1
   193 %patch2 -p1
   198 %patch2 -p1
   194 %patch3 -p1
   199 %patch3 -p1
   195 %patch4 -p1
   200 %patch4 -p1
   196 %patch5 -p1
   201 %patch5 -p1
       
   202 %patch6 -p1
       
   203 %patch7 -p1
       
   204 %patch8 -p1
       
   205 %if %suse_version < 1120
   197 %patch9 -p1
   206 %patch9 -p1
       
   207 %endif
       
   208 %patch10 -p1
   198 %patch11 -p1
   209 %patch11 -p1
   199 %patch12 -p1
   210 %patch12 -p1
   200 %if %suse_version < 1120
   211 #%patch13 -p1
   201 %patch13 -p1
   212 #%patch14 -p1
   202 %endif
       
   203 %patch14 -p1
       
   204 %patch15 -p1
   213 %patch15 -p1
   205 %patch16 -p1
   214 %patch16 -p1
   206 #%patch17 -p1
   215 %patch17 -p1
   207 %patch18 -p1
       
   208 %patch19 -p1
       
   209 %patch20 -p1
       
   210 
   216 
   211 %build
   217 %build
   212 # no need to add build time to binaries
   218 # no need to add build time to binaries
   213 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   219 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   214 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   220 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   299 EOF
   305 EOF
   300 %endif
   306 %endif
   301 # ARM
   307 # ARM
   302 %ifarch %arm
   308 %ifarch %arm
   303 cat << EOF >> $MOZCONFIG
   309 cat << EOF >> $MOZCONFIG
   304 %ifarch armv7l
   310 ac_add_options --disable-neon
   305 ac_add_options --with-arch=armv7-a
       
   306 ac_add_options --with-float-abi=hard
       
   307 ac_add_options --with-fpu=vfpv3-d16
       
   308 ac_add_options --with-thumb=yes
       
   309 %endif
       
   310 %ifarch armv5tel
       
   311 ac_add_options --with-arch=armv5te
       
   312 ac_add_options --with-float-abi=soft
       
   313 ac_add_options --with-thumb=no
       
   314 %endif
       
   315 EOF
   311 EOF
   316 %endif
   312 %endif
   317 make -f client.mk build
   313 make -f client.mk build
   318 
   314 
   319 %install
   315 %install