update to 24.0.1312.56 and build with chromedriver

This commit is contained in:
Tigro 2013-01-25 15:10:50 +04:00
parent c85455a4ca
commit 8cad65b2ef

View file

@ -1,11 +1,11 @@
%define revision 175383
%define revision 177615
%define crname chromium-browser
%define _crdir %{_libdir}/%{crname}
%define _src %{_topdir}/SOURCES
Name: chromium-browser-stable
Version: 24.0.1312.52
Release: 1
Version: 24.0.1312.56
Release: 1
Summary: A fast webkit-based web browser
Group: Networking/WWW
License: BSD, LGPL
@ -64,6 +64,17 @@ This is a transition package that installs the stable channel Chromium
browser. If you prefer the dev channel browser, install the
chromium-browser-unstable package instead.
%package -n chromedriver
Summary: WebDriver for Google Chrome/Chromium
Group: Development/Other
Requires: %{name} = %{version}-%{release}
%description -n chromedriver
WebDriver is an open source tool for automated testing of webapps across many
browsers. It provides capabilities for navigating to web pages, user input,
JavaScript execution, and more. ChromeDriver is a standalone server which
implements WebDriver's wire protocol for Chromium. It is being developed by
members of the Chromium and WebDriver teams.
%prep
%setup -q -n chromium-%{version}
@ -112,7 +123,7 @@ build/gyp_chromium --depth=. \
# Note: DON'T use system sqlite (3.7.3) -- it breaks history search
%make chrome chrome_sandbox BUILDTYPE=Release
%make chrome chrome_sandbox chromedriver BUILDTYPE=Release
%install
rm -rf %{buildroot}
@ -124,6 +135,7 @@ mkdir -p %{buildroot}%{_mandir}/man1
install -m 755 %{_src}/chromium-wrapper %{buildroot}%{_crdir}/
install -m 755 out/Release/chrome %{buildroot}%{_crdir}/
install -m 4755 out/Release/chrome_sandbox %{buildroot}%{_crdir}/chrome-sandbox
cp -a out/Release/chromedriver %{buildroot}%{_crdir}/chromedriver
install -m 644 out/Release/chrome.1 %{buildroot}%{_mandir}/man1/%{crname}.1
install -m 644 out/Release/chrome.pak %{buildroot}%{_crdir}/
@ -142,6 +154,7 @@ install -m 644 out/Release/locales/*.pak %{buildroot}%{_crdir}/locales/
install -m 644 out/Release/resources.pak %{buildroot}%{_crdir}/
install -m 644 chrome/browser/resources/default_apps/* %{buildroot}%{_crdir}/default_apps/
ln -s %{_crdir}/chromium-wrapper %{buildroot}%{_bindir}/%{crname}
ln -s %{_crdir}/chromedriver %{buildroot}%{_bindir}/chromedriver
find out/Release/resources/ -name "*.d" -exec rm {} \;
cp -r out/Release/resources %{buildroot}%{_crdir}
@ -201,8 +214,18 @@ rm -rf %{buildroot}
%{_datadir}/applications/*.desktop
%{_iconsdir}/hicolor/*/apps/%{crname}.*
%files -n chromedriver
%defattr(-,root,root,-)
%doc LICENSE AUTHORS
%{_bindir}/chromedriver
%{_libdir}/%{name}/chromedriver
%changelog
* Fri Jan 25 2013 Arkady L. Shane <arkady.shane@rosalab.ru> 24.0.1312.56-1
- update to 24.0.1312.56
- build with chromedriver and added separate package for it
* Fri Jan 11 2013 Arkady L. Shane <arkady.shane@rosalab.ru> 24.0.1312.52-1
- update to 24.0.1312.52