]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - thunderbird.spec
up to 91.2.0
[packages/thunderbird.git] / thunderbird.spec
index 18165b253c71448ec58b3566e49e64bf79b1d216..34d62adeb53dfc0197ca9ac8c5c42d971f2aba4f 100644 (file)
@@ -4,8 +4,6 @@
 #
 # Conditional builds
 %bcond_with    tests           # enable tests (whatever they check)
-%bcond_without ldap            # disable e-mail address lookups in LDAP directories
-%bcond_without lightning       # disable Sunbird/Lightning calendar
 %bcond_without official        # official Thunderbird branding
 %bcond_with    crashreporter   # report crashes to crash-stats.mozilla.com
 %bcond_with    gold            # use gold instead of default linker
 %bcond_with    shared_js       # shared libmozjs library [broken]
 %bcond_without system_icu      # build without system ICU
 %bcond_with    system_cairo    # build with system cairo (not supported in 60.0)
-%bcond_with    system_libvpx   # build with system libvpx (60.7.0 does not build with libvpx 1.8)
-%bcond_with    clang           # build using Clang/LLVM
+%bcond_without system_libvpx   # build with system libvpx
+%bcond_without clang           # build using Clang/LLVM
+%bcond_with    lowmem          # lower memory requirements
 
 # UPDATING TRANSLATIONS:
 %if 0
 rm -vf *.xpi
 ./builder -g
 V=31.4.0
-U=http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$V/linux-i686/
+U=https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$V/linux-i686/
 curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 %endif
 
@@ -31,183 +30,203 @@ curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 %undefine      crashreporter
 %endif
 
-%define                nspr_ver        4.21
-%define                nss_ver         3.44.1
+%ifarch %{ix86} %{arm} aarch64
+%define                with_lowmem     1
+%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.32
+%define                nss_ver         3.68
 
 Summary:       Thunderbird - email client
 Summary(pl.UTF-8):     Thunderbird - klient poczty
 Name:          thunderbird
-Version:       68.0
-Release:       5
+Version:       91.2.0
+Release:       1
 License:       MPL v2.0
 Group:         X11/Applications/Mail
-Source0:       http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
-# Source0-md5: 79fbff6edded2fce28026c617dec805c
+Source0:       https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
+# Source0-md5: 8b47900e618bb75ee6461f8c0df9b969
 Source1:       %{name}.desktop
 Source2:       %{name}.sh
