MozillaFirefox/MozillaFirefox.spec
branchfirefox40
changeset 869 0dd25a92df97
parent 867 3af93b7e5e3d
child 871 4c6e8495720b
equal deleted inserted replaced
868:284da266ec46 869:0dd25a92df97
   144 Patch10:        mozilla-icu-strncat.patch
   144 Patch10:        mozilla-icu-strncat.patch
   145 Patch11:        mozilla-arm-disable-edsp.patch
   145 Patch11:        mozilla-arm-disable-edsp.patch
   146 Patch12:        mozilla-openaes-decl.patch
   146 Patch12:        mozilla-openaes-decl.patch
   147 Patch14:        mozilla-skia-be-le.patch
   147 Patch14:        mozilla-skia-be-le.patch
   148 Patch15:        mozilla-bmo1005535.patch
   148 Patch15:        mozilla-bmo1005535.patch
   149 Patch16:        mozilla-add-glibcxx_use_cxx11_abi.patch
   149 Patch16:        mozilla-arm64-libjpeg-turbo.patch
   150 Patch17:        mozilla-arm64-libjpeg-turbo.patch
   150 Patch17:        mozilla-no-stdcxx-check.patch
   151 # Firefox/browser
   151 # Firefox/browser
   152 Patch101:       firefox-kde.patch
   152 Patch101:       firefox-kde.patch
   153 Patch102:       firefox-no-default-ualocale.patch
   153 Patch102:       firefox-no-default-ualocale.patch
   154 Patch103:       firefox-multilocale-chrome.patch
   154 Patch103:       firefox-branded-icons.patch
   155 Patch104:       firefox-branded-icons.patch
       
   156 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   155 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   157 Requires(post):   coreutils shared-mime-info desktop-file-utils
   156 Requires(post):   coreutils shared-mime-info desktop-file-utils
   158 Requires(postun): shared-mime-info desktop-file-utils
   157 Requires(postun): shared-mime-info desktop-file-utils
   159 %if %branding
   158 %if %branding
   160 Requires:       %{name}-branding > 20.0
   159 Requires:       %{name}-branding > 39.0
   161 %endif
   160 %endif
   162 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
   161 Requires:       mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
   163 Requires:       mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
   162 Requires:       mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
   164 Recommends:     libcanberra0
   163 Recommends:     libcanberra0
   165 Recommends:     libpulse0
   164 Recommends:     libpulse0
   265 %patch17 -p1
   264 %patch17 -p1
   266 # Firefox
   265 # Firefox
   267 %patch101 -p1
   266 %patch101 -p1
   268 %patch102 -p1
   267 %patch102 -p1
   269 %patch103 -p1
   268 %patch103 -p1
   270 %patch104 -p1
       
   271 
   269 
   272 %build
   270 %build
   273 # no need to add build time to binaries
   271 # no need to add build time to binaries
   274 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/MozillaFirefox.changes")"
   272 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/MozillaFirefox.changes")"
   275 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   273 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""