]> git.pld-linux.org Git - packages/seamonkey.git/blobdiff - seamonkey.spec
- updated to 2.53.9.1
[packages/seamonkey.git] / seamonkey.spec
index a32a8b56762099791e07395d835c734d2488f0cf..cbdbe895339fb00dd7f65e5b20837918480fee41 100644 (file)
@@ -5,16 +5,22 @@
 # Conditional build:
 %bcond_without kerberos        # krb5 support
 %bcond_without lightning       # Lightning calendar
+%bcond_without gold            # gold linker
 %bcond_with    crashreporter   # report crashes to crash-stats.mozilla.com
+%bcond_with    system_cairo    # build with system cairo (not supported in 2.53.9+)
 %bcond_with    tests           # enable tests (whatever they check)
 %bcond_with    lowmem          # lower memory requirements
 
 %ifarch %{ix86} %{arm} aarch64
 %define                with_lowmem     1
 %endif
+%ifarch %{ix86}
+# /usr/bin/ld.gold: internal error in relocate_section, at i386.cc:3683 (seamonkey 2.53.9, binutils 2.37-1)
+%undefine      with_gold
+%endif
 
-%define                nspr_ver        4.13.1
-%define                nss_ver         3.28.6
+%define                nspr_ver        4.25
+%define                nss_ver         3.53.1
 
 # UPDATING TRANSALTIONS:
 %if 0
@@ -30,62 +36,62 @@ Summary(es.UTF-8):  Navegador de Internet SeaMonkey Community Edition
 Summary(pl.UTF-8):     SeaMonkey Community Edition - przeglÄ…darka WWW
 Summary(pt_BR.UTF-8):  Navegador SeaMonkey Community Edition
 Name:          seamonkey
-Version:       2.53.8.1
-Release:       0.1
+Version:       2.53.9.1
+Release:       1
 License:       MPL v2.0
 Group:         X11/Applications/Networking
 Source0:       http://releases.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
-# Source0-md5: 3cba72ec6a37f7c68fac48876a3a5f8f
+# Source0-md5: 70e06d388eb796dc0f8b847794eabea0
 Source4:       %{name}.desktop
 Source5:       %{name}-composer.desktop
 Source7:       %{name}-mail.desktop
 Source9:       %{name}.sh
 Source100:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.cs.langpack.xpi
-# Source100-md5:       94593194c153f8436cb0f1a3b28a2f69
+# Source100-md5:       437a2d1bbad026dc74a7c0fcbb7424fc
 Source101:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi
-# Source101-md5:       6874c56c3ed7380edf47980b1ef957eb
+# Source101-md5:       7276fae4dafbe3a08081bcd6898a9bde
 Source102:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.el.langpack.xpi
-# Source102-md5:       3c5a86e85a1eabb04c5796c63f31bb8d
+# Source102-md5:       883a09a2e0072256a6032fbcf88f7d2a
 Source103:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi
-# Source103-md5:       71ef6f07668b4d2bdfa2763c1cea4160
+# Source103-md5:       cb02b909a34818f99a819251eb320a32
 Source104:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi
-# Source104-md5:       55e5ac585e0b8ea5be3ca45896eb06a0
+# Source104-md5:       e17799319431fa85c4cb4f8220cd4079
 Source105:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi
-# Source105-md5:       f3bb6d37c4448a12f1d70e38c3690f13
+# Source105-md5:       ccd4098f1663a35bb98c14f28248c9b1
 Source106:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi
-# Source106-md5:       ef701301ec683f0aa1929bd46d3991c5
+# Source106-md5:       87af49b1bc8eba578731cce32f2624a8
 Source107:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi
-# Source107-md5:       e5b73e3c55c22486f8a51d9fc1f43279
+# Source107-md5:       64bc8f2fb6079fa5d5060b68b6f38fea
 Source108:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi
-# Source108-md5:       8d248ae28fe1ae486d43f3784b874a82
+# Source108-md5:       0d227930867da87a56eb336a505b2eaf
 Source109:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi
-# Source109-md5:       13b3fe09806c2c4f37bab7a452779885
+# Source109-md5:       6555c1e14ef98c0b81cd6031158214ef
 Source110:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi
-# Source110-md5:       75b70bedf8ac261eb7048591ef18fd4b
+# Source110-md5:       41718a184f31a2cd0289bcba147346a1
 Source111:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi
-# Source111-md5:       30657d2ffe578e8dd9d47b70dc5e4de3
+# Source111-md5:       88650255b12d79e18936d2c7efbe2973
 Source112:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ka.langpack.xpi
-# Source112-md5:       508dc8520c55487723ba9a38b3d670b5
+# Source112-md5:       be5378ba5752dbfdde45bc4b11d4e898
 Source113:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi
-# Source113-md5:       7fbc6c1931ceaa9ab5ab6376307f8270
+# Source113-md5:       5cb424fae93729ea265c5706b73cdeb2
 Source114:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi
-# Source114-md5:       8fd3ab64b7b55904302a7544b44a7497
+# Source114-md5:       aaaa34f083d0d9ff79b6e1afa23165e0
 Source115:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi
-# Source115-md5:       de09cb897a822346887a84fdadd7ed5f
+# Source115-md5:       b5543e675686bf2588e872be47930d27
 Source116:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-BR.langpack.xpi
-# Source116-md5:       bf8b76312f992d72c10a0b93e0c599ce
+# Source116-md5:       0494ed28449d8a3dd68357747b9b4c90
 Source117:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi
-# Source117-md5:       51ac452e37e5af2aa73a56bc3c0b5d7f
+# Source117-md5:       9d60182b448a5766abe3db4a84987fc7
 Source118:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi
