#
# 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.14
-%define nss_ver 3.30.2
+%define nspr_ver 4.24
+%define nss_ver 3.48
Summary: Firefox web browser
Summary(hu.UTF-8): Firefox web böngésző
Summary(pl.UTF-8): Firefox - przeglądarka WWW
Name: firefox
-Version: 55.0.3
+Version: 72.0.2
Release: 2
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: bc55a68fdd6770215cfa7a49fe7e3c98
+Source0: http://releases.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
+# Source0-md5: ec45ff9b483e23ce2477185d018a2250
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: 986868fca8707d7e9b99826cf5f3b944
+# Source100-md5: f3d368b5cac4e6308fd9c113ccc318a4
Source101: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/af.xpi
-# Source101-md5: 5fa53cd0a178690b88471260e9b393c4
+# Source101-md5: a24c7c2c529eaf282a29a03d49951d5d
Source102: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/an.xpi
-# Source102-md5: 57dfc57b5492a520464822fe743d558c
+# Source102-md5: 6b7b4fe0f19f0f76def26827f64709fa
Source103: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ar.xpi
-# Source103-md5: 522b342f2046460453f0eb655c63df89
-Source104: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/as.xpi
-# Source104-md5: 48cb8d8fac1675699be7a386290a1d0d
-Source105: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ast.xpi
-# Source105-md5: 007db115930491f1ff96a27b11ed2629
-Source106: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/az.xpi
-# Source106-md5: 1cdbdcecee014bd496eee01ce0ce16a6
+# Source103-md5: dbc48fe9aa3641eee0b881f67151dcfe
+Source104: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ast.xpi
+# Source104-md5: e120de1b3c140943debf5626b994910a
+Source105: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/az.xpi
+# Source105-md5: 4565e19d628fa195f82f5b260640925d
+Source106: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/be.xpi
+# Source106-md5: 62a83da1a4bdaeebfaf1a8a3fcf2bc8f
Source107: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bg.xpi
-# Source107-md5: 39e4418f6f6b7c28b0fc80aab7ed6d4c
-Source108: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn-BD.xpi
-# Source108-md5: 89e36fc415f7bbf923493f4bc136bd1a
-Source109: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn-IN.xpi
-# Source109-md5: 3ac8739980648b3d0d6cc4fccd27b1b4
-Source110: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/br.xpi
-# Source110-md5: f8f12e8fb3f67385f7beb61b26112e43
-Source111: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bs.xpi
-# Source111-md5: a0f58ca20e2b432876ed71e17b80afb6
-Source112: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ca.xpi
-# Source112-md5: aa4368cef0da29a48b4cc957804ec0f1
-Source113: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cak.xpi
-# Source113-md5: 4a55ef2cd9d4bcc2fa34a429bc03dac4
-Source114: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cs.xpi
-# Source114-md5: 7b7f9f784a90fbaf55f3b943323872d9
-Source115: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cy.xpi
-# Source115-md5: 4f45d5779490b74b524eb90100cb151b
-Source116: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/da.xpi
-# Source116-md5: fdef8d886c4ccb21b242894cdea25f06
-Source117: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/de.xpi
-# Source117-md5: ce838a90d18cf1cd4b7b7fe67fe83c4f
-Source118: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/dsb.xpi
-# Source118-md5: 5707b7849f966c21ec78fb1e112b1f6f
-Source119: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/el.xpi
-# Source119-md5: d32089aa3070c39b707dadb30facf6e2
+# Source107-md5: 74a311b7b0bd776157c4656c09633a51
+Source108: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn.xpi
+# Source108-md5: a86e6019bb762f763a8d9061ebdccb0f
+Source109: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/br.xpi
+# Source109-md5: a8e20be8f42fbd0e8ef0031826f85f45
+Source110: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bs.xpi
+# Source110-md5: b26ab2ead18344f2c1cd7437715a8aa2
+Source111: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ca.xpi
+# Source111-md5: 543244dd7844cb5fd9b20e37af927a05
+Source112: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cak.xpi
+# Source112-md5: b22ca6474f4974638a4ef2004a04a77a
+Source113: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cs.xpi
+# Source113-md5: da1274a4d9db811a5c09b0a35e2396d3
+Source114: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cy.xpi
+# Source114-md5: 4746f9cec6b8f6b681706b1328b6f054
+Source115: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/da.xpi
+# Source115-md5: 852dd26c132d18d59cbff98da235ff80
+Source116: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/de.xpi
+# Source116-md5: 38907daa82b84233c6854eda3d4d95c4
+Source117: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/dsb.xpi
+# Source117-md5: f6d95fae92a89f82e3bf1327f034cc9c
+Source118: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/el.xpi
+# Source118-md5: 6d77d1d84b13a87eebe061c05b37c770
+Source119: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-CA.xpi
+# Source119-md5: 5edbfd82ef032a5a525f5983afb09305
Source120: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source120-md5: af9a283274f094df07163fe71049d763
+# Source120-md5: 2d91d275660bc1ef7d36b22a642fb6ad
Source121: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-US.xpi
-# Source121-md5: c117a20f3577175a79cbce0ea6db04ce
-Source122: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-ZA.xpi
-# Source122-md5: 657c2941f85048e3328c3e921f1e89f2
-Source123: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eo.xpi
-# Source123-md5: 9d6e5926b2c52a45e623e911849b0031
-Source124: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-AR.xpi
-# Source124-md5: 9ad4a13e505eaf0dfc1ef2c370e09f98
-Source125: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-CL.xpi
-# Source125-md5: bb852c4eaae5e01661854fc601a05646
-Source126: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-ES.xpi
-# Source126-md5: d181994de7abf194963a1dc7e4fd4cb6
-Source127: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-MX.xpi
-# Source127-md5: 35d6ca836417fd82edf037a0de17cf39
-Source128: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/et.xpi
-# Source128-md5: f31c9c25ee837df75e0fe596a90b4713
-Source129: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eu.xpi
-# Source129-md5: fbb960b3660869c7cc3578564b821ec8
-Source130: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fa.xpi
-# Source130-md5: 821c9c97871c9d5794d819b15d0af6d2
-Source131: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ff.xpi
-# Source131-md5: ac2f58707c8c5205e624aac11839eba6
-Source132: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fi.xpi
-# Source132-md5: 0c258ff60680c6c1c4f02b34860ad8ee
-Source133: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fr.xpi
-# Source133-md5: 8813ae541e58f3fc28b303db86d027a7
-Source134: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fy-NL.xpi
-# Source134-md5: ab77e8549579830b33cb67fed18373a0
-Source135: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ga-IE.xpi
-# Source135-md5: c279169f3ea1a6010100f2d3dde68cf9
-Source136: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gd.xpi
-# Source136-md5: 41b60b855d8e17dfaaf770562e27c379
-Source137: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gl.xpi
-# Source137-md5: f84b70a67b5460fcde8302894c6a4512
-Source138: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gn.xpi
-# Source138-md5: 736893fbeef19eb68afeddb43de70173
-Source139: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gu-IN.xpi
-# Source139-md5: f3d2bd143d640be5aa37dd4dd99d80ff
-Source140: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/he.xpi
-# Source140-md5: 08c062fffdfd2dfcf55ea0bce33a31fd
-Source141: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hi-IN.xpi
-# Source141-md5: e07f7d83f00c3f0f1388c81d25c3c279
-Source142: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hr.xpi
-# Source142-md5: 7fad22d129772df7a3947f023b753de2
-Source143: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hsb.xpi
-# Source143-md5: aee3a12300155b5977b04052aabebce8
-Source144: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hu.xpi
-# Source144-md5: 2693b40bd4dc012d8abdc93944fbbae9
-Source145: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hy-AM.xpi
-# Source145-md5: 06dc83a17760b3198e266342de46263c
+# Source121-md5: 306cef0283b1f90d8a854b40b5e528a7
+Source122: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eo.xpi
+# Source122-md5: 0d39fc11ef4ab497a93e95e4bc7aafa7
+Source123: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-AR.xpi
+# Source123-md5: df53d3a1247425b37d098acf19f0aeca
+Source124: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-CL.xpi
+# Source124-md5: 28c7853bdf4071ac83ccb5bc8ce2e78e
+Source125: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-ES.xpi
+# Source125-md5: 9c5792ede9f0307e94a7be60f11da10a
+Source126: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-MX.xpi
+# Source126-md5: be69c7c614df11a2e2a4513ed57226fb
+Source127: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/et.xpi
+# Source127-md5: 28d7ec97a031dbae8dc2fdfab454c13f
+Source128: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eu.xpi
+# Source128-md5: ff0eb02cfe14fecd4158a5434017c776
+Source129: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fa.xpi
+# Source129-md5: 18678e98651a2f377806c585e5f352c7
+Source130: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ff.xpi
+# Source130-md5: 38c541068dc0339eebf46ce3d3629f7c
+Source131: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fi.xpi
+# Source131-md5: fcb8bea0b00516f343e953d9e8888793
+Source132: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fr.xpi
+# Source132-md5: bb4d6ae3a02baf6d9194c2ebd2c89067
+Source133: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fy-NL.xpi
+# Source133-md5: ceee18208f6518ffac16d92ac93ac9e1
+Source134: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ga-IE.xpi
+# Source134-md5: c4bce896e177ae240eaa7f619f2dd5d3
+Source135: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gd.xpi
+# Source135-md5: fb952dfe5358e6d4b193e63f06f1afc6
+Source136: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gl.xpi
+# Source136-md5: 86ad5414b2e7395ed9fb737650debf80
+Source137: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gn.xpi
+# Source137-md5: c328d874b203259dcb096610e8863945
+Source138: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gu-IN.xpi
+# Source138-md5: 8f37b79cb8798dd5966e68f3d0e0880c
+Source139: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/he.xpi
+# Source139-md5: b2750245411476863f28f903c60526d8
+Source140: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hi-IN.xpi
+# Source140-md5: 17452d9c5c843379996e4539586f664d
+Source141: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hr.xpi
+# Source141-md5: dad9d039ea38fabe28fe421c052f89df
+Source142: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hsb.xpi
+# Source142-md5: 7e2f1b9ca2c8d4e4595e5be939c14ab8
+Source143: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hu.xpi
+# Source143-md5: b6e6f02f6dcc0a3bbcedec0fec83f3fa
+Source144: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hy-AM.xpi
+# Source144-md5: b18a5c9205fe585d04e0b089ad770e73
+Source145: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ia.xpi
+# Source145-md5: 23b78a002dce6f09a920507a5ca1f097
Source146: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/id.xpi
-# Source146-md5: e299a8d9ca29a917f347423884f75d0f
+# Source146-md5: e879222d8d453aabde1165988c1215a2
Source147: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/is.xpi
-# Source147-md5: 9b5cdad244ad7db31a279c0f2eb114bf
+# Source147-md5: 8970a121050cb9fdaeec5da503016581
Source148: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/it.xpi
-# Source148-md5: e05611b60350fbf1f1a78b356dc1e24e
+# Source148-md5: cba4b86a06d8d30123f1658931335c45
Source149: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source149-md5: c0ac826b2aac68844987c86f56513c74
+# Source149-md5: 05f3562e3be0abc226f532399cb4ac8c
Source150: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ka.xpi
-# Source150-md5: f286804ff9fb94d5acf830a3868b1ede
+# Source150-md5: 931da618a8f0100f7839d7e0f45134bc
Source151: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source151-md5: dd2416d5b887db918361c873c56357fb
+# Source151-md5: 3025e6e3c536877403c072b26006e311
Source152: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source152-md5: 0bf5eb9abd0046229479ec6fad7f82f5
+# Source152-md5: 28c242624516f29e19ff15180c7325b2
Source153: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/km.xpi
-# Source153-md5: 3bc610fc4bd458b7b6bbb13a41fa672f
+# Source153-md5: 5053fc0574492ad78308e378fda79a74
Source154: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kn.xpi
-# Source154-md5: 6349d6d4194666b9e88ec60eeb57f512
+# Source154-md5: a5701847b300a4a33d8fb56a0951ab81
Source155: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source155-md5: 7bbb872761c000365fc30d23fbaf5c90
+# Source155-md5: e46ec4183de4b963504d6dcac0783244
Source156: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lij.xpi
-# Source156-md5: 3da280d21a75c52a761e736cde906852
+# Source156-md5: 0ba588a6c36c0f707ae479d43a0ec7fc
Source157: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source157-md5: 6f22522364b9a69caa11030de93a4860
+# Source157-md5: c78dbc7188afc7d2cba8627b859f8a43
Source158: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lv.xpi
-# Source158-md5: e2e2d5ab3dcdd10064674c5629722364
-Source159: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mai.xpi
-# Source159-md5: 79a5c88d19d58b1f381dbf8f7e105787
-Source160: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mk.xpi
-# Source160-md5: 8a197e9327f5f675cd1dda16e875f53d
-Source161: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ml.xpi
-# Source161-md5: e6333b30bc93b718a9acb0469097fffa
-Source162: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mr.xpi
-# Source162-md5: 8d7b4966d20079464c8a039367243f83
-Source163: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ms.xpi
-# Source163-md5: 3422fa3fddb24dead137566b7478e952
-Source164: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/my.xpi
-# Source164-md5: 02164c43859194ed51cbbc4c3ea6fbce
-Source165: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nb-NO.xpi
-# Source165-md5: 6105a75013409bde59f9bfadcf854be7
-Source166: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nl.xpi
-# Source166-md5: 1ba10ff071ea9a626fd4a71e2a09574d
-Source167: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nn-NO.xpi
-# Source167-md5: 6a6ed350758b3b81f04e29cd936940d3
-Source168: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/or.xpi
-# Source168-md5: b037c9f509c7b8f240940cec6129ad92
-Source169: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pa-IN.xpi
-# Source169-md5: f3945a96dc0e1e9d619c80a6e31eb436
-Source170: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source170-md5: 86968550ffee4a1fcc72c61dba4e30c1
-Source171: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-BR.xpi
-# Source171-md5: 30815546fef941ac0b1742c927858581
-Source172: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-PT.xpi
-# Source172-md5: 7066069a2452722dacf3fc39be8d1a03
-Source173: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/rm.xpi
-# Source173-md5: f4bba5a74a1b7d5eb312329d9991904d
-Source174: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ro.xpi
-# Source174-md5: ff03059b77bab1ec300285be98e1d3fa
-Source175: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ru.xpi
-# Source175-md5: 785e46d4c30cb8b36b81f72305d89578
-Source176: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/si.xpi
-# Source176-md5: ed544d5bc1f3f3bd6175e8f0f6c7d8f4
-Source177: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sk.xpi
-# Source177-md5: fef83681b885c743110e6127c72f8e0a
-Source178: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sl.xpi
-# Source178-md5: a25876532503275a2605f3362c95c520
-Source179: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/son.xpi
-# Source179-md5: 7af453e36e5e9a1f01bdfc85e4e1bfee
-Source180: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sq.xpi
-# Source180-md5: 685f3d63c968f35520e2b35e83162f16
-Source181: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sr.xpi
-# Source181-md5: 8fb6778dc3e81f508e9f73163c873a77
-Source182: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sv-SE.xpi
-# Source182-md5: 541ef0fae07520dd56e17f69effc79a2
-Source183: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ta.xpi
-# Source183-md5: a0c51802cfcbe94c9abe4d05294b7c4e
-Source184: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/te.xpi
-# Source184-md5: 6ef4a387af4ae782747a4064dcde2443
-Source185: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/th.xpi
-# Source185-md5: eb0b1e292b98c343dc5157cac119b5f9
-Source186: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/tr.xpi
-# Source186-md5: 499b4d745c91270d21cb9bf494520ca7
-Source187: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uk.xpi
-# Source187-md5: 53b4abb8b78d53b97fc3a556951f39b0
-Source188: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ur.xpi
-# Source188-md5: a67fd71d57b5bb8731910bca5328c55c
-Source189: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uz.xpi
-# Source189-md5: 6a2648ef8501b2c9df7272822058abb7
-Source190: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/vi.xpi
-# Source190-md5: 2c90b86e16e656f6b0f4f6f05fe95735
-Source191: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/xh.xpi
-# Source191-md5: bfd05f246dc509299e07b30d590c57e8
-Source192: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-CN.xpi
-# Source192-md5: c238e4977db59b1e29bd322fd730eda8
-Source193: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
-# Source193-md5: cf2035053c7681985515bd7985d20137
-Patch0: idl-parser.patch
-Patch2: xulrunner-paths.patch
+# Source158-md5: 23a3d82dd667579348cf9fbd9125a0fd
+Source159: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mk.xpi
+# Source159-md5: 8eb8213b2272512874b6fa8c192ded40
+Source160: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mr.xpi
+# Source160-md5: 125064ac37630901ff460b051c2722a3
+Source161: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ms.xpi
+# Source161-md5: abb554dd072dc8e24b22d950ac449b43
+Source162: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/my.xpi
+# Source162-md5: 33d996f0d34160e1a5138d88c3e6d5ab
+Source163: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nb-NO.xpi
+# Source163-md5: 36ab25dc3e48e20f04cb2bcc89d137e1
+Source164: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ne-NP.xpi
+# Source164-md5: f211bc56a4816bdc88f8a24a1d132ee5
+Source165: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nl.xpi
+# Source165-md5: a188c47a1bc0b860464fa1223c1c04fa
+Source166: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nn-NO.xpi
+# Source166-md5: e88a4958065866062dbc3de4a12b03f7
+Source167: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/oc.xpi
+# Source167-md5: 5782f6d1bd66d0d4280c8bd4a1929cea
+Source168: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pa-IN.xpi
+# Source168-md5: d585b7eac80f24fd2bf9a4a4e0477aab
+Source169: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
+# Source169-md5: bf3dd9b174e47a7d05d23b0ebb5a021e
+Source170: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-BR.xpi
+# Source170-md5: f7ba2309e08a5fa1ba704ce73ab6ece4
+Source171: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-PT.xpi
+# Source171-md5: a86980ef02be08037597ad5aa2d4090a
+Source172: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/rm.xpi
+# Source172-md5: 92b4762e814ef0e6363002cac07ab720
+Source173: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ro.xpi
+# Source173-md5: a9363839aba287d30e836fcbebb02fa6
+Source174: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ru.xpi
+# Source174-md5: e5a61801d3dbb069ea3bfa349e96c81b
+Source175: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/si.xpi
+# Source175-md5: 79a2c2a5a5f0032a87b0ad4c9d20d9a2
+Source176: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sk.xpi
+# Source176-md5: 85d8b2b0dd12b376e86b17d1e3b5e7af
+Source177: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sl.xpi
+# Source177-md5: c5f3af9a73eb4994962a394f211b63a3
+Source178: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/son.xpi
+# Source178-md5: 4ab0cfe76d48b3bd2dd433a6557857db
+Source179: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sq.xpi
+# Source179-md5: f5f3d184182d220bff47a28c01fba3fd
+Source180: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sr.xpi
+# Source180-md5: a9209d389663f5ad8ed6b6cc72026cdd
+Source181: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sv-SE.xpi
+# Source181-md5: 262f6bc79b468f45b78aacea09c84646
+Source182: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ta.xpi
+# Source182-md5: ff5488bb5c2964872a80996eae71491e
+Source183: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/te.xpi
+# Source183-md5: 5c7f3ad1599f8fe0289df1264b131783
+Source184: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/th.xpi
+# Source184-md5: 58fc56e34b30929cd37047eea86408c5
+Source185: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/tr.xpi
+# Source185-md5: c756024c114256984ac5e2512dc2777e
+Source186: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uk.xpi
+# Source186-md5: 091fc8c561c9ad2a003e3fe75248ce07
+Source187: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ur.xpi
+# Source187-md5: 75f2c632aea617469723daa592f4a59a
+Source188: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uz.xpi
+# Source188-md5: 5a137a715efa945e3fff2387cac01168
+Source189: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/vi.xpi
+# Source189-md5: 8f7f383668ee6f81d338401b2667f542
+Source190: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/xh.xpi
+# Source190-md5: 6f8ac804c7df75a5b3ee98ff98847168
+Source191: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-CN.xpi
+# Source191-md5: 0f4c323c398625e280c5bfa9932b5955
+Source192: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
+# Source192-md5: 8cb424375f6a0a86c4500ea9220767dc
+
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
+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.28
+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.30.1
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.28
+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
-
-%{__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/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/doh-rollout@mozilla.org.xpi
+%{_libdir}/%{name}/browser/features/formautofill@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