packages: chromium-browser-bin/chromium-browser-bin.spec - added i686 support

glen glen at pld-linux.org
Thu Nov 19 13:19:53 CET 2009


Author: glen                         Date: Thu Nov 19 12:19:53 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added i686 support

---- Files affected:
packages/chromium-browser-bin:
   chromium-browser-bin.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/chromium-browser-bin/chromium-browser-bin.spec
diff -u packages/chromium-browser-bin/chromium-browser-bin.spec:1.9 packages/chromium-browser-bin/chromium-browser-bin.spec:1.10
--- packages/chromium-browser-bin/chromium-browser-bin.spec:1.9	Thu Nov 19 13:02:41 2009
+++ packages/chromium-browser-bin/chromium-browser-bin.spec	Thu Nov 19 13:19:48 2009
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# NOTE:
+# - sources are arch conditional as the filenames are same for both arch
 %define		svnver  32507
 %define		rel		0.1
 Summary:	A WebKit powered web browser
@@ -7,9 +9,16 @@
 Release:	0.%{svnver}.%{rel}
 License:	BSD, LGPL v2+ (ffmpeg)
 Group:		X11/Applications/Networking
-Source0:	http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/%{svnver}/chrome-linux.zip
-# NoSource0-md5:	bc8f6ac27ca2eb92ecb34703b205217c
+%ifarch %{ix86}
+Source0:	http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/%{svnver}/chrome-linux.zip
+# NoSource0-md5:	c4a8c8fe7743b6718b7aff1e8a6a6e00
 NoSource:	0
+%endif
+%ifarch %{x8664}
+Source1:	http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/%{svnver}/chrome-linux.zip
+# NoSource1-md5:	bc8f6ac27ca2eb92ecb34703b205217c
+NoSource:	1
+%endif
 Source2:	chromium-browser.sh
 Source3:	chromium-browser.desktop
 Source4:	find-lang.sh
@@ -20,7 +29,7 @@
 Requires:	nss
 Requires:	xdg-utils
 Provides:	wwwbrowser
-ExclusiveArch:	%{x8664}
+ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		find_lang 	sh find-lang.sh %{buildroot}
@@ -40,7 +49,12 @@
 Chromium is an open-source web browser, powered by WebKit.
 
 %prep
-%setup -qc
+%ifarch %{ix86}
+%setup -qcT -a0
+%endif
+%ifarch %{x8664}
+%setup -qcT -a1
+%endif
 %{__sed} -e 's, at localedir@,%{_libdir}/%{name},' %{SOURCE4} > find-lang.sh
 
 mv chrome-linux/product_logo_48.png .
@@ -127,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2009/11/19 12:19:48  glen
+- added i686 support
+
 Revision 1.9  2009/11/19 12:02:41  paszczus
 - cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser-bin/chromium-browser-bin.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list