# Conditional build:
%bcond_with license_agreement # generates package
-%define ver_major 10
-%define ver_minor 1
-%define ver_patch 53
-%define ver_serial 64
-
%ifarch %{x8664}
+%define ver_major 10
+%define ver_minor 3
+%define ver_patch 162
+%define ver_serial 29
%define libmark ()(64bit)
%else
+%define ver_major 10
+%define ver_minor 2
+%define ver_patch 161
+%define ver_serial 23
%define libmark %{nil}
%endif
License: Free to use, non-distributable
Group: X11/Applications/Multimedia
%if %{with license_agreement}
-Source0: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
-# NoSource0-md5: e4cb4d26124605a54c3d498cc440368f
+##Source0: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
+Source0: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p2_32bit_linux_111710.tar.gz
+# NoSource0-md5: 3a5c1e0a77bb44d3456c933a056bcf47
NoSource: 0
-#Source1: http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-%{version}.linux-x86_64.so.tar.gz
-# NoSource1-md5: 4a4561e456612a6751653b58342d53df
-#NoSource: 1
+##Source1: http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-%{version}.linux-x86_64.so.tar.gz
+Source1: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz
+# NoSource1-md5: 49b55c7eb8044453e5f6f2e4b3cb4084
+NoSource: 1
%else
Source2: http://svn.pld-linux.org/svn/license-installer/license-installer.sh
# Source2-md5: 329c25f457fea66ec502b7ef70cb9ede
Obsoletes: macromedia-flash
Obsoletes: mozilla-firefox-plugin-macromedia-flash
Obsoletes: mozilla-plugin-macromedia-flash
-ExclusiveArch: %{ix86}
-# %{x8664}
+ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/adobe
%build
s='LNX %{ver_major},%{ver_minor},%{ver_patch},%{ver_serial}'
-v=$(strings libflashplayer.so | grep "$s")
+v=$(strings libflashplayer.so | grep '^LNX ')
if [ "$v" != "$s" ]; then
: wrong version
exit 1