%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.5.1
+Version: 115.8.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: 6ace9a3b327da5a064535ef74ba2a8f4
+# Source0-md5: 00100df1feb11016fed632db29fbcfb8
Source1: %{name}.desktop
Source2: %{name}.sh
Source100: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
-# Source100-md5: c28be9239c55d709a5fc4e57d3ab4b7f
+# Source100-md5: 9a2356fda4298f6bc54eec4fb1f3053c
Source101: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
-# Source101-md5: 5bfb9a3e1f7242e3e898c5a0a58efa03
+# Source101-md5: 1bc5f5a4536139b099a36920381a75b1
Source102: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
-# Source102-md5: e889d5acb2cfada2cdee8391391420b2
+# Source102-md5: 0850b513bcf80ae5b1b1125d558e16bd
Source103: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
-# Source103-md5: f26b6f081d274963419689fc6c572a41
+# Source103-md5: 4645345e97d6c42ada37690f3ab07dc7
Source104: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
-# Source104-md5: 049a346a18f52e1a602f04f66a8ee61c
+# Source104-md5: 360125e111f403f20a9f7b1d14dbbddc
Source105: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
-# Source105-md5: d1820d9c9fa37a757e8522ce9a141f9e
+# Source105-md5: 634aac70b8893da2d4f81e55314b5446
Source106: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
-# Source106-md5: afcd3440e89e46cc8279b768e6b00149
+# Source106-md5: 321c510bb6b5824ed86714e1576bc5b4
Source107: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
-# Source107-md5: c4f23373adb400c6a123c27531d5b621
+# Source107-md5: ac7b461f664f83963671b45a7f5b3aea
Source108: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
-# Source108-md5: a4fe6998adfe36f43eb773bd9c519c75
+# Source108-md5: bce8f512bdb66326ee34293021d8b252
Source109: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
-# Source109-md5: f6cc63d014b93b7b6923527bb7b11de1
+# Source109-md5: 1ef803722e2ce172d2cc1ecdc4a919e5
Source110: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
-# Source110-md5: 2e49074ce3cb61ca5b68b421aa4be621
+# Source110-md5: 2bad2725d21dc3bfc1c8cb08ed46981e
Source111: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
-# Source111-md5: d7f2a366293ded6eeac54dd4eb18c1bc
+# Source111-md5: f69d54aa4f3ccb6e974939b553181c8c
Source112: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
-# Source112-md5: 0069b6a995e21007bcbae28c7c4da218
+# Source112-md5: 42e6128b570a2a69a6c50e79f5ba4ff7
Source113: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
-# Source113-md5: 4b6b61a880a3e701a8f41abf4bd430ae
+# Source113-md5: 4bc642999c7b554ff0ea5d3643e6aac8
Source114: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
-# Source114-md5: 9068123bd63919456d821c9c71c57ec7
+# Source114-md5: 3a5ac25aea1a736757b28f366ec0d284
Source115: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
-# Source115-md5: b1076e0be15c142b57e3c2c9dae12d01
+# Source115-md5: 9e77f35b164307aab0f4e16506f85252
Source116: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
-# Source116-md5: 3647e1dc324e11f9b23e3ef3bb7fe734
+# Source116-md5: d361e5085b3acaf0e3bd604e1be9565d
Source117: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
-# Source117-md5: c275922c99f17a203be0d4fcbc6c4d3e
+# Source117-md5: e2022f976d240b0536a41f5f6eee26be
Source118: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
-# Source118-md5: 37afbef3d9ce49e4ea2fb19e68d77537
+# Source118-md5: a8aa3b653634e74728a171cd641f139b
Source119: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-MX.xpi
-# Source119-md5: 6bc5fcad9456b8463619bcc516dcb57b
+# Source119-md5: 6e54967b5a004bbde89a9f51319d3b65
Source120: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
-# Source120-md5: d172952f62ce751ae92faa82234bfb41
+# Source120-md5: de2811832cd4f6d6fe2a47c16b51648f
Source121: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
-# Source121-md5: 364c59605c309dc0e5166929dbb10d43
+# Source121-md5: 5d0d5a891ed1972c5ab7ee65edbdcb24
Source122: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
-# Source122-md5: 0c3c06525482682f5a23331f5a9121ce
+# Source122-md5: 9e604ef4667912a328095a408f3e643d
Source123: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
-# Source123-md5: c4ab3d226ad170bf87daeb6604575d25
+# Source123-md5: 45bdd65757c825aa0ce8f57c87578fd5
Source124: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
-# Source124-md5: 99d92f4edb1400ab39da12553d50f41a
+# Source124-md5: c53293d12ee0b75d3e7f7db353837f52
Source125: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
-# Source125-md5: 61672d1f3e173e830ad0f3179dc97fd0
+# Source125-md5: 57e16d4cd7f45685e45fea2ab55ed9c2
Source126: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
-# Source126-md5: 7cdf5f69f8cfe36811a594f6dad21567
+# Source126-md5: 407d9f0508ff3193e929027e67b82a96
Source127: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
-# Source127-md5: 4aee7cdf60aa75089c2a1ea6130de100
+# Source127-md5: f43dcacda6c2af65ed44b2f42d997f23
Source128: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
-# Source128-md5: 356a884b38d16efcbba6a7cb66a1ad71
+# Source128-md5: 98fe41c86bbb04d6e2c61c856d07e0eb
Source129: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
-# Source129-md5: b2825bfc79ff2363e7750720467bf32b
+# Source129-md5: 5d5831eefaa4cb97f43bfaa704503f39
Source130: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
-# Source130-md5: 29951663e5c95e6a6fff5722edf66c6a
+# Source130-md5: c04a5de7c90459f3b4559ddff584bce8
Source131: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
-# Source131-md5: 2b7d0b577ba6a6972110b49735455d95
+# Source131-md5: ac4919457aabb71dce2c67a5f16b857e
Source132: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
-# Source132-md5: 27e550ef4d9ce3dee27a6281e0de7a2f
+# Source132-md5: d722051999c0fcca78d648ef01cae89c
Source133: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
-# Source133-md5: 8e18626f2a55b7fcbb83e53ccf86939f
+# Source133-md5: 98e7fa829799afa5fde5f7988c9eb23f
Source134: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
-# Source134-md5: 16ffedd2d17c6d9f7f1f0969f83654f4
+# Source134-md5: 25a4a321f91c749405f2328667e2815e
Source135: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
-# Source135-md5: f83fd0a5bcf1499a660ba5ff6b25301f
+# Source135-md5: 664819b6571af59fc086cbb835453bf0
Source136: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
-# Source136-md5: 91133d0bb90463c95002d6aa815b37ec
+# Source136-md5: f98530870bc22c8d138b16909bd71208
Source137: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
-# Source137-md5: 50ca11472a7c96e3baec41a43b72c563
+# Source137-md5: bd10c267fd5aa1e6815b5b4a2fa84096
Source138: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
-# Source138-md5: 261e9a9a65ec01e1f13e0b9e583a5b25
+# Source138-md5: f7e57ba2357606f8333f3728411bd080
Source139: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
-# Source139-md5: 9a2f216b4b7ef0fd9eb336f6e3f7c166
+# Source139-md5: b01930b28aa32ea85124dc3eec972a1f
Source140: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
-# Source140-md5: 2bc15c0ea5cd2289f3343684e9834587
+# Source140-md5: b5b8b3345fb04cdab6241e6b2c48c1a3
Source141: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
-# Source141-md5: 4959d08a9f76171a9c7e7f72d75716a2
+# Source141-md5: 0bac5043ef47db491a07b6f33948224e
Source142: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
-# Source142-md5: d7124a676169c52c6e9cde5721090851
+# Source142-md5: 646aee988b1a8d04713a55bac76e2659
Source143: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
-# Source143-md5: 7bb0e5584af8d8df5f331079b44ec63e
+# Source143-md5: 8875fd1893cee18ef93a39753de16319
Source144: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
-# Source144-md5: bcddcd6208dd47871c94f8d57086f013
+# Source144-md5: d33a8090ec126a44d1c064036ace5d6e
Source145: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
-# Source145-md5: 5bf52d19b8f4e859a392414cbfdf076e
+# Source145-md5: 59c694aefad5a828e06771ebd21ae774
Source146: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
-# Source146-md5: 508dc608e618e3c99a351984525bbb15
+# Source146-md5: 77f921193afb68b2669bb93442e939ad
Source147: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
-# Source147-md5: b9f562d86131334abe0de41d6372de2e
+# Source147-md5: a04ae113e7004370c98c86108ad090f2
Source148: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
-# Source148-md5: d6ffb299000b318217e02f4e83135227
+# Source148-md5: cd162c1931bd94c708d6903d20467861
Source149: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
-# Source149-md5: 893d1a9fbc64e5b02749763c5db9cf07
+# Source149-md5: 698967bd85fd9f1937d631f23f11a336
Source150: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
-# Source150-md5: 3c4d2ba503a38b4f260f45be8ca144e6
+# Source150-md5: d9831830cf5a266b2cce9d44cc1d04a0
Source151: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
-# Source151-md5: d545e081219d42ab4b930ef7991f2dc1
+# Source151-md5: 34fc8794341781debf948126d865344e
Source152: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
-# Source152-md5: 7ba4390147be34d0ea42d70b682ac9d0
+# Source152-md5: 0cfcbafc817b9a310bb13d4fa64c940c
Source153: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
-# Source153-md5: b7b4a1546f26eac2c6611fb74a8bc6bc
+# Source153-md5: 41e9f0a5daed3db24a6aae8cfabc94ff
Source154: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
-# Source154-md5: 84f885f7889a9b5a21f008d80cbbcdad
+# Source154-md5: 8ed8199a1842f12f97ca886907119f0a
Source155: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
-# Source155-md5: 7895f8f655c77f2b05ecf0d9d8ec3f8b
+# Source155-md5: 60092e95091ba974d6556f3a88eb062e
Source156: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
-# Source156-md5: 8fd3c853bf7c26b1354dd6c3103ba9f1
+# Source156-md5: 8adcc19ea48161b916b10a2cfc0bb36b
Source157: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
-# Source157-md5: 99251f6da3ab921136de6236a7de8775
+# Source157-md5: fbaccef9d347e8e048f77a2d16df0be3
Source158: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
-# Source158-md5: 2a88edc009ccd583e86cc371b659499a
+# Source158-md5: ff0dedee5108f8e6c5826e2fe1084205
Source159: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
-# Source159-md5: 061805ad14e8c3b8b4ac37b9d2aceda4
+# Source159-md5: c3405ce8a07353811408141808b56af5
Source160: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
-# Source160-md5: 89158781db074549ed1ccae359513829
+# Source160-md5: 4f76638495a8dc156740d8665130b47b
Source161: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
-# Source161-md5: df716402bf0dcdd2620aa0faa27a4d04
+# Source161-md5: 3ca176eb36f791da4fd70ffe8f61a28a
Source162: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
-# Source162-md5: 795f7647ee5c6abe2dc87b1a92426878
+# Source162-md5: 2693b272ccad682146585b440141f15f
Source163: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
-# Source163-md5: c189a4a734ae8b001950ec080122e0c2
+# Source163-md5: f3e062f0acf92487b7c06faccd94d50f
Source164: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
-# Source164-md5: f5f89fefd83c16abbaa828b61e872178
+# Source164-md5: d8d448a74e6a2e600ecf5574a2e5c446
Source165: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
-# Source165-md5: a3cc5e5057813f06c200630822063dce
+# Source165-md5: 11fa75ab0ece65cdb9c326d267a35352
Patch0: prefs.patch
Patch1: no-subshell.patch
Patch2: enable-addons.patch
-Patch3: %{name}-system-virtualenv.patch
-Patch4: glibc-2.34.patch
-Patch5: cbindgen-0.24.2.patch
+Patch3: glibc-2.34.patch
URL: http://www.mozilla.org/projects/thunderbird/
BuildRequires: alsa-lib-devel
BuildRequires: autoconf2_13 >= 2.13
+BuildRequires: automake
%{?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 >= 1:3.8.5-3
+BuildRequires: python3-devel-tools
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
BuildRequires: virtualenv
BuildRequires: xorg-lib-libICE-devel
BuildRequires: xorg-lib-libSM-devel
%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
%patch1 -p1
%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