]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - thunderbird.spec
up to 115.11.0
[packages/thunderbird.git] / thunderbird.spec
index d13add3aff11b4dd3229d6497cbca00b63d5602e..28b9746c9813ca3a7d13991c4b791f980ed81b2a 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,176 +36,177 @@ 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.5.1
+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: 6ace9a3b327da5a064535ef74ba2a8f4
+# 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:       c28be9239c55d709a5fc4e57d3ab4b7f
+# Source100-md5:       21c49970b64eef2d9eb73a6feaac83e4
 Source101:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
-# Source101-md5:       5bfb9a3e1f7242e3e898c5a0a58efa03
+# Source101-md5:       d438b7d42cfe3de22855790ed7f4ffab
 Source102:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
-# Source102-md5:       e889d5acb2cfada2cdee8391391420b2
+# Source102-md5:       56ee4be993f26b7376e3b8a24f9c07d5
 Source103:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
-# Source103-md5:       f26b6f081d274963419689fc6c572a41
+# Source103-md5:       706515032cbe4397c6d39e11fe12bd2a
 Source104:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
-# Source104-md5:       049a346a18f52e1a602f04f66a8ee61c
+# Source104-md5:       342ebb5c7c38db6f70b5b73ed402f3b7
 Source105:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
-# Source105-md5:       d1820d9c9fa37a757e8522ce9a141f9e
+# Source105-md5:       2c957204254faa531e3f449f36262fba
 Source106:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
-# Source106-md5:       afcd3440e89e46cc8279b768e6b00149
+# Source106-md5:       67fc3c75d71bc00d64961836e6f50a3f
 Source107:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
-# Source107-md5:       c4f23373adb400c6a123c27531d5b621
+# Source107-md5:       3d9d0ae9e160a3356c1539c4f68b3bfb
 Source108:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
-# Source108-md5:       a4fe6998adfe36f43eb773bd9c519c75
+# Source108-md5:       15f1a772679fee70f1b4597984154099
 Source109:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
-# Source109-md5:       f6cc63d014b93b7b6923527bb7b11de1
+# Source109-md5:       1b66ac3e22f4e53bf32e849d8d42953e
 Source110:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
-# Source110-md5:       2e49074ce3cb61ca5b68b421aa4be621
+# Source110-md5:       6450c102889ad70d61dfc8123f60ec3e
 Source111:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
-# Source111-md5:       d7f2a366293ded6eeac54dd4eb18c1bc
+# Source111-md5:       9fac713d456238d54aa5e1fbd4414113
 Source112:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
-# Source112-md5:       0069b6a995e21007bcbae28c7c4da218
+# Source112-md5:       34e5b4288e943b8db070b05f0fddaa30
 Source113:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
-# Source113-md5:       4b6b61a880a3e701a8f41abf4bd430ae
+# Source113-md5:       6570c9c2a26f6f5cc3aac3e8fac20eb4
 Source114:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
-# Source114-md5:       9068123bd63919456d821c9c71c57ec7
+# Source114-md5:       899138bba3f92bdf15e2d6cbd1df5326
 Source115:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
-# Source115-md5:       b1076e0be15c142b57e3c2c9dae12d01
+# Source115-md5:       0e43b3046c326bf30b740bb50bf70759
 Source116:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
-# Source116-md5:       3647e1dc324e11f9b23e3ef3bb7fe734
+# Source116-md5:       5835d430fab7a15672aed9b74cd9d243
 Source117:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
-# Source117-md5:       c275922c99f17a203be0d4fcbc6c4d3e
+# Source117-md5:       f666d56181ae7a63d6f3963dae39472b
 Source118:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
-# Source118-md5:       37afbef3d9ce49e4ea2fb19e68d77537
+# Source118-md5:       25e3a71fdf136b352b505d598e9da6fd
 Source119:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/es-MX.xpi
-# Source119-md5:       6bc5fcad9456b8463619bcc516dcb57b
+# Source119-md5:       2bfeadd1a6434d325ea2a1dec205c7eb
 Source120:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
-# Source120-md5:       d172952f62ce751ae92faa82234bfb41
+# Source120-md5:       8f27ac7434351760218595d629adfe5c
 Source121:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
-# Source121-md5:       364c59605c309dc0e5166929dbb10d43
+# Source121-md5:       e558913f9e5832c81754618d365f252e
 Source122:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
-# Source122-md5:       0c3c06525482682f5a23331f5a9121ce
+# Source122-md5:       33353c2ca2d04241b66ca0f5a89797b1
 Source123:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
