MozillaFirefox/MozillaFirefox.spec
branchfirefox50
changeset 933 7f60766aae16
parent 932 a58cc7936ce7
child 935 9ae2b79d3bb1
equal deleted inserted replaced
932:a58cc7936ce7 933:7f60766aae16
    17 #
    17 #
    18 
    18 
    19 
    19 
    20 # changed with every update
    20 # changed with every update
    21 %define major 50
    21 %define major 50
    22 %define mainver %major.0
    22 %define mainver %major.1.0
    23 %define update_channel release
    23 %define update_channel release
    24 %define releasedate 20161113000000
    24 %define releasedate 20161212000000
    25 
    25 
    26 # PIE, full relro (x86_64 for now)
    26 # PIE, full relro (x86_64 for now)
    27 %define build_hardened 1
    27 %define build_hardened 1
    28 
    28 
    29 # general build definitions
    29 # general build definitions
   151 Patch101:       firefox-kde.patch
   151 Patch101:       firefox-kde.patch
   152 Patch102:       firefox-no-default-ualocale.patch
   152 Patch102:       firefox-no-default-ualocale.patch
   153 Patch103:       firefox-branded-icons.patch
   153 Patch103:       firefox-branded-icons.patch
   154 # hotfix
   154 # hotfix
   155 Patch150:       mozilla-flex_buffer_overrun.patch
   155 Patch150:       mozilla-flex_buffer_overrun.patch
       
   156 Patch200:       mozilla-aarch64-startup-crash.patch
   156 
   157 
   157 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   158 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   158 Requires(post):   coreutils shared-mime-info desktop-file-utils
   159 Requires(post):   coreutils shared-mime-info desktop-file-utils
   159 Requires(postun): shared-mime-info desktop-file-utils
   160 Requires(postun): shared-mime-info desktop-file-utils
   160 %if %branding
   161 %if %branding
   200 of %{appname}.
   201 of %{appname}.
   201 
   202 
   202 %package translations-other
   203 %package translations-other
   203 Summary:        Extra translations for %{appname}
   204 Summary:        Extra translations for %{appname}
   204 Group:          System/Localization
   205 Group:          System/Localization
   205 Provides:       locale(%{name}:ach;af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;en_ZA;eo;es_MX;et;eu;fa;ff;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;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;uz;vi;zu)
       
   206 Provides:       locale(%{name}:ach;af;an;as;ast;az;be;bg;bn_BD;bn_IN;br;bs;cak;cy;dsb;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gn;gu_IN;he;hi_IN;hr;hsb;hy_AM;id;is;kk;km;kn;lij;lt;lv;mai;mk;ml;mr;ms;nn_NO;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;te;th;tr;uk;uz;vi;xh)
   206 Provides:       locale(%{name}:ach;af;an;as;ast;az;be;bg;bn_BD;bn_IN;br;bs;cak;cy;dsb;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gn;gu_IN;he;hi_IN;hr;hsb;hy_AM;id;is;kk;km;kn;lij;lt;lv;mai;mk;ml;mr;ms;nn_NO;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;te;th;tr;uk;uz;vi;xh)
   207 Requires:       %{name} = %{version}
   207 Requires:       %{name} = %{version}
   208 Obsoletes:      %{name}-translations < %{version}-%{release}
   208 Obsoletes:      %{name}-translations < %{version}-%{release}
   209 
   209 
   210 %description translations-other
   210 %description translations-other
   265 # Firefox
   265 # Firefox
   266 %patch101 -p1
   266 %patch101 -p1
   267 %patch102 -p1
   267 %patch102 -p1
   268 %patch103 -p1
   268 %patch103 -p1
   269 %patch150 -p1
   269 %patch150 -p1
       
   270 %patch200 -p1
   270 
   271 
   271 %build
   272 %build
   272 # no need to add build time to binaries
   273 # no need to add build time to binaries
   273 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/MozillaFirefox.changes")"
   274 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/MozillaFirefox.changes")"
   274 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   275 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""