]> git.pld-linux.org Git - packages/seamonkey.git/blobdiff - seamonkey.spec
- updated to 2.53.9.1
[packages/seamonkey.git] / seamonkey.spec
index 6c66a4612b613b7db1d4c27c66c1877da7fccc59..cbdbe895339fb00dd7f65e5b20837918480fee41 100644 (file)
@@ -3,18 +3,24 @@
 # - do something with *.rdf file, there if file conflict with other lang packages
 #
 # Conditional build:
-%bcond_without gtk3            # GTK+ 3.x instead of 2.x
-%bcond_without ldap            # disable e-mail address lookups in LDAP directories
-%bcond_without kerberos        # disable krb5 support
-%bcond_without lightning       # disable Lightning calendar
+%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
 
-%define                nspr_ver        4.13.1
-%define                nss_ver         3.28.6
+%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
 
-# The actual sqlite version (see RHBZ#480989):
-%define                sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
+%define                nspr_ver        4.25
+%define                nss_ver         3.53.1
 
 # UPDATING TRANSALTIONS:
 %if 0
@@ -30,77 +36,82 @@ 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.49.5
+Version:       2.53.9.1
 Release:       1
 License:       MPL v2.0
 Group:         X11/Applications/Networking
-Source0:       http://ftp.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
-# Source0-md5: 91f60a7aca6f8bc053ffddc7259ae4ec
+Source0:       http://releases.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
+# Source0-md5: 70e06d388eb796dc0f8b847794eabea0
 Source4:       %{name}.desktop
 Source5:       %{name}-composer.desktop
 Source7:       %{name}-mail.desktop
 Source9:       %{name}.sh
