%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.8.0
+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: 3f734007b13b304dadcdf3a197d95a9e
+# 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: 44f57f5c1178290b4b16b347ecc451ea
+# Source100-md5: 9a2356fda4298f6bc54eec4fb1f3053c
Source101: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
-# Source101-md5: 5483478173d45d5555e259bf421904ee
+# Source101-md5: 1bc5f5a4536139b099a36920381a75b1
Source102: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
-# Source102-md5: 4aa78cab2173a4d1caaa7023aad460fc
+# Source102-md5: 0850b513bcf80ae5b1b1125d558e16bd
Source103: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
-# Source103-md5: 7074fe48ac5d57faec30c94811c1ec41
+# Source103-md5: 4645345e97d6c42ada37690f3ab07dc7
Source104: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
-# Source104-md5: 125b2abb8ce7fb6c5a66e182ec300275
+# Source104-md5: 360125e111f403f20a9f7b1d14dbbddc
Source105: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
-# Source105-md5: bf5249af82cdefb99fc41c28c6309cc5
+# Source105-md5: 634aac70b8893da2d4f81e55314b5446
Source106: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
-# Source106-md5: 3ac1df8f04dca328a8c1e262e3eacede
+# Source106-md5: 321c510bb6b5824ed86714e1576bc5b4
Source107: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
-# Source107-md5: 1e98587e7f949cac84815116b932c234
+# Source107-md5: ac7b461f664f83963671b45a7f5b3aea
Source108: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
-# Source108-md5: eba7d20331a611bea4836f083506630d
+# Source108-md5: bce8f512bdb66326ee34293021d8b252
Source109: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
-# Source109-md5: ff97aae414fbe1b96cb2341a68b1f3c7
+# Source109-md5: 1ef803722e2ce172d2cc1ecdc4a919e5
Source110: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
-# Source110-md5: 438b8a8ccf9d7f41e7e5d4badab53d6c
+# Source110-md5: 2bad2725d21dc3bfc1c8cb08ed46981e
Source111: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
-# Source111-md5: 985932ada46a0a339cc48c262a29c73f
+# Source111-md5: f69d54aa4f3ccb6e974939b553181c8c
Source112: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
-# Source112-md5: ded9bc9559222f8d36d67c678fdc3352
+# Source112-md5: 42e6128b570a2a69a6c50e79f5ba4ff7
Source113: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
-# Source113-md5: 18f22a304744688df808d8602e6ec8e7
+# Source113-md5: 4bc642999c7b554ff0ea5d3643e6aac8
Source114: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
-# Source114-md5: f3dfb2c889857c245840f0cb42ab0ab0
+# Source114-md5: 3a5ac25aea1a736757b28f366ec0d284
Source115: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
-# Source115-md5: 5e2d03eebb0f0efde0e2a39734e0caaa
+# Source115-md5: 9e77f35b164307aab0f4e16506f85252
Source116: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
-# Source116-md5: 04484b74e93940fdaf1b95f69cd2021e
+# Source116-md5: d361e5085b3acaf0e3bd604e1be9565d
Source117: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
-# Source117-md5: 4ce9c0f49ae9970f7430504d373bda02
+# Source117-md5: e2022f976d240b0536a41f5f6eee26be
Source118: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
-# Source118-md5: e4241615aa02423ba3acdcfcee782f48
+# Source118-md5: a8aa3b653634e74728a171cd641f139b
Source119: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-MX.xpi
-# Source119-md5: d44db4d157f296b62e4ecf15e1889cbf
+# Source119-md5: 6e54967b5a004bbde89a9f51319d3b65
Source120: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
-# Source120-md5: 77e2abbc9150d354098aaea7c7c76bd2
+# Source120-md5: de2811832cd4f6d6fe2a47c16b51648f
Source121: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
-# Source121-md5: 24ab112199174f8b84f93bc58bbc4bcb
+# Source121-md5: 5d0d5a891ed1972c5ab7ee65edbdcb24
Source122: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
-# Source122-md5: 915ef4502dd570b0bcacddfc40cc4704
+# Source122-md5: 9e604ef4667912a328095a408f3e643d
Source123: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
-# Source123-md5: 2cd2fc2dcb12c4df3c12825596b4b380
+# Source123-md5: 45bdd65757c825aa0ce8f57c87578fd5
Source124: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
-# Source124-md5: 6fb5799cedc7303838d4d7e8e9105721
+# Source124-md5: c53293d12ee0b75d3e7f7db353837f52
Source125: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
-# Source125-md5: 3512ddcc6438c45683abd72476f0a8e5
+# Source125-md5: 57e16d4cd7f45685e45fea2ab55ed9c2
Source126: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
-# Source126-md5: d2088354adde0113dd305a380c9d06fc
+# Source126-md5: 407d9f0508ff3193e929027e67b82a96
Source127: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
-# Source127-md5: 16deb1616c5d69934385117d594769cb
+# Source127-md5: f43dcacda6c2af65ed44b2f42d997f23
Source128: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
-# Source128-md5: 5b75cb41a2230a1174ffe0a236478e8b
+# Source128-md5: 98fe41c86bbb04d6e2c61c856d07e0eb
Source129: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
-# Source129-md5: 4e354232a292cb4a62d8a07adf2f32aa
+# Source129-md5: 5d5831eefaa4cb97f43bfaa704503f39
Source130: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
-# Source130-md5: 23833ed505b57bba9a1fb1d63099808e
+# Source130-md5: c04a5de7c90459f3b4559ddff584bce8
Source131: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
-# Source131-md5: 67d1b1a1c38a09c5f314139da6050bfd
+# Source131-md5: ac4919457aabb71dce2c67a5f16b857e
Source132: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
-# Source132-md5: b39328c453e5d269f37c46b0780bdfa2
+# Source132-md5: d722051999c0fcca78d648ef01cae89c
Source133: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
-# Source133-md5: 7698645b59fdbd6f8092f95fa123c0d8
+# Source133-md5: 98e7fa829799afa5fde5f7988c9eb23f
Source134: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
-# Source134-md5: f05deb09fa63502ea26f23f829b9e6f8
+# Source134-md5: 25a4a321f91c749405f2328667e2815e
Source135: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
-# Source135-md5: 6f0f0f5984f4a67b7e0d2521527ac9e1
+# Source135-md5: 664819b6571af59fc086cbb835453bf0
Source136: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
-# Source136-md5: deb06be809b588ca6a829db7a10f5ac8
+# Source136-md5: f98530870bc22c8d138b16909bd71208
Source137: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
-# Source137-md5: 02bf23158be391b31b699d80da1825eb
+# Source137-md5: bd10c267fd5aa1e6815b5b4a2fa84096
Source138: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
-# Source138-md5: 95f724d06127d49efb182e57ee54e912
+# Source138-md5: f7e57ba2357606f8333f3728411bd080
Source139: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
-# Source139-md5: c868c7f2330c4de5303a8213e83c9a40
+# Source139-md5: b01930b28aa32ea85124dc3eec972a1f
Source140: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
-# Source140-md5: 47136863d582a47f6ba9976a91201887
+# Source140-md5: b5b8b3345fb04cdab6241e6b2c48c1a3
Source141: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
-# Source141-md5: 309e65b9506115e1a333506467110cd8
+# Source141-md5: 0bac5043ef47db491a07b6f33948224e
Source142: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
-# Source142-md5: e60373c4a7341e4b881de72c88ff7d06
+# Source142-md5: 646aee988b1a8d04713a55bac76e2659
Source143: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
-# Source143-md5: 2990f33203427834e7111cab76c649d4
+# Source143-md5: 8875fd1893cee18ef93a39753de16319
Source144: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
-# Source144-md5: 697e2509feb9338a75b9d4e0ce62df83
+# Source144-md5: d33a8090ec126a44d1c064036ace5d6e
Source145: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
-# Source145-md5: c56caf8c38fe957c33c8b492e1a01f7d
+# Source145-md5: 59c694aefad5a828e06771ebd21ae774
Source146: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
-# Source146-md5: 3bbb122c5d0c224319c983b28f97bbce
+# Source146-md5: 77f921193afb68b2669bb93442e939ad
Source147: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
-# Source147-md5: 9091b7a8fc1fa171e8d0a61c4b6061f9
+# Source147-md5: a04ae113e7004370c98c86108ad090f2
Source148: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
-# Source148-md5: 15f5d2e76c36cf4a81921b38cf5b8914
+# Source148-md5: cd162c1931bd94c708d6903d20467861
Source149: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
-# Source149-md5: 551a14221284d39faecc6b1bfe9ed957
+# Source149-md5: 698967bd85fd9f1937d631f23f11a336
Source150: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
-# Source150-md5: 06fbef17ee23fcb6b3572ca083cff23f
+# Source150-md5: d9831830cf5a266b2cce9d44cc1d04a0
Source151: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
-# Source151-md5: d927b4c49c2b69670df1baa4f0c6a6a1
+# Source151-md5: 34fc8794341781debf948126d865344e
Source152: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
-# Source152-md5: e43d90e99fbe92bea82b8dae57adbd1b
+# Source152-md5: 0cfcbafc817b9a310bb13d4fa64c940c
Source153: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
-# Source153-md5: 7ae4b7f4c891435cd265bf5222b4e7bf
+# Source153-md5: 41e9f0a5daed3db24a6aae8cfabc94ff
Source154: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
-# Source154-md5: cbba1fb86c31fc355376a57a22063a34
+# Source154-md5: 8ed8199a1842f12f97ca886907119f0a
Source155: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
-# Source155-md5: aef9e3c0351bb72a11a9b4e564767882
+# Source155-md5: 60092e95091ba974d6556f3a88eb062e
Source156: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
-# Source156-md5: 429b81891055664c9eeb8f802c8fc44d
+# Source156-md5: 8adcc19ea48161b916b10a2cfc0bb36b
Source157: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
-# Source157-md5: f73bb91dfacacbc8d2dd3d2310aa8a8f
+# Source157-md5: fbaccef9d347e8e048f77a2d16df0be3
Source158: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
-# Source158-md5: 0ca7ae6c0ac1232cf13ea9af69a7d9ca
+# Source158-md5: ff0dedee5108f8e6c5826e2fe1084205
Source159: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
-# Source159-md5: 48445732ebd94b3aa008914e8037c1c0
+# Source159-md5: c3405ce8a07353811408141808b56af5
Source160: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
-# Source160-md5: 96c64dafb52a0cae342b3fe7f3e3e1b1
+# Source160-md5: 4f76638495a8dc156740d8665130b47b
Source161: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
-# Source161-md5: a94fc1af718c8a2fa14fad3b79aab29c
+# Source161-md5: 3ca176eb36f791da4fd70ffe8f61a28a
Source162: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
-# Source162-md5: 0dee8b4604ee1dea1d9eba43afb83d28
+# Source162-md5: 2693b272ccad682146585b440141f15f
Source163: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
-# Source163-md5: 13d82176d953fd8ba2f21dfb5f3ef03f
+# Source163-md5: f3e062f0acf92487b7c06faccd94d50f
Source164: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
-# Source164-md5: 9b3f7a1eafa3bb0e6207f2b3c547e59e
+# Source164-md5: d8d448a74e6a2e600ecf5574a2e5c446
Source165: https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
-# Source165-md5: cc01cc4436aa08ba5214a3060099ded6
+# Source165-md5: 11fa75ab0ece65cdb9c326d267a35352
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
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
%patch1 -p1
%patch2 -p0
%patch3 -p1
-%patch4 -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