-# Source118-md5:       bb24b5bf4161333fad3953daed423caf
+# Source118-md5:       12c353c43e711e1c338a91355e57631a
 Source119:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi
-# Source119-md5:       90b9e5e8d62b3a017bd68b581ed6273b
+# Source119-md5:       1b3c55139e9be85ebc9c314fc55fcb92
 Source120:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi
-# Source120-md5:       6491ef421621eae93105ec218af3cfae
+# Source120-md5:       4c8468e94ebfa61eced9e3ac2818e40d
 Source121:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi
-# Source121-md5:       409bc991e143425869ced24e2ce40881
+# Source121-md5:       4a96e31e56b5cc1e24c3f266cfed4dbe
 Source122:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi
-# Source122-md5:       a2462056b235a8806e19078df77a296c
+# Source122-md5:       21fb4db28ec66653b6bf26043f5681e8
 Patch1:                %{name}-mozilla-revert-1332139.patch
 Patch2:                %{name}-pld-branding.patch
 Patch3:                %{name}-enable-addons.patch
@@ -98,7 +104,8 @@ BuildRequires:       OpenGL-devel
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf2_13 >= 2.13
 BuildRequires: bzip2-devel
-BuildRequires: cairo-devel >= 1.10.2-5
+%{?with_system_cairo:BuildRequires:    cairo-devel >= 1.10.2-5}
+BuildRequires: cargo
 BuildRequires: dbus-glib-devel >= 0.60
 BuildRequires: fontconfig-devel >= 1:2.7.0
 BuildRequires: freetype-devel >= 1:2.1.8
@@ -118,7 +125,7 @@ BuildRequires:      libjpeg-devel >= 6b
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libnotify-devel >= 0.4
 BuildRequires: libpng(APNG)-devel >= 0.10
-BuildRequires: libpng-devel >= 2:1.6.21
+BuildRequires: libpng-devel >= 2:1.6.35
 BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libvpx-devel >= 1.5.0
 BuildRequires: mozldap-devel >= 6.0
@@ -134,6 +141,7 @@ BuildRequires:      python-modules >= 1:2.7
 BuildRequires: python-virtualenv >= 15
 BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: rust >= 1.47.0
 BuildRequires: sed >= 4.0
 BuildRequires: startup-notification-devel >= 0.8
 BuildRequires: tar >= 1:1.22
@@ -154,13 +162,13 @@ Requires: desktop-file-utils
 Requires:      fontconfig >= 1:2.7.0
 Requires:      hicolor-icon-theme
 Requires:      browser-plugins >= 2.0
-Requires:      cairo >= 1.10.2-5
+%{?with_system_cairo:Requires: cairo >= 1.10.2-5}
 Requires:      dbus-glib >= 0.60
 Requires:      glib2 >= 1:2.22
 Requires:      gtk+2 >= 2:2.18
 Requires:      gtk+3 >= 3.4.0
 Requires:      libjpeg-turbo
-Requires:      libpng >= 2:1.6.21
+Requires:      libpng >= 2:1.6.35
 Requires:      libpng(APNG) >= 0.10
 Requires:      libvpx >= 1.5.0
 Requires:      myspell-common
@@ -732,10 +740,15 @@ ac_add_options --enable-default-toolkit=cairo-gtk3
 ac_add_options --enable-dominspector
 ac_add_options --enable-extensions=default
 ac_add_options --enable-irc
+%if %{without gold}
+ac_add_options --enable-linker=bfd
+%endif
 # breaks build
 #ac_add_options --enable-shared-js
 ac_add_options --enable-startup-notification
+%if %{with system_cairo}
 ac_add_options --enable-system-cairo
+%endif
 ac_add_options --enable-system-hunspell
 ac_add_options --with-distribution-id=org.pld-linux
 ac_add_options --with-system-bz2
@@ -823,11 +836,7 @@ install %{SOURCE4} %{SOURCE5} %{SOURCE7} \
 
 for d in 16 32 48 64 128 ; do
 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps
-if [ $d -eq 32 ]; then
-cp -p %{topdir}/comm/suite/branding/seamonkey/default.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
-else
 cp -p %{topdir}/comm/suite/branding/seamonkey/default${d}.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
-fi
 done
 
 # don't package, rely on system mozldap libraries
@@ -896,7 +905,6 @@ fi
 %{_libdir}/%{name}/platform.ini
 %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
 %attr(755,root,root) %{_libdir}/%{name}/seamonkey-bin
-%attr(755,root,root) %{_libdir}/%{name}/pingsender
 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
 
 %attr(755,root,root) %{_libdir}/%{name}/seamonkey
@@ -913,9 +921,6 @@ fi
 %{_datadir}/%{name}/defaults
 %{_datadir}/%{name}/fonts
 
-%dir %{_libdir}/%{name}/distribution
-%dir %{_libdir}/%{name}/distribution/extensions
-
 %dir %{_datadir}/%{name}/extensions
 %dir %{_libdir}/%{name}/extensions
 # the signature of the default theme
@@ -940,16 +945,16 @@ fi
 %if %{with lightning}
 %files addon-lightning
 %defattr(644,root,root,755)
-%{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
+%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
 %endif
 
 %files chat
 %defattr(644,root,root,755)
-%{_libdir}/%{name}/distribution/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
+%{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
 
 %files dom-inspector
 %defattr(644,root,root,755)
-%{_libdir}/%{name}/distribution/extensions/inspector@mozilla.org.xpi
+%{_libdir}/%{name}/extensions/inspector@mozilla.org.xpi
 
 %files lang-cs
 %defattr(644,root,root,755)
This page took 0.048066 seconds and 4 git commands to generate.