%bcond_without system_libvpx # build with system libvpx
%bcond_without clang # build using Clang/LLVM
%bcond_with lowmem # lower memory requirements
+%bcond_with lowmem2 # even lower memory requirements at cost of build time
# UPDATING TRANSLATIONS:
%if 0
%endif
%define nspr_ver 4.32
-%define nss_ver 3.79.1
+%define nss_ver 3.90
Summary: Thunderbird - email client
Summary(pl.UTF-8): Thunderbird - klient poczty
Name: thunderbird
-Version: 102.7.2
+Version: 115.11.0
Release: 1
License: MPL v2.0
Group: X11/Applications/Mail
Source0: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
-# Source0-md5: 06a648b37da24274bb33dd97ae281119
+# Source0-md5: 3cbc8105c9b7bd7f670da256155b7f5f
Source1: %{name}.desktop
Source2: %{name}.sh
Source100: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
-# Source100-md5: ab90c426d573afe5fa48251cc22dfc0c
+# Source100-md5: 21c49970b64eef2d9eb73a6feaac83e4
Source101: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
-# Source101-md5: d53039ead7ba3f2c466adb70644fed6e
+# Source101-md5: d438b7d42cfe3de22855790ed7f4ffab
Source102: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
-# Source102-md5: 7dc9d9104d58f262ea051bfb8f3b872d
+# Source102-md5: 56ee4be993f26b7376e3b8a24f9c07d5
Source103: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
-# Source103-md5: 52712e1962f5e14a4a10d45a4d0dee7b
+# Source103-md5: 706515032cbe4397c6d39e11fe12bd2a
Source104: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
-# Source104-md5: fd698c54d9f47a7391b4a096f419f364
+# Source104-md5: 342ebb5c7c38db6f70b5b73ed402f3b7
Source105: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
-# Source105-md5: d078aad2825da5dca396daf2c57f93a2
+# Source105-md5: 2c957204254faa531e3f449f36262fba
Source106: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
-# Source106-md5: c5b1bc0d5774b6fc87d9265d219247b4
+# Source106-md5: 67fc3c75d71bc00d64961836e6f50a3f
Source107: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
-# Source107-md5: a444e5eb52aeefd11d9a08bccec2b918
+# Source107-md5: 3d9d0ae9e160a3356c1539c4f68b3bfb
Source108: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
-# Source108-md5: cfd44f5e3ff412890b61323d7b0676b8
+# Source108-md5: 15f1a772679fee70f1b4597984154099
Source109: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
-# Source109-md5: 3afee8c8c61fd24c1169020d8d7f20bf
+# Source109-md5: 1b66ac3e22f4e53bf32e849d8d42953e
Source110: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
-# Source110-md5: f8524bcb4bfc3b1f8a02d30f43863d63
+# Source110-md5: 6450c102889ad70d61dfc8123f60ec3e
Source111: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
-# Source111-md5: fcd80c6b78fe5a4f9579b58e3231dc14
+# Source111-md5: 9fac713d456238d54aa5e1fbd4414113
Source112: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
-# Source112-md5: bc646b2a8e4c0c7622f4f289e9fc2c83
+# Source112-md5: 34e5b4288e943b8db070b05f0fddaa30
Source113: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
-# Source113-md5: bf9a82f347c74d5954bb5ab87481618b
+# Source113-md5: 6570c9c2a26f6f5cc3aac3e8fac20eb4
Source114: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
-# Source114-md5: 402a9355efbadf4383ffdea665d5e99f
+# Source114-md5: 899138bba3f92bdf15e2d6cbd1df5326
Source115: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
-# Source115-md5: 39058f7e678409fe5d83cecdbf903e85
+# Source115-md5: 0e43b3046c326bf30b740bb50bf70759
Source116: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
-# Source116-md5: 4c7c7736b5d49b751d4af3eb486740fc
+# Source116-md5: 5835d430fab7a15672aed9b74cd9d243
Source117: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
-# Source117-md5: 946129844b3f8cca441aea2b7dc04ad0
+# Source117-md5: f666d56181ae7a63d6f3963dae39472b
Source118: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
-# Source118-md5: bb732b32f1cb3a59e2070b4ef3678643
+# Source118-md5: 25e3a71fdf136b352b505d598e9da6fd
Source119: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-MX.xpi
-# Source119-md5: 41147e4dfedf52716f0162048e5f8d99
+# Source119-md5: 2bfeadd1a6434d325ea2a1dec205c7eb
Source120: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
-# Source120-md5: 73a5a8f4f6c2265999c82fef80c5507a
+# Source120-md5: 8f27ac7434351760218595d629adfe5c
Source121: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
-# Source121-md5: 96b5032bec7dc0866e391ce6925bd514
+# Source121-md5: e558913f9e5832c81754618d365f252e
Source122: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
-# Source122-md5: 61037a57352e27e3d6fc35801c629629
+# Source122-md5: 33353c2ca2d04241b66ca0f5a89797b1
Source123: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
-# Source123-md5: a1901fe14fe970efd5d6ee76d654d96d
+# Source123-md5: 880e08c1377002a8b611fcb22e168b5b
Source124: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
-# Source124-md5: aaa2bb70e3ba4d0605e9738d6422f578
+# Source124-md5: 80d620111e3bfa096c7a829acf580b29
Source125: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
-# Source125-md5: f2b8068e98ff4e8b7d0bafe574bcea93
+# Source125-md5: f79ea69dd9bde6ce2c53c308e85dab35
Source126: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
-# Source126-md5: 13d0069e15118d501c65eb95182339bc
+# Source126-md5: bcf0e0d94d80dee8cff47a5ec461a398
Source127: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
-# Source127-md5: ebf0d0cf088795b23d6fbeae4f0b0f37
+# Source127-md5: 7cd2eda5f99d6af0a8fa0f65d2eca210
Source128: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
-# Source128-md5: 755bab3a0c7eef4bfe2045ffe5cfd39c
+# Source128-md5: 86febc078c4dc6b80a07468ae7888218
Source129: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
-# Source129-md5: 82d5905bb4a81485e9a38dff14ad4992
+# Source129-md5: f6aad54924db640975005aae82b75d93
Source130: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
-# Source130-md5: c617729f863305370f3dcb86baefd904
+# Source130-md5: aa061b001ee0f580d75116f42555b44c
Source131: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
-# Source131-md5: 6dc50947498c5f4db80e20e66dce2be1
+# Source131-md5: dc3c403471a84ba39da16013fd4e8774
Source132: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
-# Source132-md5: bd0f99dea727fc700c318bb6ef97d3a7
+# Source132-md5: 1d94b88dc00befd0230f5fda75a0b2a8
Source133: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
-# Source133-md5: 0d136d2dd072d84f8845d6e226cb534a
+# Source133-md5: acaccc0f409df241e6db10b928dd813f
Source134: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
-# Source134-md5: c724afddb9a4b5ee71508ca06a906f70
+# Source134-md5: eb347d178f8168049285e9564e34d8b8
Source135: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
-# Source135-md5: cf1a499f6eeff542593169d1bdb5ee6d
+# Source135-md5: 49961c9534c5f46c33c37a45b5df80ff
Source136: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
-# Source136-md5: 587488dcc75217bc78ac62e1b2034c72
+# Source136-md5: 9f76ba00bae19f56d915e1f8ecae42a6
Source137: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
-# Source137-md5: 4ccedf68ea19a282ec0d472e15937dc5
+# Source137-md5: 0f15c6a3255333d23aab1986688d9884
Source138: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
-# Source138-md5: 5349a46c277bb02f3eac3a936ae4aa8c
+# Source138-md5: 622c5ea02226a6ba64ec344b5a74e5e7
Source139: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
-# Source139-md5: a0ce443824613e81cd11f37929736ada
+# Source139-md5: 588fb012af34f49193cbda525afdef8e
Source140: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
-# Source140-md5: 9a2501d8644fb135b7d0cbc3b19f1729
+# Source140-md5: 325c7d776a154ad9e354d67f77c0ccba
Source141: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
-# Source141-md5: 16175a4b443a99e54f51c4179a504aa3
+# Source141-md5: 9d734d69403cbf021d7fa84ac6d0b8a7
Source142: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
-# Source142-md5: ca99445a046f4e09efcf870ab7960fea
+# Source142-md5: 244a9bbdb80a91d38507ec4a3bd60a9f
Source143: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
-# Source143-md5: b1ae0319c4012eac87011f610ff5f8b0
+# Source143-md5: 008e24cc9483f895a321b9f7f1f13d77
Source144: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
-# Source144-md5: 6e5957cd79c71e233bff61a96bb38c5e
+# Source144-md5: 5528e220a1ddd3da91b121bbeb7329a7
Source145: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
-# Source145-md5: a8830d05b822af6d8e3f03efef614bdc
+# Source145-md5: 9e66159d4ad639e30c80ed93b658ace6
Source146: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
-# Source146-md5: 051e03ab79fa4dab367f9fc356c044f5
+# Source146-md5: 52542fb285af28d2d56c14e007c8bba4
Source147: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
-# Source147-md5: 5cfc8f3fac8d1677f24ae457f777463e
+# Source147-md5: 35e1b4dae63c7aaae4f48a9270e98ce8
Source148: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
-# Source148-md5: 1802731c5521aafa5f2ff4f30bd73a10
+# Source148-md5: e0107c424e67d8e63ed14e458a583c51
Source149: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
-# Source149-md5: 8feb7c2681c701a10ffb8eef7e219269
+# Source149-md5: 41ffb5a803dda1e94567aeee84fd9309
Source150: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
-# Source150-md5: a09824ecf79913fba207acb78db6aa83
+# Source150-md5: f73195b4dd18fb9a5191bc6bd1c12bdd
Source151: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
-# Source151-md5: 67992da05bac50a4375e1879b9b0b256
+# Source151-md5: 52d6b62dc92d6dca92a7c54e81459a48
Source152: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
-# Source152-md5: 9b74a9e6f691a28db96baf720c50b073
+# Source152-md5: 24ba13165943b35de3eaed1e3fec3a21
Source153: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
-# Source153-md5: 43fc749d5e7d472d57a342867171dd81
+# Source153-md5: b5bdb1673ad9c57e7c74fac856c0d9db
Source154: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
-# Source154-md5: d9c222f804e805ae7ca4a9243e99cbd1
+# Source154-md5: 874502a9e2fa82a4c48bb7ffe281e3f5
Source155: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
-# Source155-md5: 76a81361be1aa6a4d1628e357ba60b14
+# Source155-md5: 53e568239b2cc4d0c66a21d706bb145e
Source156: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
-# Source156-md5: b0a1adc07dec821de58cbe053919fb08
+# Source156-md5: f7dfddab5e405743338d55ed1ce01681
Source157: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
-# Source157-md5: f0040ae59b13d85d849f1e78e12dfd9d
+# Source157-md5: d7e0a6849e65e93890611c33056a8644
Source158: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
-# Source158-md5: 5fbf055aeff1bcedbf472cc3c788e87d
+# Source158-md5: 73acaf078d31925c51915a466c3bfb60
Source159: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
-# Source159-md5: c38847db79f6b3108b663260505c1e35
+# Source159-md5: ecc9cced964a60b49addf06204a5c799
Source160: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
-# Source160-md5: 712390dcb067ec957571f86505ba3eff
+# Source160-md5: b9c6d7db692b870f03e901cbabfd8bc8
Source161: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
-# Source161-md5: 325956814877e2bd8a4b3ef30d780361
+# Source161-md5: f893031482507344227c99858f93817c
Source162: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
-# Source162-md5: d47f0281fbbb9c0030119264d8285e84
+# Source162-md5: 20dd54854941e32a49630c14a4d875e2
Source163: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
-# Source163-md5: d3551918879f7223379449bc8adb6561
+# Source163-md5: 511d77a16f828d57aacba4ed31642703
Source164: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
-# Source164-md5: 90de0f5b4e61fd573d54f850aab1dba4
+# Source164-md5: 0e12623d32a7c70aa15be3bc413945ba
Source165: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
-# Source165-md5: e7d35e766c1e4cd9d46cd0bf0f0100c9
+# Source165-md5: 90d83039a34ad2bc74ab88ffd56d5f2e
Patch0: prefs.patch
Patch1: no-subshell.patch
Patch2: enable-addons.patch
-Patch3: %{name}-system-virtualenv.patch
-Patch4: glibc-2.34.patch
+Patch3: glibc-2.34.patch
+Patch4: llvm18.patch
+Patch5: rust-1.78.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}
%{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5}
BuildRequires: cargo >= 1.47.0
-%{?with_clang:BuildRequires: clang >= 5.0}
-BuildRequires: clang-devel >= 5.0
+%{?with_clang:BuildRequires: clang >= 7.0}
+BuildRequires: clang-devel >= 7.0
BuildRequires: dbus-devel >= 0.60
BuildRequires: dbus-glib-devel >= 0.60
BuildRequires: fontconfig-devel >= 1:2.7.0
BuildRequires: freetype-devel >= 1:2.2.1
+%{!?with_clang:BuildRequires: gcc-c++ >= 6:8.1.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 > 6:3.0.9
-%{?with_system_icu:BuildRequires: libicu-devel >= 69.1}
+BuildRequires: libffi-devel >= 7:3.0.9
+%{?with_system_icu:BuildRequires: libicu-devel >= 73.1}
BuildRequires: libiw-devel
# requires libjpeg-turbo implementing at least libjpeg 6b API
BuildRequires: libjpeg-devel >= 6b
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}
+%{?with_system_libvpx:BuildRequires: libvpx-devel >= 1.10.0}
BuildRequires: libxcb-devel
-BuildRequires: llvm-devel >= 5.0
+BuildRequires: llvm-devel >= 7.0
BuildRequires: mozldap-devel
-BuildRequires: nodejs >= 10.23.1
+BuildRequires: nodejs >= 12.22.12
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
+%ifarch %{arm}
+BuildRequires: perl-modules >= 1:5.006
+%endif
BuildRequires: pixman-devel >= 0.36.0
BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: pulseaudio-devel
BuildRequires: python3-simplejson
BuildRequires: python3-virtualenv >= 20
BuildRequires: rpm-build >= 4.6
-BuildRequires: rust >= 1.59.0
-BuildRequires: rust-cbindgen >= 0.24.2
+BuildRequires: rust >= 1.66.0
+BuildRequires: rust-cbindgen >= 0.24.3
BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: unzip
%endif
BuildRequires: zip
BuildRequires: zlib-devel >= 1.2.3
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
Requires(post): mktemp >= 1.5-18
%{?with_system_cairo:Requires: cairo >= 1.10.2-5}
Requires: dbus-glib >= 0.60
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 >= 71.1}
+Requires: hicolor-icon-theme
+%{?with_system_icu:Requires: libicu >= 73.2-2}
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}
+%{?with_system_libvpx:Requires: libvpx >= 1.10.0}
Requires: myspell-common
Requires: nspr >= 1:%{nspr_ver}
Requires: nss >= 1:%{nss_ver}
# 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
+%define moz_caps liblgpllibs.so libmozavcodec.so libmozavutil.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 %{moz_caps}
# and as we don't provide them, don't require either
%description lang-bg -l pl.UTF-8
Bułgarskie pliki językowe dla Thunderbirda.
-%package lang-bn
-Summary: Bengali (Bangladesh) resources for Thunderbird
-Summary(pl.UTF-8): Bengalskie pliki językowe dla Thunderbirda (wersja dla Bangladeszu)
-Group: I18n
-Requires: thunderbird >= %{version}
-Provides: thunderbird-lang-resources = %{version}
-Obsoletes: icedove-lang-bn < 39
-Obsoletes: mozilla-thunderbird-lang-bn < 32
-BuildArch: noarch
-
-%description lang-bn
-Bengali (Bangladesh) resources for Thunderbird.
-
-%description lang-bn -l pl.UTF-8
-Bengalskie pliki językowe dla Thunderbirda (wersja dla Bangladeszu).
-
%package lang-br
Summary: Breton resources for Thunderbird
Summary(pl.UTF-8): Bretońskie pliki językowe dla Thunderbirda
%description lang-sv -l pl.UTF-8
Szwedzkie pliki językowe dla Thunderbirda.
-%package lang-ta_LK
-Summary: Tamil (Sri Lanka) resources for Thunderbird
-Summary(pl.UTF-8): Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri Lanki)
-Group: I18n
-Requires: thunderbird >= %{version}
-Provides: thunderbird-lang-resources = %{version}
-Obsoletes: icedove-lang-ta_LK < 39
-Obsoletes: mozilla-thunderbird-lang-ta_LK < 32
-BuildArch: noarch
-
-%description lang-ta_LK
-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
%patch2 -p0
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
cp -p %{_datadir}/automake/config.* build/autoconf
cat << 'EOF' > .mozconfig
-. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=%{objdir}
%if %{with clang}
ac_add_options --without-wasm-sandboxed-libraries
EOF
-%if ! %{with clang}
+%if %{without 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
export MOZBUILD_STATE_PATH="$(pwd)/.mozbuild"
export MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_BUILD_SITE=1
export MACH_SYSTEM_ASSERTED_COMPATIBLE_WITH_MACH_SITE=1
-AUTOCONF=/usr/bin/autoconf2_13 MACH_USE_SYSTEM_PYTHON=1 ./mach build
+AUTOCONF=/usr/bin/autoconf2_13 \
+MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none \
+./mach build %{?with_lowmem2:-j1}
%if %{with crashreporter}
# create debuginfo for crash-stats.mozilla.com
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_desktopdir}}
cd %{objdir}
%{__make} -C comm/mail/installer stage-package \
cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
%endif
+cd ..
+
%{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/%{name}
-cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
+# install icons and desktop file
+for i in 16 22 24 32 48 64 128 256; do
+ install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps
+ cp -a comm/mail/branding/thunderbird/default${i}.png \
+ $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/thunderbird.png
+done
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
# move arch independant ones to datadir
# remove unecessary stuff
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/removed-files
-cd ..
for a in *.xpi; do
basename=$(basename $a .xpi)
cp -p $a $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/langpack-$basename@thunderbird.mozilla.org.xpi
exit 0
%post
+%update_icon_cache hicolor
%update_desktop_database_post
%postun
+%update_icon_cache hicolor
%update_desktop_database_postun
%files
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/plugins
+%attr(755,root,root) %{_libdir}/%{name}/glxtest
%attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
%attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
+%attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
+%attr(755,root,root) %{_libdir}/%{name}/libmozavutil.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
%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}/thunderbird-bin
%attr(755,root,root) %{_libdir}/%{name}/pingsender
%attr(755,root,root) %{_libdir}/%{name}/plugin-container
%attr(755,root,root) %{_libdir}/%{name}/precomplete
%attr(755,root,root) %{_libdir}/%{name}/rnp-cli
%attr(755,root,root) %{_libdir}/%{name}/rnpkeys
%attr(755,root,root) %{_libdir}/%{name}/thunderbird
+%attr(755,root,root) %{_libdir}/%{name}/vaapitest
%{_libdir}/%{name}/application.ini
%{_libdir}/%{name}/dependentlibs.list
%{_libdir}/%{name}/extensions
%{_libdir}/%{name}/isp
-%{_pixmapsdir}/thunderbird.png
%{_desktopdir}/thunderbird.desktop
+%{_iconsdir}/hicolor/*/apps/thunderbird.png
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/chrome