#
# 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_with gps # GPS support via gpsd
%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_without system_libvpx # build with system libvpx
%bcond_without clang # build using Clang/LLVM
+%bcond_with lowmem # lower memory requirements
+%bcond_with rust_simd # enable SIMD in Rust code
+
+%if %{with lto}
+%define with_clang 1
+%undefine with_gold
+%endif
+
+%ifarch %{ix86} %{arm} aarch64
+%define with_lowmem 1
+%endif
# On updating version, grab CVE links from:
# https://www.mozilla.org/security/known-vulnerabilities/firefox.html
rm -vf *.xpi
../builder -g firefox-languages.spec
V=53.0
-U=http://releases.mozilla.org/pub/firefox/releases/$V/linux-i686/
+U=https://releases.mozilla.org/pub/firefox/releases/$V/linux-i686/
curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
%endif
-# 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.32
+%define nss_ver 3.69
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
-Release: 2
+Version: 92.0.1
+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: bc55a68fdd6770215cfa7a49fe7e3c98
+Source0: https://releases.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
+# Source0-md5: 96df8f8520517c22896689b0acf766d6
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
-Source101: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/af.xpi
-# Source101-md5: 5fa53cd0a178690b88471260e9b393c4
-Source102: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/an.xpi
-# Source102-md5: 57dfc57b5492a520464822fe743d558c
-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
-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
-Source120: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source120-md5: af9a283274f094df07163fe71049d763
-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
-Source146: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/id.xpi
-# Source146-md5: e299a8d9ca29a917f347423884f75d0f
-Source147: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/is.xpi
-# Source147-md5: 9b5cdad244ad7db31a279c0f2eb114bf
-Source148: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/it.xpi
-# Source148-md5: e05611b60350fbf1f1a78b356dc1e24e
-Source149: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source149-md5: c0ac826b2aac68844987c86f56513c74
-Source150: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ka.xpi
-# Source150-md5: f286804ff9fb94d5acf830a3868b1ede
-Source151: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source151-md5: dd2416d5b887db918361c873c56357fb
-Source152: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source152-md5: 0bf5eb9abd0046229479ec6fad7f82f5
-Source153: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/km.xpi
-# Source153-md5: 3bc610fc4bd458b7b6bbb13a41fa672f
-Source154: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kn.xpi
-# Source154-md5: 6349d6d4194666b9e88ec60eeb57f512
-Source155: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source155-md5: 7bbb872761c000365fc30d23fbaf5c90
-Source156: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lij.xpi
-# Source156-md5: 3da280d21a75c52a761e736cde906852
-Source157: http://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source157-md5: 6f22522364b9a69caa11030de93a4860
-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
+Source100: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ach.xpi
+# Source100-md5: 589f7f7d57082abb82963ba1048ad072
+Source101: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/af.xpi
+# Source101-md5: dfed339fac6de85de531f9682ee44a3f
+Source102: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/an.xpi
+# Source102-md5: ea3e815cd94231774f821cb1fd67ecb6
+Source103: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ar.xpi
+# Source103-md5: 1278b88cfcaa7a2027e4ef7efcdbe1b0
+Source104: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ast.xpi
+# Source104-md5: 2419bdb753518787b02fa199a691eba2
+Source105: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/az.xpi
+# Source105-md5: 5d7c757842d4f95c2e4262b91d67b0e1
+Source106: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/be.xpi
+# Source106-md5: 1a553c9643e17ddbc25938af673e479e
+Source107: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bg.xpi
+# Source107-md5: 4ede4ce4453c69d5d52b9318cbf4b285
+Source108: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bn.xpi
+# Source108-md5: 95dab59ad53af6d3375ca605fc3e9882
+Source109: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/br.xpi
+# Source109-md5: 387f4842f959aaa76863542af335eda4
+Source110: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/bs.xpi
+# Source110-md5: c22d0b5e38a1773a031cc24f1b251d48
+Source111: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ca.xpi
+# Source111-md5: 729cb08e6304920c98764cce95b23a39
+Source112: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ca-valencia.xpi
+# Source112-md5: fe54c3bd0bae6975179108d491ef0429
+Source113: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cak.xpi
+# Source113-md5: eebda364e41ebd7b60b7e97876eb3299
+Source114: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cs.xpi
+# Source114-md5: 7d0d2eab8091a00c05aa0f478aaadac5
+Source115: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/cy.xpi
+# Source115-md5: 1d59bc198af9252845aa52ef89aa34ff
+Source116: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/da.xpi
+# Source116-md5: 2a90c04b5969c156a57b71e991c8be63
+Source117: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/de.xpi
+# Source117-md5: 2a378f1f8d3f95927fb7b1f56c689f9e
+Source118: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/dsb.xpi
+# Source118-md5: 3c8d7b57abf574bb47fee394c53d3f8a
+Source119: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/el.xpi
+# Source119-md5: 0437ea498314acceedc044ea8edd0ca9
+Source120: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-CA.xpi
+# Source120-md5: 814d7a0219cc78f202566f48c7d1ff52
+Source121: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-GB.xpi
+# Source121-md5: 46b21cbad88d65c83b9c530df6703b66
+Source122: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/en-US.xpi
+# Source122-md5: ef0d8a2ba99c02ee88ba5a6bc75802fe
+Source123: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eo.xpi
+# Source123-md5: 6dc303d36591bd434b97de8bb6fa3b02
+Source124: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-AR.xpi
+# Source124-md5: a51d53e1735f392a4bf606a3e567c94a
+Source125: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-CL.xpi
+# Source125-md5: 8443f80a725f9b0ed1a3a38a05d98500
+Source126: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-ES.xpi
+# Source126-md5: bd9248b50a05ff1c56c2f78b3d4022b8
+Source127: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/es-MX.xpi
+# Source127-md5: f96f2a0ef4b2da9fb77d8fd3a461b08d
+Source128: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/et.xpi
+# Source128-md5: 8292225f849e5f6245e2f6331c8e5e1e
+Source129: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/eu.xpi
+# Source129-md5: 1728a03efe6172a2803d1ef3c0944b3d
+Source130: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fa.xpi
+# Source130-md5: 3e426e47a1eeb7825acb96dd7b57cbe0
+Source131: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ff.xpi
+# Source131-md5: 760d5b263cc6a8f93db8f2ed1c2646aa
+Source132: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fi.xpi
+# Source132-md5: f8d721ccb84555976f8843f64250e309
+Source133: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fr.xpi
+# Source133-md5: fb78032055c4d2597cdbef152e491d45
+Source134: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/fy-NL.xpi
+# Source134-md5: f98be898a3b903cbabde74897f0aed96
+Source135: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ga-IE.xpi
+# Source135-md5: 836fb1e60dfa986793249e320d05c9e0
+Source136: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gd.xpi
+# Source136-md5: 9487fd6b826f269ce973637fcbdf20d4
+Source137: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gl.xpi
+# Source137-md5: d42b8ce8895334a7719a6d1bb80b49e4
+Source138: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gn.xpi
+# Source138-md5: 77983df3a78a2411d0b4993676806b31
+Source139: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/gu-IN.xpi
+# Source139-md5: eb4310889add3a5f70d19fc860f923e1
+Source140: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/he.xpi
+# Source140-md5: 7e59507a3d0cbda0a4d8398a59b9ea01
+Source141: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hi-IN.xpi
+# Source141-md5: 79086848496dde6384974200ae06caa4
+Source142: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hr.xpi
+# Source142-md5: 72c0e82a675eba0854fbffbbe82ce2a6
+Source143: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hsb.xpi
+# Source143-md5: 7a46778e29ef5e3d7556171dfda6409c
+Source144: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hu.xpi
+# Source144-md5: d2a039375fb573407d0b246bc95741a0
+Source145: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/hy-AM.xpi
+# Source145-md5: d726892d1aaa6bfb1aff0c46b22918fe
+Source146: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ia.xpi
+# Source146-md5: 6c0821b25c4f0bf3d909911dd4eda305
+Source147: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/id.xpi
+# Source147-md5: 7a8b692dacb2323e0d2f76d2359a8b38
+Source148: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/is.xpi
+# Source148-md5: 51c9e4aff582f98033279672acc89c57
+Source149: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/it.xpi
+# Source149-md5: 95857c6986483c484d129473761e6658
+Source150: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ja.xpi
+# Source150-md5: c4068fca9eed252a3e48593b01f4a4dc
+Source151: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ka.xpi
+# Source151-md5: db44f45d1ac5279ff85f7f62434085a4
+Source152: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kab.xpi
+# Source152-md5: 473b6219e17f7ddc4328d3972de24146
+Source153: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kk.xpi
+# Source153-md5: c53df5ac4ea93ef05aa05518eff571db
+Source154: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/km.xpi
+# Source154-md5: f09969898e77dbd800dbde011032673e
+Source155: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/kn.xpi
+# Source155-md5: 58fe3849442e53b4d906d12059d1c152
+Source156: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ko.xpi
+# Source156-md5: bd04047e3c79616fce96c4b71accb229
+Source157: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lij.xpi
+# Source157-md5: decaa62be04bb3a7e0402ec4c91ba78b
+Source158: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lt.xpi
+# Source158-md5: a9e9550176cbec81ddc9e13c0636c106
+Source159: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/lv.xpi
+# Source159-md5: e0495068176c7ca70921c916ff1599b2
+Source160: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mk.xpi
+# Source160-md5: bf8210482b396616f0bc41918dffd697
+Source161: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/mr.xpi
+# Source161-md5: e4e7361ab6fef1916d4fe1728b6b6d52
+Source162: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ms.xpi
+# Source162-md5: f1cee824f38369eb1fcaf53b896c46c8
+Source163: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/my.xpi
+# Source163-md5: 673a70baa8bd1bfbcee85b4fc2286af2
+Source164: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nb-NO.xpi
+# Source164-md5: f3ae4136649c961f3fde38f4af5a98c9
+Source165: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ne-NP.xpi
+# Source165-md5: 27d15c0b78506ecd8c42a4e344c317a8
+Source166: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nl.xpi
+# Source166-md5: 4bd399969c5b71728a30a18cac07b10d
+Source167: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/nn-NO.xpi
+# Source167-md5: d082a4338fc727172d41888672a6b130
+Source168: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/oc.xpi
+# Source168-md5: 293b6f19397d5180b3c23b8a6ec4d39d
+Source169: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pa-IN.xpi
+# Source169-md5: acfb26bd50038cb7de153e40920cf8d8
+Source170: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pl.xpi
+# Source170-md5: 648c385b02c0dd477f8064ff704a57de
+Source171: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-BR.xpi
+# Source171-md5: 8a4fd29564428f01ec1940aa18d7adea
+Source172: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/pt-PT.xpi
+# Source172-md5: 1437de87e0d3f0f9800dc57d05a98334
+Source173: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/rm.xpi
+# Source173-md5: b19d297bc1b8a83f0262a7b9a8355cbd
+Source174: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ro.xpi
+# Source174-md5: ec35e20ccdc2763a397318d5b83ffe97
+Source175: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ru.xpi
+# Source175-md5: 75fe1bced0e722c9a7728f0aa039c102
+Source176: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sco.xpi
+# Source176-md5: 1aa77e46ca4c9ea6fd775bd31bce2faf
+Source177: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/si.xpi
+# Source177-md5: cc0081127ffcde36cde240d49d33902f
+Source178: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sk.xpi
+# Source178-md5: c9933e32d837fc507e997a9adcdbac40
+Source179: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sl.xpi
+# Source179-md5: 9c9795d469e0c071a29041873478ed8e
+Source180: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/son.xpi
+# Source180-md5: 3ab6ea6d387ec344500eaef3ca3e9083
+Source181: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sq.xpi
+# Source181-md5: d993033e334d48dcadd93998ff046ba8
+Source182: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sr.xpi
+# Source182-md5: e87cc5c898747cf61a2303558dd548ed
+Source183: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/sv-SE.xpi
+# Source183-md5: dc4ad41a29d4483aa995682a1570b92d
+Source184: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/szl.xpi
+# Source184-md5: fb86cd2355807c1310fc15b143f47d9a
+Source185: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ta.xpi
+# Source185-md5: 033f3351d2dc57a215b6cba21d593776
+Source186: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/te.xpi
+# Source186-md5: 72672acffeb905945be3418168fec2a1
+Source187: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/th.xpi
+# Source187-md5: c043b3f3d975ce2d3d0b594db563830f
+Source188: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/tl.xpi
+# Source188-md5: 12941f3d29a6dcc72d111dc8ca27a5c8
+Source189: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/tr.xpi
+# Source189-md5: 2a0c2de0a58d5ed6fed54e27fac5d3d6
+Source190: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/trs.xpi
+# Source190-md5: eb5f56b801d45517e9978e9ee9a39147
+Source191: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uk.xpi
+# Source191-md5: 28ab19a9c1120ec98fe9c1ad3166c951
+Source192: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/ur.xpi
+# Source192-md5: 328f57fef12f619fce6659b7762e2ca1
+Source193: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/uz.xpi
+# Source193-md5: ab06128025d4d870be349e47dbcba307
+Source194: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/vi.xpi
+# Source194-md5: 93e91e7302c7d3ad2a98472a2f5a7d64
+Source195: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/xh.xpi
+# Source195-md5: a99e4b2b0c35afef955281c15097c5bd
+Source196: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-CN.xpi
+# Source196-md5: 9afc5ea939367fa9233e31fe5822df62
+Source197: https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
+# Source197-md5: c1fc71bb4eca9d9118637ebae7e19bfb
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
-BuildRequires: bzip2-devel
-BuildRequires: cairo-devel >= 1.10.2-5
-BuildRequires: cargo
+%{?with_gold:BuildRequires: binutils >= 3:2.20.51.0.7}
+%{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5}
+BuildRequires: cargo >= 1.32.0
%{?with_clang:BuildRequires: clang}
+BuildRequires: clang-devel >= 5.0
BuildRequires: dbus-glib-devel >= 0.60
BuildRequires: fontconfig-devel >= 1:2.7.0
BuildRequires: freetype-devel >= 1:2.1.8
-%{!?with_clang:BuildRequires: gcc-c++ >= 6:4.4}
-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}
-%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
-BuildRequires: hunspell-devel >= 1.6.1
-BuildRequires: libIDL-devel >= 0.8.0
+%{!?with_clang:BuildRequires: gcc-c++ >= 6:7}
+BuildRequires: glib2-devel >= 1:2.42
+%{?with_gps:BuildRequires: gpsd-devel >= 3.11}
+BuildRequires: gtk+3-devel >= 3.14.0
BuildRequires: libatomic-devel
# DECnet (dnprogs.spec), not dummy net (libdnet.spec)
#BuildRequires: libdnet-devel
+BuildRequires: libdrm-devel >= 2.4
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 >= 69.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: libstdc++-devel >= 6:4.4
-BuildRequires: libvpx-devel >= 1.5.0
+BuildRequires: libpng-devel >= 2:1.6.35
+BuildRequires: libstdc++-devel >= 6:7
+BuildRequires: libxcb-devel
+%{?with_system_libvpx:BuildRequires: libvpx-devel >= 1.8.0}
+BuildRequires: libwebp-devel >= 1.0.2
+%{?with_clang:BuildRequires: lld}
+BuildRequires: llvm-devel >= 5.0
+%ifarch %{ix86} %{x8664}
+BuildRequires: nasm >= 2.14
+%endif
+# or --disable-nodejs ?
+BuildRequires: nodejs >= 10.23.1
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: pixman-devel >= 0.36.0
+BuildRequires: perl-modules >= 5.006
+BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: pkgconfig(libffi) >= 3.0.9
BuildRequires: pulseaudio-devel
-BuildRequires: python-modules >= 1:2.5
-%{?with_pgo:BuildRequires: python-modules-sqlite}
-BuildRequires: python-simplejson
-BuildRequires: python-virtualenv >= 15
-BuildRequires: readline-devel
-BuildRequires: rpm >= 4.4.9-56
+BuildRequires: python3-modules >= 1:3.8.5-3
+%{?with_pgo:BuildRequires: python3-modules-sqlite}
+BuildRequires: python3-simplejson
+BuildRequires: python3-virtualenv >= 16
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.601
-BuildRequires: rust
+BuildRequires: rust >= 1.51.0
+BuildRequires: rust-cbindgen >= 0.19.0
BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.17.0
-BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: tar >= 1:1.22
BuildRequires: xorg-lib-libX11-devel
-BuildRequires: xorg-lib-libXScrnSaver-devel
BuildRequires: xorg-lib-libXcomposite-devel
BuildRequires: xorg-lib-libXdamage-devel
BuildRequires: xorg-lib-libXext-devel
BuildRequires: xorg-lib-libXinerama-devel
BuildRequires: xorg-lib-libXt-devel
%{?with_pgo:BuildRequires: xorg-xserver-Xvfb}
-%ifarch %{x8664}
-BuildRequires: yasm >= 1.0.1
+BuildRequires: xorg-lib-libxkbcommon-devel >= 0.4.1
+BuildRequires: xz
+%ifarch %{ix86} %{x8664}
+BuildRequires: yasm >= 1.2
%endif
BuildRequires: unzip
BuildRequires: zip
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: glib2 >= 1:2.42
+Requires: gtk+3 >= 3.14.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.8.0}
+Requires: libwebp >= 1.0.2
Requires: myspell-common
-Requires: nspr >= 1:%{nspr_ver}
-Requires: nss >= 1:%{nss_ver}
+%requires_ge_to nspr nspr-devel
+%requires_ge_to nss nss-devel
Requires: pango >= 1:1.22.0
-Requires: sqlite3 >= %{sqlite_build_version}
-Requires: startup-notification >= 0.8
+Requires: pixman >= 0.36.0
+Requires: xorg-lib-libxkbcommon >= 0.4.1
+%ifarch %{ix86}
+Requires: cpuinfo(mmx)
+%endif
Provides: xulrunner-libs = 2:%{version}-%{release}
Provides: wwwbrowser
-Obsoletes: firefox-devel
-Obsoletes: firefox-libs
-Obsoletes: iceweasel
-Obsoletes: iceweasel-libs
-Obsoletes: mozilla-firebird
-Obsoletes: mozilla-firefox
+Obsoletes: firefox-devel < 53
+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 < 53
+Obsoletes: iceweasel < 45
+Obsoletes: iceweasel-libs < 45
+Obsoletes: mozilla-firebird < 0.8
+Obsoletes: mozilla-firefox < 38
Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3
-Obsoletes: mozilla-firefox-libs
-Obsoletes: xulrunner
-Obsoletes: xulrunner-gnome
-Obsoletes: xulrunner-libs
+Obsoletes: mozilla-firefox-libs < 38
+Obsoletes: xulrunner < 2:42
+Obsoletes: xulrunner-gnome < 2:42
+Obsoletes: xulrunner-libs < 2: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 libmozsqlite3.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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ach
-Obsoletes: mozilla-firefox-lang-ach
+Obsoletes: iceweasel-lang-ach < 45
+Obsoletes: mozilla-firefox-lang-ach < 38
BuildArch: noarch
%description lang-ach
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-af
-Obsoletes: mozilla-firefox-lang-af
+Obsoletes: iceweasel-lang-af < 45
+Obsoletes: mozilla-firefox-lang-af < 38
BuildArch: noarch
%description lang-af
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-an
-Obsoletes: mozilla-firefox-lang-an
+Obsoletes: iceweasel-lang-an < 45
+Obsoletes: mozilla-firefox-lang-an < 38
BuildArch: noarch
%description lang-an
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ar
-Obsoletes: mozilla-firefox-lang-ar
+Obsoletes: iceweasel-lang-ar < 45
+Obsoletes: mozilla-firefox-lang-ar < 38
BuildArch: noarch
%description lang-ar
%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: iceweasel-lang-ast
-Obsoletes: mozilla-firefox-lang-ast
+Obsoletes: iceweasel-lang-ast < 45
+Obsoletes: mozilla-firefox-lang-ast < 38
BuildArch: noarch
%description lang-ast
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-az
-Obsoletes: mozilla-firefox-lang-az
+Obsoletes: iceweasel-lang-az < 45
+Obsoletes: mozilla-firefox-lang-az < 38
BuildArch: noarch
%description lang-az
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-be
-Obsoletes: mozilla-firefox-lang-be
+Obsoletes: iceweasel-lang-be < 45
+Obsoletes: mozilla-firefox-lang-be < 38
BuildArch: noarch
%description lang-be
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-bg
-Obsoletes: mozilla-firefox-lang-bg
+Obsoletes: iceweasel-lang-bg < 45
+Obsoletes: mozilla-firefox-lang-bg < 38
BuildArch: noarch
%description lang-bg
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-bn
-Obsoletes: mozilla-firefox-lang-bn
+Obsoletes: firefox-lang-bn_IN
+Obsoletes: iceweasel-lang-bn < 45
+Obsoletes: mozilla-firefox-lang-bn < 38
BuildArch: noarch
%description lang-bn
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-bn_IN
-Obsoletes: mozilla-firefox-lang-bn_IN
+Obsoletes: iceweasel-lang-bn_IN < 45
+Obsoletes: mozilla-firefox-lang-bn_IN < 38
BuildArch: noarch
%description lang-bn_IN
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-br
-Obsoletes: mozilla-firefox-lang-br
+Obsoletes: iceweasel-lang-br < 45
+Obsoletes: mozilla-firefox-lang-br < 38
BuildArch: noarch
%description lang-br
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-bs
-Obsoletes: mozilla-firefox-lang-bs
+Obsoletes: iceweasel-lang-bs < 45
+Obsoletes: mozilla-firefox-lang-bs < 38
BuildArch: noarch
%description lang-bs
URL: http://www.softcatala.org/projectes/mozilla/
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ca
-Obsoletes: mozilla-firefox-lang-ca
+Obsoletes: iceweasel-lang-ca < 45
+Obsoletes: mozilla-firefox-lang-ca < 38
BuildArch: noarch
%description lang-ca
%description lang-ca -l pl.UTF-8
Katalońskie pliki językowe dla Firefoksa.
+%package lang-ca-valencia
+Summary: Catalan (Valencia variant) resources for Firefox
+Summary(pl.UTF-8): Katalońskie pliki językowe (wariant dla Walencji) dla Firefoksa
+Group: I18n
+URL: http://www.softcatala.org/projectes/mozilla/
+Requires: firefox >= %{version}
+Provides: firefox-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-ca-valencia
+Catalan (Valencia variant) resources for Firefox.
+
+%description lang-ca-valencia -l pl.UTF-8
+Katalońskie pliki językowe (wariant dla Walencji) dla Firefoksa.
+
%package lang-cak
Summary: Kaqchikel resources for Firefox
Summary(pl.UTF-8): Pliki językowe kaqchikel dla Firefoksa
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-cs
-Obsoletes: mozilla-firefox-lang-cs
+Obsoletes: iceweasel-lang-cs < 45
+Obsoletes: mozilla-firefox-lang-cs < 38
BuildArch: noarch
%description lang-cs
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-csb
-Obsoletes: mozilla-firefox-lang-csb
+Obsoletes: iceweasel-lang-csb < 45
+Obsoletes: mozilla-firefox-lang-csb < 38
BuildArch: noarch
%description lang-csb
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-cy
-Obsoletes: mozilla-firefox-lang-cy
+Obsoletes: iceweasel-lang-cy < 45
+Obsoletes: mozilla-firefox-lang-cy < 38
BuildArch: noarch
%description lang-cy
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-da
-Obsoletes: mozilla-firefox-lang-da
+Obsoletes: iceweasel-lang-da < 45
+Obsoletes: mozilla-firefox-lang-da < 38
BuildArch: noarch
%description lang-da
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-de
-Obsoletes: mozilla-firefox-lang-de
+Obsoletes: iceweasel-lang-de < 45
+Obsoletes: mozilla-firefox-lang-de < 38
BuildArch: noarch
%description lang-de
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-dsb
-Obsoletes: mozilla-firefox-lang-dsb
+Obsoletes: iceweasel-lang-dsb < 45
+Obsoletes: mozilla-firefox-lang-dsb < 38
BuildArch: noarch
%description lang-dsb
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-el
-Obsoletes: mozilla-firefox-lang-el
+Obsoletes: iceweasel-lang-el < 45
+Obsoletes: mozilla-firefox-lang-el < 38
BuildArch: noarch
%description lang-el
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-en_GB
-Obsoletes: mozilla-firefox-lang-en_GB
+Obsoletes: iceweasel-lang-en_GB < 45
+Obsoletes: mozilla-firefox-lang-en_GB < 38
BuildArch: noarch
%description lang-en_GB
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-en_US
-Obsoletes: mozilla-firefox-lang-en_US
+Obsoletes: iceweasel-lang-en_US < 45
+Obsoletes: mozilla-firefox-lang-en_US < 38
BuildArch: noarch
%description lang-en_US
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-eo
-Obsoletes: mozilla-firefox-lang-eo
+Obsoletes: iceweasel-lang-eo < 45
+Obsoletes: mozilla-firefox-lang-eo < 38
BuildArch: noarch
%description lang-eo
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-es_AR
-Obsoletes: mozilla-firefox-lang-es_AR
+Obsoletes: iceweasel-lang-es_AR < 45
+Obsoletes: mozilla-firefox-lang-es_AR < 38
BuildArch: noarch
%description lang-es_AR
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-es_CL
-Obsoletes: mozilla-firefox-lang-es_CL
+Obsoletes: iceweasel-lang-es_CL < 45
+Obsoletes: mozilla-firefox-lang-es_CL < 38
BuildArch: noarch
%description lang-es_CL
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-es
-Obsoletes: mozilla-firefox-lang-es
+Obsoletes: iceweasel-lang-es < 45
+Obsoletes: mozilla-firefox-lang-es < 38
BuildArch: noarch
%description lang-es
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-es_MX
-Obsoletes: mozilla-firefox-lang-es_MX
+Obsoletes: iceweasel-lang-es_MX < 45
+Obsoletes: mozilla-firefox-lang-es_MX < 38
BuildArch: noarch
%description lang-es_MX
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-et
-Obsoletes: mozilla-firefox-lang-et
+Obsoletes: iceweasel-lang-et < 45
+Obsoletes: mozilla-firefox-lang-et < 38
BuildArch: noarch
%description lang-et
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-eu
-Obsoletes: mozilla-firefox-lang-eu
+Obsoletes: iceweasel-lang-eu < 45
+Obsoletes: mozilla-firefox-lang-eu < 38
BuildArch: noarch
%description lang-eu
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-fa
-Obsoletes: mozilla-firefox-lang-fa
+Obsoletes: iceweasel-lang-fa < 45
+Obsoletes: mozilla-firefox-lang-fa < 38
BuildArch: noarch
%description lang-fa
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ff
-Obsoletes: mozilla-firefox-lang-ff
+Obsoletes: iceweasel-lang-ff < 45
+Obsoletes: mozilla-firefox-lang-ff < 38
BuildArch: noarch
%description lang-ff
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-fi
-Obsoletes: mozilla-firefox-lang-fi
+Obsoletes: iceweasel-lang-fi < 45
+Obsoletes: mozilla-firefox-lang-fi < 38
BuildArch: noarch
%description lang-fi
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-fr
-Obsoletes: mozilla-firefox-lang-fr
+Obsoletes: iceweasel-lang-fr < 45
+Obsoletes: mozilla-firefox-lang-fr < 38
BuildArch: noarch
%description lang-fr
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-fy
-Obsoletes: mozilla-firefox-lang-fy
+Obsoletes: iceweasel-lang-fy < 45
+Obsoletes: mozilla-firefox-lang-fy < 38
BuildArch: noarch
%description lang-fy
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ga
-Obsoletes: mozilla-firefox-lang-ga
+Obsoletes: iceweasel-lang-ga < 45
+Obsoletes: mozilla-firefox-lang-ga < 38
BuildArch: noarch
%description lang-ga
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-gd
-Obsoletes: mozilla-firefox-lang-gd
+Obsoletes: iceweasel-lang-gd < 45
+Obsoletes: mozilla-firefox-lang-gd < 38
BuildArch: noarch
%description lang-gd
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-gl
-Obsoletes: mozilla-firefox-lang-gl
+Obsoletes: iceweasel-lang-gl < 45
+Obsoletes: mozilla-firefox-lang-gl < 38
BuildArch: noarch
%description lang-gl
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-gn
-Obsoletes: mozilla-firefox-lang-gn
+Obsoletes: iceweasel-lang-gn < 45
+Obsoletes: mozilla-firefox-lang-gn < 38
BuildArch: noarch
%description lang-gn
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-gu
-Obsoletes: mozilla-firefox-lang-gu
+Obsoletes: iceweasel-lang-gu < 45
+Obsoletes: mozilla-firefox-lang-gu < 38
BuildArch: noarch
%description lang-gu
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-he
-Obsoletes: mozilla-firefox-lang-he
+Obsoletes: iceweasel-lang-he < 45
+Obsoletes: mozilla-firefox-lang-he < 38
BuildArch: noarch
%description lang-he
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-hi
-Obsoletes: mozilla-firefox-lang-hi
+Obsoletes: iceweasel-lang-hi < 45
+Obsoletes: mozilla-firefox-lang-hi < 38
BuildArch: noarch
%description lang-hi
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-hr
-Obsoletes: mozilla-firefox-lang-hr
+Obsoletes: iceweasel-lang-hr < 45
+Obsoletes: mozilla-firefox-lang-hr < 38
BuildArch: noarch
%description lang-hr
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-hsb
-Obsoletes: mozilla-firefox-lang-hsb
+Obsoletes: iceweasel-lang-hsb < 45
+Obsoletes: mozilla-firefox-lang-hsb < 38
BuildArch: noarch
%description lang-hsb
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-hu
-Obsoletes: mozilla-firefox-lang-hu
+Obsoletes: iceweasel-lang-hu < 45
+Obsoletes: mozilla-firefox-lang-hu < 38
BuildArch: noarch
%description lang-hu
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-hy
-Obsoletes: mozilla-firefox-lang-hy
+Obsoletes: iceweasel-lang-hy < 45
+Obsoletes: mozilla-firefox-lang-hy < 38
BuildArch: noarch
%description lang-hy
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-id
-Obsoletes: mozilla-firefox-lang-id
+Obsoletes: iceweasel-lang-id < 45
+Obsoletes: mozilla-firefox-lang-id < 38
BuildArch: noarch
%description lang-id
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-is
-Obsoletes: mozilla-firefox-lang-is
+Obsoletes: iceweasel-lang-is < 45
+Obsoletes: mozilla-firefox-lang-is < 38
BuildArch: noarch
%description lang-is
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-it
-Obsoletes: mozilla-firefox-lang-it
+Obsoletes: iceweasel-lang-it < 45
+Obsoletes: mozilla-firefox-lang-it < 38
BuildArch: noarch
%description lang-it
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ja
-Obsoletes: mozilla-firefox-lang-ja
+Obsoletes: iceweasel-lang-ja < 45
+Obsoletes: mozilla-firefox-lang-ja < 38
BuildArch: noarch
%description lang-ja
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ka
-Obsoletes: mozilla-firefox-lang-ka
+Obsoletes: iceweasel-lang-ka < 45
+Obsoletes: mozilla-firefox-lang-ka < 38
BuildArch: noarch
%description lang-ka
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-kk
-Obsoletes: mozilla-firefox-lang-kk
+Obsoletes: iceweasel-lang-kk < 45
+Obsoletes: mozilla-firefox-lang-kk < 38
BuildArch: noarch
%description lang-kk
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-km
-Obsoletes: mozilla-firefox-lang-km
+Obsoletes: iceweasel-lang-km < 45
+Obsoletes: mozilla-firefox-lang-km < 38
BuildArch: noarch
%description lang-km
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-kn
-Obsoletes: mozilla-firefox-lang-kn
+Obsoletes: iceweasel-lang-kn < 45
+Obsoletes: mozilla-firefox-lang-kn < 38
BuildArch: noarch
%description lang-kn
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ko
-Obsoletes: mozilla-firefox-lang-ko
+Obsoletes: iceweasel-lang-ko < 45
+Obsoletes: mozilla-firefox-lang-ko < 38
BuildArch: noarch
%description lang-ko
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ku
-Obsoletes: mozilla-firefox-lang-ku
+Obsoletes: iceweasel-lang-ku < 45
+Obsoletes: mozilla-firefox-lang-ku < 38
BuildArch: noarch
%description lang-ku
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-lij
-Obsoletes: mozilla-firefox-lang-lij
+Obsoletes: iceweasel-lang-lij < 45
+Obsoletes: mozilla-firefox-lang-lij < 38
BuildArch: noarch
%description lang-lij
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-lt
-Obsoletes: mozilla-firefox-lang-lt
+Obsoletes: iceweasel-lang-lt < 45
+Obsoletes: mozilla-firefox-lang-lt < 38
BuildArch: noarch
%description lang-lt
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-lv
-Obsoletes: mozilla-firefox-lang-lv
+Obsoletes: iceweasel-lang-lv < 45
+Obsoletes: mozilla-firefox-lang-lv < 38
BuildArch: noarch
%description lang-lv
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-mk
-Obsoletes: mozilla-firefox-lang-mk
+Obsoletes: iceweasel-lang-mk < 45
+Obsoletes: mozilla-firefox-lang-mk < 38
BuildArch: noarch
%description lang-mk
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-mr
-Obsoletes: mozilla-firefox-lang-mr
+Obsoletes: iceweasel-lang-mr < 45
+Obsoletes: mozilla-firefox-lang-mr < 38
BuildArch: noarch
%description lang-mr
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ms
-Obsoletes: mozilla-firefox-lang-ms
+Obsoletes: iceweasel-lang-ms < 45
+Obsoletes: mozilla-firefox-lang-ms < 38
BuildArch: noarch
%description lang-ms
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-nb
-Obsoletes: mozilla-firefox-lang-nb
+Obsoletes: iceweasel-lang-nb < 45
+Obsoletes: mozilla-firefox-lang-nb < 38
BuildArch: noarch
%description lang-nb
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-nl
-Obsoletes: mozilla-firefox-lang-nl
+Obsoletes: iceweasel-lang-nl < 45
+Obsoletes: mozilla-firefox-lang-nl < 38
BuildArch: noarch
%description lang-nl
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-nn
-Obsoletes: mozilla-firefox-lang-nn
+Obsoletes: iceweasel-lang-nn < 45
+Obsoletes: mozilla-firefox-lang-nn < 38
BuildArch: noarch
%description lang-nn
%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
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-pa
-Obsoletes: mozilla-firefox-lang-pa
+Obsoletes: iceweasel-lang-pa < 45
+Obsoletes: mozilla-firefox-lang-pa < 38
BuildArch: noarch
%description lang-pa
URL: http://www.firefox.pl/
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-pl
-Obsoletes: mozilla-firefox-lang-pl
+Obsoletes: iceweasel-lang-pl < 45
+Obsoletes: mozilla-firefox-lang-pl < 38
BuildArch: noarch
%description lang-pl
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-pt_BR
-Obsoletes: mozilla-firefox-lang-pt_BR
+Obsoletes: iceweasel-lang-pt_BR < 45
+Obsoletes: mozilla-firefox-lang-pt_BR < 38
BuildArch: noarch
%description lang-pt_BR
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-pt
-Obsoletes: mozilla-firefox-lang-pt
+Obsoletes: iceweasel-lang-pt < 45
+Obsoletes: mozilla-firefox-lang-pt < 38
BuildArch: noarch
%description lang-pt
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-rm
-Obsoletes: mozilla-firefox-lang-rm
+Obsoletes: iceweasel-lang-rm < 45
+Obsoletes: mozilla-firefox-lang-rm < 38
BuildArch: noarch
%description lang-rm
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ro
-Obsoletes: mozilla-firefox-lang-ro
+Obsoletes: iceweasel-lang-ro < 45
+Obsoletes: mozilla-firefox-lang-ro < 38
BuildArch: noarch
%description lang-ro
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ru
-Obsoletes: mozilla-firefox-lang-ru
+Obsoletes: iceweasel-lang-ru < 45
+Obsoletes: mozilla-firefox-lang-ru < 38
BuildArch: noarch
%description lang-ru
%description lang-ru -l pl.UTF-8
Rosyjskie pliki językowe dla Firefoksa.
+%package lang-sco
+Summary: Scots resources for Firefox
+Summary(pl.UTF-8): Pliki językowe scots dla Firefoksa
+Group: I18n
+Requires: firefox >= %{version}
+Provides: firefox-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-sco
+Scots resources for Firefox.
+
+%description lang-sco -l pl.UTF-8
+Pliki językowe scots dla Firefoksa.
+
%package lang-si
Summary: Sinhala resources for Firefox
Summary(pl.UTF-8): Syngaleskie pliki językowe dla Firefoksa
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-si
-Obsoletes: mozilla-firefox-lang-si
+Obsoletes: iceweasel-lang-si < 45
+Obsoletes: mozilla-firefox-lang-si < 38
BuildArch: noarch
%description lang-si
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-sk
-Obsoletes: mozilla-firefox-lang-sk
+Obsoletes: iceweasel-lang-sk < 45
+Obsoletes: mozilla-firefox-lang-sk < 38
BuildArch: noarch
%description lang-sk
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-sl
-Obsoletes: mozilla-firefox-lang-sl
+Obsoletes: iceweasel-lang-sl < 45
+Obsoletes: mozilla-firefox-lang-sl < 38
BuildArch: noarch
%description lang-sl
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-son
-Obsoletes: mozilla-firefox-lang-son
+Obsoletes: iceweasel-lang-son < 45
+Obsoletes: mozilla-firefox-lang-son < 38
BuildArch: noarch
%description lang-son
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-sq
-Obsoletes: mozilla-firefox-lang-sq
+Obsoletes: iceweasel-lang-sq < 45
+Obsoletes: mozilla-firefox-lang-sq < 38
BuildArch: noarch
%description lang-sq
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-sr
-Obsoletes: mozilla-firefox-lang-sr
+Obsoletes: iceweasel-lang-sr < 45
+Obsoletes: mozilla-firefox-lang-sr < 38
BuildArch: noarch
%description lang-sr
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-sv
-Obsoletes: mozilla-firefox-lang-sv
+Obsoletes: iceweasel-lang-sv < 45
+Obsoletes: mozilla-firefox-lang-sv < 38
BuildArch: noarch
%description lang-sv
%description lang-sv -l pl.UTF-8
Szwedzkie pliki językowe dla Firefoksa.
+%package lang-szl
+Summary: Silesian resources for Firefox
+Summary(pl.UTF-8): Śląskie pliki językowe dla Firefoksa
+Group: I18n
+Requires: firefox >= %{version}
+Provides: firefox-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-szl
+Silesian resources for Firefox.
+
+%description lang-szl -l pl.UTF-8
+Śląskie pliki językowe dla Firefoksa.
+
%package lang-ta
Summary: Tamil (India) resources for Firefox
Summary(pl.UTF-8): Tamilskie pliki językowe dla Firefoksa (wersja dla Indii)
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-ta
-Obsoletes: mozilla-firefox-lang-ta
+Obsoletes: iceweasel-lang-ta < 45
+Obsoletes: mozilla-firefox-lang-ta < 38
BuildArch: noarch
%description lang-ta
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-te
-Obsoletes: mozilla-firefox-lang-te
+Obsoletes: iceweasel-lang-te < 45
+Obsoletes: mozilla-firefox-lang-te < 38
BuildArch: noarch
%description lang-te
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-th
-Obsoletes: mozilla-firefox-lang-th
+Obsoletes: iceweasel-lang-th < 45
+Obsoletes: mozilla-firefox-lang-th < 38
BuildArch: noarch
%description lang-th
%description lang-th -l pl.UTF-8
Tajskie pliki językowe dla Firefoksa.
+%package lang-tl
+Summary: Tagalog resources for Firefox
+Summary(pl.UTF-8): Tagalskie pliki językowe dla Firefoksa
+Group: I18n
+Requires: firefox >= %{version}
+Provides: firefox-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-tl
+Tagalog resources for Firefox.
+
+%description lang-tl -l pl.UTF-8
+Tagalskie pliki językowe dla Firefoksa.
+
%package lang-tr
Summary: Turkish resources for Firefox
Summary(pl.UTF-8): Tureckie pliki językowe dla Firefoksa
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-tr
-Obsoletes: mozilla-firefox-lang-tr
+Obsoletes: iceweasel-lang-tr < 45
+Obsoletes: mozilla-firefox-lang-tr < 38
BuildArch: noarch
%description lang-tr
%description lang-tr -l pl.UTF-8
Tureckie pliki językowe dla Firefoksa.
+%package lang-trs
+Summary: Triqui (Oaxaca) resources for Firefox
+Summary(pl.UTF-8): Pliki językowe trike czikauastlańskiego dla Firefoksa
+Group: I18n
+Requires: firefox >= %{version}
+Provides: firefox-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-trs
+Triqui (Oaxaca) resources for Firefox.
+
+%description lang-trs -l pl.UTF-8
+Pliki językowe trike czikauastlańskiego dla Firefoksa.
+
%package lang-uk
Summary: Ukrainian resources for Firefox
Summary(pl.UTF-8): Ukraińskie pliki językowe dla Firefoksa
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-uk
-Obsoletes: mozilla-firefox-lang-uk
+Obsoletes: iceweasel-lang-uk < 45
+Obsoletes: mozilla-firefox-lang-uk < 38
BuildArch: noarch
%description lang-uk
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-uz
-Obsoletes: mozilla-firefox-lang-uz
+Obsoletes: iceweasel-lang-uz < 45
+Obsoletes: mozilla-firefox-lang-uz < 38
BuildArch: noarch
%description lang-uz
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-vi
-Obsoletes: mozilla-firefox-lang-vi
+Obsoletes: iceweasel-lang-vi < 45
+Obsoletes: mozilla-firefox-lang-vi < 38
BuildArch: noarch
%description lang-vi
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-xh
-Obsoletes: mozilla-firefox-lang-xh
+Obsoletes: iceweasel-lang-xh < 45
+Obsoletes: mozilla-firefox-lang-xh < 38
BuildArch: noarch
%description lang-xh
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-zh_CN
-Obsoletes: mozilla-firefox-lang-zh_CN
+Obsoletes: iceweasel-lang-zh_CN < 45
+Obsoletes: mozilla-firefox-lang-zh_CN < 38
BuildArch: noarch
%description lang-zh_CN
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-zh_TW
-Obsoletes: mozilla-firefox-lang-zh_TW
+Obsoletes: iceweasel-lang-zh_TW < 45
+Obsoletes: mozilla-firefox-lang-zh_TW < 38
BuildArch: noarch
%description lang-zh_TW
Group: I18n
Requires: firefox >= %{version}
Provides: firefox-lang-resources = %{version}
-Obsoletes: iceweasel-lang-zu
-Obsoletes: mozilla-firefox-lang-zu
+Obsoletes: iceweasel-lang-zu < 45
+Obsoletes: mozilla-firefox-lang-zu < 38
BuildArch: noarch
%description lang-zu
%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)
+%setup -q %(seq -f '-a %g' 100 197 | 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
-
-%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} %{!?with_system_libvpx:-mmmx} -D_FILE_OFFSET_BITS=64"
+export CXXFLAGS="%{rpmcxxflags} -mmmx -D_FILE_OFFSET_BITS=64"
+%else
export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
+%endif
+
+%if %{with lowmem}
+export CFLAGS="$CFLAGS -g0"
+export CXXFLAGS="$CXXFLAGS -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"
+%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
%endif
%endif
ac_add_options --disable-crashreporter
-ac_add_options --disable-gconf
ac_add_options --disable-necko-wifi
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-wayland
ac_add_options --enable-extensions=default
-ac_add_options --enable-readline
-ac_add_options --enable-safe-browsing
+%{?with_geckodriver:ac_add_options --enable-geckodriver}
+%{?with_gold:ac_add_options --enable-linker=gold}
+%ifarch %{ix86} %{x8664} %{arm}
+ac_add_options --disable-elf-hack
+%endif
+%if %{with gps}
+ac_add_options --enable-gpsd
+%endif
+%if %{with lto}
+ac_add_options --enable-lto=cross
+%endif
+%{?with_clang:ac_add_options --enable-linker=lld}
+%{?with_rust_simd:ac_add_options --enable-rust-simd}
%{?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
+%if ! %{with clang}
+# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
+# however builds tend to fail on other arches when building in parallel.
+MOZ_PARALLEL_BUILD=1
+%ifarch %{x8664}
+jobs="%{__jobs}"
+[ -n "$jobs" -a "$jobs" -gt 4 ] && MOZ_PARALLEL_BUILD=4 || MOZ_PARALLEL_BUILD="$jobs"
+%endif
+export MOZ_PARALLEL_BUILD
+%else
+%{?__jobs:export MOZ_PARALLEL_BUILD="%__jobs"}
+%endif
+
+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_USE_SYSTEM_PYTHON=1 ./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_USE_SYSTEM_PYTHON=1 ./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/pictureinpicture@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
%{_libdir}/%{name}/gmp-clearkey/0.1/manifest.json
%attr(755,root,root) %{_libdir}/%{name}/gmp-clearkey/0.1/libclearkey.so
-%{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/platform.ini
%attr(755,root,root) %{_libdir}/%{name}/libxul.so
%attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
%attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
+%ifarch %{ix86} %{x8664} %{arm} aarch64
%attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
+%endif
+%attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.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-ca-valencia
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-ca-valencia@firefox.mozilla.org.xpi
+
+%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-sco
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-sco@firefox.mozilla.org.xpi
+
+%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-szl
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-szl@firefox.mozilla.org.xpi
+
+%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-tl
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-tl@firefox.mozilla.org.xpi
+
+%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-trs
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/browser/extensions/langpack-trs@firefox.mozilla.org.xpi
+
+%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