]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - thunderbird.spec
up to 115.8.0
[packages/thunderbird.git] / thunderbird.spec
index 3a8f2dad0ed65ac9c73abbf818764d4f7fcae4ae..41e11a3e79168d053ac5f964ff851352e20c6564 100644 (file)
@@ -14,6 +14,7 @@
 %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
@@ -35,175 +36,175 @@ curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 %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.6.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: 7f5d46bfb03a1dd8c0b749fd4ac0b1e4
+# 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:       05c7486df38f31fe88b61762879139ba
+# Source100-md5:       9a2356fda4298f6bc54eec4fb1f3053c
 Source101:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
-# Source101-md5:       402a7c520250c8bbff168218a36a2ae3
+# Source101-md5:       1bc5f5a4536139b099a36920381a75b1
 Source102:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
-# Source102-md5:       d4e1b63918303239d0260960cec9a962
+# Source102-md5:       0850b513bcf80ae5b1b1125d558e16bd
 Source103:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
-# Source103-md5:       e0390c6e0a569c320c06a77e0d57bf6f
+# Source103-md5:       4645345e97d6c42ada37690f3ab07dc7
 Source104:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
-# Source104-md5:       59b20828c0fe1718a1ac3c004a97b65d
+# Source104-md5:       360125e111f403f20a9f7b1d14dbbddc
 Source105:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
-# Source105-md5:       5e2843d1f95767e73a34c234eca975f3
+# Source105-md5:       634aac70b8893da2d4f81e55314b5446
 Source106:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
-# Source106-md5:       a2518e87a7cb6a6774a9e3a78a292306
+# Source106-md5:       321c510bb6b5824ed86714e1576bc5b4
 Source107:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
-# Source107-md5:       1a04a236ec1dc0a931e22cadeb284ba3
+# Source107-md5:       ac7b461f664f83963671b45a7f5b3aea
 Source108:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
-# Source108-md5:       b4a9315676d94310891197af9fdb7e22
+# Source108-md5:       bce8f512bdb66326ee34293021d8b252
 Source109:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
-# Source109-md5:       4080ce71ddb813bf0e2db78ceb6cee3c
+# Source109-md5:       1ef803722e2ce172d2cc1ecdc4a919e5
 Source110:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
-# Source110-md5:       140d37ba50e66ef7e2531c865599bc0a
+# Source110-md5:       2bad2725d21dc3bfc1c8cb08ed46981e
 Source111:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
-# Source111-md5:       e4d1566c415e80a659770c21a7526a9d
+# Source111-md5:       f69d54aa4f3ccb6e974939b553181c8c
 Source112:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
-# Source112-md5:       5e7735398ed7c7d6ce7b9d34e2213e71
+# Source112-md5:       42e6128b570a2a69a6c50e79f5ba4ff7
 Source113:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
-# Source113-md5:       3c417acd5f01e2152948b0a40a0b9ea2
+# Source113-md5:       4bc642999c7b554ff0ea5d3643e6aac8
 Source114:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
-# Source114-md5:       7677d7e7edeb0093960bef47718803fa
+# Source114-md5:       3a5ac25aea1a736757b28f366ec0d284
 Source115:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
-# Source115-md5:       607fb5455a9cc41a0c68d370f8936ec4
+# Source115-md5:       9e77f35b164307aab0f4e16506f85252
 Source116:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
-# Source116-md5:       c6796452a80bd5e0b4985c047abb856e
+# Source116-md5:       d361e5085b3acaf0e3bd604e1be9565d
 Source117:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
-# Source117-md5:       65ad680e08f9cea56aa62ffaf598ce64
+# Source117-md5:       e2022f976d240b0536a41f5f6eee26be
 Source118:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
-# Source118-md5:       b6f1a656c399f78794bd3e43dff53021
+# Source118-md5:       a8aa3b653634e74728a171cd641f139b
 Source119:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-MX.xpi
-# Source119-md5:       25c8ee70c5896bdb7f801761913de475
+# Source119-md5:       6e54967b5a004bbde89a9f51319d3b65
 Source120:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
-# Source120-md5:       432426b8771bd088ad239f00f46bb794
+# Source120-md5:       de2811832cd4f6d6fe2a47c16b51648f
 Source121:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
-# Source121-md5:       0dd69069e8286042e3bd00493705ecaf
+# Source121-md5:       5d0d5a891ed1972c5ab7ee65edbdcb24
 Source122:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
-# Source122-md5:       f168fd6831e0cdbd4d68fbd629b79955
+# Source122-md5:       9e604ef4667912a328095a408f3e643d
 Source123:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
