]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - thunderbird.spec
up to 68.2.0
[packages/thunderbird.git] / thunderbird.spec
index d9624b2ee4e729091d51e759dc1f722d8647d043..32461f46e0ae55b3699f2885df33b50cf7a7880c 100644 (file)
@@ -8,13 +8,13 @@
 %bcond_without lightning       # disable Sunbird/Lightning calendar
 %bcond_without official        # official Thunderbird branding
 %bcond_with    crashreporter   # report crashes to crash-stats.mozilla.com
-%bcond_without gold            # use default linker instead of gold
+%bcond_with    gold            # use gold instead of default linker
 # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
 %bcond_with    shared_js       # shared libmozjs library [broken]
 %bcond_without system_icu      # build without system ICU
 %bcond_with    system_cairo    # build with system cairo (not supported in 60.0)
 %bcond_with    system_libvpx   # build with system libvpx (60.7.0 does not build with libvpx 1.8)
-%bcond_without clang           # build using Clang/LLVM
+%bcond_with    clang           # build using Clang/LLVM
 
 # UPDATING TRANSLATIONS:
 %if 0
@@ -25,12 +25,14 @@ U=http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$V/linux-i686
 curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 %endif
 
+%define                _enable_debug_packages  0
+
 %if 0%{?_enable_debug_packages} != 1
 %undefine      crashreporter
 %endif
 
-%define                nspr_ver        4.19
-%define                nss_ver         3.36.7
+%define                nspr_ver        4.21
+%define                nss_ver         3.44.2
 
 # The actual sqlite version (see RHBZ#480989):
 %define                sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
@@ -38,134 +40,134 @@ curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 Summary:       Thunderbird - email client
 Summary(pl.UTF-8):     Thunderbird - klient poczty
 Name:          thunderbird
-Version:       60.7.1
+Version:       68.2.0
 Release:       1
 License:       MPL v2.0
 Group:         X11/Applications/Mail
 Source0:       http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
-# Source0-md5: 61d375a366264d07e00ed1aee407f2e7
+# Source0-md5: 27f29cb3b3b6bae43e9247040ad5fa21
 Source1:       %{name}.desktop
 Source2:       %{name}.sh
 Source100:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ar.xpi
-# Source100-md5:       785b97ef01df739a83eafed67e498614
+# Source100-md5:       93f3f37f4a9e121d462702da6046f998
 Source101:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ast.xpi
-# Source101-md5:       ea8cfde67f4597e053c6dd95922e4d2a
+# Source101-md5:       88fc4aeeb68cd260261e85be4f1a8e96
 Source102:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/be.xpi
-# Source102-md5:       1d632c2bef6e7cfe18222f57808d2d50
+# Source102-md5:       e1e22e0e8ed7eb932b7b3f31a3032d76
 Source103:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/bg.xpi
-# Source103-md5:       eeafde5f6e6a338a3de6a7086e65c0cb
+# Source103-md5:       306a4149de7b0e7dfae5378619a39b08
 Source104:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/br.xpi
-# Source104-md5:       13201aa83461eedf94e23aed70916472
+# Source104-md5:       9351b28eae215a0303716aa8b8c60108
 Source105:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ca.xpi
-# Source105-md5:       7f804d809476c0b8c0d12b8192a84806
+# Source105-md5:       57a072807cde971049ae3ba01b538076
 Source106:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cs.xpi
-# Source106-md5:       bcbfa5139517eac64e8a46deee5e70ca
+# Source106-md5:       5982e0955e6d3b086e983ab89edbd59e
 Source107:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cy.xpi
-# Source107-md5:       5cc021b03021db7b3a9ec4b7a607a945
+# Source107-md5:       dcc99c2c69578ea144c4b5d612d75df4
 Source108:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/da.xpi
-# Source108-md5:       5a47bfe57f0be15d86fd4576455ab117
+# Source108-md5:       f64064ad32dd93efeb23cb6f2f638ff6
 Source109:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/de.xpi