-Source100:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.cs.langpack.xpi
-# Source100-md5:       1e0b73887e5d80589c5b2fd5d8538d7f
-Source101:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.de.langpack.xpi
-# Source101-md5:       eb4bf2ab50756280d1a39c1547129ced
-Source102:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.en-GB.langpack.xpi
-# Source102-md5:       c9bea7471fabf225009a5340733e4ce2
-Source103:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.en-US.langpack.xpi
-# Source103-md5:       42f234f11bcb6a127462caaf664dc21b
-Source104:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.es-AR.langpack.xpi
-# Source104-md5:       5fdf01f31dd24c06bc0c51a74d9673a6
-Source105:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.es-ES.langpack.xpi
-# Source105-md5:       948d3dbf4452e7e46f1a0d5026d2200c
-Source106:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.fr.langpack.xpi
-# Source106-md5:       5dbd832a5d4d81aa52f7435123ade06e
-Source107:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.hu.langpack.xpi
-# Source107-md5:       b002ed727428960d34ded53ec290667b
-Source108:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.it.langpack.xpi
-# Source108-md5:       12d37399fda4202144a82b458f75d27c
-Source109:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.ja.langpack.xpi
-# Source109-md5:       f5e304d3ba8d526b28e92693f23154c9
-Source110:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.lt.langpack.xpi
-# Source110-md5:       40db7b6ee7b1ddd5723e51c335f73eec
-Source111:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.nb-NO.langpack.xpi
-# Source111-md5:       cfde049afaaba0afe9f8b85ac704ba85
-Source112:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.nl.langpack.xpi
-# Source112-md5:       21a733c0b344840a2d81958a0fe72bc1
-Source113:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.pl.langpack.xpi
-# Source113-md5:       1a2646b993dc540f09c8b04fc4107c45
-Source114:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.pt-PT.langpack.xpi
-# Source114-md5:       0e54c214e673c474400c36a934f946a8
-Source115:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.ru.langpack.xpi
-# Source115-md5:       c24ff5c5bafbfce18b0333ef31735f54
-Source116:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.sk.langpack.xpi
-# Source116-md5:       5ab1d6ebf6cee6dc822fc91e1ced4443
-Source117:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.sv-SE.langpack.xpi
-# Source117-md5:       e471259f0afcdb159ce5f0a8f24cfd5b
-Source118:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.zh-CN.langpack.xpi
-# Source118-md5:       7160e0ea724c68c6457bb5a76b996255
-Source119:     http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpacks/linux-i686/seamonkey-%{version}.zh-TW.langpack.xpi
-# Source119-md5:       5370bfa849ea4af22e6ef8d1500279c8
-Patch1:                %{name}-pld-branding.patch
-Patch2:                %{name}-agent.patch
+Source100:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.cs.langpack.xpi
+# Source100-md5:       437a2d1bbad026dc74a7c0fcbb7424fc
+Source101:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi
+# Source101-md5:       7276fae4dafbe3a08081bcd6898a9bde
+Source102:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.el.langpack.xpi
+# Source102-md5:       883a09a2e0072256a6032fbcf88f7d2a
+Source103:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi
+# Source103-md5:       cb02b909a34818f99a819251eb320a32
+Source104:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi
+# Source104-md5:       e17799319431fa85c4cb4f8220cd4079
+Source105:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi
+# Source105-md5:       ccd4098f1663a35bb98c14f28248c9b1
+Source106:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi
+# Source106-md5:       87af49b1bc8eba578731cce32f2624a8
+Source107:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi
+# Source107-md5:       64bc8f2fb6079fa5d5060b68b6f38fea
+Source108:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi
+# Source108-md5:       0d227930867da87a56eb336a505b2eaf
+Source109:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi
+# Source109-md5:       6555c1e14ef98c0b81cd6031158214ef
+Source110:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi
+# Source110-md5:       41718a184f31a2cd0289bcba147346a1
+Source111:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi
+# Source111-md5:       88650255b12d79e18936d2c7efbe2973
+Source112:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ka.langpack.xpi
+# Source112-md5:       be5378ba5752dbfdde45bc4b11d4e898
+Source113:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi
+# Source113-md5:       5cb424fae93729ea265c5706b73cdeb2
+Source114:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi
+# Source114-md5:       aaaa34f083d0d9ff79b6e1afa23165e0
+Source115:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi
+# Source115-md5:       b5543e675686bf2588e872be47930d27
+Source116:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-BR.langpack.xpi
+# Source116-md5:       0494ed28449d8a3dd68357747b9b4c90
+Source117:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi
+# Source117-md5:       9d60182b448a5766abe3db4a84987fc7
+Source118:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi
+# Source118-md5:       12c353c43e711e1c338a91355e57631a
+Source119:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi
+# Source119-md5:       1b3c55139e9be85ebc9c314fc55fcb92
+Source120:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi
+# Source120-md5:       4c8468e94ebfa61eced9e3ac2818e40d
+Source121:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi
+# Source121-md5:       4a96e31e56b5cc1e24c3f266cfed4dbe
+Source122:     http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi
+# Source122-md5:       21fb4db28ec66653b6bf26043f5681e8
+Patch1:                %{name}-mozilla-revert-1332139.patch
+Patch2:                %{name}-pld-branding.patch
 Patch3:                %{name}-enable-addons.patch
 # Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade
 Patch4:                %{name}-system-virtualenv.patch
 Patch5:                %{name}-icu-detect.patch
-Patch6:                %{name}-glibc2.30.patch
-Patch7:                %{name}-crmf.patch
 URL:           https://www.seamonkey-project.org/
 BuildRequires: GConf2-devel >= 1.2.1
 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
 BuildRequires: glib2-devel >= 1:2.22
-%{!?with_gtk3:BuildRequires:   gtk+2-devel >= 2:2.18}
-%{?with_gtk3:BuildRequires:    gtk+3-devel >= 3.4.0}
+BuildRequires: gtk+2-devel >= 2:2.18
+BuildRequires: gtk+3-devel >= 3.4.0
 %{?with_kerberos:BuildRequires:        heimdal-devel >= 0.7.1}
 BuildRequires: hunspell-devel
 # DECnet (dnprogs.spec), not dummy net (libdnet.spec)
@@ -114,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
@@ -128,10 +139,10 @@ BuildRequires:    pkgconfig
 BuildRequires: python >= 1:2.7
 BuildRequires: python-modules >= 1:2.7
 BuildRequires: python-virtualenv >= 15
-BuildRequires: rpm >= 4.4.9-56
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: rust >= 1.47.0
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.17.0
 BuildRequires: startup-notification-devel >= 0.8
 BuildRequires: tar >= 1:1.22
 BuildRequires: xorg-lib-libX11-devel