-# Source123-md5:       108f4d7966d93fcae4b6b6c7a4c04989
+# Source123-md5:       45bdd65757c825aa0ce8f57c87578fd5
 Source124:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
-# Source124-md5:       e0a5980851ae7f66c22d15c0b864ceaa
+# Source124-md5:       c53293d12ee0b75d3e7f7db353837f52
 Source125:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
-# Source125-md5:       45ad6147fc3a9b8150fea8bd9dbe471a
+# Source125-md5:       57e16d4cd7f45685e45fea2ab55ed9c2
 Source126:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
-# Source126-md5:       6bc0a63ad3eeae20ab93f10fdfc61107
+# Source126-md5:       407d9f0508ff3193e929027e67b82a96
 Source127:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
-# Source127-md5:       5db70b97b02f790403b17f7ded70e74f
+# Source127-md5:       f43dcacda6c2af65ed44b2f42d997f23
 Source128:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
-# Source128-md5:       92fcf7b52be8f5ba086409e68f77aeab
+# Source128-md5:       98fe41c86bbb04d6e2c61c856d07e0eb
 Source129:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
-# Source129-md5:       c6ae678b887b27413633d76547156c29
+# Source129-md5:       5d5831eefaa4cb97f43bfaa704503f39
 Source130:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
-# Source130-md5:       db277830abf3a5ece870a10740e33076
+# Source130-md5:       c04a5de7c90459f3b4559ddff584bce8
 Source131:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
-# Source131-md5:       c493247a122bc269a0f473fb3f6f82a4
+# Source131-md5:       ac4919457aabb71dce2c67a5f16b857e
 Source132:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
-# Source132-md5:       ac87578bb822ff9489ee527ef2913df5
+# Source132-md5:       d722051999c0fcca78d648ef01cae89c
 Source133:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
-# Source133-md5:       ec3d97a0587f450226a6350445f12ad1
+# Source133-md5:       98e7fa829799afa5fde5f7988c9eb23f
 Source134:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
-# Source134-md5:       50b4d29a521daf0f5db3e87e175222d0
+# Source134-md5:       25a4a321f91c749405f2328667e2815e
 Source135:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
-# Source135-md5:       a84066009a5eb7f847394115fcb77989
+# Source135-md5:       664819b6571af59fc086cbb835453bf0
 Source136:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
-# Source136-md5:       0e46fd7d05b706824bf127342cf183ce
+# Source136-md5:       f98530870bc22c8d138b16909bd71208
 Source137:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
-# Source137-md5:       465784a438832a456d9b3b8ccca02931
+# Source137-md5:       bd10c267fd5aa1e6815b5b4a2fa84096
 Source138:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
-# Source138-md5:       7b1cd16e1582448389088ef17f9d91a6
+# Source138-md5:       f7e57ba2357606f8333f3728411bd080
 Source139:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
-# Source139-md5:       16b70ba70a76e30745a96fb6ea896e23
+# Source139-md5:       b01930b28aa32ea85124dc3eec972a1f
 Source140:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
-# Source140-md5:       e3685e92f07f9991312496d24a710ecf
+# Source140-md5:       b5b8b3345fb04cdab6241e6b2c48c1a3
 Source141:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
-# Source141-md5:       778eab477938c9a0e9cd944e6088406c
+# Source141-md5:       0bac5043ef47db491a07b6f33948224e
 Source142:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
-# Source142-md5:       108f07de5473be3a4eed514a8edbbf02
+# Source142-md5:       646aee988b1a8d04713a55bac76e2659
 Source143:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
-# Source143-md5:       b68ab29009cad13458a4d93d30dee88d
+# Source143-md5:       8875fd1893cee18ef93a39753de16319
 Source144:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
-# Source144-md5:       e2a60e201c9029ac28e9954afe9203f5
+# Source144-md5:       d33a8090ec126a44d1c064036ace5d6e
 Source145:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
-# Source145-md5:       82e0a931f3927d6d359044640077aa2c
+# Source145-md5:       59c694aefad5a828e06771ebd21ae774
 Source146:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
-# Source146-md5:       c92f6b6623d51c37bf22c7789dd14fed
+# Source146-md5:       77f921193afb68b2669bb93442e939ad
 Source147:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
-# Source147-md5:       cc0861d56a1a3f6f7b22e8bcb9bd9fd2
+# Source147-md5:       a04ae113e7004370c98c86108ad090f2
 Source148:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
-# Source148-md5:       eca5cd76e27ae0abce8a3c3c8f2907c7
+# Source148-md5:       cd162c1931bd94c708d6903d20467861
 Source149:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
-# Source149-md5:       f7375466f6156015666364536f7064d5
+# Source149-md5:       698967bd85fd9f1937d631f23f11a336
 Source150:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