-# Source109-md5:       69234cf98bb6def3885439ff39e05cb9
+# Source109-md5:       ebdc4ff11b43bf4771689c75d591bb97
 Source110:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/dsb.xpi
-# Source110-md5:       a988bc5887d496ef244d1bc9c96c595e
+# Source110-md5:       300507261909d06034a565dd00b58a81
 Source111:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/el.xpi
-# Source111-md5:       05d1a9dc4020bfa0ed3a115b9f7d7380
+# Source111-md5:       f80d7fa3d4122b926b3126a312ee20d1
 Source112:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source112-md5:       70bf255369894305af4274012058e8ee
+# Source112-md5:       ff7c2043171b295a9b1ae8d1ca354578
 Source113:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-US.xpi
-# Source113-md5:       50daa9fc2983c51ef0a526366f3707da
+# Source113-md5:       3870fa70ec2ac7041dec7061bf5f2e09
 Source114:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-AR.xpi
-# Source114-md5:       eb31972ccf54e0093314868bd2740a08
+# Source114-md5:       a6edd8253294a4640e21785296155faf
 Source115:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-ES.xpi
-# Source115-md5:       8b2f5da4f83bfa04a90bdc4e83b4fb74
+# Source115-md5:       d96e978ea27732be5939f644332ba3c9
 Source116:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/et.xpi
-# Source116-md5:       9c910ec37309df27f9e4b09f7dd61156
+# Source116-md5:       bbe675424b384b3e0029b942f3be4238
 Source117:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/eu.xpi
-# Source117-md5:       5d35c11a2abefe2907def2ec7ddaa6ec
+# Source117-md5:       31ce0a903d0b7fdf1811b58253b44312
 Source118:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fi.xpi
-# Source118-md5:       fc8887249cadf385a3cacbddaf2799da
+# Source118-md5:       be0d4c40032c53a2fdbdcf38eec95cbc
 Source119:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fr.xpi
-# Source119-md5:       df12dd9c200052aa2d9916c4953641da
+# Source119-md5:       82b735dc272938175e4ee9e40fcb2c23
 Source120:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fy-NL.xpi
-# Source120-md5:       f72f9b1ddfffb29ca367e25b81f10f06
+# Source120-md5:       fa101329dcec183d94468c748a305800
 Source121:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ga-IE.xpi
-# Source121-md5:       d015f1a3c9bd95f0f82241ce3b5babeb
+# Source121-md5:       9017d307e490130e9f289490debbdffc
 Source122:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gd.xpi
-# Source122-md5:       a7e005f0438fdacc2d3ee12883155734
+# Source122-md5:       6d717fc8f02fd7b8e898bd9c042b0f7c
 Source123:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gl.xpi
-# Source123-md5:       5adfaec1e9e8b7ac09fea155edae7f9f
+# Source123-md5:       1e9e1fdfd00e0eb7bbe4c8fee0108fc6
 Source124:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/he.xpi
-# Source124-md5:       5476669c6a8cf2b0f53f4dbf44e0226d
+# Source124-md5:       40b8506e7d5ee37c11cf3ea8375cab72
 Source125:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hr.xpi
-# Source125-md5:       9991c66096ce70c42fe1281870e36dc9
+# Source125-md5:       176411621624957fe1b43cc79ef932a6
 Source126:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hsb.xpi
-# Source126-md5:       55303ac8f078d29114038c028dd64e03
+# Source126-md5:       ac4067056c835bdcb9d284864fdf4cb9
 Source127:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hu.xpi
-# Source127-md5:       8d2efa7d732404f55d4092ac9776c41c
+# Source127-md5:       52c6ac25d415b66223837504d6d97f22
 Source128:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hy-AM.xpi
-# Source128-md5:       44d364d6071fad1c0d837c2c465d51ed
+# Source128-md5:       d8bc30ce5dcb3e414416867f9ba4db66
 Source129:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/id.xpi
-# Source129-md5:       973a30900517ad342b9ebe83d964c414
+# Source129-md5:       58980c35e05e6e55a8d7a0d66c164bcd
 Source130:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/is.xpi
