MozillaFirefox/MozillaFirefox.spec
branchfirefox57
changeset 1012 0c59a30173da
parent 1011 85bd01789b6f
child 1015 ff0b674a2504
equal deleted inserted replaced
1011:85bd01789b6f 1012:0c59a30173da
    17 #
    17 #
    18 
    18 
    19 
    19 
    20 # changed with every update
    20 # changed with every update
    21 %define major 57
    21 %define major 57
    22 %define mainver %major.0
    22 %define mainver %major.0.1
    23 %define update_channel release
    23 %define update_channel release
    24 %define branding 1
    24 %define branding 1
    25 %define releasedate 20171109183137
    25 %define releasedate 20171128222554
    26 
    26 
    27 # PIE, full relro (x86_64 for now)
    27 # PIE, full relro (x86_64 for now)
    28 %define build_hardened 1
    28 %define build_hardened 1
    29 
    29 
    30 # Firefox only supports i686
    30 # Firefox only supports i686
    73 BuildRequires:  libproxy-devel
    73 BuildRequires:  libproxy-devel
    74 BuildRequires:  makeinfo
    74 BuildRequires:  makeinfo
    75 BuildRequires:  mozilla-nspr-devel >= 4.17
    75 BuildRequires:  mozilla-nspr-devel >= 4.17
    76 BuildRequires:  mozilla-nss-devel >= 3.33
    76 BuildRequires:  mozilla-nss-devel >= 3.33
    77 BuildRequires:  python-devel
    77 BuildRequires:  python-devel
       
    78 BuildRequires:  python2-xml
    78 BuildRequires:  rust >= 1.19
    79 BuildRequires:  rust >= 1.19
    79 BuildRequires:  rust-std
    80 BuildRequires:  rust-std
    80 BuildRequires:  startup-notification-devel
    81 BuildRequires:  startup-notification-devel
    81 BuildRequires:  unzip
    82 BuildRequires:  unzip
    82 BuildRequires:  update-desktop-files
    83 BuildRequires:  update-desktop-files
   151 Patch4:         mozilla-openaes-decl.patch
   152 Patch4:         mozilla-openaes-decl.patch
   152 Patch5:         mozilla-no-stdcxx-check.patch
   153 Patch5:         mozilla-no-stdcxx-check.patch
   153 Patch6:         mozilla-reduce-files-per-UnifiedBindings.patch
   154 Patch6:         mozilla-reduce-files-per-UnifiedBindings.patch
   154 Patch7:         mozilla-aarch64-startup-crash.patch
   155 Patch7:         mozilla-aarch64-startup-crash.patch
   155 Patch8:         mozilla-bindgen-systemlibs.patch
   156 Patch8:         mozilla-bindgen-systemlibs.patch
       
   157 Patch9:         mozilla-bmo1360278.patch
       
   158 Patch10:        mozilla-bmo1399611-csd.patch
   156 # Firefox/browser
   159 # Firefox/browser
   157 Patch101:       firefox-kde.patch
   160 Patch101:       firefox-kde.patch
   158 Patch102:       firefox-no-default-ualocale.patch
   161 Patch102:       firefox-no-default-ualocale.patch
   159 Patch103:       firefox-branded-icons.patch
   162 Patch103:       firefox-branded-icons.patch
   160 
   163 
   162 Requires(post):   coreutils shared-mime-info desktop-file-utils
   165 Requires(post):   coreutils shared-mime-info desktop-file-utils
   163 Requires(postun): shared-mime-info desktop-file-utils
   166 Requires(postun): shared-mime-info desktop-file-utils
   164 %if %branding
   167 %if %branding
   165 Requires:       %{name}-branding > 44.0
   168 Requires:       %{name}-branding > 44.0
   166 %endif
   169 %endif
   167 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
   170 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%%{VERSION}' mozilla-nspr)
   168 Requires:       mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
   171 Requires:       mozilla-nss >= %(rpm -q --queryformat '%%{VERSION}' mozilla-nss)
   169 Recommends:     libcanberra0
   172 Recommends:     libcanberra0
   170 Recommends:     libpulse0
   173 Recommends:     libpulse0
   171 # addon leads to startup crash (bnc#908892)
   174 # addon leads to startup crash (bnc#908892)
   172 Obsoletes:      tracker-miner-firefox < 0.15
   175 Obsoletes:      tracker-miner-firefox < 0.15
   173 # libproxy's mozjs pacrunner crashes FF (bnc#759123)
   176 # libproxy's mozjs pacrunner crashes FF (bnc#759123)
   262 %ifarch %ix86
   265 %ifarch %ix86
   263 %patch6 -p1
   266 %patch6 -p1
   264 %endif
   267 %endif
   265 %patch7 -p1
   268 %patch7 -p1
   266 %patch8 -p1
   269 %patch8 -p1
       
   270 %patch9 -p1
       
   271 %patch10 -p1
   267 # Firefox
   272 # Firefox
   268 %patch101 -p1
   273 %patch101 -p1
   269 %patch102 -p1
   274 %patch102 -p1
   270 %patch103 -p1
   275 %patch103 -p1
   271 
   276