@@ -151,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
-%{!?with_gtk3:Requires:        gtk+2 >= 2:2.18}
-%{?with_gtk3:Requires: gtk+3 >= 3.4.0}
+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
@@ -165,26 +176,38 @@ Requires: nspr >= 1:%{nspr_ver}
 Requires:      nss >= 1:%{nss_ver}
 Requires:      pango >= 1:1.22.0
 Requires:      pixman >= 0.19.2
-Requires:      sqlite3 >= %{sqlite_build_version}
 Requires:      startup-notification >= 0.8
 Provides:      seamonkey-embedded = %{version}-%{release}
 Provides:      wwwbrowser
-Obsoletes:     iceape
-Obsoletes:     iceape-js-debugger
-Obsoletes:     iceape-mailnews
-Obsoletes:     iceape-gnomevfs
-Obsoletes:     light
-Obsoletes:     mozilla
-Obsoletes:     mozilla-gnomevfs
-Obsoletes:     seamonkey-addon-lightning < 2.46
-Obsoletes:     seamonkey-chat < 2.46
-Obsoletes:     seamonkey-calendar
-Obsoletes:     seamonkey-dom-inspector < 2.46
-Obsoletes:     seamonkey-js-debugger
-Obsoletes:     seamonkey-libs
-Obsoletes:     seamonkey-mailnews
-Obsoletes:     seamonkey-gnomevfs
+Obsoletes:     iceape < 2.47
+Obsoletes:     iceape-js-debugger < 2.40
+Obsoletes:     iceape-lang-be < 2.47
+Obsoletes:     iceape-lang-ca < 2.47
+Obsoletes:     iceape-lang-gl < 2.47
+Obsoletes:     iceape-lang-lt < 2.47
+Obsoletes:     iceape-lang-tr < 2.47
+Obsoletes:     iceape-lang-uk < 2.47
+Obsoletes:     iceape-mailnews < 2.9
+Obsoletes:     iceape-gnomevfs < 2.9
+Obsoletes:     light < 1.4.13
+Obsoletes:     mozilla < 1.8
+Obsoletes:     mozilla-gnomevfs < 1.8
+Obsoletes:     mozilla-js-debugger < 1.8
+Obsoletes:     mozilla-mailnews < 1.8
+Obsoletes:     seamonkey-calendar < 1.1
+Obsoletes:     seamonkey-js-debugger < 2.31
+Obsoletes:     seamonkey-lang-be < 2.47
+Obsoletes:     seamonkey-lang-ca < 2.47
+Obsoletes:     seamonkey-lang-gl < 2.47
+Obsoletes:     seamonkey-lang-lt < 2.53
+Obsoletes:     seamonkey-lang-tr < 2.47
+Obsoletes:     seamonkey-lang-uk < 2.47
+Obsoletes:     seamonkey-libs < 1.1.8-2
+Obsoletes:     seamonkey-mailnews < 2.9.1
+Obsoletes:     seamonkey-gnomevfs < 2.9.1
 Conflicts:     seamonkey-lang-resources < %{version}
+# TODO: change to supported archs list
+ExcludeArch:   x32
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                topdir          %{_builddir}/%{name}-%{version}
@@ -195,7 +218,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # don't satisfy other packages
 %define                _noautoprovfiles        %{_libdir}/%{name}
 # and as we don't provide them, don't require either
-%define                _noautoreq      liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozsandbox.so libxul.so
+%define                _noautoreq      liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozsandbox.so libmozsqlite3.so libxul.so
 
 %description
 SeaMonkey Community Edition is an open-source web browser, designed
@@ -224,7 +247,7 @@ Summary:    An integrated calendar for SeaMonkey
 Summary(pl.UTF-8):     Zintegrowany kalendarz dla SeaMonkey
 Group:         Applications/Networking
 Requires:      %{name} = %{version}-%{release}
-Obsoletes:     iceape-addon-lightning
+Obsoletes:     iceape-addon-lightning < 2.46
 
 %description addon-lightning
 Lightning is an calendar extension to Icedove email client.