-# Source130-md5:       29250df04f20b0800d513af79314590f
+# Source130-md5:       e2ee25ece735acb582d7c5544110209f
 Source131:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/it.xpi
-# Source131-md5:       a6d3d7112cc216feba5690fcc7a17a17
+# Source131-md5:       0a5cd30dd64b4c874d1fd6d530a24ff0
 Source132:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source132-md5:       8b31ca940aebbd8f3e5acb04b6afe268
+# Source132-md5:       56407e21fc39e4e8ec631a2312cf3995
 Source133:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source133-md5:       9751ec30cca2000106080212625e3ac3
+# Source133-md5:       4cd59c109bb395b4bb3c87c3d28e909a
 Source134:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source134-md5:       84fa2146d89dd4d32555b5a58723cbea
+# Source134-md5:       9c9355a0c3e9ccbe066a2dcb71b76626
 Source135:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source135-md5:       fe47282be78c97bb422e5283ca5246d1
+# Source135-md5:       ddbecb3524dc9785041bcd2f695257e5
 Source136:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source136-md5:       393d40f183c765a659d02143a0fa8248
+# Source136-md5:       36a66838f8d922ee65f32c3801715800
 Source137:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ms.xpi
-# Source137-md5:       4fec5859e1f9504b4483804b1da8ccb9
+# Source137-md5:       d2ac95c018e959e27ec7a2f4ebe959ee
 Source138:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nb-NO.xpi
-# Source138-md5:       00cf3c68e2297c81423abea10831a6df
+# Source138-md5:       61459be7d8ad6434b4073158f9662b1e
 Source139:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nl.xpi
-# Source139-md5:       b485f31645272c8a9b0e536d73130739
+# Source139-md5:       2b2a32f85f7efe2ec41a6a89864ce212
 Source140:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nn-NO.xpi
-# Source140-md5:       585c5fac2d4bd06af79a190de465f5df
+# Source140-md5:       19b5d92c548a2ff4b80b9ad84c8b72f5
 Source141:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source141-md5:       9feef548e0f46426daecec91c9f44ae9
+# Source141-md5:       041fa32d390da92604527253d5c69456
 Source142:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-BR.xpi
-# Source142-md5:       dd7d0b865c8ce2c789d2617797e70169
+# Source142-md5:       9f044634d9b56e40cb67413d04990887
 Source143:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-PT.xpi
-# Source143-md5:       5bddf25d2ce506a1164762d001547354
+# Source143-md5:       97688bf9bf853ece7eb2ed97ca32832e
 Source144:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/rm.xpi
-# Source144-md5:       42f3c99a9c315ebde1208780d72c23d5
+# Source144-md5:       24149781109295eb7858b20337e87f36
 Source145:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ro.xpi
-# Source145-md5:       1466eb5777d750439a57bb98529d709b
+# Source145-md5:       2f0f561bcbd8b6ff75d7fbba160ad8ed
 Source146:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ru.xpi
-# Source146-md5:       9308320e91068494c79be1b2492b509c
+# Source146-md5:       7b52c85368fbe77b61b329fa99b6df6a
 Source147:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/si.xpi
-# Source147-md5:       4b98ffac416104baa72eba7248dc8c1b
+# Source147-md5:       191bb1f0781573b00f3815cc295702ba
 Source148:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sk.xpi
-# Source148-md5:       34c1401c94e0a485bbd719300d6dc87e
+# Source148-md5:       5ff4e80ed97abae53c8e28e84a25406c
 Source149:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sl.xpi
-# Source149-md5:       bd1e9621444ee86f36a10dc2dbe0f794
+# Source149-md5:       7bd94b8cd486d18ac5f4b40ca7f49e5a
 Source150:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sq.xpi
-# Source150-md5:       b6a7761c7d4c1ed12d43960b84b5d964
+# Source150-md5:       1ae89cf5c5f8b5566af884ec77d1636e
 Source151:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sr.xpi