-Source100:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ar.xpi
-# Source100-md5:       d5e114116a5e36856f3353f153d7bc61
-Source101:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ast.xpi
-# Source101-md5:       2b2ac31bfb2e429f64323f35e62baf8f
-Source102:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/be.xpi
-# Source102-md5:       ddf45714aa4b4f31aa396c3860b2228f
-Source103:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/bg.xpi
-# Source103-md5:       c20fc99646e5ef9f0c766d86b9da1adb
-Source104:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/br.xpi
-# Source104-md5:       d7ce37e52ea831a4e123f970e4b3d266
-Source105:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ca.xpi
-# Source105-md5:       c57d00bfcad2db63acd5f04b3aa5394e
-Source106:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cs.xpi
-# Source106-md5:       60ffd65ac5ccb8289adfb517a1a62dca
-Source107:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cy.xpi
-# Source107-md5:       b352ccb56b4d8eefe53ca9db54ade441
-Source108:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/da.xpi
-# Source108-md5:       b2580d68bc3696c93becb7f580896df1
-Source109:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/de.xpi
-# Source109-md5:       c6554eb16f9fba7cdcfcedc5d541b6f5
-Source110:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/dsb.xpi
-# Source110-md5:       4ac6ee426e196b3226368413179a8e6c
-Source111:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/el.xpi
-# Source111-md5:       dd31d910010462670a49a946993f5a82
-Source112:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source112-md5:       3ba76b86401665573f7feb53bec585cc
-Source113:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-US.xpi
-# Source113-md5:       afc3399baafd6dd40280146762b7e215
-Source114:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-AR.xpi
-# Source114-md5:       24f9ce861b8bede5feb33aab47d84ce4
-Source115:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-ES.xpi
-# Source115-md5:       4eacbc0393b84e2eb3817c0c6ced62b4
-Source116:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/et.xpi
-# Source116-md5:       70074fc2361424d42b51e422f8a74ae2
-Source117:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/eu.xpi
-# Source117-md5:       303a3c31980e3d2a88787553cdb04280
-Source118:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fi.xpi
-# Source118-md5:       ccddfdfa45aa87421c9e729fe771f510
-Source119:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fr.xpi
-# Source119-md5:       140d6f3befda4f227756304317f3e279
-Source120:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fy-NL.xpi
-# Source120-md5:       c656b1c21c64435bfbca05e2c4d462a0
-Source121:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ga-IE.xpi
-# Source121-md5:       84deed1b3170bc89cf928650da717feb
-Source122:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gd.xpi
-# Source122-md5:       7321c9f9fcd844ff4954f4e87b303bd7
-Source123:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gl.xpi
-# Source123-md5:       77475473005736d8a4782ffe7303067a
-Source124:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/he.xpi
-# Source124-md5:       65cc42ea29a8decab59a053a4727217e
-Source125:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hr.xpi
-# Source125-md5:       51f62444887a5e30804ed38b69c7acff
-Source126:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hsb.xpi
-# Source126-md5:       f1370c44368e674977135a79c379c798
-Source127:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hu.xpi
-# Source127-md5:       fe8b2c7631f8dd7a21504eb685ff7531
-Source128:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hy-AM.xpi
-# Source128-md5:       2d662e9d1f7e041da00010f156cdf768
-Source129:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/id.xpi
-# Source129-md5:       b13d1286a490e1116ed7980e85d5a099
-Source130:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/is.xpi
-# Source130-md5:       8be73084b5812588158986735f71a3f3
-Source131:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/it.xpi
-# Source131-md5:       e8513a35d4d7bbcaabbfd78da24db72a
-Source132:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source132-md5:       0d64b38da764674fbb18396dc991d332
-Source133:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source133-md5:       b2d1d5dd6a2be6e021f73003da3044a4
-Source134:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source134-md5:       962a95cfcb93aa72cc46d37b8d24d853
-Source135:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source135-md5:       9da478aee2b85aa1af91d4adde523860
-Source136:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source136-md5:       d53cadbd712b26134b333a2c2540c0a3
-Source137:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ms.xpi
-# Source137-md5:       ec17a19acd79bdf956d3f0df67c8d381
-Source138:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nb-NO.xpi
-# Source138-md5:       ff43e00a84325083b1eab08744e0c473
-Source139:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nl.xpi
-# Source139-md5:       a5d721f6b688d57074dd39ef95e2a6cf
-Source140:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nn-NO.xpi
-# Source140-md5:       acfcb526762615d5cb7570b49b147537
-Source141:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source141-md5:       0564c146722bae34ad39efd801eff587
-Source142:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-BR.xpi
-# Source142-md5:       72a8bc3dbda72559437efc12caecb8e8
-Source143:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-PT.xpi
-# Source143-md5:       8f09353c5b9e69f995b6737862979dec
-Source144:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/rm.xpi
-# Source144-md5:       3c7e21574546f6bc11f6cfaac4416893
-Source145:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ro.xpi
-# Source145-md5:       ee7293b221c8d32d76bae90b87734561
-Source146:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ru.xpi
-# Source146-md5:       7357452581604895bae66088fa3ef54e
-Source147:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/si.xpi
-# Source147-md5:       5e12bef0bc2a742a22ca6b8babb13fa5
-Source148:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sk.xpi
-# Source148-md5:       67cdb3d53d79af83a5fa19b8467f67a4
-Source149:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sl.xpi
-# Source149-md5:       72f988b4997bef2c8aa1a13b3968ba60
-Source150:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sq.xpi
-# Source150-md5:       fba648aacaf1f623262d2d2ae7b67553
-Source151:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sr.xpi
-# Source151-md5:       80a3e322da3c9359483347c9469ddd67
-Source152:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sv-SE.xpi
-# Source152-md5:       ef7617e052a45d2864dd9bebc22c74ad
-Source153:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/tr.xpi
-# Source153-md5:       2d239b6eb141d30d6f60b603459a8e6a
-Source154:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/uk.xpi
-# Source154-md5:       3c16e9c798c6289855daad0c28568fe0
-Source155:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/vi.xpi
-# Source155-md5:       d6552117e8bf0da91d32af77d278da50
-Source156:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-CN.xpi
-# Source156-md5:       b3fde48e00cb3c7a4ce2e59e5afc4fde
-Source157:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-TW.xpi
-# Source157-md5:       dadb95754415a28ad5e5a7818e2edb5d
+Source100:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
+# Source100-md5:       83c31ab0cf99d7472468a9eba5a9d5df
+Source101:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
+# Source101-md5:       73be57ada68d3a03ad2d0388d6b6b0be
+Source102:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
+# Source102-md5:       b14ad8993b393f04d90a4058d54a9594
+Source103:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
+# Source103-md5:       46b4c3520f28ea0545b27519f522fdf7
+Source104:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
+# Source104-md5:       df734975b4b8c3b66287ad5f4c03c759
+Source105:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
+# Source105-md5:       7aef820fc8ec0a4c83f43f5ef78cfe33
+Source106:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
+# Source106-md5:       299a824da5e9d27949e6430313bc0dfc
+Source107:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
+# Source107-md5:       1df66e05e663bd940fa37da3280a5839
+Source108:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
+# Source108-md5:       74846f5f41f1db444c95684df7a9f3c8
+Source109:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
+# Source109-md5:       e11f5b5982d673409b2e376f94829f89
+Source110:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
+# Source110-md5:       51a9113556ea9cf5b94a33e97ad2d863
+Source111:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
+# Source111-md5:       80e0a4d44ef5fe3bc1e1404a5cce2640
+Source112:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
+# Source112-md5:       e8f2a36bb85ac600d16eed291b56fc17
+Source113:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
+# Source113-md5:       037e2fa00b574ee93ddc315cf9fcfca6
+Source114:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
+# Source114-md5:       271b5cec3dc78d8513df4a1f5e0bae1f
+Source115:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
+# Source115-md5:       d1a972758f3fa493a55e271301541806
+Source116:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
+# Source116-md5:       2714818e1a3db4e930aca9c31fa51a0f
+Source117:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
+# Source117-md5:       aa690eac174b3c6a965661bc4328f98e
+Source118:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
+# Source118-md5:       0737b9beffaba6ccdbba2835be64f6ea
+Source119:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
+# Source119-md5:       f41aaf47aea22d0231248d4d1b780382
+Source120:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
+# Source120-md5:       1ff0102d653d73ab801489611ffa6a6d
+Source121:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
+# Source121-md5:       62803e3026d22f56d9aa184b955e552f
+Source122:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
+# Source122-md5:       2d5d3cd3f85e565f503f830109a593c3
+Source123:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
+# Source123-md5:       c091371f932da9ace4e597ced27f8a37
+Source124:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
+# Source124-md5:       14e0a740f5ef9f3a25cec6be9538f30b
+Source125:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
+# Source125-md5:       8493e2d8ce98eddbce52108a72b7954e
+Source126:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
+# Source126-md5:       104b3fdaedcc1d3fcbef3a6519cfeffd
+Source127:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
+# Source127-md5:       ac8a2899f0ede6781a3a47f67387e41a
+Source128:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
+# Source128-md5:       4b42d645608b4cafa111269610b35528
+Source129:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
+# Source129-md5:       7ed1cc23a73f177757b3215bafb26d2e
+Source130:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
+# Source130-md5:       ee4e8ff3faa47a27c0902a9955d98fcf
+Source131:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
+# Source131-md5:       08d5d5517d1fcd636dbe179edc34bda5
+Source132:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
+# Source132-md5:       5f749ce24f16e36adec1c9f2be3431ea
+Source133:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
+# Source133-md5:       e6107294810c54e2bec81f398e1d809c
+Source134:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
+# Source134-md5:       ba73efeffb8777099c8bae678d9c2b7e
+Source135:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
+# Source135-md5:       0b28d725c0cc385a67edd939e5fa1c60
+Source136:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
+# Source136-md5:       da1005846b37ce2df48cd16370085f3d
+Source137:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
+# Source137-md5:       cbc1e449899b7c2b691f04ba4b65162b
+Source138:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
+# Source138-md5:       d98ee877fff717eafb1b59e90ec996e5
+Source139:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
+# Source139-md5:       a9b7db56b68275d145ce7561504679b5
+Source140:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
+# Source140-md5:       f4e00fafa6a0f5f6202aaa0cdb13549d
+Source141:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
+# Source141-md5:       d6707263254c6015f2f1616916ea3e14
+Source142:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
+# Source142-md5:       3664d758452cef1da7fd355466141b88
+Source143:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
+# Source143-md5:       5a1c9ac8ca398c9a4e8a136fa3485f09
+Source144:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
+# Source144-md5:       442aadaf5d74f666181a27d9254ff96a
+Source145:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
+# Source145-md5:       0d3e01c0135098edd7731e199e7ae128
+Source146:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
+# Source146-md5:       bd04772bb60201a7780f446b8a845959
+Source147:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
+# Source147-md5:       5cb7811b143c0c67ead73dee38f96dfe
+Source148:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
+# Source148-md5:       68edad036e61602621223b903c9c6384
+Source149:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
+# Source149-md5:       c05eb06ea8b119cd1d35c8d3a3f43c8e
+Source150:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
+# Source150-md5:       095b3dc5c0d8dc46a7f28d3d84aa23b6
+Source151:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
+# Source151-md5:       3ac1b5d634a9a926b9868f48288b4470
+Source152:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
+# Source152-md5:       bc6be851a271394ede54b993a6f0300a
+Source153:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
+# Source153-md5:       4cd335bbe32d4eb3f4a8d88e74429f01
+Source154:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
+# Source154-md5:       f93c63929ca7e05bd25875c8882d0aa8
+Source155:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
+# Source155-md5:       2199b56b7755482ef55f1e91f009ea3a
+Source156:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
+# Source156-md5:       6d2a1da62e2fd90e95379cdc612207dc
+Source157:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
+# Source157-md5:       643787068c5dc5b74e88d591e0f94338
+Source158:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
+# Source158-md5:       1840cba8eab4222306a293a2e19f4be1
+Source159:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
+# Source159-md5:       ba235b651b1828fd413fd24f69529455
+Source160:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
+# Source160-md5:       6733db30b81f8166999590dcbab8586f
+Source161:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
+# Source161-md5:       0855d0154b0938c69ee1ea5e804f690d
+Source162:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
+# Source162-md5:       f5a1b54140d2db29319d93783df5841f
+Source163:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
+# Source163-md5:       7c3af7c13c84b27b909a3c8799d6b8d6
+Source164:     https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
+# Source164-md5:       ab3845233997afd5a049cbd7c021f9e9
 Patch0:                prefs.patch
 Patch1:                no-subshell.patch
 Patch2:                enable-addons.patch