@@ -239,8 +262,8 @@ Summary(pl.UTF-8):  SeaMonkey Community Edition Chat - zintegrowany klient IRC-a
 Group:         X11/Applications/Networking
 Requires(post,postun): %{name} = %{version}-%{release}
 Requires:      %{name} = %{version}-%{release}
-Obsoletes:     iceape-chat
-Obsoletes:     mozilla-chat
+Obsoletes:     iceape-chat < 2.46
+Obsoletes:     mozilla-chat < 1.8
 
 %description chat
 SeaMonkey Community Edition Chat - IRC client that is integrated with
@@ -256,8 +279,8 @@ Summary(pl.UTF-8):  Narzędzie do oglądania DOM stron w SeaMonkey Community Edit
 Group:         X11/Applications/Networking
 Requires(post,postun): %{name} = %{version}-%{release}
 Requires:      %{name} = %{version}-%{release}
-Obsoletes:     iceape-dom-inspector
-Obsoletes:     mozilla-dom-inspector
+Obsoletes:     iceape-dom-inspector < 2.46
+Obsoletes:     mozilla-dom-inspector < 1.8
 
 %description dom-inspector
 This is a tool that allows you to inspect the DOM for web pages in
@@ -276,6 +299,7 @@ Summary(pl.UTF-8):  Czeskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-cs < 2.47
 BuildArch:     noarch
 
 %description lang-cs
@@ -290,6 +314,7 @@ Summary(pl.UTF-8):  Niemieckie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-de < 2.47
 BuildArch:     noarch
 
 %description lang-de
@@ -298,12 +323,27 @@ German resources for SeaMonkey.
 %description lang-de -l pl.UTF-8
 Niemieckie pliki językowe dla SeaMonkeya.
 
+%package lang-el
+Summary:       Greek resources for SeaMonkey
+Summary(pl.UTF-8):     Greckie pliki językowe dla SeaMonkeya
+Group:         I18n
+Requires:      seamonkey >= %{version}
+Provides:      seamonkey-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-el
+Greek resources for SeaMonkey.
+
+%description lang-el -l pl.UTF-8
+Greckie pliki językowe dla SeaMonkeya.
+
 %package lang-en_GB
 Summary:       English (British) resources for SeaMonkey
 Summary(pl.UTF-8):     Angielskie (brytyjskie) pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-en_GB < 2.47
 BuildArch:     noarch
 
 %description lang-en_GB
@@ -318,6 +358,7 @@ Summary(pl.UTF-8):  Angielskie (amerykańskie) pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-en_US < 2.47
 BuildArch:     noarch
 
 %description lang-en_US
@@ -334,6 +375,7 @@ Summary(pl.UTF-8):  Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andor
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-es_AR < 2.47
 BuildArch:     noarch
 
 %description lang-es_AR
@@ -356,6 +398,7 @@ Summary(pl.UTF-8):  Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszp
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-es < 2.47
 BuildArch:     noarch
 
 %description lang-es
@@ -370,12 +413,28 @@ Recursos españoles (España) para SeaMonkey.
 %description lang-es -l pl.UTF-8
 Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii).
 
+%package lang-fi
+Summary:       Finnish resources for SeaMonkey
+Summary(pl.UTF-8):     Fińskie pliki językowe dla SeaMonkeya
+Group:         I18n
+Requires:      seamonkey >= %{version}
+Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-fi < 2.47
+BuildArch:     noarch
+
+%description lang-fi
+Finnish resources for SeaMonkey.
+
+%description lang-fi -l pl.UTF-8
+Fińskie pliki językowe dla SeaMonkeya.
+
 %package lang-fr
 Summary:       French resources for SeaMonkey
 Summary(pl.UTF-8):     Francuskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-fr < 2.47
 BuildArch:     noarch
 
 %description lang-fr
@@ -391,6 +450,7 @@ Summary(pl.UTF-8):  Węgierskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-hu < 2.47
 BuildArch:     noarch
 
 %description lang-hu
@@ -408,6 +468,7 @@ Summary(pl.UTF-8):  Włoskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-it < 2.47
 BuildArch:     noarch
 
 %description lang-it
@@ -422,6 +483,7 @@ Summary(pl.UTF-8):  Japońskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-ja < 2.47
 BuildArch:     noarch
 
 %description lang-ja