-# Source123-md5:       c4ab3d226ad170bf87daeb6604575d25
+# Source123-md5:       880e08c1377002a8b611fcb22e168b5b
 Source124:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
-# Source124-md5:       99d92f4edb1400ab39da12553d50f41a
+# Source124-md5:       80d620111e3bfa096c7a829acf580b29
 Source125:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
-# Source125-md5:       61672d1f3e173e830ad0f3179dc97fd0
+# Source125-md5:       f79ea69dd9bde6ce2c53c308e85dab35
 Source126:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
-# Source126-md5:       7cdf5f69f8cfe36811a594f6dad21567
+# Source126-md5:       bcf0e0d94d80dee8cff47a5ec461a398
 Source127:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
-# Source127-md5:       4aee7cdf60aa75089c2a1ea6130de100
+# Source127-md5:       7cd2eda5f99d6af0a8fa0f65d2eca210
 Source128:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
-# Source128-md5:       356a884b38d16efcbba6a7cb66a1ad71
+# Source128-md5:       86febc078c4dc6b80a07468ae7888218
 Source129:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
-# Source129-md5:       b2825bfc79ff2363e7750720467bf32b
+# Source129-md5:       f6aad54924db640975005aae82b75d93
 Source130:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
-# Source130-md5:       29951663e5c95e6a6fff5722edf66c6a
+# Source130-md5:       aa061b001ee0f580d75116f42555b44c
 Source131:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
-# Source131-md5:       2b7d0b577ba6a6972110b49735455d95
+# Source131-md5:       dc3c403471a84ba39da16013fd4e8774
 Source132:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
-# Source132-md5:       27e550ef4d9ce3dee27a6281e0de7a2f
+# Source132-md5:       1d94b88dc00befd0230f5fda75a0b2a8
 Source133:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
-# Source133-md5:       8e18626f2a55b7fcbb83e53ccf86939f
+# Source133-md5:       acaccc0f409df241e6db10b928dd813f
 Source134:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
-# Source134-md5:       16ffedd2d17c6d9f7f1f0969f83654f4
+# Source134-md5:       eb347d178f8168049285e9564e34d8b8
 Source135:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
-# Source135-md5:       f83fd0a5bcf1499a660ba5ff6b25301f
+# Source135-md5:       49961c9534c5f46c33c37a45b5df80ff
 Source136:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
-# Source136-md5:       91133d0bb90463c95002d6aa815b37ec
+# Source136-md5:       9f76ba00bae19f56d915e1f8ecae42a6
 Source137:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
-# Source137-md5:       50ca11472a7c96e3baec41a43b72c563
+# Source137-md5:       0f15c6a3255333d23aab1986688d9884
 Source138:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
-# Source138-md5:       261e9a9a65ec01e1f13e0b9e583a5b25
+# Source138-md5:       622c5ea02226a6ba64ec344b5a74e5e7
 Source139:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
-# Source139-md5:       9a2f216b4b7ef0fd9eb336f6e3f7c166
+# Source139-md5:       588fb012af34f49193cbda525afdef8e
 Source140:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
-# Source140-md5:       2bc15c0ea5cd2289f3343684e9834587
+# Source140-md5:       325c7d776a154ad9e354d67f77c0ccba
 Source141:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
-# Source141-md5:       4959d08a9f76171a9c7e7f72d75716a2
+# Source141-md5:       9d734d69403cbf021d7fa84ac6d0b8a7
 Source142:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
-# Source142-md5:       d7124a676169c52c6e9cde5721090851
+# Source142-md5:       244a9bbdb80a91d38507ec4a3bd60a9f
 Source143:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
-# Source143-md5:       7bb0e5584af8d8df5f331079b44ec63e
+# Source143-md5:       008e24cc9483f895a321b9f7f1f13d77
 Source144:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
-# Source144-md5:       bcddcd6208dd47871c94f8d57086f013
+# Source144-md5:       5528e220a1ddd3da91b121bbeb7329a7
 Source145:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
-# Source145-md5:       5bf52d19b8f4e859a392414cbfdf076e
+# Source145-md5:       9e66159d4ad639e30c80ed93b658ace6
 Source146:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
-# Source146-md5:       508dc608e618e3c99a351984525bbb15
+# Source146-md5:       52542fb285af28d2d56c14e007c8bba4
 Source147:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
-# Source147-md5:       b9f562d86131334abe0de41d6372de2e
+# Source147-md5:       35e1b4dae63c7aaae4f48a9270e98ce8
 Source148:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