-Patch3:                format.patch
+Patch3:                %{name}-system-virtualenv.patch
+Patch4:                glibc-2.34.patch
 URL:           http://www.mozilla.org/projects/thunderbird/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf2_13 >= 2.13
 %{?with_gold:BuildRequires:    binutils >= 3:2.20.51.0.7}
-BuildRequires: bzip2-devel
 %{?with_system_cairo:BuildRequires:    cairo-devel >= 1.10.2-5}
-BuildRequires: cargo
-%{?with_clang:BuildRequires:   clang}
+BuildRequires: cargo >= 1.47.0
+%{?with_clang:BuildRequires:   clang >= 5.0}
 BuildRequires: clang-devel
+BuildRequires: dbus-devel >= 0.60
 BuildRequires: dbus-glib-devel >= 0.60
-BuildRequires: fontconfig-devel >= 2.7.0
+BuildRequires: fontconfig-devel >= 1:2.7.0
 BuildRequires: freetype-devel >= 1:2.1.8
-BuildRequires: glib2-devel >= 1:2.22
-BuildRequires: gtk+3-devel >= 3.4.0
+BuildRequires: glib2-devel >= 1:2.42
+BuildRequires: gtk+3-devel >= 3.14.0
 BuildRequires: libatomic-devel
+BuildRequires: libdrm-devel >= 2.4
 BuildRequires: libevent-devel
-BuildRequires: libffi-devel > 3.0.9
-%{?with_system_icu:BuildRequires:      libicu-devel >= 63.1}
+BuildRequires: libffi-devel > 6:3.0.9
+%{?with_system_icu:BuildRequires:      libicu-devel >= 69.1}
 BuildRequires: libiw-devel
 # requires libjpeg-turbo implementing at least libjpeg 6b API
 BuildRequires: libjpeg-devel >= 6b
 BuildRequires: libjpeg-turbo-devel
-BuildRequires: libpng-devel >= 2:1.6.25
-BuildRequires: libstdc++-devel
-%{?with_system_libvpx:BuildRequires:   libvpx-devel >= 1.5.0}
+BuildRequires: libpng-devel >= 2:1.6.35
+BuildRequires: libstdc++-devel >= 6:7
+BuildRequires: libwebp-devel >= 1.0.2
+%{?with_system_libvpx:BuildRequires:   libvpx-devel >= 1.8.0}
 BuildRequires: llvm-devel
 BuildRequires: mozldap-devel
+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: perl-base >= 1:5.6
 BuildRequires: pixman-devel >= 0.19.2
-BuildRequires: pkgconfig
-BuildRequires: python >= 1:2.7
-BuildRequires: python-virtualenv
-BuildRequires: rust >= 1.34.0
-BuildRequires: rust-cbindgen >= 0.8.2
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: python3 >= 1:3.8.5-3
+BuildRequires: python3-simplejson
+BuildRequires: python3-virtualenv
+BuildRequires: rpm-build >= 4.6
+BuildRequires: rust >= 1.47.0
+BuildRequires: rust-cbindgen >= 0.19.0
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.28.0
-BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: tar >= 1:1.22
 BuildRequires: virtualenv
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXcomposite-devel
@@ -215,6 +234,8 @@ BuildRequires:      xorg-lib-libXdamage-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXfixes-devel
 BuildRequires: xorg-lib-libXt-devel
+BuildRequires: xorg-lib-libxkbcommon-devel >= 0.4.1
+BuildRequires: xz
 %ifarch %{ix86} %{x8664}
 BuildRequires: yasm >= 1.0.1
 %endif
@@ -223,20 +244,28 @@ BuildRequires:    zlib-devel >= 1.2.3
 Requires(post):        mktemp >= 1.5-18
 %{?with_system_cairo:Requires: cairo >= 1.10.2-5}
 Requires:      dbus-glib >= 0.60
-Requires:      glib2 >= 1:2.22
-Requires:      gtk+3 >= 3.4.0
-Requires:      libpng >= 2:1.6.25
-%{?with_system_libvpx:Requires:        libvpx >= 1.5.0}
+Requires:      fontconfig >= 2.7.0
+Requires:      glib2 >= 1:2.42
+Requires:      glibc >= 6:2.17
+Requires:      gtk+3 >= 3.14.0
+Requires:      libdrm >= 2.4
+%{?with_system_icu:Requires:   libicu >= 69.1}
+Requires:      libjpeg-turbo
+Requires:      libpng >= 2:1.6.35
+Requires:      libstdc++ >= 6:4.8.1
+Requires:      libwebp >= 1.0.2
+%{?with_system_libvpx:Requires:        libvpx >= 1.8.0}
 Requires:      myspell-common
 Requires:      nspr >= 1:%{nspr_ver}
 Requires:      nss >= 1:%{nss_ver}
 Requires:      pango >= 1:1.22.0
-Requires:      sqlite3 >= %{sqlite_build_version}
-Requires:      startup-notification >= 0.8
-Requires:      libjpeg-turbo
-Obsoletes:     icedove
-Obsoletes:     mozilla-thunderbird
-Obsoletes:     mozilla-thunderbird-dictionary-en-US
+Requires:      xorg-lib-libxkbcommon >= 0.4.1
+Obsoletes:     icedove < 39
+Obsoletes:     mozilla-thunderbird < 32
+Obsoletes:     mozilla-thunderbird-dictionary-en-US < 2.0
+Obsoletes:     thunderbird-addon-lightning < 78.0
+Obsoletes:     thunderbird-lang-fa < 91.0
+Obsoletes:     thunderbird-lang-si < 91.0
 Conflicts:     thunderbird-lang-resources < %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -249,10 +278,11 @@ BuildRoot:        %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # firefox/thunderbird/seamonkey provide their own versions
 %define                _noautoprovfiles        %{_libdir}/%{name}/components
 