@@ -430,12 +492,27 @@ Japanese resources for SeaMonkey.
 %description lang-ja -l pl.UTF-8
 Japońskie pliki językowe dla SeaMonkeya.
 
+%package lang-ka
+Summary:       Georgian resources for SeaMonkey
+Summary(pl.UTF-8):     Gruzińskie pliki językowe dla SeaMonkeya
+Group:         I18n
+Requires:      seamonkey >= %{version}
+Provides:      seamonkey-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-ka
+Georgian resources for SeaMonkey.
+
+%description lang-ka -l pl.UTF-8
+Gruzińskie pliki językowe dla SeaMonkeya.
+
 %package lang-lt
 Summary:       Lithuanian resources for SeaMonkey
 Summary(pl.UTF-8):     Litewskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-lt < 2.47
 BuildArch:     noarch
 
 %description lang-lt
@@ -450,6 +527,7 @@ Summary(pl.UTF-8):  Norweskie (bokmaal) pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-nb < 2.47
 BuildArch:     noarch
 
 %description lang-nb
@@ -464,6 +542,7 @@ Summary(pl.UTF-8):  Holenderskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-nl < 2.47
 BuildArch:     noarch
 
 %description lang-nl
@@ -478,6 +557,7 @@ Summary(pl.UTF-8):  Polskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-pl < 2.47
 BuildArch:     noarch
 
 %description lang-pl
@@ -486,12 +566,27 @@ Polish resources for SeaMonkey.
 %description lang-pl -l pl.UTF-8
 Polskie pliki językowe dla SeaMonkeya.
 
+%package lang-pt_BR
+Summary:       Portuguese (Brazilian) resources for SeaMonkey
+Summary(pl.UTF-8):     Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii)
+Group:         I18n
+Requires:      seamonkey >= %{version}
+Provides:      seamonkey-lang-resources = %{version}
+BuildArch:     noarch
+
+%description lang-pt_BR
+Portuguese (Brazilian) resources for SeaMonkey.
+
+%description lang-pt_BR -l pl.UTF-8
+Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii).
+
 %package lang-pt
 Summary:       Portuguese (Portugal) resources for SeaMonkey
 Summary(pl.UTF-8):     Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii)
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-pt < 2.47
 BuildArch:     noarch
 
 %description lang-pt
@@ -506,6 +601,7 @@ Summary(pl.UTF-8):  Rosyjskie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-ru < 2.47
 BuildArch:     noarch
 
 %description lang-ru
@@ -520,6 +616,7 @@ Summary(pl.UTF-8):  Słowackie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-sk < 2.47
 BuildArch:     noarch
 
 %description lang-sk
@@ -534,6 +631,7 @@ Summary(pl.UTF-8):  Szwedzkie pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-sv < 2.47
 BuildArch:     noarch
 
 %description lang-sv
@@ -548,6 +646,7 @@ Summary(pl.UTF-8):  Chińskie (uproszczone) pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-zh_CN < 2.47
 BuildArch:     noarch
 
 %description lang-zh_CN
@@ -562,6 +661,7 @@ Summary(pl.UTF-8):  Chińskie tradycyjne pliki językowe dla SeaMonkeya
 Group:         I18n
 Requires:      seamonkey >= %{version}
 Provides:      seamonkey-lang-resources = %{version}
+Obsoletes:     iceape-lang-zh_TW < 2.47
 BuildArch:     noarch
 
 %description lang-zh_TW
@@ -576,25 +676,37 @@ unpack() {
        cp -p $file .
 }
 %define __unzip unpack
-%setup -q %(seq -f '-a %g' 100 119 | xargs)
+%setup -q %(seq -f '-a %g' 100 122 | xargs)
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
-%patch7 -p1
 
 %build
 cat << EOF > .mozconfig
 mk_add_options MOZ_OBJDIR=%{objdir}
 
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
+export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
+
+%if %{with lowmem}
+export CFLAGS="$CFLAGS -g0"
+export CXXFLAGS="$CXXFLAGS -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"
+%endif
+
 %if %{with crashreporter}
 export MOZ_DEBUG_SYMBOLS=1
 %endif
 
 # Options for 'configure' (same as command-line options).
 ac_add_options --prefix=%{_prefix}