-# Source150-md5:       64c059cb8f8dc3c507c557ff0d6bd6b5
+# Source150-md5:       d9831830cf5a266b2cce9d44cc1d04a0
 Source151:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
-# Source151-md5:       44686cc8b4f784711a308954aad3655d
+# Source151-md5:       34fc8794341781debf948126d865344e
 Source152:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
-# Source152-md5:       7b6635f41b6928dd66eef43e0903c6b9
+# Source152-md5:       0cfcbafc817b9a310bb13d4fa64c940c
 Source153:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
-# Source153-md5:       7e8b52715bb497e12599046136b288a7
+# Source153-md5:       41e9f0a5daed3db24a6aae8cfabc94ff
 Source154:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
-# Source154-md5:       4ae8b6d81498243e79a1192a41d419d4
+# Source154-md5:       8ed8199a1842f12f97ca886907119f0a
 Source155:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
-# Source155-md5:       1131993be64c93b834aa149ded23634d
+# Source155-md5:       60092e95091ba974d6556f3a88eb062e
 Source156:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
-# Source156-md5:       162d23046a766fb4c3c12ac70d7001bf
+# Source156-md5:       8adcc19ea48161b916b10a2cfc0bb36b
 Source157:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
-# Source157-md5:       820bf57db94dcdc3d4d6c07587cddc5b
+# Source157-md5:       fbaccef9d347e8e048f77a2d16df0be3
 Source158:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
-# Source158-md5:       55899541dff68d5e097c38a514f0b824
+# Source158-md5:       ff0dedee5108f8e6c5826e2fe1084205
 Source159:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
-# Source159-md5:       9505456390d1f78e2ed99329582e3f48
+# Source159-md5:       c3405ce8a07353811408141808b56af5
 Source160:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
-# Source160-md5:       33fdf3b1f9f66653dee0ebe2fa3bf245
+# Source160-md5:       4f76638495a8dc156740d8665130b47b
 Source161:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
-# Source161-md5:       b3458652eedaaca0ef3e913d56893e79
+# Source161-md5:       3ca176eb36f791da4fd70ffe8f61a28a
 Source162:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
-# Source162-md5:       fa6625197ef071dc48f301418ff8491b
+# Source162-md5:       2693b272ccad682146585b440141f15f
 Source163:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
-# Source163-md5:       7423216e2695413b9ff8743b84309af6
+# Source163-md5:       f3e062f0acf92487b7c06faccd94d50f
 Source164:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
-# Source164-md5:       265aa948637c6bfe8ba02a01b1b48c3c
+# Source164-md5:       d8d448a74e6a2e600ecf5574a2e5c446
 Source165:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
-# Source165-md5:       839049fff3737807ab03c12ae552c209
+# 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
+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
@@ -211,24 +212,27 @@ BuildRequires:    libjpeg-turbo-devel
 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
@@ -250,6 +254,8 @@ BuildRequires:      yasm >= 1.0.1
 %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
@@ -258,13 +264,13 @@ Requires: freetype >= 1:2.2.1
 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}
@@ -289,7 +295,7 @@ 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
+%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
@@ -383,22 +389,6 @@ Bulgarian resources for Thunderbird.
 %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
@@ -1241,22 +1231,6 @@ Swedish resources for Thunderbird.
 %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
@@ -1376,13 +1350,11 @@ unpack() {
 %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}
@@ -1466,7 +1438,7 @@ ac_add_options --with-system-zlib
 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
@@ -1482,7 +1454,9 @@ export MOZ_PARALLEL_BUILD
 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
@@ -1491,7 +1465,7 @@ AUTOCONF=/usr/bin/autoconf2_13 MACH_USE_SYSTEM_PYTHON=1 ./mach build
 
 %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 \
@@ -1510,8 +1484,16 @@ install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
 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
@@ -1527,7 +1509,6 @@ ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
 # 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
@@ -1553,9 +1534,11 @@ done
 exit 0
 
 %post
+%update_icon_cache hicolor
 %update_desktop_database_post
 
 %postun
+%update_icon_cache hicolor
 %update_desktop_database_postun
 
 %files
@@ -1564,8 +1547,11 @@ exit 0
 %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
@@ -1574,13 +1560,14 @@ exit 0
 %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
@@ -1603,8 +1590,8 @@ exit 0
 %{_libdir}/%{name}/extensions
 %{_libdir}/%{name}/isp
 
-%{_pixmapsdir}/thunderbird.png
 %{_desktopdir}/thunderbird.desktop
+%{_iconsdir}/hicolor/*/apps/thunderbird.png
 
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/chrome
This page took 0.086031 seconds and 4 git commands to generate.