+%define                moz_caps                liblgpllibs.so libmozalloc.so libmozgtk.so libmozjs.so libmozsandbox.so libmozsqlite3.so libmozwayland.so librnp.so libxul.so
 # we don't want these to satisfy packages depending on xulrunner
-%define                _noautoprov             libmozalloc.so libmozjs.so libxul.so
+%define                _noautoprov             %{moz_caps}
 # and as we don't provide them, don't require either
-%define                _noautoreq              libmozalloc.so libmozjs.so libxul.so
+%define                _noautoreq              %{moz_caps}
 
 %define                topdir          %{_builddir}/thunderbird-%{version}
 %define                objdir          %{topdir}/obj-%{_target_cpu}
@@ -264,20 +294,19 @@ Thunderbird is an open-source, fast and portable email client.
 Thunderbird jest mającym otwarte źródła, szybkim i przenośnym klientem
 poczty.
 
-%package addon-lightning
-Summary:       An integrated calendar for Thunderbird
-Summary(pl.UTF-8):     Zintegrowany kalendarz dla Thunderbird
-License:       MPL 1.1 or GPL v2+ or LGPL v2.1+
-Group:         Applications/Networking
-Requires:      %{name} = %{version}-%{release}
-Obsoletes:     icedove-addon-lightning
+%package lang-af
+Summary:       Afrikaans resources for Thunderbird
+Summary(pl.UTF-8):     Afrykanerskie pliki językowe dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
 
-%description addon-lightning
-Lightning is an calendar extension to Thunderbird email client.
+%description lang-af
+Afrikaans resources for Thunderbird.
 
-%description addon-lightning -l pl.UTF-8
-Lightning to rozszerzenie do klienta poczty Thunderbird dodające
-funkcjonalność kalendarza.
+%description lang-af -l pl.UTF-8
+Afrykanerskie pliki językowe dla Thunderbirda.
 
 %package lang-ar
 Summary:       Arabic resources for Thunderbird
@@ -285,8 +314,8 @@ Summary(pl.UTF-8):  Arabskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ar
-Obsoletes:     mozilla-thunderbird-lang-ar
+Obsoletes:     icedove-lang-ar < 39
+Obsoletes:     mozilla-thunderbird-lang-ar < 32
 BuildArch:     noarch
 
 %description lang-ar
@@ -301,8 +330,8 @@ Summary(pl.UTF-8):  Asturskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ast
-Obsoletes:     mozilla-thunderbird-lang-ast
+Obsoletes:     icedove-lang-ast < 39
+Obsoletes:     mozilla-thunderbird-lang-ast < 32
 BuildArch:     noarch
 
 %description lang-ast
@@ -317,8 +346,8 @@ Summary(pl.UTF-8):  Białoruskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-be
-Obsoletes:     mozilla-thunderbird-lang-be
+Obsoletes:     icedove-lang-be < 39
+Obsoletes:     mozilla-thunderbird-lang-be < 32
 BuildArch:     noarch
 
 %description lang-be
@@ -333,8 +362,8 @@ Summary(pl.UTF-8):  Bułgarskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-bg
-Obsoletes:     mozilla-thunderbird-lang-bg
+Obsoletes:     icedove-lang-bg < 39
+Obsoletes:     mozilla-thunderbird-lang-bg < 32
 BuildArch:     noarch
 
 %description lang-bg
