MozillaFirefox/MozillaFirefox.spec
branchfirefox98
changeset 1172 7bdeb580be51
parent 1171 130d464159be
child 1173 56ecd2ae6e61
equal deleted inserted replaced
1171:130d464159be 1172:7bdeb580be51
    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          97
    31 %define major          98
    32 %define mainver        %major.0.1
    32 %define mainver        %major.0.2
    33 %define orig_version   97.0.1
    33 %define orig_version   98.0.2
    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.33
   116 BuildRequires:  mozilla-nspr-devel >= 4.33
   117 BuildRequires:  mozilla-nss-devel >= 3.74
   117 BuildRequires:  mozilla-nss-devel >= 3.75
   118 BuildRequires:  nasm >= 2.14
   118 BuildRequires:  nasm >= 2.14
   119 BuildRequires:  nodejs >= 10.22.1
   119 BuildRequires:  nodejs >= 10.22.1
   120 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
   120 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
   121 BuildRequires:  python-libxml2
   121 BuildRequires:  python-libxml2
   122 BuildRequires:  python36
   122 BuildRequires:  python36
   217 Patch19:        mozilla-bmo1626236.patch
   217 Patch19:        mozilla-bmo1626236.patch
   218 Patch20:        mozilla-s390x-skia-gradient.patch
   218 Patch20:        mozilla-s390x-skia-gradient.patch
   219 Patch21:        mozilla-libavcodec58_91.patch
   219 Patch21:        mozilla-libavcodec58_91.patch
   220 Patch22:        mozilla-silence-no-return-type.patch
   220 Patch22:        mozilla-silence-no-return-type.patch
   221 Patch23:        mozilla-bmo531915.patch
   221 Patch23:        mozilla-bmo531915.patch
       
   222 Patch24:        mozilla-bmo1756347.patch
       
   223 Patch25:        mozilla-bmo1757571.patch
   222 # Firefox/browser
   224 # Firefox/browser
   223 Patch101:       firefox-kde.patch
   225 Patch101:       firefox-kde.patch
   224 Patch102:       firefox-branded-icons.patch
   226 Patch102:       firefox-branded-icons.patch
   225 %endif
   227 %endif
   226 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   228 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   683 %endif
   685 %endif
   684 # fdupes
   686 # fdupes
   685 %fdupes %{buildroot}%{progdir}
   687 %fdupes %{buildroot}%{progdir}
   686 %fdupes %{buildroot}%{_datadir}
   688 %fdupes %{buildroot}%{_datadir}
   687 
   689 
   688 %clean
       
   689 rm -rf %{buildroot}
       
   690 %if %localize
       
   691 rm -rf %{_tmppath}/translations.*
       
   692 %endif
       
   693 
       
   694 %post
   690 %post
   695 # update mime and desktop database
   691 # update mime and desktop database
   696 %mime_database_post
   692 %mime_database_post
   697 %desktop_database_post
   693 %desktop_database_post
   698 %icon_theme_cache_post
   694 %icon_theme_cache_post