-# Source151-md5:       a71f4e7154e91754e0830598a26f66dd
+# Source151-md5:       c2e7498134c9a304d83de0615e11ad66
 Source152:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sv-SE.xpi
-# Source152-md5:       1201304a9ae75f5541634f0d3aaebc31
+# Source152-md5:       17b93e7fc1e212cb827040dda0e9250e
 Source153:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/tr.xpi
-# Source153-md5:       c44960c04f20f92e68b5cf17d225b296
+# Source153-md5:       cb6180675bdc0ae5cdb4815649d4ce38
 Source154:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/uk.xpi
-# Source154-md5:       58bd1e543554d09dde09ec87d3ac97d0
+# Source154-md5:       16fc149dbe036109406a33e8cbcfb2f8
 Source155:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/vi.xpi
-# Source155-md5:       998034026078c5a7bcb91b5ccae296d2
+# Source155-md5:       2a5d8b4b1d2d602b2594f576906b97c7
 Source156:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-CN.xpi
-# Source156-md5:       95f3b150f19c25bb907c8868ba8e293d
+# Source156-md5:       63ecaaca742ad215f33f491814c741ad
 Source157:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-TW.xpi
-# Source157-md5:       ad03f67a67c6ab48a9c80f1948979bb0
+# Source157-md5:       22c8bff67c279e58535c4441da0599e5
 Patch0:                prefs.patch
 Patch1:                no-subshell.patch
 Patch2:                enable-addons.patch
-Patch3:                rust-1.33.patch
+Patch3:                format.patch
 URL:           http://www.mozilla.org/projects/thunderbird/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf2_13 >= 2.13
@@ -180,11 +182,10 @@ BuildRequires:    fontconfig-devel >= 2.7.0
 BuildRequires: freetype-devel >= 1:2.1.8
 BuildRequires: glib2-devel >= 1:2.22
 BuildRequires: gtk+3-devel >= 3.4.0
-BuildRequires: hunspell-devel
 BuildRequires: libatomic-devel
 BuildRequires: libevent-devel
 BuildRequires: libffi-devel > 3.0.9
-%{?with_system_icu:BuildRequires:      libicu-devel >= 58.1}
+%{?with_system_icu:BuildRequires:      libicu-devel >= 63.1}
 BuildRequires: libiw-devel
 # requires libjpeg-turbo implementing at least libjpeg 6b API
 BuildRequires: libjpeg-devel >= 6b
@@ -202,9 +203,10 @@ BuildRequires:     pixman-devel >= 0.19.2
 BuildRequires: pkgconfig
 BuildRequires: python >= 1:2.7
 BuildRequires: python-virtualenv
-BuildRequires: rust
+BuildRequires: rust >= 1.34.0
+BuildRequires: rust-cbindgen >= 0.8.2
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.22.0
+BuildRequires: sqlite3-devel >= 3.28.0
 BuildRequires: startup-notification-devel >= 0.8
 BuildRequires: virtualenv
 BuildRequires: xorg-lib-libX11-devel
@@ -1268,8 +1270,18 @@ export CXX="clang++"
 export CC="%{__cc}"
 export CXX="%{__cxx}"
 %endif
+%ifarch %{ix86}
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -g0"
+export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64 -g0"
+export MOZ_DEBUG_FLAGS=" "
+export LLVM_USE_SPLIT_DWARF=1
+export LLVM_PARALLEL_LINK_JOBS=1
+export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+export RUSTFLAGS="-Cdebuginfo=0"
+%else
 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
+%endif
 
 %if %{with crashreporter}
 export MOZ_DEBUG_SYMBOLS=1
@@ -1304,7 +1316,7 @@ ac_add_options --enable-crashreporter
 %else
 ac_add_options --disable-crashreporter
 %endif
-#ac_add_options --disable-elf-hack
+ac_add_options --disable-elf-hack
 ac_add_options --disable-gconf
 ac_add_options --disable-necko-wifi
 ac_add_options --disable-updater
