#
# Conditional build:
%bcond_with tests # enable tests (whatever they check)
-%bcond_without gtk3 # GTK+ 3.x instead of 2.x
%bcond_without kerberos # disable krb5 support
%bcond_without official # official Firefox branding
+%bcond_with lto # build with link time optimization
%bcond_with pgo # PGO-enabled build (requires working $DISPLAY == :100)
+%bcond_without geckodriver # WebDriver
+%bcond_without gold # use default linker instead of gold
# - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
%bcond_with shared_js # shared libmozjs library [broken]
%bcond_without system_icu # build without system ICU
+%bcond_with system_cairo # build with system cairo (not supported in 60.0)
+%bcond_with system_libvpx # build with system libvpx (67.0 does not build with libvpx 1.8)
%bcond_without clang # build using Clang/LLVM
+%if %{with lto}
+%define with_clang 1
+%undefine with_gold
+%endif
+
# On updating version, grab CVE links from:
# https://www.mozilla.org/security/known-vulnerabilities/firefox.html
# Release Notes:
# The actual sqlite version (see RHBZ#480989):
%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
-%define nspr_ver 4.16
-%define nss_ver 3.32.1
+%define nspr_ver 4.23
+%define nss_ver 3.47.1
Summary: Firefox web browser
Summary(hu.UTF-8): Firefox web böngésző
Summary(pl.UTF-8): Firefox - przeglądarka WWW
Name: firefox
-Version: 56.0
+Version: 71.0
Release: 1
License: MPL v2.0
Group: X11/Applications/Networking
-Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
-# Source0-md5: d1615a5d49f488bc8c48771669c29542
+Source0: http://releases.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
+# Source0-md5: a611a03c08703c665f5216e227a0adce
Source3: %{name}.desktop
Source4: %{name}.sh
Source5: vendor.js
Source6: vendor-ac.js
Source100: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ach.xpi
-# Source100-md5: 0bec3c46ebebc7a121fc1e551eb912c3
+# Source100-md5: 3a0eb1c100f25573cfb7c32e4c4bf368
Source101: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/af.xpi
-# Source101-md5: a2db7880e182dcb395024049de52910b
+# Source101-md5: add5955d3640833dd495accdd42f5203
Source102: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/an.xpi
-# Source102-md5: 99a88d60df34755c77f530db03cfd82b
+# Source102-md5: 826e03e0ae75ae6fa7b48299ccab211b
Source103: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ar.xpi
-# Source103-md5: d93fcea54be868a8129625d90126b8b4
-Source104: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/as.xpi
-# Source104-md5: 75485b9a806b5043db94963dd288a9a3
-Source105: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ast.xpi
-# Source105-md5: 3a4e8284cbb02d5b92eb505fe8262c86
-Source106: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/az.xpi
-# Source106-md5: cc7fc9f741e7beafde5badfd665086df
+# Source103-md5: 0e69ecfe438ff0a626cf28581bcdf6ec
+Source104: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ast.xpi
+# Source104-md5: f4e839635f6b7678794d5a5083781f13
+Source105: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/az.xpi
+# Source105-md5: 3b7f958ae6f5a3c1b3e2f44f2910e93a
+Source106: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/be.xpi
+# Source106-md5: 7d855fbd637a6d43195c19a23206206c
Source107: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bg.xpi
-# Source107-md5: c63c2a01de9e232eb84de74226511561
-Source108: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn-BD.xpi
-# Source108-md5: 92c3db9367397f6e68c95226b91d687d
-Source109: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn-IN.xpi
-# Source109-md5: 75beebbc5001c6e5ddc7b912f057ace7
-Source110: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/br.xpi
-# Source110-md5: 19cc520b83bd070b7b0a405e9f618ef6
-Source111: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bs.xpi
-# Source111-md5: bab69c36bb6e904d21636400f8b930b6
-Source112: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ca.xpi
-# Source112-md5: d5d886f0cced2751e5197c1de7f43fb7
-Source113: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cak.xpi
-# Source113-md5: cb0b51ed9170bfb254b6b8f346c8a993
-Source114: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cs.xpi
-# Source114-md5: 26c92310e4727eca6eb4b5c46fae27ca
-Source115: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cy.xpi
-# Source115-md5: 6e5bf7a09721f20c8d85bbef91fc7949
-Source116: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/da.xpi
-# Source116-md5: 34e443ba3b9c79f6330c569343e5ffc5
-Source117: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/de.xpi
-# Source117-md5: 20ee50b64625f2f282665579c2f9293d
-Source118: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/dsb.xpi
-# Source118-md5: 567ebaae76f3513f3c2713d81db657b0
-Source119: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/el.xpi
-# Source119-md5: ea6e4b24dde2d6b2a5a775e42a416e67
+# Source107-md5: d71d94226db91e2f5e5e5f00d74782e4
+Source108: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn.xpi
+# Source108-md5: d546ff654c19b3ab9c5bb57389965543
+Source109: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/br.xpi
+# Source109-md5: bc733448f7949a132bdfb899ba83cd41
+Source110: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bs.xpi
+# Source110-md5: 352f12543202b0618d7c5aadedc1361e
+Source111: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ca.xpi
+# Source111-md5: bbe841a0329f8d58b057c57f32fe0324
+Source112: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cak.xpi
+# Source112-md5: 05be735533fb22b017771a046998f40a
+Source113: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cs.xpi
+# Source113-md5: 3180cf3a5484573e8f6cdc38496b94bc
+Source114: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cy.xpi
+# Source114-md5: 77e8d8c06deb116f17d57a88652b1194
+Source115: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/da.xpi
+# Source115-md5: 9b0f7242428b4c915322f087702c2ac3
+Source116: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/de.xpi
+# Source116-md5: 2362593eba69e14535986b7b82d5869c
+Source117: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/dsb.xpi
+# Source117-md5: 2fac4ae4fe9eb5e7da867d56b365f5b2
+Source118: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/el.xpi
+# Source118-md5: d33df26a4f8ce836cef22ead5d1fb949
+Source119: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-CA.xpi
+# Source119-md5: 9014858ac9a79d2acc4a47e223ca154d
Source120: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source120-md5: 2c5c79d28d9d748499a137e144f4691d
+# Source120-md5: 0000bdfea996f6b0ec69014f0b3ee6c2
Source121: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-US.xpi
-# Source121-md5: 7fa955f3ae51a4cdf78eedcd4cb4da98
-Source122: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-ZA.xpi
-# Source122-md5: 9fe5b9013c5189b6b9cbaf9fc507b725
-Source123: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eo.xpi
-# Source123-md5: 51c825232ac4d35e9e866b707370d568
-Source124: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-AR.xpi
-# Source124-md5: b4c182a52f6fbd76d3843fefade41273
-Source125: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-CL.xpi
-# Source125-md5: a9ec45228bcfe8f33055a92dd807d80e
-Source126: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-ES.xpi
-# Source126-md5: 61fdac87a9098facb25cc49d36181e16
-Source127: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-MX.xpi
-# Source127-md5: f272f1a7e22689f7bd517858d83e38bf
-Source128: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/et.xpi
-# Source128-md5: cb33134da25de5b5a1b28ae257cae780
-Source129: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eu.xpi
-# Source129-md5: 31a517fc36ef4863e40d81cd2cdc9446
-Source130: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fa.xpi
-# Source130-md5: 57efc25b58c7d01df86ae94eba711095
-Source131: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ff.xpi
-# Source131-md5: 9a40c5d6012361fe8dd1645349dfdf2b
-Source132: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fi.xpi
-# Source132-md5: 19ac21ea2e4bda203deac3dbf1825495
-Source133: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fr.xpi
-# Source133-md5: 34ae5e1997806f836f2d289bdf98dd82
-Source134: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fy-NL.xpi
-# Source134-md5: b17d56da1190a6dd047251dd0f15e4ed
-Source135: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ga-IE.xpi
-# Source135-md5: dd12743dd0ffba44047088a6672e8757
-Source136: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gd.xpi
-# Source136-md5: 39bd93e204e2736425653c2be4ae5bd7
-Source137: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gl.xpi
-# Source137-md5: 9e0e8131fd078905f6f60fd0472a6e89
-Source138: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gn.xpi
-# Source138-md5: 81404c82f1a7cc44b1f137e299e4af35
-Source139: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gu-IN.xpi
-# Source139-md5: cef95aacbfe798f96f5078efe19eb14b
-Source140: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/he.xpi
-# Source140-md5: 48fdc467594279d61cc346b70ad8cf1f
-Source141: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hi-IN.xpi
-# Source141-md5: 9da7260715658ba7f31e630d1bca061d
-Source142: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hr.xpi
-# Source142-md5: b10b85b4881e12fd59bc19db28974731
-Source143: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hsb.xpi
-# Source143-md5: e435ed70ebfcab953f41c762b57627b7
-Source144: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hu.xpi
-# Source144-md5: d36eda1941b03c038394e1e91d331157
-Source145: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hy-AM.xpi
-# Source145-md5: b740e332df4136f8d3e69fbbf467987e
+# Source121-md5: b5ff5a33465e4ee5838baa33a238e3d5
+Source122: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eo.xpi
+# Source122-md5: 875c4b70de5c0ce302f126c188aa2276
+Source123: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-AR.xpi
+# Source123-md5: b971e5611d300e8cc1b0ba9b8f64e676
+Source124: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-CL.xpi
+# Source124-md5: c84a49d90e7877f38d29df322b6ad915
+Source125: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-ES.xpi
+# Source125-md5: c84df0f60045954b571b476265807a9e
+Source126: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-MX.xpi
+# Source126-md5: 06f5ae27c57776e5322aefd1384f94b3
+Source127: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/et.xpi
+# Source127-md5: 79dd85f9241feaae08c6146ad9fb188e
+Source128: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eu.xpi
+# Source128-md5: d8af61a6d314e3164ce94e6a7e973171
+Source129: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fa.xpi
+# Source129-md5: 9ba984cec80a01214d72f2191573e925
+Source130: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ff.xpi
+# Source130-md5: 54e836c6b7ccd4eb1c5e9f52240671a5
+Source131: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fi.xpi
+# Source131-md5: 1db7653b53296099c6b154e3303fdd93
+Source132: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fr.xpi
+# Source132-md5: dc847990362e83197a5979358149e17e
+Source133: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fy-NL.xpi
+# Source133-md5: 1898dc42b8302e282cef4dff3fdb3260
+Source134: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ga-IE.xpi
+# Source134-md5: 3e4fa2896a0e71d661f0135226f2a16e
+Source135: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gd.xpi
+# Source135-md5: cc726cc4b6d4b236b631e65d260567f0
+Source136: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gl.xpi
+# Source136-md5: 7f9e5f3e8f86886b1c593c4ff558f4ed
+Source137: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gn.xpi
+# Source137-md5: 481c516386bd06c7062cceef1da53668
+Source138: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gu-IN.xpi
+# Source138-md5: fc23bb1fc1855cf14d97de394c09a960
+Source139: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/he.xpi
+# Source139-md5: 9338a9bbe52972f64c9828a3a7917e90
+Source140: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hi-IN.xpi
+# Source140-md5: 7bbf0569b65fe6a27975d78ebb5f80d4
+Source141: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hr.xpi
+# Source141-md5: a12ee8583bafed2aee59bc8a9a63f0b8
+Source142: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hsb.xpi
+# Source142-md5: 49b02390efb1acc9a2e5f7d4e902f616
+Source143: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hu.xpi
+# Source143-md5: b18d4eaf32b37f12c1a8cc161a8bb62b
+Source144: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hy-AM.xpi
+# Source144-md5: 0738f9351ad55be53a949628f38d61a3
+Source145: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ia.xpi
+# Source145-md5: cd6984797ebe9f28c7d717ea7287faca
Source146: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/id.xpi
-# Source146-md5: cb2ef8f834e56a74ea15c343a5331a50
+# Source146-md5: e83da120066cbfbe1fe1fcefca6fd287
Source147: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/is.xpi
-# Source147-md5: 0a127bee025d49bc310eaa08560baebf
+# Source147-md5: b917f17c1266f57976588ed31a735b78
Source148: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/it.xpi
-# Source148-md5: f9e0bcc473b77784080cb3af5fe8c8fc
+# Source148-md5: f1c60cbd73258fc95e367edcb34c82e8
Source149: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source149-md5: 55c361d4f42bddb68e7f873299f58c7b
+# Source149-md5: b139d6d8b12f2e8c86cdeb1437e1aabd
Source150: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ka.xpi
-# Source150-md5: dedf9b5dc17c5f1c88d1768ea545d0e7
+# Source150-md5: a4255462d1227a2a21175d9c9a6af16d
Source151: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source151-md5: f6f5842b5f24a6414a0093bb16ce4186
+# Source151-md5: 777dd231601c58de318787a6fd81e076
Source152: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source152-md5: 4a3aac72c662f7c23c1a93039d4fd85f
+# Source152-md5: 5bd163b1d909454ec5df9099d2323cc3
Source153: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/km.xpi
-# Source153-md5: d3f52ed9f7f8e0094ddbf64a0950f754
+# Source153-md5: d2167dc9fc0a3998e09f0ddd98ef0739
Source154: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kn.xpi
-# Source154-md5: 9af48c5c362ecafa8d07c714d6d6e8d7
+# Source154-md5: aedafe2cc39ab5942c54af13ff21e272
Source155: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source155-md5: 2532ee3e2ad3cdc784a0fbb5d2643168
+# Source155-md5: 978ba791a5357bf94fda7de30f052596
Source156: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lij.xpi
-# Source156-md5: 28dbcab3f078aead3b389b6daebe6010
+# Source156-md5: 954c14e47125d1359ef9a9e3c1248702
Source157: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source157-md5: da55dae08cd2499c6257b2da08a35cb5
+# Source157-md5: cc904c9db5920c5f206e992c114ec953
Source158: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lv.xpi
-# Source158-md5: 32b5853e95401326fa24e4f97d450e67
-Source159: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mai.xpi
-# Source159-md5: f9bcebf27b956a550c5bcab42fc591cd
-Source160: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mk.xpi
-# Source160-md5: d924834a95206940c0978cbf85c90961
-Source161: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ml.xpi
-# Source161-md5: 423e8aeb1c087237b3260cd5702f23a4
-Source162: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mr.xpi
-# Source162-md5: 83901aa3832933d0514e35ad23a13eb8
-Source163: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ms.xpi
-# Source163-md5: 19fb821b75b6ff512dff3f7d4e1f5445
-Source164: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/my.xpi
-# Source164-md5: 4afbf9a9b77ef03cb452b8215cd99e93
-Source165: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nb-NO.xpi
-# Source165-md5: c6da2e09e39137a8e76dd2977ae5ab04
-Source166: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nl.xpi
-# Source166-md5: 03110a118a1abcbf2e84abc7afc62282
-Source167: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nn-NO.xpi
-# Source167-md5: 7708e99c3e25761bfad300ef32f77613
-Source168: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/or.xpi
-# Source168-md5: 5c27fd4e520c178b35b26b7f9ba19342
-Source169: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pa-IN.xpi
-# Source169-md5: 6709eb91d73b3530967d12540300bec5
-Source170: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source170-md5: 13fb6a7fdedeb16d912415ba0351ef6a
-Source171: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-BR.xpi
-# Source171-md5: 34d2d7df939e95616e77656ac70cbb5c
-Source172: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-PT.xpi
-# Source172-md5: d9c6624a51d4c24e81a06af2ce54aaac
-Source173: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/rm.xpi
-# Source173-md5: 0ac3ba7d69e652cd952b002433c09436
-Source174: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ro.xpi
-# Source174-md5: efad755777d14b6318e130f2ee07664d
-Source175: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ru.xpi
-# Source175-md5: 1b93f8132f7c46e318a3ef1d3a5a1676
-Source176: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/si.xpi
-# Source176-md5: 4e40ae282c3d6c59f13a23ece0aa6fda
-Source177: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sk.xpi
-# Source177-md5: c8b24568a698b08fa663dc27d19bb9cf
-Source178: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sl.xpi
-# Source178-md5: ebd31de19c1d37cf3e0895cfdf8fbf88
-Source179: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/son.xpi
-# Source179-md5: 1417380b887c76ebc98b17e9b4633435
-Source180: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sq.xpi
-# Source180-md5: d9686a1a7ac10f3db940410022598f8d
-Source181: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sr.xpi
-# Source181-md5: d646e41460a96bd904dd6b932efc6f8c
-Source182: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sv-SE.xpi
-# Source182-md5: 96c78db7b5039c81c877b302be202f23
-Source183: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ta.xpi
-# Source183-md5: 072ced968abef5f8fc5be30bf9799d64
-Source184: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/te.xpi
-# Source184-md5: 1d3874a68564a3fd87cba51f5741ee94
-Source185: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/th.xpi
-# Source185-md5: 5c5a0831ada0ff97c70b479b2e008557
-Source186: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/tr.xpi
-# Source186-md5: 1bd76ef1c0c5399342b2ae61517ad089
-Source187: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uk.xpi
-# Source187-md5: 37ec0318f31ec82d4ee2ba1f69bc1c5f
-Source188: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ur.xpi
-# Source188-md5: 0fe7ba6e074713f8a59cce554f9cdc11
-Source189: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uz.xpi
-# Source189-md5: f4ba3f29f929bf74c2c1d074679072df
-Source190: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/vi.xpi
-# Source190-md5: 1fb91fe2352f6e781915b9553668cfd7
-Source191: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/xh.xpi
-# Source191-md5: 13d5cd8c76654610ef3f46ac28b7caf6
-Source192: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-CN.xpi
-# Source192-md5: 54552299d91759fe16a4a1bffff7a01a
-Source193: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
-# Source193-md5: 84f39621945107dc05792f4b3acc588f
-Patch0: idl-parser.patch
-Patch2: xulrunner-paths.patch
+# Source158-md5: 8e37bc96fa0121c4710e70f6b9e7b548
+Source159: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mk.xpi
+# Source159-md5: 70844767890e92e7430bd7f9f446177f
+Source160: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mr.xpi
+# Source160-md5: ae596c803c8971f599fd38cc4fffa7e8
+Source161: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ms.xpi
+# Source161-md5: 12695ae755908111f2ad0b79c5c8ee57
+Source162: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/my.xpi
+# Source162-md5: 0b6009cf698a41b1a68e72e59fecda94
+Source163: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nb-NO.xpi
+# Source163-md5: 1dc4a0ef82dda5ad7ab634b8d58fc04b
+Source164: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ne-NP.xpi
+# Source164-md5: 9e98ec02e03b52572e913bd7d8f4c270
+Source165: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nl.xpi
+# Source165-md5: 33c303f19f654d3d1bdc0cc9e72cf449
+Source166: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nn-NO.xpi
+# Source166-md5: f94e54a245681253267d5ca4edb79f45
+Source167: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/oc.xpi
+# Source167-md5: 839d168dc33df87a0ef4a31fe42ceffe
+Source168: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pa-IN.xpi
+# Source168-md5: 137dd62c1eec82edf1dba0a2eeadd771
+Source169: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
+# Source169-md5: 1108509a005600739951a3f893a15a37
+Source170: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-BR.xpi
+# Source170-md5: 2c54f307918ced2bcc4658e35aeb916c
+Source171: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-PT.xpi
+# Source171-md5: d0ebe33f13ca29de2c88d498a58002d6
+Source172: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/rm.xpi
+# Source172-md5: 88f57f1fbbb42cdc252c39f3249a1b7e
+Source173: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ro.xpi
+# Source173-md5: 48406ff729d5c21d593002dfda41b34e
+Source174: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ru.xpi
+# Source174-md5: 2c2a9a5f1f6bef464b943a0a493f3d05
+Source175: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/si.xpi
+# Source175-md5: 277d02425cf45fad6036a9899dc9d10e
+Source176: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sk.xpi
+# Source176-md5: 32eeeea2dbc94ec0df343018d65b0733
+Source177: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sl.xpi
+# Source177-md5: ea9cd6229b8ce3653b74c11bccc3cf97
+Source178: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/son.xpi
+# Source178-md5: dda675eecd3b79ee661e63e0dcaa8a9f
+Source179: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sq.xpi
+# Source179-md5: 9e1f9acab3900599b7eaf9685b113c15
+Source180: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sr.xpi
+# Source180-md5: 1a13f704accdd54bf619e2637b722fda
+Source181: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sv-SE.xpi
+# Source181-md5: 11b5facc6c138f9b24e4c63f5c4163eb
+Source182: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ta.xpi
+# Source182-md5: 1b527bffc5300fbeb481fc5db5f27d80
+Source183: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/te.xpi
+# Source183-md5: 0a267ae58cabd4f12c62ae15e70e221f
+Source184: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/th.xpi
+# Source184-md5: b19c9378687b7bdcd18a97072db19afd
+Source185: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/tr.xpi
+# Source185-md5: 5ac0471a1eed9685fd73dee74235d669
+Source186: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uk.xpi
+# Source186-md5: 6ba4a7dfdac71cd83cd40a671deb9b6a
+Source187: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ur.xpi
+# Source187-md5: 9f7f4ef2e55ac76cd910e53d85a4489f
+Source188: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uz.xpi
+# Source188-md5: 4d6191e19aa6668b7411ede6d81714e6
+Source189: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/vi.xpi
+# Source189-md5: 58f5632cdbf149c414dcdb7f4597e889
+Source190: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/xh.xpi
+# Source190-md5: 6bcbfadfa3aeb0d2859e9e3a2ecda01b
+Source191: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-CN.xpi
+# Source191-md5: 40da1fce07715721fafb67d9f1498ded
+Source192: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
+# Source192-md5: 2d2f678eaf77460c841782aae12fcebc
+
Patch4: %{name}-prefs.patch
Patch5: %{name}-pld-bookmarks.patch
Patch6: %{name}-no-subshell.patch
Patch7: %{name}-middle_click_paste.patch
Patch8: %{name}-system-virtualenv.patch
Patch9: %{name}-Disable-Firefox-Health-Report.patch
-Patch10: freetype.patch
-Patch11: mozilla-1405267.patch
-Patch12: rhbz-1497932.patch
+Patch10: system-cairo.patch
URL: https://www.mozilla.org/firefox/
BuildRequires: OpenGL-devel
BuildRequires: alsa-lib-devel
BuildRequires: autoconf2_13
BuildRequires: automake
+%{?with_gold:BuildRequires: binutils >= 3:2.20.51.0.7}
BuildRequires: bzip2-devel
-BuildRequires: cairo-devel >= 1.10.2-5
-BuildRequires: cargo
+%{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5}
+BuildRequires: cargo >= 1.32.0
%{?with_clang:BuildRequires: clang}
+BuildRequires: clang-devel >= 3.9.0
BuildRequires: dbus-glib-devel >= 0.60
BuildRequires: fontconfig-devel >= 1:2.7.0
BuildRequires: freetype-devel >= 1:2.1.8
BuildRequires: glib2-devel >= 1:2.22
BuildRequires: gstreamer-devel >= 1.0
BuildRequires: gstreamer-plugins-base-devel >= 1.0
-%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.18.0}
-%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.0}
+BuildRequires: gtk+2-devel >= 2:2.18.0
+BuildRequires: gtk+3-devel >= 3.4.0
%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
-BuildRequires: hunspell-devel >= 1.6.1
BuildRequires: libIDL-devel >= 0.8.0
BuildRequires: libatomic-devel
# DECnet (dnprogs.spec), not dummy net (libdnet.spec)
BuildRequires: libevent-devel >= 1.4.7
# standalone libffi 3.0.9 or gcc's from 4.5(?)+
BuildRequires: libffi-devel >= 6:3.0.9
-%{?with_system_icu:BuildRequires: libicu-devel >= 58.1}
+%{?with_system_icu:BuildRequires: libicu-devel >= 63.1}
# requires libjpeg-turbo implementing at least libjpeg 6b API
BuildRequires: libjpeg-devel >= 6b
BuildRequires: libjpeg-turbo-devel
BuildRequires: libpng(APNG)-devel >= 0.10
-BuildRequires: libpng-devel >= 2:1.6.31
+BuildRequires: libpng-devel >= 2:1.6.35
BuildRequires: libstdc++-devel >= 6:4.4
-BuildRequires: libvpx-devel >= 1.5.0
+BuildRequires: libxcb-devel
+%{?with_system_libvpx:BuildRequires: libvpx-devel >= 1.7.0}
+BuildRequires: libwebp-devel >= 1.0.2
+%{?with_clang:BuildRequires: lld}
+BuildRequires: llvm-devel >= 3.9.0
+# or --disable-nodejs ?
+BuildRequires: nodejs >= 8.11
BuildRequires: nspr-devel >= 1:%{nspr_ver}
BuildRequires: nss-devel >= 1:%{nss_ver}
BuildRequires: pango-devel >= 1:1.22.0
BuildRequires: pixman-devel >= 0.19.2
BuildRequires: perl-modules >= 5.004
-BuildRequires: pkgconfig
+BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: pkgconfig(libffi) >= 3.0.9
BuildRequires: pulseaudio-devel
BuildRequires: python-modules >= 1:2.5
BuildRequires: readline-devel
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpmbuild(macros) >= 1.601
-BuildRequires: rust
+BuildRequires: rust >= 1.32.0
+BuildRequires: rust-cbindgen >= 0.9.0
BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.17.0
+BuildRequires: sqlite3-devel >= 3.29.0
BuildRequires: startup-notification-devel >= 0.8
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXScrnSaver-devel
BuildConflicts: %{name}-devel < %{version}
Requires(post): mktemp >= 1.5-18
Requires: browser-plugins >= 2.0
-Requires: cairo >= 1.10.2-5
+%{?with_system_cairo:Requires: cairo >= 1.10.2-5}
Requires: dbus-glib >= 0.60
Requires: desktop-file-utils
Requires: fontconfig-libs >= 1:2.7.0
Requires: glib2 >= 1:2.22
-%{!?with_gtk3:Requires: gtk+2 >= 2:2.18.0}
-%{?with_gtk3:Requires: gtk+3 >= 3.4.0}
+Requires: gtk+2 >= 2:2.18.0
+Requires: gtk+3 >= 3.4.0
Requires: hicolor-icon-theme
Requires: libjpeg-turbo
-Requires: libpng >= 2:1.6.31
+Requires: libpng >= 2:1.6.35
Requires: libpng(APNG) >= 0.10
-Requires: libvpx >= 1.5.0
+%{?with_system_libvpx:Requires: libvpx >= 1.7.0}
Requires: myspell-common
Requires: nspr >= 1:%{nspr_ver}
Requires: nss >= 1:%{nss_ver}
Requires: pango >= 1:1.22.0
+Requires: pixman >= 0.19.2
Requires: sqlite3 >= %{sqlite_build_version}
Requires: startup-notification >= 0.8
Provides: xulrunner-libs = 2:%{version}-%{release}
Provides: wwwbrowser
Obsoletes: firefox-devel
+Obsoletes: firefox-lang-as < 68.0-1
+Obsoletes: firefox-lang-en_ZA < 68.0-1
+Obsoletes: firefox-lang-mai < 68.0-1
+Obsoletes: firefox-lang-ml < 68.0-1
+Obsoletes: firefox-lang-or < 68.0-1
Obsoletes: firefox-libs
Obsoletes: iceweasel
Obsoletes: iceweasel-libs
Obsoletes: mozilla-firefox-libs
Obsoletes: xulrunner
Obsoletes: xulrunner-gnome
-Obsoletes: xulrunner-libs
+Obsoletes: xulrunner-libs < 42
Conflicts: firefox-lang-resources < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoprovfiles %{_libdir}/%{name}
# and as we don't provide them, don't require either
-%define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozjs.so libmozsandbox.so libxul.so
+%define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozjs.so libmozsandbox.so libmozwayland.so libxul.so
+
+# 67.0 libxul.so: debugedit: canonicalization unexpectedly shrank by one character
+%define _enable_debug_packages 0
%description
Firefox is an open-source web browser, designed for standards
%description lang-ar -l pl.UTF-8
Arabskie pliki językowe dla Firefoksa.
-%package lang-as
-Summary: Assamese resources for Firefox
-Summary(pl.UTF-8): Asamskie pliki językowe dla Firefoksa
-Group: I18n
-Requires: firefox >= %{version}
-Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-as
-Obsoletes: mozilla-firefox-lang-as
-BuildArch: noarch
-
-%description lang-as
-Assamese resources for Firefox.
-
-%description lang-as -l pl.UTF-8
-Asamskie pliki językowe dla Firefoksa.
-
%package lang-ast
Summary: Asturian resources for Firefox
Summary(pl.UTF-8): Asturyjskie pliki językowe dla Firefoksa
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
+Obsoletes: firefox-lang-bn_IN
Obsoletes: iceweasel-lang-bn
Obsoletes: mozilla-firefox-lang-bn
BuildArch: noarch
%description lang-el -l pl.UTF-8
Greckie pliki językowe dla Firefoksa.
+%package lang-en_CA
+Summary: English (Canadian) resources for Firefox
+Summary(pl.UTF-8): Angielskie (kanadyjskie) pliki językowe dla Firefoksa
+Group: I18n
+Requires: firefox >= %{version}
+Provides: firefox-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-en_CA
+English (Canadian) resources for Firefox.
+
+%description lang-en_CA -l pl.UTF-8
+Angielskie (kanadyjskie) pliki językowe dla Firefoksa.
+
%package lang-en_GB
Summary: English (British) resources for Firefox
Summary(pl.UTF-8): Angielskie (brytyjskie) pliki językowe dla Firefoksa
%description lang-en_US -l pl.UTF-8
Angielskie (amerykańskie) pliki językowe dla Firefoksa.
-%package lang-en_ZA
-Summary: English (South Africa) resources for Firefox
-Summary(pl.UTF-8): Angielskie pliki językowe dla Firefoksa (wersja dla RPA)
-Group: I18n
-Requires: firefox >= %{version}
-Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-en_ZA
-Obsoletes: mozilla-firefox-lang-en_ZA
-BuildArch: noarch
-
-%description lang-en_ZA
-English (South Africa) resources for Firefox.
-
-%description lang-en_ZA -l pl.UTF-8
-Angielskie pliki językowe dla Firefoksa (wersja dla Republiki
-Południowej Afryki).
-
%package lang-eo
Summary: Esperanto resources for Firefox
Summary(pl.UTF-8): Pliki językowe esperanto dla Firefoksa
%description lang-hy -l pl.UTF-8
Ormiańskie pliki językowe dla Firefoksa.
+%package lang-ia
+Summary: Interlingua resources for Firefox
+Summary(pl.UTF-8): Pliki językowe interlingua dla Firefoksa
+Group: I18n
+Requires: %{name} >= %{version}
+Provides: %{name}-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-ia
+Interlingua resources for Firefox.
+
+%description lang-ia -l pl.UTF-8
+Pliki językowe interlingua dla Firefoksa.
+
%package lang-id
Summary: Indonesian resources for Firefox
Summary(pl.UTF-8): Indonezyjskie pliki językowe dla Firefoksa
%description lang-lv -l pl.UTF-8
Łotewskie pliki językowe dla Firefoksa.
-%package lang-mai
-Summary: Maithili resources for Firefox
-Summary(pl.UTF-8): Pliki językowe maithili dla Firefoksa
-Group: I18n
-Requires: firefox >= %{version}
-Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-mai
-Obsoletes: mozilla-firefox-lang-mai
-BuildArch: noarch
-
-%description lang-mai
-Maithili resources for Firefox.
-
-%description lang-mai -l pl.UTF-8
-Pliki językowe maithili dla Firefoksa.
-
%package lang-mk
Summary: Macedonian resources for Firefox
Summary(pl.UTF-8): Macedońskie pliki językowe dla Firefoksa
%description lang-mk -l pl.UTF-8
Macedońskie pliki językowe dla Firefoksa.
-%package lang-ml
-Summary: Malayalam resources for Firefox
-Summary(pl.UTF-8): Pliki językowe malajalam dla Firefoksa
-Group: I18n
-Requires: firefox >= %{version}
-Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ml
-Obsoletes: mozilla-firefox-lang-ml
-BuildArch: noarch
-
-%description lang-ml
-Malayalam resources for Firefox.
-
-%description lang-ml -l pl.UTF-8
-Pliki językowe malajalam dla Firefoksa.
-
%package lang-mr
Summary: Marathi resources for Firefox
Summary(pl.UTF-8): Pliki językowe marathi dla Firefoksa
%description lang-nb -l pl.UTF-8
Norweskie (bokmaal) pliki językowe dla Firefoksa.
+%package lang-ne
+Summary: Nepali resources for Firefox
+Summary(pl.UTF-8): Nepalskie pliki językowe dla Firefoksa
+Group: I18n
+Requires: %{name} >= %{version}
+Provides: %{name}-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-ne
+Nepali resources for Firefox.
+
+%description lang-ne -l pl.UTF-8
+Nepalskie pliki językowe dla Firefoksa.
+
%package lang-nl
Summary: Dutch resources for Firefox
Summary(pl.UTF-8): Holenderskie pliki językowe dla Firefoksa
%description lang-nn -l pl.UTF-8
Norweskie (nynorsk) pliki językowe dla Firefoksa.
-%package lang-or
-Summary: Oriya resources for Firefox
-Summary(pl.UTF-8): Pliki językowe orija dla Firefoksa
+%package lang-oc
+Summary: Occitan resources for Firefox
+Summary(pl.UTF-8): Oksytańskie pliki językowe dla Firefoksa
Group: I18n
-Requires: firefox >= %{version}
-Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-or
-Obsoletes: mozilla-firefox-lang-or
+Requires: %{name} >= %{version}
+Provides: %{name}-lang-resources = %{version}
BuildArch: noarch
-%description lang-or
-Oriya resources for Firefox.
+%description lang-oc
+Occitan resources for Firefox.
-%description lang-or -l pl.UTF-8
-Pliki językowe orija dla Firefoksa.
+%description lang-oc -l pl.UTF-8
+Oksytańskie pliki językowe dla Firefoksa.
%package lang-pa
Summary: Panjabi resources for Firefox
%description lang-zu -l pl.UTF-8
Zuluskie pliki językowe dla Firefoksa.
+%package geckodriver
+Summary: WebDriver for Firefox
+Summary(pl.UTF-8): WebDriver dla Firefoksa
+Group: Applications
+Requires: firefox >= %{version}
+
+%description geckodriver
+WebDriver is an open source tool for automated testing of webapps
+across many browsers. It provides capabilities for navigating to web
+pages, user input, JavaScript execution, and more.
+
+%description geckodriver -l pl.UTF-8
+WebDriver to mające otwarte źródła narzędzia do automatycznego
+testowania aplikacji WWW w różnych przeglądarkach. Jego możliwości to
+m.in. nawigowanie po stronach WWW, wejście od użytkownika, wykonywanie
+JavaScriptu.
+
%prep
unpack() {
local args="$1" file="$2"
cp -p $file .
}
%define __unzip unpack
-%setup -q %(seq -f '-a %g' 100 193 | xargs)
-
-# avoid using included headers (-I. is before HUNSPELL_CFLAGS)
-%{__rm} extensions/spellcheck/hunspell/src/{*.hxx,hunspell.h}
-# hunspell needed for factory including mozHunspell.h
-echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Makefile.in
+%setup -q %(seq -f '-a %g' 100 192 | xargs)
-%patch0 -p2
-%patch2 -p2
%patch4 -p1
%patch5 -p1
%patch6 -p2
%patch7 -p1
%patch8 -p2
%patch9 -p1
-%patch10 -p2
-%patch11 -p1
-%patch12 -p1
-
-%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py
+%{?with_system_cairo:%patch10 -p1}
%if %{with pgo}
%{__sed} -i -e 's@__BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in
%if %{with clang}
export CC="clang"
export CXX="clang++"
+export LLVM_PROFDATA="llvm-profdata"
+export AR="llvm-ar"
+export NM="llvm-nm"
+export RANLIB="llvm-ranlib"
%else
export CC="%{__cc}"
export CXX="%{__cxx}"
%endif
+%ifarch %{ix86}
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -g0"
+export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64 -g0"
+export MOZ_DEBUG_FLAGS=" "
+export LLVM_USE_SPLIT_DWARF=1
+export LLVM_PARALLEL_LINK_JOBS=1
+export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+export RUSTFLAGS="-Cdebuginfo=0"
+%else
export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
+%endif
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
ac_add_options --enable-crash-on-assert
%else
ac_add_options --disable-debug
-ac_add_options --enable-optimize="%{rpmcflags}%{?with_pgo: -Os}"
%endif
ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --disable-updater
ac_add_options --enable-alsa
ac_add_options --enable-chrome-format=omni
-ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
+ac_add_options --enable-default-toolkit=cairo-gtk3
ac_add_options --enable-extensions=default
+%{?with_geckodriver:ac_add_options --enable-geckodriver}
+%{?with_gold:ac_add_options --enable-linker=gold}
+ac_add_options --disable-elf-hack
+%if %{with lto}
+ac_add_options --enable-lto
+%endif
+%{?with_clang:ac_add_options --enable-linker=lld}
ac_add_options --enable-readline
-ac_add_options --enable-safe-browsing
%{?with_shared_js:ac_add_options --enable-shared-js}
ac_add_options --enable-startup-notification
-ac_add_options --enable-system-cairo
+%{?with_system_cairo:ac_add_options --enable-system-cairo}
ac_add_options --enable-system-ffi
-ac_add_options --enable-system-hunspell
ac_add_options --enable-system-sqlite
-ac_add_options --enable-url-classifier
%{?with_official:ac_add_options --enable-official-branding}
-ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
ac_add_options --with-distribution-id=org.pld-linux
-ac_add_options --with-pthreads
ac_add_options --with-system-bz2
ac_add_options --with%{!?with_system_icu:out}-system-icu
ac_add_options --with-system-jpeg
ac_add_options --with-system-libevent
-ac_add_options --with-system-libvpx
+ac_add_options --with%{!?with_system_libvpx:out}-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
+ac_add_options --with-system-pixman
ac_add_options --with-system-png
+ac_add_options --with-system-webp
ac_add_options --with-system-zlib
-ac_add_options --with-x
# Workaround for mozbz#1341234
ac_add_options BINDGEN_CFLAGS="$(pkg-config nspr pixman-1 --cflags)"
EOF
+%{!?with_clang:export MOZ_MAKE_FLAGS="-j1"}
+export MOZ_SERVICES_SYNC="1"
%if %{with pgo}
D=$(( RANDOM % (200 - 100 + 1 ) + 5 ))
/usr/bin/Xvfb :${D} &
XVFB_PID=$!
[ -n "$XVFB_PID" ] || exit 1
export DISPLAY=:${D}
-%{__make} -j1 -f client.mk profiledbuild \
- AUTOCONF=/usr/bin/autoconf2_13 \
- DESTDIR=obj-%{_target_cpu}/dist \
- MOZ_MAKE_FLAGS="%{_smp_mflags}"
+MOZ_PGO=1 AUTOCONF=/usr/bin/autoconf2_13 ./mach build
kill $XVFB_PID
%else
-%{__make} -j1 -f client.mk build \
- AUTOCONF=/usr/bin/autoconf2_13 \
- MOZ_MAKE_FLAGS="%{_smp_mflags}"
+AUTOCONF=/usr/bin/autoconf2_13 ./mach build
%endif
%install
PKG_SKIP_STRIP=1
cp -aL ${OBJDIR}/dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
+%{?with_geckodriver:cp -aL ${OBJDIR}/dist/bin/geckodriver $RPM_BUILD_ROOT%{_bindir}/}
# move arch independant ones to datadir
%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome
-%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions
-%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions
%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults
%{__mv} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences}
ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome
ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults
ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions
-ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons
-
-%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/firefox
chmod 755 $RPM_BUILD_ROOT%{_bindir}/firefox
cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
%endif
-cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
-#!/bin/sh
-umask 022
-rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat
-
-# it attempts to touch files in $HOME/.mozilla
-# beware if you run this with sudo!!!
-export HOME=$(mktemp -d)
-# also TMPDIR could be pointing to sudo user's homedir
-unset TMPDIR TMP || :
-
-%{_libdir}/%{name}/firefox -register
-
-rm -rf $HOME
-EOF
-chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
-
# GeckoMediaPlugin API headers
install -d $RPM_BUILD_ROOT%{_includedir}
cp -pr dom/media/gmp/gmp-api $RPM_BUILD_ROOT%{_includedir}
rm -rf $RPM_BUILD_ROOT
%post
-%{_sbindir}/%{name}-chrome+xpcom-generate
%update_browser_plugins
%update_icon_cache hicolor
%update_desktop_database
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
%{_desktopdir}/firefox.desktop
%{_iconsdir}/hicolor/*/apps/firefox.png
%dir %{_datadir}/%{name}/browser/extensions
%{_datadir}/%{name}/browser/chrome
%{_datadir}/%{name}/browser/defaults
-%{_datadir}/%{name}/browser/icons
# symlinks
%{_libdir}/%{name}/browser/extensions
%{_libdir}/%{name}/browser/chrome
-%{_libdir}/%{name}/browser/icons
%{_libdir}/%{name}/browser/defaults
%attr(755,root,root) %{_libdir}/%{name}/firefox
%attr(755,root,root) %{_libdir}/%{name}/firefox-bin
%attr(755,root,root) %{_libdir}/%{name}/pingsender
-%attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
%{_libdir}/%{name}/application.ini
%{_libdir}/%{name}/chrome.manifest
%{_libdir}/%{name}/browser/blocklist.xml
%{_libdir}/%{name}/browser/chrome.manifest
-# the signature of the default theme
-%{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
%{_libdir}/%{name}/browser/omni.ja
-%{_libdir}/%{name}/browser/features/activity-stream@mozilla.org.xpi
-%{_libdir}/%{name}/browser/features/aushelper@mozilla.org.xpi
-%{_libdir}/%{name}/browser/features/clicktoplay-rollout@mozilla.org.xpi
-%{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi
-%{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi
-%{_libdir}/%{name}/browser/features/followonsearch@mozilla.com.xpi
%{_libdir}/%{name}/browser/features/formautofill@mozilla.org.xpi
-%{_libdir}/%{name}/browser/features/onboarding@mozilla.org.xpi
%{_libdir}/%{name}/browser/features/screenshots@mozilla.org.xpi
-%{_libdir}/%{name}/browser/features/shield-recipe-client@mozilla.org.xpi
%{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi
+%{_libdir}/%{name}/browser/features/webcompat-reporter@mozilla.org.xpi
%attr(755,root,root) %{_libdir}/%{name}/plugin-container
-%{_libdir}/%{name}/dictionaries
%dir %{_libdir}/%{name}/fonts
-%{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf
+%{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
%dir %{_libdir}/%{name}/gmp-clearkey
%dir %{_libdir}/%{name}/gmp-clearkey/0.1
%attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
%attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
%attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
+%attr(755,root,root) %{_libdir}/%{name}/libmozwayland.so
%{_libdir}/%{name}/dependentlibs.list
%{_libdir}/%{name}/omni.ja
-%if %{with gtk3}
%dir %{_libdir}/%{name}/gtk2
%attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
%attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
-%endif
%files -n gmp-api
%defattr(644,root,root,755)
%{_includedir}/gmp-api
-%files -n firefox-lang-ach
+%files lang-ach
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ach@firefox.mozilla.org.xpi
-%files -n firefox-lang-af
+%files lang-af
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-af@firefox.mozilla.org.xpi
-%files -n firefox-lang-an
+%files lang-an
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-an@firefox.mozilla.org.xpi
-%files -n firefox-lang-ar
+%files lang-ar
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ar@firefox.mozilla.org.xpi
-%files -n firefox-lang-as
-%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-as@firefox.mozilla.org.xpi
-
-%files -n firefox-lang-ast
+%files lang-ast
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ast@firefox.mozilla.org.xpi
-%files -n firefox-lang-az
+%files lang-az
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-az@firefox.mozilla.org.xpi
-%files -n firefox-lang-bg
+%files lang-be
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-bg@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-be@firefox.mozilla.org.xpi
-%files -n firefox-lang-bn
+%files lang-bg
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-bn-BD@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-bg@firefox.mozilla.org.xpi
-%files -n firefox-lang-bn_IN
+%files lang-bn
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-bn-IN@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-bn@firefox.mozilla.org.xpi
-%files -n firefox-lang-br
+%files lang-br
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-br@firefox.mozilla.org.xpi
-%files -n firefox-lang-bs
+%files lang-bs
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-bs@firefox.mozilla.org.xpi
-%files -n firefox-lang-ca
+%files lang-ca
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ca@firefox.mozilla.org.xpi
-%files -n firefox-lang-cak
+%files lang-cak
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-cak@firefox.mozilla.org.xpi
-%files -n firefox-lang-cs
+%files lang-cs
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-cs@firefox.mozilla.org.xpi
-#%files -n firefox-lang-csb
+#%files lang-csb
#%defattr(644,root,root,755)
#%{_datadir}/%{name}/browser/extensions/langpack-csb@firefox.mozilla.org.xpi
-%files -n firefox-lang-cy
+%files lang-cy
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-cy@firefox.mozilla.org.xpi
-%files -n firefox-lang-da
+%files lang-da
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-da@firefox.mozilla.org.xpi
-%files -n firefox-lang-de
+%files lang-de
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-de@firefox.mozilla.org.xpi
-%files -n firefox-lang-dsb
+%files lang-dsb
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-dsb@firefox.mozilla.org.xpi
-%files -n firefox-lang-el
+%files lang-el
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-el@firefox.mozilla.org.xpi
-%files -n firefox-lang-en_GB
+%files lang-en_CA
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-en-CA@firefox.mozilla.org.xpi
-%files -n firefox-lang-en_US
+%files lang-en_GB
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
-%files -n firefox-lang-en_ZA
+%files lang-en_US
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi
-%files -n firefox-lang-eo
+%files lang-eo
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-eo@firefox.mozilla.org.xpi
-%files -n firefox-lang-es_AR
+%files lang-es_AR
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-es-AR@firefox.mozilla.org.xpi
-%files -n firefox-lang-es_CL
+%files lang-es_CL
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-es-CL@firefox.mozilla.org.xpi
-%files -n firefox-lang-es
+%files lang-es
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-es-ES@firefox.mozilla.org.xpi
-%files -n firefox-lang-es_MX
+%files lang-es_MX
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-es-MX@firefox.mozilla.org.xpi
-%files -n firefox-lang-et
+%files lang-et
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-et@firefox.mozilla.org.xpi
-%files -n firefox-lang-eu
+%files lang-eu
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-eu@firefox.mozilla.org.xpi
-%files -n firefox-lang-fa
+%files lang-fa
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-fa@firefox.mozilla.org.xpi
-%files -n firefox-lang-ff
+%files lang-ff
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ff@firefox.mozilla.org.xpi
-%files -n firefox-lang-fi
+%files lang-fi
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-fi@firefox.mozilla.org.xpi
-%files -n firefox-lang-fr
+%files lang-fr
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-fr@firefox.mozilla.org.xpi
-%files -n firefox-lang-fy
+%files lang-fy
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-fy-NL@firefox.mozilla.org.xpi
-%files -n firefox-lang-ga
+%files lang-ga
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ga-IE@firefox.mozilla.org.xpi
-%files -n firefox-lang-gd
+%files lang-gd
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-gd@firefox.mozilla.org.xpi
-%files -n firefox-lang-gl
+%files lang-gl
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-gl@firefox.mozilla.org.xpi
-%files -n firefox-lang-gn
+%files lang-gn
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-gn@firefox.mozilla.org.xpi
-%files -n firefox-lang-gu
+%files lang-gu
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-gu-IN@firefox.mozilla.org.xpi
-%files -n firefox-lang-he
+%files lang-he
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-he@firefox.mozilla.org.xpi
-%files -n firefox-lang-hi
+%files lang-hi
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-hi-IN@firefox.mozilla.org.xpi
-%files -n firefox-lang-hr
+%files lang-hr
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-hr@firefox.mozilla.org.xpi
-%files -n firefox-lang-hsb
+%files lang-hsb
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-hsb@firefox.mozilla.org.xpi
-%files -n firefox-lang-hu
+%files lang-hu
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-hu@firefox.mozilla.org.xpi
-%files -n firefox-lang-hy
+%files lang-hy
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-hy-AM@firefox.mozilla.org.xpi
-%files -n firefox-lang-id
+%files lang-ia
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-ia@firefox.mozilla.org.xpi
+
+%files lang-id
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-id@firefox.mozilla.org.xpi
-%files -n firefox-lang-is
+%files lang-is
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-is@firefox.mozilla.org.xpi
-%files -n firefox-lang-it
+%files lang-it
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-it@firefox.mozilla.org.xpi
-%files -n firefox-lang-ja
+%files lang-ja
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ja@firefox.mozilla.org.xpi
-%files -n firefox-lang-ka
+%files lang-ka
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ka@firefox.mozilla.org.xpi
-%files -n firefox-lang-kab
+%files lang-kab
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-kab@firefox.mozilla.org.xpi
-%files -n firefox-lang-kk
+%files lang-kk
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-kk@firefox.mozilla.org.xpi
-%files -n firefox-lang-km
+%files lang-km
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-km@firefox.mozilla.org.xpi
-%files -n firefox-lang-kn
+%files lang-kn
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-kn@firefox.mozilla.org.xpi
-%files -n firefox-lang-ko
+%files lang-ko
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ko@firefox.mozilla.org.xpi
-#%files -n firefox-lang-ku
+#%files lang-ku
#%defattr(644,root,root,755)
#%{_datadir}/%{name}/browser/extensions/langpack-ku@firefox.mozilla.org.xpi
-%files -n firefox-lang-lij
+%files lang-lij
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-lij@firefox.mozilla.org.xpi
-%files -n firefox-lang-lt
+%files lang-lt
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-lt@firefox.mozilla.org.xpi
-%files -n firefox-lang-lv
+%files lang-lv
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-lv@firefox.mozilla.org.xpi
-%files -n firefox-lang-mai
-%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-mai@firefox.mozilla.org.xpi
-
-%files -n firefox-lang-mk
+%files lang-mk
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-mk@firefox.mozilla.org.xpi
-%files -n firefox-lang-ml
-%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-ml@firefox.mozilla.org.xpi
-
-%files -n firefox-lang-mr
+%files lang-mr
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-mr@firefox.mozilla.org.xpi
-%files -n firefox-lang-ms
+%files lang-ms
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ms@firefox.mozilla.org.xpi
-%files -n firefox-lang-my
+%files lang-my
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-my@firefox.mozilla.org.xpi
-%files -n firefox-lang-nb
+%files lang-nb
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-nb-NO@firefox.mozilla.org.xpi
-%files -n firefox-lang-nl
+%files lang-ne
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-ne-NP@firefox.mozilla.org.xpi
+
+%files lang-nl
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-nl@firefox.mozilla.org.xpi
-%files -n firefox-lang-nn
+%files lang-nn
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-nn-NO@firefox.mozilla.org.xpi
-%files -n firefox-lang-or
+%files lang-oc
%defattr(644,root,root,755)
-%{_datadir}/%{name}/browser/extensions/langpack-or@firefox.mozilla.org.xpi
+%{_datadir}/%{name}/browser/extensions/langpack-oc@firefox.mozilla.org.xpi
-%files -n firefox-lang-pa
+%files lang-pa
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-pa-IN@firefox.mozilla.org.xpi
-%files -n firefox-lang-pl
+%files lang-pl
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-pl@firefox.mozilla.org.xpi
-%files -n firefox-lang-pt_BR
+%files lang-pt_BR
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-pt-BR@firefox.mozilla.org.xpi
-%files -n firefox-lang-pt
+%files lang-pt
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-pt-PT@firefox.mozilla.org.xpi
-%files -n firefox-lang-rm
+%files lang-rm
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-rm@firefox.mozilla.org.xpi
-%files -n firefox-lang-ro
+%files lang-ro
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ro@firefox.mozilla.org.xpi
-%files -n firefox-lang-ru
+%files lang-ru
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ru@firefox.mozilla.org.xpi
-%files -n firefox-lang-si
+%files lang-si
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-si@firefox.mozilla.org.xpi
-%files -n firefox-lang-sk
+%files lang-sk
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-sk@firefox.mozilla.org.xpi
-%files -n firefox-lang-sl
+%files lang-sl
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-sl@firefox.mozilla.org.xpi
-%files -n firefox-lang-son
+%files lang-son
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-son@firefox.mozilla.org.xpi
-%files -n firefox-lang-sq
+%files lang-sq
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-sq@firefox.mozilla.org.xpi
-%files -n firefox-lang-sr
+%files lang-sr
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-sr@firefox.mozilla.org.xpi
-%files -n firefox-lang-sv
+%files lang-sv
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-sv-SE@firefox.mozilla.org.xpi
-%files -n firefox-lang-ta
+%files lang-ta
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ta@firefox.mozilla.org.xpi
-%files -n firefox-lang-te
+%files lang-te
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-te@firefox.mozilla.org.xpi
-%files -n firefox-lang-th
+%files lang-th
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-th@firefox.mozilla.org.xpi
-%files -n firefox-lang-tr
+%files lang-tr
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-tr@firefox.mozilla.org.xpi
-%files -n firefox-lang-uk
+%files lang-uk
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-uk@firefox.mozilla.org.xpi
-%files -n firefox-lang-ur
+%files lang-ur
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-ur@firefox.mozilla.org.xpi
-%files -n firefox-lang-uz
+%files lang-uz
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-uz@firefox.mozilla.org.xpi
-%files -n firefox-lang-vi
+%files lang-vi
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-vi@firefox.mozilla.org.xpi
-%files -n firefox-lang-xh
+%files lang-xh
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-xh@firefox.mozilla.org.xpi
-%files -n firefox-lang-zh_CN
+%files lang-zh_CN
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-zh-CN@firefox.mozilla.org.xpi
-%files -n firefox-lang-zh_TW
+%files lang-zh_TW
%defattr(644,root,root,755)
%{_datadir}/%{name}/browser/extensions/langpack-zh-TW@firefox.mozilla.org.xpi
-#%files -n firefox-lang-zu
+#%files lang-zu
#%defattr(644,root,root,755)
#%{_datadir}/%{name}/browser/extensions/langpack-zu@firefox.mozilla.org.xpi
+
+%if %{with geckodriver}
+%files geckodriver
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/geckodriver
+%endif