@@ -349,8 +378,8 @@ Summary(pl.UTF-8):  Bengalskie pliki językowe dla Thunderbirda (wersja dla Bangl
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-bn
-Obsoletes:     mozilla-thunderbird-lang-bn
+Obsoletes:     icedove-lang-bn < 39
+Obsoletes:     mozilla-thunderbird-lang-bn < 32
 BuildArch:     noarch
 
 %description lang-bn
@@ -365,8 +394,8 @@ Summary(pl.UTF-8):  Bretońskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-br
-Obsoletes:     mozilla-thunderbird-lang-br
+Obsoletes:     icedove-lang-br < 39
+Obsoletes:     mozilla-thunderbird-lang-br < 32
 BuildArch:     noarch
 
 %description lang-br
@@ -381,8 +410,8 @@ Summary(pl.UTF-8):  Katalońskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ca
-Obsoletes:     mozilla-thunderbird-lang-ca
+Obsoletes:     icedove-lang-ca < 39
+Obsoletes:     mozilla-thunderbird-lang-ca < 32
 BuildArch:     noarch
 
 %description lang-ca
@@ -391,6 +420,20 @@ Catalan resources for Thunderbird.
 %description lang-ca -l pl.UTF-8
 Katalońskie pliki językowe dla Thunderbirda.
 
+%package lang-cak
+Summary:       Kaqchikel resources for Thunderbird
+Summary(pl.UTF-8):     Pliki językowe kaqchikel dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-cak
+Kaqchikel resources for Thunderbird.
+
+%description lang-cak -l pl.UTF-8
+Pliki językowe kaqchikel dla Thunderbirda.
+
 %package lang-cy
 Summary:       Welsh resources for Thunderbird
 Summary(pl.UTF-8):     Walijskie pliki językowe dla Thunderbirda
@@ -411,8 +454,8 @@ Summary(pl.UTF-8):  Czeskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-cs
-Obsoletes:     mozilla-thunderbird-lang-cs
+Obsoletes:     icedove-lang-cs < 39
+Obsoletes:     mozilla-thunderbird-lang-cs < 32
 BuildArch:     noarch
 
 %description lang-cs
@@ -427,8 +470,8 @@ Summary(pl.UTF-8):  Duńskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-da
-Obsoletes:     mozilla-thunderbird-lang-da
+Obsoletes:     icedove-lang-da < 39
+Obsoletes:     mozilla-thunderbird-lang-da < 32
 BuildArch:     noarch
 
 %description lang-da
@@ -443,8 +486,8 @@ Summary(pl.UTF-8):  Niemieckie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-de
-Obsoletes:     mozilla-thunderbird-lang-de
+Obsoletes:     icedove-lang-de < 39
+Obsoletes:     mozilla-thunderbird-lang-de < 32
 BuildArch:     noarch
 
 %description lang-de
@@ -473,8 +516,8 @@ Summary(pl.UTF-8):  Greckie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-el
-Obsoletes:     mozilla-thunderbird-lang-el
+Obsoletes:     icedove-lang-el < 39
+Obsoletes:     mozilla-thunderbird-lang-el < 32
 BuildArch:     noarch
 
 %description lang-el
@@ -483,14 +526,28 @@ Greek resources for Thunderbird.
 %description lang-el -l pl.UTF-8
 Greckie pliki językowe dla Thunderbirda.
 
+%package lang-en_CA
+Summary:       English (Canadian) resources for Thunderbird
+Summary(pl.UTF-8):     Angielskie (kanadyjskie) pliki językowe dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-en_CA
+English (Canadian) resources for Thunderbird.
+
+%description lang-en_CA -l pl.UTF-8
+Angielskie (kanadyjskie) pliki językowe dla Thunderbirda.
+
 %package lang-en_GB
 Summary:       English (British) resources for Thunderbird
 Summary(pl.UTF-8):     Angielskie (brytyjskie) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-en_GB
-Obsoletes:     mozilla-thunderbird-lang-en_GB
+Obsoletes:     icedove-lang-en_GB < 39
+Obsoletes:     mozilla-thunderbird-lang-en_GB < 32
 BuildArch:     noarch
 
 %description lang-en_GB
@@ -505,8 +562,8 @@ Summary(pl.UTF-8):  Angielskie (amerykańskie) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-en_US
-Obsoletes:     mozilla-thunderbird-lang-en_US
+Obsoletes:     icedove-lang-en_US < 39
+Obsoletes:     mozilla-thunderbird-lang-en_US < 32
 BuildArch:     noarch
 
 %description lang-en_US
@@ -521,8 +578,8 @@ Summary(pl.UTF-8):  Hiszpańskie pliki językowe dla Thunderbirda (wersja dla And
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-es_AR
-Obsoletes:     mozilla-thunderbird-lang-es_AR
+Obsoletes:     icedove-lang-es_AR < 39
+Obsoletes:     mozilla-thunderbird-lang-es_AR < 32
 BuildArch:     noarch
 
 %description lang-es_AR
@@ -537,8 +594,8 @@ Summary(pl.UTF-8):  Hiszpańskie pliki językowe dla Thunderbirda (wersja dla His
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-es
-Obsoletes:     mozilla-thunderbird-lang-es
+Obsoletes:     icedove-lang-es < 39
+Obsoletes:     mozilla-thunderbird-lang-es < 32
 BuildArch:     noarch
 
 %description lang-es
@@ -553,8 +610,8 @@ Summary(pl.UTF-8):  Estońskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-et
-Obsoletes:     mozilla-thunderbird-lang-et
+Obsoletes:     icedove-lang-et < 39
+Obsoletes:     mozilla-thunderbird-lang-et < 32
 BuildArch:     noarch
 
 %description lang-et
@@ -569,8 +626,8 @@ Summary(pl.UTF-8):  Baskijskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-eu
-Obsoletes:     mozilla-thunderbird-lang-eu
+Obsoletes:     icedove-lang-eu < 39
+Obsoletes:     mozilla-thunderbird-lang-eu < 32
 BuildArch:     noarch
 
 %description lang-eu
@@ -585,8 +642,8 @@ Summary(pl.UTF-8):  Fińskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-fi
-Obsoletes:     mozilla-thunderbird-lang-fi
+Obsoletes:     icedove-lang-fi < 39
+Obsoletes:     mozilla-thunderbird-lang-fi < 32
 BuildArch:     noarch
 
 %description lang-fi
@@ -601,8 +658,8 @@ Summary(pl.UTF-8):  Francuskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-fr
-Obsoletes:     mozilla-thunderbird-lang-fr
+Obsoletes:     icedove-lang-fr < 39
+Obsoletes:     mozilla-thunderbird-lang-fr < 32
 BuildArch:     noarch
 
 %description lang-fr
@@ -617,8 +674,8 @@ Summary(pl.UTF-8):  Fryzyjskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-fy
-Obsoletes:     mozilla-thunderbird-lang-fy
+Obsoletes:     icedove-lang-fy < 39
+Obsoletes:     mozilla-thunderbird-lang-fy < 32
 BuildArch:     noarch
 
 %description lang-fy
@@ -633,8 +690,8 @@ Summary(pl.UTF-8):  Irlandzkie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ga
-Obsoletes:     mozilla-thunderbird-lang-ga
+Obsoletes:     icedove-lang-ga < 39
+Obsoletes:     mozilla-thunderbird-lang-ga < 32
 BuildArch:     noarch
 
 %description lang-ga
@@ -649,8 +706,8 @@ Summary(pl.UTF-8):  Szkockie (gaelickie) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-gd
-Obsoletes:     mozilla-thunderbird-lang-gd
+Obsoletes:     icedove-lang-gd < 39
+Obsoletes:     mozilla-thunderbird-lang-gd < 32
 BuildArch:     noarch
 
 %description lang-gd
@@ -665,8 +722,8 @@ Summary(pl.UTF-8):  Galicyjskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-gl
-Obsoletes:     mozilla-thunderbird-lang-gl
+Obsoletes:     icedove-lang-gl < 39
+Obsoletes:     mozilla-thunderbird-lang-gl < 32
 BuildArch:     noarch
 
 %description lang-gl
@@ -681,8 +738,8 @@ Summary(pl.UTF-8):  Hebrajskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-he
-Obsoletes:     mozilla-thunderbird-lang-he
+Obsoletes:     icedove-lang-he < 39
+Obsoletes:     mozilla-thunderbird-lang-he < 32
 BuildArch:     noarch
 
 %description lang-he
@@ -697,8 +754,8 @@ Summary(pl.UTF-8):  Chorwackie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-hr
-Obsoletes:     mozilla-thunderbird-lang-hr
+Obsoletes:     icedove-lang-hr < 39
+Obsoletes:     mozilla-thunderbird-lang-hr < 32
 BuildArch:     noarch
 
 %description lang-hr
@@ -727,8 +784,8 @@ Summary(pl.UTF-8):  Węgierskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-hu
-Obsoletes:     mozilla-thunderbird-lang-hu
+Obsoletes:     icedove-lang-hu < 39
+Obsoletes:     mozilla-thunderbird-lang-hu < 32
 BuildArch:     noarch
 
 %description lang-hu
@@ -743,8 +800,8 @@ Summary(pl.UTF-8):  Ormiańskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-hy
-Obsoletes:     mozilla-thunderbird-lang-hy
+Obsoletes:     icedove-lang-hy < 39
+Obsoletes:     mozilla-thunderbird-lang-hy < 32
 BuildArch:     noarch
 
 %description lang-hy
@@ -759,8 +816,8 @@ Summary(pl.UTF-8):  Indonezyjskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-id
-Obsoletes:     mozilla-thunderbird-lang-id
+Obsoletes:     icedove-lang-id < 39
+Obsoletes:     mozilla-thunderbird-lang-id < 32
 BuildArch:     noarch
 
 %description lang-id
@@ -775,8 +832,8 @@ Summary(pl.UTF-8):  Islandzkie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-is
-Obsoletes:     mozilla-thunderbird-lang-is
+Obsoletes:     icedove-lang-is < 39
+Obsoletes:     mozilla-thunderbird-lang-is < 32
 BuildArch:     noarch
 
 %description lang-is
@@ -791,8 +848,8 @@ Summary(pl.UTF-8):  Włoskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-it
-Obsoletes:     mozilla-thunderbird-lang-it
+Obsoletes:     icedove-lang-it < 39
+Obsoletes:     mozilla-thunderbird-lang-it < 32
 BuildArch:     noarch
 
 %description lang-it
@@ -807,8 +864,8 @@ Summary(pl.UTF-8):  Japońskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ja
-Obsoletes:     mozilla-thunderbird-lang-ja
+Obsoletes:     icedove-lang-ja < 39
+Obsoletes:     mozilla-thunderbird-lang-ja < 32
 BuildArch:     noarch
 
 %description lang-ja
@@ -817,6 +874,20 @@ Japanese resources for Thunderbird.
 %description lang-ja -l pl.UTF-8
 Japońskie pliki językowe dla Thunderbirda.
 
+%package lang-ka
+Summary:       Georgian resources for Thunderbird
+Summary(pl.UTF-8):     Gruzińskie pliki językowe dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-ka
+Georgian resources for Thunderbird.
+
+%description lang-ka -l pl.UTF-8
+Gruzińskie pliki językowe dla Thunderbirda.
+
 %package lang-kab
 Summary:       Kabyle resources for Thunderbird
 Summary(pl.UTF-8):     Kabylskie pliki językowe dla Thunderbirda
@@ -851,8 +922,8 @@ Summary(pl.UTF-8):  Koreańskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ko
-Obsoletes:     mozilla-thunderbird-lang-ko
+Obsoletes:     icedove-lang-ko < 39
+Obsoletes:     mozilla-thunderbird-lang-ko < 32
 BuildArch:     noarch
 
 %description lang-ko
@@ -867,8 +938,8 @@ Summary(pl.UTF-8):  Litewskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-lt
-Obsoletes:     mozilla-thunderbird-lang-lt
+Obsoletes:     icedove-lang-lt < 39
+Obsoletes:     mozilla-thunderbird-lang-lt < 32
 BuildArch:     noarch
 
 %description lang-lt
@@ -877,6 +948,20 @@ Lithuanian resources for Thunderbird.
 %description lang-lt -l pl.UTF-8
 Litewskie pliki językowe dla Thunderbirda.
 
+%package lang-lv
+Summary:       Latvian resources for Thunderbird
+Summary(pl.UTF-8):     Łotewskie pliki językowe dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-lv
+Latvian resources for Thunderbird.
+
+%description lang-lv -l pl.UTF-8
+Łotewskie pliki językowe dla Thunderbirda.
+
 %package lang-ms
 Summary:       Malay resources for Thunderbird
 Summary(pl.UTF-8):     Malajskie pliki językowe dla Thunderbirda
@@ -897,8 +982,8 @@ Summary(pl.UTF-8):  Norweskie (bokmaal) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-nb
-Obsoletes:     mozilla-thunderbird-lang-nb
+Obsoletes:     icedove-lang-nb < 39
+Obsoletes:     mozilla-thunderbird-lang-nb < 32
 BuildArch:     noarch
 
 %description lang-nb
@@ -913,8 +998,8 @@ Summary(pl.UTF-8):  Holenderskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-nl
-Obsoletes:     mozilla-thunderbird-lang-nl
+Obsoletes:     icedove-lang-nl < 39
+Obsoletes:     mozilla-thunderbird-lang-nl < 32
 BuildArch:     noarch
 
 %description lang-nl
@@ -929,8 +1014,8 @@ Summary(pl.UTF-8): Norweskie (nynorsk) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-nn
-Obsoletes:     mozilla-thunderbird-lang-nn
+Obsoletes:     icedove-lang-nn < 39
+Obsoletes:     mozilla-thunderbird-lang-nn < 32
 BuildArch:     noarch
 
 %description lang-nn
@@ -945,8 +1030,8 @@ Summary(pl.UTF-8): Pendżabskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-pa
-Obsoletes:     mozilla-thunderbird-lang-pa
+Obsoletes:     icedove-lang-pa < 39
+Obsoletes:     mozilla-thunderbird-lang-pa < 32
 BuildArch:     noarch
 
 %description lang-pa
@@ -959,11 +1044,10 @@ Pendżabskie pliki językowe dla Thunderbirda.
 Summary:       Polish resources for Thunderbird
 Summary(pl.UTF-8):     Polskie pliki językowe dla Thunderbirda
 Group:         I18n
-URL:           http://www.thunderbird.pl/
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-pl
-Obsoletes:     mozilla-thunderbird-lang-pl
+Obsoletes:     icedove-lang-pl < 39
+Obsoletes:     mozilla-thunderbird-lang-pl < 32
 BuildArch:     noarch
 
 %description lang-pl
@@ -978,8 +1062,8 @@ Summary(pl.UTF-8): Portugalskie (brazylijskie) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-pt_BR
-Obsoletes:     mozilla-thunderbird-lang-pt_BR
+Obsoletes:     icedove-lang-pt_BR < 39
+Obsoletes:     mozilla-thunderbird-lang-pt_BR < 32
 BuildArch:     noarch
 
 %description lang-pt_BR
@@ -994,8 +1078,8 @@ Summary(pl.UTF-8): Portugalskie pliki językowe dla Thunderbirda (wersja dla Por
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-pt
-Obsoletes:     mozilla-thunderbird-lang-pt
+Obsoletes:     icedove-lang-pt < 39
+Obsoletes:     mozilla-thunderbird-lang-pt < 32
 BuildArch:     noarch
 
 %description lang-pt
@@ -1010,8 +1094,8 @@ Summary(pl.UTF-8):        Retoromańskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-rm
-Obsoletes:     mozilla-thunderbird-lang-rm
+Obsoletes:     icedove-lang-rm < 39
+Obsoletes:     mozilla-thunderbird-lang-rm < 32
 BuildArch:     noarch
 
 %description lang-rm
@@ -1026,8 +1110,8 @@ Summary(pl.UTF-8):        Rumuńskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ro
-Obsoletes:     mozilla-thunderbird-lang-ro
+Obsoletes:     icedove-lang-ro < 39
+Obsoletes:     mozilla-thunderbird-lang-ro < 32
 BuildArch:     noarch
 
 %description lang-ro
@@ -1042,8 +1126,8 @@ Summary(pl.UTF-8):        Rosyjskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ru
-Obsoletes:     mozilla-thunderbird-lang-ru
+Obsoletes:     icedove-lang-ru < 39
+Obsoletes:     mozilla-thunderbird-lang-ru < 32
 BuildArch:     noarch
 
 %description lang-ru
@@ -1052,30 +1136,14 @@ Russian resources for Thunderbird.
 %description lang-ru -l pl.UTF-8
 Rosyjskie pliki językowe dla Thunderbirda.
 
-%package lang-si
-Summary:       Sinhala resources for Thunderbird
-Summary(pl.UTF-8):     Syngaleskie pliki językowe dla Thunderbirda
-Group:         I18n
-Requires:      thunderbird >= %{version}
-Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-si
-Obsoletes:     mozilla-thunderbird-lang-si
-BuildArch:     noarch
-
-%description lang-si
-Sinhala resources for Thunderbird.
-
-%description lang-si -l pl.UTF-8
-Syngaleskie pliki językowe dla Thunderbirda.
-
 %package lang-sk
 Summary:       Slovak resources for Thunderbird
 Summary(pl.UTF-8):     Słowackie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-sk
-Obsoletes:     mozilla-thunderbird-lang-sk
+Obsoletes:     icedove-lang-sk < 39
+Obsoletes:     mozilla-thunderbird-lang-sk < 32
 BuildArch:     noarch
 
 %description lang-sk
@@ -1090,8 +1158,8 @@ Summary(pl.UTF-8):        Słoweńskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-sl
-Obsoletes:     mozilla-thunderbird-lang-sl
+Obsoletes:     icedove-lang-sl < 39
+Obsoletes:     mozilla-thunderbird-lang-sl < 32
 BuildArch:     noarch
 
 %description lang-sl
@@ -1106,8 +1174,8 @@ Summary(pl.UTF-8):        Albańskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-sq
-Obsoletes:     mozilla-thunderbird-lang-sq
+Obsoletes:     icedove-lang-sq < 39
+Obsoletes:     mozilla-thunderbird-lang-sq < 32
 BuildArch:     noarch
 
 %description lang-sq
@@ -1122,8 +1190,8 @@ Summary(pl.UTF-8):        Serbskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-sr
-Obsoletes:     mozilla-thunderbird-lang-sr
+Obsoletes:     icedove-lang-sr < 39
+Obsoletes:     mozilla-thunderbird-lang-sr < 32
 BuildArch:     noarch
 
 %description lang-sr
@@ -1138,8 +1206,8 @@ Summary(pl.UTF-8):        Szwedzkie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-sv
-Obsoletes:     mozilla-thunderbird-lang-sv
+Obsoletes:     icedove-lang-sv < 39
+Obsoletes:     mozilla-thunderbird-lang-sv < 32
 BuildArch:     noarch
 
 %description lang-sv
@@ -1154,8 +1222,8 @@ Summary(pl.UTF-8):        Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri La
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-ta_LK
-Obsoletes:     mozilla-thunderbird-lang-ta_LK
+Obsoletes:     icedove-lang-ta_LK < 39
+Obsoletes:     mozilla-thunderbird-lang-ta_LK < 32
 BuildArch:     noarch
 
 %description lang-ta_LK
@@ -1164,14 +1232,28 @@ Tamil (Sri Lanka) resources for Thunderbird.
 %description lang-ta_LK -l pl.UTF-8
 Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri Lanki).
 
+%package lang-th
+Summary:       Thai resources for Thunderbird
+Summary(pl.UTF-8):     Tajskie pliki językowe dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-th
+Thai resources for Thunderbird.
+
+%description lang-th -l pl.UTF-8
+Tajskie pliki językowe dla Thunderbirda.
+
 %package lang-tr
 Summary:       Turkish resources for Thunderbird
 Summary(pl.UTF-8):     Tureckie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-tr
-Obsoletes:     mozilla-thunderbird-lang-tr
+Obsoletes:     icedove-lang-tr < 39
+Obsoletes:     mozilla-thunderbird-lang-tr < 32
 BuildArch:     noarch
 
 %description lang-tr
@@ -1186,8 +1268,8 @@ Summary(pl.UTF-8):        Ukraińskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-uk
-Obsoletes:     mozilla-thunderbird-lang-uk
+Obsoletes:     icedove-lang-uk < 39
+Obsoletes:     mozilla-thunderbird-lang-uk < 32
 BuildArch:     noarch
 
 %description lang-uk
@@ -1196,14 +1278,28 @@ Ukrainian resources for Thunderbird.
 %description lang-uk -l pl.UTF-8
 Ukraińskie pliki językowe dla Thunderbirda.
 
+%package lang-uz
+Summary:       Uzbek resources for Thunderbird
+Summary(pl.UTF-8):     Uzbeckie pliki językowe dla Thunderbirda
+Group:         I18n
+Requires:      thunderbird >= %{version}
+Provides:      thunderbird-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-uz
+Uzbek resources for Thunderbird.
+
+%description lang-uz -l pl.UTF-8
+zbeckiee pliki językowe dla Thunderbirda.
+
 %package lang-vi
 Summary:       Vietnamese resources for Thunderbird
 Summary(pl.UTF-8):     Wietnamskie pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-vi
-Obsoletes:     mozilla-thunderbird-lang-vi
+Obsoletes:     icedove-lang-vi < 39
+Obsoletes:     mozilla-thunderbird-lang-vi < 32
 BuildArch:     noarch
 
 %description lang-vi
@@ -1218,8 +1314,8 @@ Summary(pl.UTF-8):        Chińskie (uproszczone) pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-zh_CN
-Obsoletes:     mozilla-thunderbird-lang-zh_CN
+Obsoletes:     icedove-lang-zh_CN < 39
+Obsoletes:     mozilla-thunderbird-lang-zh_CN < 32
 BuildArch:     noarch
 
 %description lang-zh_CN
@@ -1234,8 +1330,8 @@ Summary(pl.UTF-8):        Chińskie tradycyjne pliki językowe dla Thunderbirda
 Group:         I18n
 Requires:      thunderbird >= %{version}
 Provides:      thunderbird-lang-resources = %{version}
-Obsoletes:     icedove-lang-zh_TW
-Obsoletes:     mozilla-thunderbird-lang-zh_TW
+Obsoletes:     icedove-lang-zh_TW < 39
+Obsoletes:     mozilla-thunderbird-lang-zh_TW < 32
 BuildArch:     noarch
 
 %description lang-zh_TW
@@ -1250,11 +1346,12 @@ unpack() {
        cp -p $file .
 }
 %define __unzip unpack
-%setup -q %(seq -f '-a %g' 100 157 | xargs)
+%setup -q %(seq -f '-a %g' 100 164 | xargs)
 %patch0 -p1
 %patch1 -p1
 %patch2 -p0
-%patch3 -p1
+%patch3 -p2
+%patch4 -p1
 
 %build
 cp -p %{_datadir}/automake/config.* build/autoconf
@@ -1271,16 +1368,21 @@ export CC="%{__cc}"
 export CXX="%{__cxx}"
 %endif
 %ifarch %{ix86}
-export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -g0"
-export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64 -g0"
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
+export CXXFLAGS="%{rpmcxxflags} -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"
-%else
-export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
-export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
 %endif
 
 %if %{with crashreporter}
@@ -1306,39 +1408,27 @@ ac_add_options --enable-tests
 %else
 ac_add_options --disable-tests
 %endif
-%if %{with lightning}
-ac_add_options --enable-calendar
-%else
-ac_add_options --disable-calendar
-%endif
 %if %{with crashreporter}
 ac_add_options --enable-crashreporter
 %else
 ac_add_options --disable-crashreporter
 %endif
+%ifarch %{ix86} %{x8664} %{arm}
 ac_add_options --disable-elf-hack
-ac_add_options --disable-gconf
+%endif
 ac_add_options --disable-necko-wifi
 ac_add_options --disable-updater
 ac_add_options --enable-alsa
 ac_add_options --enable-application=comm/mail
 ac_add_options --enable-chrome-format=omni
 ac_add_options --enable-default-toolkit=cairo-gtk3
-%if %{with ldap}
-ac_add_options --enable-ldap
-%else
-ac_add_options --disable-ldap
-%endif
 %{?with_official:ac_add_options --enable-official-branding}
 %{?with_gold:ac_add_options --enable-linker=gold}
-ac_add_options --enable-readline
 %{?with_shared_js:ac_add_options --enable-shared-js}
-ac_add_options --enable-startup-notification
 %{?with_system_cairo:ac_add_options --enable-system-cairo}
-ac_add_options --enable-system-ffi
-ac_add_options --enable-system-sqlite
+ac_add_options --enable-system-pixman
 ac_add_options --with-distribution-id=org.pld-linux
-ac_add_options --with-system-bz2
+ac_add_options --with-system-ffi
 ac_add_options --with%{!?with_system_icu:out}-system-icu
 ac_add_options --with-system-jpeg
 ac_add_options --with-system-libevent
@@ -1346,12 +1436,24 @@ 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-png
+ac_add_options --with-system-webp
 ac_add_options --with-system-zlib
 EOF
 
-%{!?with_clang:export MOZ_MAKE_FLAGS="-j1"}
+%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
 
-AUTOCONF=/usr/bin/autoconf2_13 ./mach build
+AUTOCONF=/usr/bin/autoconf2_13 MACH_USE_SYSTEM_PYTHON=1 ./mach build
 
 %if %{with crashreporter}
 # create debuginfo for crash-stats.mozilla.com
@@ -1427,14 +1529,6 @@ exit 0
 
 %post
 %update_desktop_database_post
-# make temporary HOME, as it attempts to touch files in $HOME/.mozilla
-# dangerous if you run this with sudo with keep_env += HOME
-# also TMPDIR could be pointing to sudo user's homedir so we reset that too.
-export HOME=$(mktemp -d)
-unset TMPDIR TMP || :
-umask 022
-%{_libdir}/%{name}/thunderbird -register
-rm -rf $HOME
 
 %postun
 %update_desktop_database_postun
@@ -1445,13 +1539,15 @@ rm -rf $HOME
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/plugins
 
-%dir %{_libdir}/%{name}/gtk2
-%attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.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
+%attr(755,root,root) %{_libdir}/%{name}/librnp.so
 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
 %attr(755,root,root) %{_libdir}/%{name}/*-bin
 %attr(755,root,root) %{_libdir}/%{name}/pingsender
@@ -1460,16 +1556,11 @@ rm -rf $HOME
 %attr(755,root,root) %{_libdir}/%{name}/thunderbird
 
 %{_libdir}/%{name}/application.ini
-%{_libdir}/%{name}/blocklist.xml
-%{_libdir}/%{name}/chrome.manifest
 %{_libdir}/%{name}/dependentlibs.list
 %{_libdir}/%{name}/omni.ja
 %{_libdir}/%{name}/platform.ini
 %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
 
-%dir %{_libdir}/%{name}/features
-%{_libdir}/%{name}/features/wetransfer@extensions.thunderbird.net.xpi
-
 %dir %{_libdir}/%{name}/fonts
 %{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
 
@@ -1479,17 +1570,14 @@ rm -rf $HOME
 %{_libdir}/%{name}/Throbber-small.gif
 %endif
 
-%dir %{_libdir}/%{name}/distribution
-%dir %{_libdir}/%{name}/distribution/extensions
-
 # symlinks
 %{_libdir}/%{name}/chrome
 %{_libdir}/%{name}/defaults
 %{_libdir}/%{name}/extensions
 %{_libdir}/%{name}/isp
 
-%{_pixmapsdir}/*.png
-%{_desktopdir}/*.desktop
+%{_pixmapsdir}/thunderbird.png
+%{_desktopdir}/thunderbird.desktop
 
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/chrome
@@ -1497,11 +1585,9 @@ rm -rf $HOME
 %dir %{_datadir}/%{name}/extensions
 %{_datadir}/%{name}/isp
 
-%if %{with lightning}
-%files addon-lightning
+%files lang-af
 %defattr(644,root,root,755)
-%{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
-%endif
+%{_datadir}/%{name}/extensions/langpack-af@thunderbird.mozilla.org.xpi
 
 %files lang-ar
 %defattr(644,root,root,755)
@@ -1527,6 +1613,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-ca@thunderbird.mozilla.org.xpi
 
+%files lang-cak
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-cak@thunderbird.mozilla.org.xpi
+
 %files lang-cs
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-cs@thunderbird.mozilla.org.xpi
@@ -1551,6 +1641,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-el@thunderbird.mozilla.org.xpi
 
+%files lang-en_CA
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-en-CA@thunderbird.mozilla.org.xpi
+
 %files lang-en_GB
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-en-GB@thunderbird.mozilla.org.xpi
@@ -1635,6 +1729,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-ja@thunderbird.mozilla.org.xpi
 
+%files lang-ka
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-ka@thunderbird.mozilla.org.xpi
+
 %files lang-kab
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-kab@thunderbird.mozilla.org.xpi
@@ -1651,6 +1749,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-lt@thunderbird.mozilla.org.xpi
 
+%files lang-lv
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-lv@thunderbird.mozilla.org.xpi
+
 %files lang-ms
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-ms@thunderbird.mozilla.org.xpi
@@ -1667,6 +1769,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-nn-NO@thunderbird.mozilla.org.xpi
 
+%files lang-pa
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-pa-IN@thunderbird.mozilla.org.xpi
+
 %files lang-pl
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-pl@thunderbird.mozilla.org.xpi
@@ -1691,10 +1797,6 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-ru@thunderbird.mozilla.org.xpi
 
-%files lang-si
-%defattr(644,root,root,755)
-%{_datadir}/%{name}/extensions/langpack-si@thunderbird.mozilla.org.xpi
-
 %files lang-sk
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-sk@thunderbird.mozilla.org.xpi
@@ -1715,6 +1817,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-sv-SE@thunderbird.mozilla.org.xpi
 
+%files lang-th
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-th@thunderbird.mozilla.org.xpi
+
 %files lang-tr
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-tr@thunderbird.mozilla.org.xpi
@@ -1723,6 +1829,10 @@ rm -rf $HOME
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-uk@thunderbird.mozilla.org.xpi
 
+%files lang-uz
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-uz@thunderbird.mozilla.org.xpi
+
 %files lang-vi
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-vi@thunderbird.mozilla.org.xpi
This page took 0.106169 seconds and 4 git commands to generate.