]> git.pld-linux.org Git - packages/seamonkey.git/blobdiff - seamonkey.spec
- updated to 2.53.9.1
[packages/seamonkey.git] / seamonkey.spec
index 01c90123d6736cbaf3a7496cf813882f542024f8..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.6
+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: 045ca741d5fac8aa87b4be617969ff9a
+# 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:       fc276bd4bf965f32b15592ccf4e09238
+# Source100-md5:       437a2d1bbad026dc74a7c0fcbb7424fc
 Source101:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi
-# Source101-md5:       738b08e05b885544c4946a70cfbd66a5
+# Source101-md5:       7276fae4dafbe3a08081bcd6898a9bde
 Source102:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.el.langpack.xpi
-# Source102-md5:       87ccb1366dd23813bc0264ea67cc126b
+# Source102-md5:       883a09a2e0072256a6032fbcf88f7d2a
 Source103:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi
-# Source103-md5:       e2cb02e017fcb25a8d3ecdb3704b9df3
+# Source103-md5:       cb02b909a34818f99a819251eb320a32
 Source104:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi
-# Source104-md5:       3df6da0ab4cb04078ebbe798b3810e74
+# Source104-md5:       e17799319431fa85c4cb4f8220cd4079
 Source105:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi
-# Source105-md5:       948ff8345efdb5aac5f5e68f0ec41518
+# Source105-md5:       ccd4098f1663a35bb98c14f28248c9b1
 Source106:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi
-# Source106-md5:       e141b8fa7ead9789d4c33752a8143040
+# Source106-md5:       87af49b1bc8eba578731cce32f2624a8
 Source107:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi
-# Source107-md5:       fe57689c3d780ee3507e6d2794faa59c
+# Source107-md5:       64bc8f2fb6079fa5d5060b68b6f38fea
 Source108:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi
-# Source108-md5:       470cfc441d07b933e53e05e23ce61c01
+# Source108-md5:       0d227930867da87a56eb336a505b2eaf
 Source109:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi
-# Source109-md5:       b1cba1cf46e57a6c0e2485785d06f1ee
+# Source109-md5:       6555c1e14ef98c0b81cd6031158214ef
 Source110:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi
-# Source110-md5:       0cc4c10e7d3a6f26b26eb857dee1a89e
+# Source110-md5:       41718a184f31a2cd0289bcba147346a1
 Source111:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi
-# Source111-md5:       f0ce347625936155e34ae37642ea9d6f
+# Source111-md5:       88650255b12d79e18936d2c7efbe2973
 Source112:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ka.langpack.xpi
-# Source112-md5:       be8898de65266fa5cf412c5ef54e13d1
+# Source112-md5:       be5378ba5752dbfdde45bc4b11d4e898
 Source113:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi
-# Source113-md5:       fe407da48dadd42fd9b9db8c38ef8ef2
+# Source113-md5:       5cb424fae93729ea265c5706b73cdeb2
 Source114:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi
-# Source114-md5:       a4ab0f878a2c756b07ce2368bd9d711c
+# Source114-md5:       aaaa34f083d0d9ff79b6e1afa23165e0
 Source115:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi
-# Source115-md5:       9211ababef041b36ac8e080e0145f755
+# Source115-md5:       b5543e675686bf2588e872be47930d27
 Source116:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-BR.langpack.xpi
-# Source116-md5:       1caedbdceb03205738ab1214dbd261c5
+# Source116-md5:       0494ed28449d8a3dd68357747b9b4c90
 Source117:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi
-# Source117-md5:       7208de5de55837b87b030ef44b9b40e5
+# Source117-md5:       9d60182b448a5766abe3db4a84987fc7
 Source118:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi
-# Source118-md5:       84b45a3b6ae5091716affe1491ffc992
+# Source118-md5:       12c353c43e711e1c338a91355e57631a
 Source119:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi
-# Source119-md5:       f5d261537549c45b2143e8f504096e24
+# Source119-md5:       1b3c55139e9be85ebc9c314fc55fcb92
 Source120:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi
-# Source120-md5:       ce22eae780150bbb2c630bce4fdf721b
+# Source120-md5:       4c8468e94ebfa61eced9e3ac2818e40d
 Source121:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi
-# Source121-md5:       d26cf32689c5dbe9b190fd817e6fe4aa
+# Source121-md5:       4a96e31e56b5cc1e24c3f266cfed4dbe
 Source122:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi
-# Source122-md5:       90b06447fcbf80104a1f4ddffa5cbc43
+# 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
@@ -751,7 +764,7 @@ ac_add_options --with-system-png
 ac_add_options --with-system-zlib
 EOF
 
-%{__make} -j1 -f client.mk build \
+%{__make} -j1 build \
        AUTOCONF=/usr/bin/autoconf2_13 \
        STRIP="/bin/true" \
        MOZ_MAKE_FLAGS="%{?_smp_mflags}" \
@@ -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 1.044921 seconds and 4 git commands to generate.