X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffirefox.git;a=blobdiff_plain;f=firefox.spec;h=aab2e10e13f9a3260610cb3789472943345d1f03;hp=febe6af2e3e7cd32399123670525716ea5b9c775;hb=27896e2;hpb=890cec3d05e35b5f765baf82d7b8fa8bac3055dc diff --git a/firefox.spec b/firefox.spec index febe6af..aab2e10 100644 --- a/firefox.spec +++ b/firefox.spec @@ -1,6 +1,5 @@ # TODO: # - consider --enable-libproxy -# - enable rust support # # Conditional build: %bcond_with tests # enable tests (whatever they check) @@ -27,12 +26,12 @@ Summary: Firefox web browser Summary(hu.UTF-8): Firefox web böngésző Summary(pl.UTF-8): Firefox - przeglądarka WWW Name: firefox -Version: 54.0 +Version: 54.0.1 Release: 1 License: MPL v2.0 Group: X11/Applications/Networking Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz -# Source0-md5: bd9eccc20354ad3e69e0265f0a7f5c90 +# Source0-md5: bb6cc95056feba6acc487d773bc13e71 Source3: %{name}.desktop Source4: %{name}.sh Source5: vendor.js @@ -54,6 +53,7 @@ BuildRequires: automake BuildRequires: autoconf2_13 BuildRequires: bzip2-devel 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 @@ -94,6 +94,7 @@ BuildRequires: python-virtualenv >= 15 BuildRequires: readline-devel BuildRequires: rpm >= 4.4.9-56 BuildRequires: rpmbuild(macros) >= 1.601 +BuildRequires: rust BuildRequires: sed >= 4.0 BuildRequires: sqlite3-devel >= 3.17.0 BuildRequires: startup-notification-devel >= 0.8 @@ -200,6 +201,9 @@ cp -p %{_datadir}/automake/config.* build/autoconf cat << 'EOF' > .mozconfig . $topsrcdir/browser/config/mozconfig +export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" +export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64" + mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu} # Options for 'configure' (same as command-line options). @@ -232,7 +236,6 @@ ac_add_options --disable-gconf ac_add_options --disable-gnomeui ac_add_options --disable-necko-wifi ac_add_options --disable-updater -ac_add_options --disable-rust ac_add_options --enable-alsa ac_add_options --enable-chrome-format=omni ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2} @@ -397,6 +400,7 @@ fi %attr(755,root,root) %{_libdir}/%{name}/firefox %attr(755,root,root) %{_libdir}/%{name}/firefox-bin +%attr(755,root,root) %{_libdir}/%{name}/pingsender %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh %{_libdir}/%{name}/application.ini %{_libdir}/%{name}/chrome.manifest @@ -410,6 +414,7 @@ fi %{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi %{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi %{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi +%{_libdir}/%{name}/browser/features/screenshots@mozilla.org.xpi %attr(755,root,root) %{_libdir}/%{name}/plugin-container %{_libdir}/%{name}/dictionaries