+ac_add_options --libdir=%{_libdir}
 %if %{?debug:1}0
 ac_add_options --disable-optimize
 ac_add_options --enable-crash-on-assert
@@ -603,9 +715,9 @@ ac_add_options --enable-debug-modules
 ac_add_options --enable-debugger-info-modules
 %else
 ac_add_options --disable-debug
-ac_add_options --enable-optimize="%{rpmcflags} -Os"
 %endif
 ac_add_options --disable-strip
+ac_add_options --disable-install-strip
 %if %{with tests}
 ac_add_options --enable-tests
 %else
@@ -617,32 +729,28 @@ ac_add_options --enable-crashreporter
 ac_add_options --disable-crashreporter
 %endif
 ac_add_options --disable-elf-hack
-ac_add_options --disable-gnomeui
 ac_add_options --disable-necko-wifi
 ac_add_options --disable-updater
-ac_add_options --enable-application=suite
+ac_add_options --enable-application=comm/suite
 %if %{with lightning}
 ac_add_options --enable-calendar
 %endif
 ac_add_options --enable-chrome-format=omni
-ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
+ac_add_options --enable-default-toolkit=cairo-gtk3
+ac_add_options --enable-dominspector
 ac_add_options --enable-extensions=default
-ac_add_options --enable-gio
-%if %{with ldap}
-ac_add_options --enable-ldap
-%else
-ac_add_options --disable-ldap
+ac_add_options --enable-irc
+%if %{without gold}
+ac_add_options --enable-linker=bfd
 %endif
-ac_add_options --enable-safe-browsing
 # 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 --enable-system-sqlite
-ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
 ac_add_options --with-distribution-id=org.pld-linux
-ac_add_options --with-pthreads
 ac_add_options --with-system-bz2
 ac_add_options --with-system-ffi
 ac_add_options --with-system-icu
@@ -651,18 +759,19 @@ ac_add_options --with-system-libevent
 ac_add_options --with-system-libvpx
 ac_add_options --with-system-nspr
 ac_add_options --with-system-nss
+ac_add_options --with-system-pixman
 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}" \
        installdir=%{_libdir}/%{name} \
        XLIBS="-lX11 -lXt" \
        CC="%{__cc}" \
-       CXX="%{__cxx} -std=gnu++11"
+       CXX="%{__cxx}"
 
 %if %{with crashreporter}
 # create debuginfo for crash-stats.mozilla.com
@@ -682,7 +791,7 @@ install -d \
 
 cd %{objdir}
 cwd=`pwd`
-%{__make} -C suite/installer stage-package \
+%{__make} -C comm/suite/installer stage-package \
        DESTDIR=$RPM_BUILD_ROOT \
        installdir=%{_libdir}/%{name} \
        PKG_SKIP_STRIP=1
@@ -703,12 +812,10 @@ cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD
 %{__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
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
-%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins
 
 ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
 ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
 ln -s ../../share/%{name}/fonts $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts
-ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins
 
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
 ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
@@ -727,32 +834,11 @@ chmod a+rx $RPM_BUILD_ROOT%{_bindir}/seamonkey
 install %{SOURCE4} %{SOURCE5} %{SOURCE7} \
        $RPM_BUILD_ROOT%{_desktopdir}
 
-for d in 32 48 64 ; do
+for d in 16 32 48 64 128 ; do
 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps
-cp -p %{topdir}/suite/branding/nightly/content/icon${d}.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
+cp -p %{topdir}/comm/suite/branding/seamonkey/default${d}.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
 done
 
-# files created by seamonkey -register
-touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat
-touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat
-
-cat << 'EOF' > $RPM_BUILD_ROOT%{_libdir}/%{name}/register
-#!/bin/sh
-umask 022
-rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat
-
-# it attempts to touch files in $HOME/.mozilla
-# beware if you run this with sudo!!!
-export HOME=$(mktemp -d)
-# also TMPDIR could be pointing to sudo user's homedir
-unset TMPDIR TMP || :
-
-%{_libdir}/%{name}/seamonkey -register
-
-rm -rf $HOME
-EOF
-chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/register
-
 # don't package, rely on system mozldap libraries
 %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so
@@ -764,11 +850,12 @@ for a in *.xpi; do
        cp -p $a $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/langpack-$basename@seamonkey.mozilla.org.xpi
 done
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{license.txt,precomplete,removed-files}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_libdir}/%{name}/register || :
 %update_browser_plugins
 %update_icon_cache hicolor
 %update_desktop_database
