#
# 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_without gold # use default linker instead of gold
+%bcond_with gold # use gold instead of default linker
# - 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
# UPDATING TRANSLATIONS:
%if 0
curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
%endif
+%define _enable_debug_packages 0
+
%if 0%{?_enable_debug_packages} != 1
%undefine crashreporter
%endif
-%define nspr_ver 4.19
-%define nss_ver 3.36.4
+%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.25
+%define nss_ver 3.53.1
Summary: Thunderbird - email client
Summary(pl.UTF-8): Thunderbird - klient poczty
Name: thunderbird
-Version: 60.3.0
+Version: 78.7.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: 246090e1e31bda1985c21336e6655db0
+# Source0-md5: 65c466d8fae272848b9951913a536a7a
Source1: %{name}.desktop
Source2: %{name}.sh
-Source100: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ar.xpi
-# Source100-md5: 0b9dbae3aa4592596017a1dd0db97cd5
-Source101: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ast.xpi
-# Source101-md5: 4a5ce0184221b2bf511135f9774ac3a0
-Source102: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/be.xpi
-# Source102-md5: 70df5a7f3a19855d31741a86706f2de6
-Source103: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/bg.xpi
-# Source103-md5: c5db1bcce715d43a9331361448dd55f3
-Source104: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/br.xpi
-# Source104-md5: 673403185b913193ca4fd1cdfadfe5e3
-Source105: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ca.xpi
-# Source105-md5: ad572d5423e32728e0332cde3e2aa584
-Source106: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cs.xpi
-# Source106-md5: 1fe2ebfcfe472b3393f45d5e58d599b7
-Source107: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cy.xpi
-# Source107-md5: 8bf3ea2c73c5b613914fdc685a45da7d
-Source108: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/da.xpi
-# Source108-md5: da0c90ef7b437020d50419653eed63c1
-Source109: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/de.xpi
-# Source109-md5: 1eb1814af362b7960bf21596bfb3f4b8
-Source110: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/dsb.xpi
-# Source110-md5: d81db70b4cb64f0b45e2591f73656f23
-Source111: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/el.xpi
-# Source111-md5: b61c3cd8ac9d3840974e5db967a8e10c
-Source112: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source112-md5: 06680931b3ca711ba76f203ec30e7dda
-Source113: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-US.xpi
-# Source113-md5: b03db6f8d4ef4f8a765ea2ee19ef108b
-Source114: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-AR.xpi
-# Source114-md5: a431fc8fa7d8b93ebe281fe8b11518ca
-Source115: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-ES.xpi
-# Source115-md5: 196865dcf4b163ac10e67325c2b5a16a
-Source116: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/et.xpi
-# Source116-md5: 348f4bd760a7a49bb9aef8ac4caa7d6f
-Source117: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/eu.xpi
-# Source117-md5: 2abdd16fc97c4a2b91e61d123a4e91a8
-Source118: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fi.xpi
-# Source118-md5: 669c5c9181efc61653f5128656bc1610
-Source119: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fr.xpi
-# Source119-md5: d77198a5b3dcf8cfb322e4c9a0d13b70
-Source120: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fy-NL.xpi
-# Source120-md5: be52e7177ae6fb198b8f4b6fe7e24c5d
-Source121: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ga-IE.xpi
-# Source121-md5: 00c3ce20718917a133b94f6300cd15e9
-Source122: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gd.xpi
-# Source122-md5: 3a6b04e497b0b9e50b2c2f1f6c881524
-Source123: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gl.xpi
-# Source123-md5: e6e00a428f48cd73d3ed2aab067e5025
-Source124: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/he.xpi
-# Source124-md5: 4d4ddee1902f51ff984e00267178d1cf
-Source125: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hr.xpi
-# Source125-md5: e2b6769bfb6aec4460fd7c8e8bf45a0e
-Source126: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hsb.xpi
-# Source126-md5: 764592b7daead502c05fa48c3c18a61d
-Source127: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hu.xpi
-# Source127-md5: e2e2d422c65d16cef70946bd41b1c07c
-Source128: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hy-AM.xpi
-# Source128-md5: 4561ff63736e041c161d8027d82b62fd
-Source129: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/id.xpi
-# Source129-md5: 1e99048f510c68fd67dfccdff1229581
-Source130: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/is.xpi
-# Source130-md5: 9879715abf7fcb8d8e3cb5bf8a2b47a6
-Source131: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/it.xpi
-# Source131-md5: d043eebeb2fc7e5027794cdf25e4b193
-Source132: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source132-md5: 29d0231c9bde3c4ef964914dc5a22416
-Source133: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source133-md5: 4ace8819d0496f4c282174ed78122a5f
-Source134: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source134-md5: 46e3332d4fd9b3f617ab1f07de872f17
-Source135: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source135-md5: 4a99e04364521bd85fbd93050ce3bc55
-Source136: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source136-md5: 32dbc0a2904911dd24e94c9006a64cb6
-Source137: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ms.xpi
-# Source137-md5: 55f4f1027b93fd3312b2ce55af016bf1
-Source138: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nb-NO.xpi
-# Source138-md5: 383faa86d0630b22eb0051e67364f683
-Source139: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nl.xpi
-# Source139-md5: 26e5eae539842f589f7e64928615340a
-Source140: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nn-NO.xpi
-# Source140-md5: 536db55bfd04d4867b7febe59017aa67
-Source141: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source141-md5: 4e1e40315c2c03c0b353dc18fabfe684
-Source142: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-BR.xpi
-# Source142-md5: 03fed1f396d513a1385badf1adc28d36
-Source143: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-PT.xpi
-# Source143-md5: 812c517d5e6bc1b7cdef3c34e0e9c68c
-Source144: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/rm.xpi
-# Source144-md5: 4e5ba5783b92a7c8e1de4abb3c1dc865
-Source145: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ro.xpi
-# Source145-md5: 99a0bbcd6a0bf5cc09519aa46afcd31f
-Source146: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ru.xpi
-# Source146-md5: 754fee8afbefe78e9e10b1cc659e5933
-Source147: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/si.xpi
-# Source147-md5: d73340b10ac5e8f47804e1d1b8310345
-Source148: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sk.xpi
-# Source148-md5: ff6acaef96c9a0044c94f404347e2b77
-Source149: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sl.xpi
-# Source149-md5: 455e78953381a5e8b4b6c70f2f3b1fd8
-Source150: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sq.xpi
-# Source150-md5: 7f041dd8e196ab18a75ca5d6ad9d4596
-Source151: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sr.xpi
-# Source151-md5: de915d74545832c541d49fa01cf00731
-Source152: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sv-SE.xpi
-# Source152-md5: 390485baf39168fd2cc5b119d415c734
-Source153: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/tr.xpi
-# Source153-md5: e1fe91a6a0baf2390b41d67eb0b0e985
-Source154: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/uk.xpi
-# Source154-md5: b1803c3368ffe2c5f4987898e19cb475
-Source155: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/vi.xpi
-# Source155-md5: 48dd87261ffd6658c6503b9dd79e7841
-Source156: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-CN.xpi
-# Source156-md5: 37f0d5973fa484e29021e322c45353c2
-Source157: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-TW.xpi
-# Source157-md5: 33e194c2f4ebcfbb40ea981f13313376
+Source100: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
+# Source100-md5: 8d215c7cde5089673a282e9df006be9c
+Source101: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
+# Source101-md5: 4fd5deb04128d28d899c7147dbb50595
+Source102: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
+# Source102-md5: 71517b4c47f7022ac57a5c13e67719ac
+Source103: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
+# Source103-md5: 579d322fbc65e8f3cd8acf12d963985d
+Source104: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
+# Source104-md5: f67843aad9ace2bb899e84b93ad98b8a
+Source105: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
+# Source105-md5: 47bb4ea5372394a954b20ce843449150
+Source106: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
+# Source106-md5: 4e3bec7ec3948936da7242edf5840b14
+Source107: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
+# Source107-md5: 7f3d6df0ced07b517ba0a884df195b26
+Source108: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
+# Source108-md5: f80b5c55d47f76402bdf798558a681b2
+Source109: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
+# Source109-md5: 8bb0bd62d4d1fc5d47197e0d902f9f29
+Source110: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
+# Source110-md5: 9ffd018dd3bb4c1d0d65b14a50cbeb71
+Source111: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
+# Source111-md5: 679a3a0a3d7b676d2c01ee64b878503c
+Source112: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
+# Source112-md5: abfb08d5dbf12ac9a60d930a5ef16fe0
+Source113: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
+# Source113-md5: 8a8011a58387fbc6cfa1d7f30673325e
+Source114: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
+# Source114-md5: 87c53afce7142440130876a306490aa2
+Source115: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
+# Source115-md5: 84bb04f0d81ec8e94267e3ac7f62507c
+Source116: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
+# Source116-md5: 594187e5be0573aa543a792faa09a4c4
+Source117: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
+# Source117-md5: 2562f57b59cfaa182f3b39c251879db7
+Source118: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
+# Source118-md5: f983268b5b4224f656f2e8dffd53bcec
+Source119: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
+# Source119-md5: da0d9fd4e526ec1413cab895d98dc4f8
+Source120: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
+# Source120-md5: 73c58448c9c40ebb3b0c644850e677a4
+Source121: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fa.xpi
+# Source121-md5: 475b811a9495eda8e8a3f99fda1d28e5
+Source122: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
+# Source122-md5: df6823bd5d559cd6721e02f1d91af2bd
+Source123: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
+# Source123-md5: e6a7232c74ac9e5b8fb8abc3b9f17f9f
+Source124: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
+# Source124-md5: 911cff80675a1436e257bf2506a4a41b
+Source125: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
+# Source125-md5: f497942c7a146b0837ccf684e057af16
+Source126: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
+# Source126-md5: 450fec418f6ed995735f0ce6a5d1decf
+Source127: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
+# Source127-md5: ac6eb8c65117ab537ba707b15e4487ab
+Source128: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
+# Source128-md5: a5ab6ec5e337894903e6f09b389ffc1b
+Source129: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
+# Source129-md5: 1f6b6e023d76eff99e39fd80a6ce9b0b
+Source130: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
+# Source130-md5: caccd2c3bbd6c4915f88a821b9ded644
+Source131: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
+# Source131-md5: 91e150e38095326bb323ccac307d40f0
+Source132: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
+# Source132-md5: 8cbfc34f00a09515e1ef7319e84b6d62
+Source133: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
+# Source133-md5: c260233c4572343cfd3d7afd793affa0
+Source134: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
+# Source134-md5: b6b7bc72106eea5fed3e9ce3ccddc315
+Source135: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
+# Source135-md5: 913252068b123e131a3a6bee0fc9e770
+Source136: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
+# Source136-md5: 7e076080e38f85aafbdf83a75631233f
+Source137: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
+# Source137-md5: f049737a8feeae36b6a26a4a28091090
+Source138: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
+# Source138-md5: 9c5ae9f1465320a3478487c10f78e4eb
+Source139: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
+# Source139-md5: ae701ada0249d22cab24e388d5e009b8
+Source140: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
+# Source140-md5: d20fb3e0ce1d024f6a8fee62b269a286
+Source141: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
+# Source141-md5: eec9b954d466bf90b82bc8138dc535f5
+Source142: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
+# Source142-md5: 399ea6d4b4f105a95332b571de28c37d
+Source143: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
+# Source143-md5: 320a7048ab3834f4f88f266d30cc374f
+Source144: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
+# Source144-md5: d83bb76930671ef3c6e60a2414e51f8b
+Source145: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
+# Source145-md5: f97a036f9f2600bb5b0ef47fa2c956f9
+Source146: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
+# Source146-md5: a0451d6ca1fb53e53888ac6d5bf731fc
+Source147: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
+# Source147-md5: 3f931bad25b542c54da4f34f02756f76
+Source148: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
+# Source148-md5: 846280a87900545f99c10f1c1e77f5dc
+Source149: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
+# Source149-md5: 840adef6431f26d5094f470fb70e5f6f
+Source150: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
+# Source150-md5: c5f3eec1c336561bd9b6bc813af4b582
+Source151: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
+# Source151-md5: b22ab1a9787cbf277dcd039f24c9ba09
+Source152: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
+# Source152-md5: 3f8da14f494007939d001567b9d3e503
+Source153: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/si.xpi
+# Source153-md5: 888f4222bea2c7e0ce82e808fd2a38b8
+Source154: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
+# Source154-md5: dc908659fe45feabb541777b44386c1f
+Source155: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
+# Source155-md5: a2b15619babd69c5f393e0c3cfe60f4a
+Source156: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
+# Source156-md5: b83ef7ba30c7df927e956e4800f1a37e
+Source157: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
+# Source157-md5: 2ef37ecce18194d0cf88d256e586d76f
+Source158: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
+# Source158-md5: 8cb1d9b3f86b017d37eb79147891b589
+Source159: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
+# Source159-md5: 02350cb528f9d647fbaaaef1ab4df0ab
+Source160: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
+# Source160-md5: 7307a834db4c7261c1ada9b01a20eee6
+Source161: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
+# Source161-md5: 00323e5ab9096f5794e9f10041245628
+Source162: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
+# Source162-md5: b8d3474297a0084cad3ec28774c0b2d6
+Source163: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
+# Source163-md5: b16ccdcf9f1de2b9f0cb0295238a87be
+Source164: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
+# Source164-md5: 3908e7d270f59750631b0123bd37c584
+Source165: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
+# Source165-md5: 8a15adb5cd231c3f3a2df4f8a42f953c
Patch0: prefs.patch
Patch1: no-subshell.patch
Patch2: enable-addons.patch
+Patch3: %{name}-system-virtualenv.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: clang-devel
+BuildRequires: dbus-devel >= 0.60
BuildRequires: dbus-glib-devel >= 0.60
BuildRequires: fontconfig-devel >= 2.7.0
BuildRequires: freetype-devel >= 1:2.1.8
BuildRequires: glib2-devel >= 1:2.22
-BuildRequires: gtk+3-devel >= 3.4.0
-BuildRequires: hunspell-devel
+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 >= 58.1}
+%{?with_system_icu:BuildRequires: libicu-devel >= 67.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
-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.21.0
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
+BuildRequires: python3 >= 1:3.8.5-3
+BuildRequires: python3-virtualenv
+BuildRequires: rust >= 1.41.0
+BuildRequires: rust-cbindgen >= 0.14.1
BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.22.0
-BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: tar >= 1:1.22
BuildRequires: virtualenv
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXcomposite-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
Requires(post): mktemp >= 1.5-18
%{?with_system_cairo:Requires: cairo >= 1.10.2-5}
Requires: dbus-glib >= 0.60
+Requires: fontconfig >= 2.7.0
Requires: glib2 >= 1:2.22
-Requires: gtk+3 >= 3.4.0
-Requires: libpng >= 2:1.6.25
-Requires: libvpx >= 1.5.0
+Requires: glibc >= 6:2.17
+Requires: gtk+3 >= 3.14.0
+Requires: libdrm >= 2.4
+%{?with_system_icu:Requires: libicu >= 67.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
+Requires: xorg-lib-libxkbcommon >= 0.4.1
Obsoletes: icedove
Obsoletes: mozilla-thunderbird
Obsoletes: mozilla-thunderbird-dictionary-en-US
+Obsoletes: thunderbird-addon-lightning < 78.0
Conflicts: thunderbird-lang-resources < %{version}
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}
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
%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
%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
%description lang-eu -l pl.UTF-8
Baskijskie pliki językowe dla Thunderbirda.
+%package lang-fa
+Summary: Persian resources for Thunderbird
+Summary(pl.UTF-8): Perskie pliki językowe dla Thunderbirda
+Group: I18n
+Requires: thunderbird >= %{version}
+Provides: thunderbird-lang-resources = %{version}
+BuildArch: noarch
+
+%description lang-fa
+Persian resources for Thunderbird.
+
+%description lang-fa -l pl.UTF-8
+Perskie pliki językowe dla Thunderbirda.
+
%package lang-fi
Summary: Finnish resources for Thunderbird
Summary(pl.UTF-8): Fińskie pliki językowe dla Thunderbirda
%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
%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
%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
cp -p $file .
}
%define __unzip unpack
-%setup -q %(seq -f '-a %g' 100 157 | xargs)
+%setup -q %(seq -f '-a %g' 100 165 | xargs)
%patch0 -p1
%patch1 -p1
%patch2 -p0
+%patch3 -p2
%build
cp -p %{_datadir}/automake/config.* build/autoconf
export CC="%{__cc}"
export CXX="%{__cxx}"
%endif
+%ifarch %{ix86}
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"
+%endif
%if %{with crashreporter}
export MOZ_DEBUG_SYMBOLS=1
%else
ac_add_options --disable-crashreporter
%endif
-#ac_add_options --disable-elf-hack
-ac_add_options --disable-gconf
+%ifarch %{ix86} %{x8664} %{arm}
+ac_add_options --disable-elf-hack
+%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-hunspell
-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-pthreads
-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
-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-png
+ac_add_options --with-system-webp
ac_add_options --with-system-zlib
-ac_add_options --with-x
EOF
-AUTOCONF=/usr/bin/autoconf2_13 ./mach build -v
+%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
%if %{with crashreporter}
# create debuginfo for crash-stats.mozilla.com
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/plugins,%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
cd %{objdir}
%{__make} -C comm/mail/installer stage-package \
cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-# use system dict
-%{__rm} -rv $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
-
# move arch independant ones to datadir
%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
fi
mv -v %{_libdir}/%{name}/extensions %{_datadir}/%{name}/extensions
fi
-if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
- mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
-fi
for d in chrome defaults icons isp modules res; do
if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
install -d %{_datadir}/%{name}
%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
%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}
%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
%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/EmojiOneMozilla.ttf
+%{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
%if %{with crashreporter}
%attr(755,root,root) %{_libdir}/%{name}/crashreporter
%{_libdir}/%{name}/Throbber-small.gif
%endif
-%dir %{_libdir}/%{name}/distribution
-%dir %{_libdir}/%{name}/distribution/extensions
-
# symlinks
%{_libdir}/%{name}/chrome
%{_libdir}/%{name}/defaults
-%{_libdir}/%{name}/dictionaries
%{_libdir}/%{name}/extensions
-%{_libdir}/%{name}/hyphenation
%{_libdir}/%{name}/isp
-%{_pixmapsdir}/*.png
-%{_desktopdir}/*.desktop
+%{_pixmapsdir}/thunderbird.png
+%{_desktopdir}/thunderbird.desktop
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/chrome
%{_datadir}/%{name}/defaults
-%{_datadir}/%{name}/isp
-
%dir %{_datadir}/%{name}/extensions
-%{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
+%{_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)
%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
%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
%defattr(644,root,root,755)
%{_datadir}/%{name}/extensions/langpack-eu@thunderbird.mozilla.org.xpi
+%files lang-fa
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-fa@thunderbird.mozilla.org.xpi
+
%files lang-fi
%defattr(644,root,root,755)
%{_datadir}/%{name}/extensions/langpack-fi@thunderbird.mozilla.org.xpi
%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
%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
%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
%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