@@ -1324,10 +1336,8 @@ ac_add_options --enable-readline
 ac_add_options --enable-startup-notification
 %{?with_system_cairo:ac_add_options --enable-system-cairo}
 ac_add_options --enable-system-ffi
-ac_add_options --enable-system-hunspell
 ac_add_options --enable-system-sqlite
 ac_add_options --with-distribution-id=org.pld-linux
-ac_add_options --with-pthreads
 ac_add_options --with-system-bz2
 ac_add_options --with%{!?with_system_icu:out}-system-icu
 ac_add_options --with-system-jpeg
@@ -1337,10 +1347,11 @@ ac_add_options --with-system-nspr
 ac_add_options --with-system-nss
 ac_add_options --with-system-png
 ac_add_options --with-system-zlib
-ac_add_options --with-x
 EOF
 
-AUTOCONF=/usr/bin/autoconf2_13 ./mach build -v
+%{!?with_clang:export MOZ_MAKE_FLAGS="-j1"}
+
+AUTOCONF=/usr/bin/autoconf2_13 ./mach build
 
 %if %{with crashreporter}
 # create debuginfo for crash-stats.mozilla.com
@@ -1349,7 +1360,7 @@ AUTOCONF=/usr/bin/autoconf2_13 ./mach build -v
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/plugins,%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
 
 cd %{objdir}
 %{__make} -C comm/mail/installer stage-package \
@@ -1372,11 +1383,6 @@ cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD
 cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
 
-# use system dict
-%{__rm} -rv $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
-
 # move arch independant ones to datadir
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
@@ -1411,9 +1417,6 @@ if [ -d %{_libdir}/%{name}/extensions ] && [ ! -L %{_libdir}/%{name}/extensions
        fi
        mv -v %{_libdir}/%{name}/extensions %{_datadir}/%{name}/extensions
 fi
-if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
-       mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
-fi
 for d in chrome defaults icons isp modules res; do
        if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
                install -d %{_datadir}/%{name}
@@ -1424,14 +1427,6 @@ exit 0
 
 %post
 %update_desktop_database_post
-# make temporary HOME, as it attempts to touch files in $HOME/.mozilla
-# dangerous if you run this with sudo with keep_env += HOME
-# also TMPDIR could be pointing to sudo user's homedir so we reset that too.
-export HOME=$(mktemp -d)
-unset TMPDIR TMP || :
-umask 022
-%{_libdir}/%{name}/thunderbird -register
-rm -rf $HOME
 
 %postun
 %update_desktop_database_postun
@@ -1448,6 +1443,7 @@ rm -rf $HOME
 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
+%attr(755,root,root) %{_libdir}/%{name}/libmozwayland.so
 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
 %attr(755,root,root) %{_libdir}/%{name}/*-bin
 %attr(755,root,root) %{_libdir}/%{name}/pingsender
@@ -1463,8 +1459,11 @@ rm -rf $HOME
 %{_libdir}/%{name}/platform.ini
 %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
 
+%dir %{_libdir}/%{name}/features
+%{_libdir}/%{name}/features/wetransfer@extensions.thunderbird.net.xpi
+
 %dir %{_libdir}/%{name}/fonts
-%{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf
+%{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
 
 %if %{with crashreporter}
 %attr(755,root,root) %{_libdir}/%{name}/crashreporter
@@ -1478,9 +1477,7 @@ rm -rf $HOME
 # symlinks
 %{_libdir}/%{name}/chrome
 %{_libdir}/%{name}/defaults
-%{_libdir}/%{name}/dictionaries
 %{_libdir}/%{name}/extensions
-%{_libdir}/%{name}/hyphenation
 %{_libdir}/%{name}/isp
 
 %{_pixmapsdir}/*.png
@@ -1489,10 +1486,8 @@ rm -rf $HOME
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/chrome
 %{_datadir}/%{name}/defaults
-%{_datadir}/%{name}/isp
-
 %dir %{_datadir}/%{name}/extensions
-%{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
+%{_datadir}/%{name}/isp
 
 %if %{with lightning}
 %files addon-lightning
This page took 0.085072 seconds and 4 git commands to generate.