-# TODO
-# - find a way to check for version without having actually to run the browser
-# with a $DISPLAY via about box
-%define svnrev 37391
+# NOTES:
+# - to look for new tarball, use update-source.sh script
+%define svnrev 79369
%define rel 1
Summary: A WebKit powered web browser
Name: chromium-browser-bin
-Version: 5.0.308.0
-Release: 0.%{svnrev}.%{rel}
+Version: 12.0.714.0
+Release: %{svnrev}.%{rel}
License: BSD, LGPL v2+ (ffmpeg)
Group: X11/Applications/Networking
# sh get_sources.sh
-Source0: chromium-browser-linux32-r%{svnrev}.zip
-# Source0-md5: f317bb99a9ffd4d966ec127227ad9da0
-Source1: chromium-browser-linux64-r%{svnrev}.zip
-# Source1-md5: 110eee27e72ca43cf1199016dc241322
+Source0: chromium-browser32-r%{svnrev}.zip
+# NoSource0-md5: 246cc36f4463d626594564d54d5f2d61
+Source1: chromium-browser64-r%{svnrev}.zip
+# NoSource1-md5: a4e1230d56a75770e1dd6569a0d0dac5
+NoSource: 0
+NoSource: 1
Source2: chromium-browser.sh
Source3: chromium-browser.desktop
Source4: find-lang.sh
-Source5: get_sources.sh
+Source5: update-source.sh
BuildRequires: rpmbuild(macros) >= 1.453
BuildRequires: unzip
Requires: browser-plugins >= 2.0
+Requires: libpng12 >= 1:1.2.42-2
Requires: nspr
Requires: nss
Requires: xdg-utils
Provides: wwwbrowser
+Conflicts: chromium-browser
+Obsoletes: %{name}-bookmark_manager
ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# list of script capabilities (regexps) not to be used in Provides
%define _noautoprov %{nss_caps} %{nspr_caps} %{ffmpeg_caps}
-# needs cvs version of libpng, ignore for now
-%define _noautoreq %{_noautoprov} libpng12.so.0(PNG12_0)
+%define _noautoreq %{_noautoprov}
%description
Chromium is an open-source web browser, powered by WebKit.
%{_pixmapsdir}/chromium-browser.png
%{_desktopdir}/*.desktop
%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/resources.pak
%{_libdir}/%{name}/chrome.pak
%dir %{_libdir}/%{name}/locales
%{_libdir}/%{name}/locales/en-US.pak
# These unique permissions are intentional and necessary for the sandboxing
%attr(4555,root,root) %{_libdir}/%{name}/chrome_sandbox
+# Native Client plugin, to use launch with --enable-nacl
+%attr(755,root,root) %{_libdir}/%{name}/libppGoogleNaClPluginChrome.so
+
# ffmpeg libs
%attr(755,root,root) %{_libdir}/%{name}/libffmpegsumo.so