-# Source148-md5:       d6ffb299000b318217e02f4e83135227
+# Source148-md5:       e0107c424e67d8e63ed14e458a583c51
 Source149:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
-# Source149-md5:       893d1a9fbc64e5b02749763c5db9cf07
+# Source149-md5:       41ffb5a803dda1e94567aeee84fd9309
 Source150:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
-# Source150-md5:       3c4d2ba503a38b4f260f45be8ca144e6
+# Source150-md5:       f73195b4dd18fb9a5191bc6bd1c12bdd
 Source151:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
-# Source151-md5:       d545e081219d42ab4b930ef7991f2dc1
+# Source151-md5:       52d6b62dc92d6dca92a7c54e81459a48
 Source152:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
-# Source152-md5:       7ba4390147be34d0ea42d70b682ac9d0
+# Source152-md5:       24ba13165943b35de3eaed1e3fec3a21
 Source153:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
-# Source153-md5:       b7b4a1546f26eac2c6611fb74a8bc6bc
+# Source153-md5:       b5bdb1673ad9c57e7c74fac856c0d9db
 Source154:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
-# Source154-md5:       84f885f7889a9b5a21f008d80cbbcdad
+# Source154-md5:       874502a9e2fa82a4c48bb7ffe281e3f5
 Source155:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
-# Source155-md5:       7895f8f655c77f2b05ecf0d9d8ec3f8b
+# Source155-md5:       53e568239b2cc4d0c66a21d706bb145e
 Source156:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
-# Source156-md5:       8fd3c853bf7c26b1354dd6c3103ba9f1
+# Source156-md5:       f7dfddab5e405743338d55ed1ce01681
 Source157:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
-# Source157-md5:       99251f6da3ab921136de6236a7de8775
+# Source157-md5:       d7e0a6849e65e93890611c33056a8644
 Source158:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
-# Source158-md5:       2a88edc009ccd583e86cc371b659499a
+# Source158-md5:       73acaf078d31925c51915a466c3bfb60
 Source159:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
-# Source159-md5:       061805ad14e8c3b8b4ac37b9d2aceda4
+# Source159-md5:       ecc9cced964a60b49addf06204a5c799
 Source160:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
-# Source160-md5:       89158781db074549ed1ccae359513829
+# Source160-md5:       b9c6d7db692b870f03e901cbabfd8bc8
 Source161:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
-# Source161-md5:       df716402bf0dcdd2620aa0faa27a4d04
+# Source161-md5:       f893031482507344227c99858f93817c
 Source162:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
-# Source162-md5:       795f7647ee5c6abe2dc87b1a92426878
+# Source162-md5:       20dd54854941e32a49630c14a4d875e2
 Source163:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
-# Source163-md5:       c189a4a734ae8b001950ec080122e0c2
+# Source163-md5:       511d77a16f828d57aacba4ed31642703
 Source164:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
-# Source164-md5:       f5f89fefd83c16abbaa828b61e872178
+# Source164-md5:       0e12623d32a7c70aa15be3bc413945ba
 Source165:     https://releases.mozilla.org/pub/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
-# Source165-md5:       a3cc5e5057813f06c200630822063dce
+# Source165-md5:       90d83039a34ad2bc74ab88ffd56d5f2e
 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
+Patch4:                llvm18.patch
+Patch5:                rust-1.78.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
@@ -212,26 +214,30 @@ 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
 BuildRequires: virtualenv
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libSM-devel
@@ -250,6 +256,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 +266,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 +297,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 +391,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 +1233,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
@@ -1383,7 +1359,6 @@ unpack() {
 cp -p %{_datadir}/automake/config.* build/autoconf
 
 cat << 'EOF' > .mozconfig
-. $topsrcdir/browser/config/mozconfig
 mk_add_options MOZ_OBJDIR=%{objdir}
 
 %if %{with clang}
@@ -1467,7 +1442,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
@@ -1483,7 +1458,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
@@ -1492,7 +1469,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 \
@@ -1511,8 +1488,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
@@ -1528,7 +1513,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
@@ -1554,9 +1538,11 @@ done
 exit 0
 
 %post
+%update_icon_cache hicolor
 %update_desktop_database_post
 
 %postun
+%update_icon_cache hicolor
 %update_desktop_database_postun
 
 %files
@@ -1565,8 +1551,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
@@ -1575,13 +1564,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
@@ -1604,8 +1594,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.081909 seconds and 4 git commands to generate.