MozillaFirefox/MozillaFirefox.spec
branchfirefox122
changeset 1200 2a0735b1eb92
parent 1199 4c520ebe1ad7
child 1201 3a2c95022db2
equal deleted inserted replaced
1199:4c520ebe1ad7 1200:2a0735b1eb92
     1 #
     1 #
     2 # spec file
     2 # spec file for package MozillaFirefox
     3 #
     3 #
     4 # Copyright (c) 2024 SUSE LLC
     4 # Copyright (c) 2024 SUSE LLC
     5 # Copyright (c) 2006-2023 Wolfgang Rosenauer <wr@rosenauer.org>
     5 # Copyright (c) 2006-2023 Wolfgang Rosenauer <wr@rosenauer.org>
     6 #
     6 #
     7 # All modifications and additions to the file contributed by third parties
     7 # All modifications and additions to the file contributed by third parties
    26 # orig_version would be the upstream tar ball
    26 # orig_version would be the upstream tar ball
    27 # orig_version 70.0
    27 # orig_version 70.0
    28 # orig_suffix b3
    28 # orig_suffix b3
    29 # major 69
    29 # major 69
    30 # mainver %%major.99
    30 # mainver %%major.99
    31 %define major          121
    31 %define major          122
    32 %define mainver        %major.0.1
    32 %define mainver        %major.0.1
    33 %define orig_version   121.0.1
    33 %define orig_version   122.0.1
    34 %define orig_suffix    %{nil}
    34 %define orig_suffix    %{nil}
    35 %define update_channel release
    35 %define update_channel release
    36 %define branding       1
    36 %define branding       1
    37 %define devpkg         1
    37 %define devpkg         1
    38 
    38 
   112 BuildRequires:  libcurl-devel
   112 BuildRequires:  libcurl-devel
   113 BuildRequires:  libiw-devel
   113 BuildRequires:  libiw-devel
   114 BuildRequires:  libproxy-devel
   114 BuildRequires:  libproxy-devel
   115 BuildRequires:  makeinfo
   115 BuildRequires:  makeinfo
   116 BuildRequires:  mozilla-nspr-devel >= 4.35
   116 BuildRequires:  mozilla-nspr-devel >= 4.35
   117 BuildRequires:  mozilla-nss-devel >= 3.95
   117 BuildRequires:  mozilla-nss-devel >= 3.96.1
   118 BuildRequires:  nasm >= 2.14
   118 BuildRequires:  nasm >= 2.14
   119 BuildRequires:  nodejs >= 12.22.12
   119 BuildRequires:  nodejs >= 12.22.12
   120 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
   120 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
   121 BuildRequires:  libXtst-devel
   121 BuildRequires:  libXtst-devel
   122 BuildRequires:  python-libxml2
   122 BuildRequires:  python-libxml2
   233 Patch101:       firefox-kde.patch
   233 Patch101:       firefox-kde.patch
   234 Patch102:       firefox-branded-icons.patch
   234 Patch102:       firefox-branded-icons.patch
   235 %endif
   235 %endif
   236 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   236 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   237 Requires(post): coreutils shared-mime-info desktop-file-utils
   237 Requires(post): coreutils shared-mime-info desktop-file-utils
   238 Requires(postun):shared-mime-info desktop-file-utils
   238 Requires(postun): shared-mime-info desktop-file-utils
   239 Requires:       %{name}-branding >= 68
   239 Requires:       %{name}-branding >= 68
   240 %requires_ge    mozilla-nspr
   240 %requires_ge    mozilla-nspr
   241 %requires_ge    mozilla-nss
   241 %requires_ge    mozilla-nss
   242 %requires_ge    libfreetype6
   242 %requires_ge    libfreetype6
   243 Recommends:     libcanberra0
   243 Recommends:     libcanberra0
   244 Recommends:     libpulse0
   244 Recommends:     libpulse0
       
   245 # To make security-keys (e.g. Yubikey) work with FF, it needs the udev-rules installed.
       
   246 # A clean package with the most common rules exists only in SP3 onwards. `u2f-hosts` could be used on older
       
   247 # code streams, but it contains more than just the rules, so we're not recommending it here.
       
   248 %if 0%{?suse_version} >= 1600 || 0%{?sle_version} >= 150300
       
   249 Recommends:     libfido2-udev
       
   250 %endif
   245 # addon leads to startup crash (bnc#908892)
   251 # addon leads to startup crash (bnc#908892)
   246 Obsoletes:      tracker-miner-firefox < 0.15
   252 Obsoletes:      tracker-miner-firefox < 0.15
   247 %if 0%{?devpkg} == 0
   253 %if 0%{?devpkg} == 0
   248 Obsoletes:      %{name}-devel < %{version}
   254 Obsoletes:      %{name}-devel < %{version}
   249 %endif
   255 %endif
   715 %{progdir}/application.ini
   721 %{progdir}/application.ini
   716 %{progdir}/dependentlibs.list
   722 %{progdir}/dependentlibs.list
   717 %{progdir}/*.so
   723 %{progdir}/*.so
   718 %{progdir}/glxtest
   724 %{progdir}/glxtest
   719 %if 0%{wayland_supported}
   725 %if 0%{wayland_supported}
   720 %ifarch %{arm} aarch64 %{ix86} x86_64
       
   721 %{progdir}/vaapitest
   726 %{progdir}/vaapitest
   722 %endif
       
   723 %endif
   727 %endif
   724 %ifarch aarch64 riscv64 %arm
   728 %ifarch aarch64 riscv64 %arm
   725 %{progdir}/v4l2test
   729 %{progdir}/v4l2test
   726 %endif
   730 %endif
   727 %{progdir}/omni.ja
   731 %{progdir}/omni.ja