@@ -795,13 +882,13 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
+%attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so
 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
 %dir %{_libdir}/%{name}/gtk2
 %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
 
 %{_libdir}/%{name}/blocklist.xml
 %{_libdir}/%{name}/omni.ja
-%attr(755,root,root) %{_libdir}/%{name}/register
 
 %if %{with crashreporter}
 %{_libdir}/%{name}/crashreporter
@@ -814,10 +901,6 @@ fi
 %{_libdir}/%{name}/application.ini
 %{_libdir}/%{name}/chrome.manifest
 
-%dir %{_libdir}/%{name}/components
-%{_libdir}/%{name}/components/components.manifest
-%attr(755,root,root) %{_libdir}/%{name}/components/libsuite.so
-
 %{_libdir}/%{name}/dependentlibs.list
 %{_libdir}/%{name}/platform.ini
 %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
@@ -832,16 +915,11 @@ fi
 %{_libdir}/%{name}/defaults
 %{_libdir}/%{name}/fonts
 %{_libdir}/%{name}/dictionaries
-%{_libdir}/%{name}/searchplugins
 
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/chrome
 %{_datadir}/%{name}/defaults
 %{_datadir}/%{name}/fonts
-%{_datadir}/%{name}/searchplugins
-
-%dir %{_libdir}/%{name}/distribution
-%dir %{_libdir}/%{name}/distribution/extensions
 
 %dir %{_datadir}/%{name}/extensions
 %dir %{_libdir}/%{name}/extensions
@@ -849,10 +927,6 @@ fi
 %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
 %{_libdir}/%{name}/extensions/modern@themes.mozilla.org.xpi
 
-# files created by seamonkey -register
-%ghost %{_libdir}/%{name}/components/compreg.dat
-%ghost %{_libdir}/%{name}/components/xpti.dat
-
 %{_libdir}/%{name}/isp
 %dir %{_datadir}/%{name}/isp
 %{_datadir}/%{name}/isp/Bogofilter.sfd
@@ -871,16 +945,16 @@ fi
 %if %{with lightning}
 %files addon-lightning
 %defattr(644,root,root,755)
-%{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
+%{_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)
@@ -890,6 +964,10 @@ fi
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-de@seamonkey.mozilla.org.xpi
 
+%files lang-el
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-el@seamonkey.mozilla.org.xpi
+
 %files lang-en_GB
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-en-GB@seamonkey.mozilla.org.xpi
@@ -906,6 +984,10 @@ fi
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-es-ES@seamonkey.mozilla.org.xpi
 
+%files lang-fi
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-fi@seamonkey.mozilla.org.xpi
+
 %files lang-fr
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-fr@seamonkey.mozilla.org.xpi
@@ -922,9 +1004,13 @@ fi
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-ja@seamonkey.mozilla.org.xpi
 
-%files lang-lt
+%files lang-ka
 %defattr(644,root,root,755)
-%{_datadir}/%{name}/extensions/langpack-lt@seamonkey.mozilla.org.xpi
+%{_datadir}/%{name}/extensions/langpack-ka@seamonkey.mozilla.org.xpi
+
+#%files lang-lt
+#%defattr(644,root,root,755)
+#%{_datadir}/%{name}/extensions/langpack-lt@seamonkey.mozilla.org.xpi
 
 %files lang-nb
 %defattr(644,root,root,755)
@@ -938,6 +1024,10 @@ fi
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-pl@seamonkey.mozilla.org.xpi
 
+%files lang-pt_BR
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/extensions/langpack-pt-BR@seamonkey.mozilla.org.xpi
+
 %files lang-pt
 %defattr(644,root,root,755)
 %{_datadir}/%{name}/extensions/langpack-pt-PT@seamonkey.mozilla.org.xpi
This page took 0.098616 seconds and 4 git commands to generate.