-Source0: http://download.macromedia.com/pub/shockwave/flash/english/linux/%{version}/install_flash_player_6_linux.tar.gz
-# NoSource0-md5: 3de1fafb338dd82f1de596e8a3b31344
-NoSource: 0
-URL: http://www.macromedia.com/software/flash/
+%if %{with license_agreement}
+Source0: http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/%{_ver_major}.%{_ver_minor}r%{_ver_patch}/install_flash_player_%{_ver_major}_linux.tar.gz
+# NoSource0-md5: 79c59a5ea29347e01c8e6575dd054cd1
+%else
+Source0: license-installer.sh
+%endif
+URL: http://www.macromedia.com/software/flashplayer/
+%if %{with license_agreement}
+BuildRequires: rpmbuild(macros) >= 1.236
+%endif
+Requires: browser-plugins(%{_target_cpu})
+%if %{without license_agreement}
+Requires: cpio
+Requires: rpm-build-tools
+Requires: wget
+%endif
+Obsoletes: flash-plugin
+Obsoletes: mozilla-plugin-macromedia-flash
+Obsoletes: mozilla-firefox-plugin-macromedia-flash
+Obsoletes: konqueror-plugin-macromedia-flash