[packages/jquery-uploadify] use swfobject >= 2.2, rip out copy from here

glen glen at pld-linux.org
Thu Nov 29 22:27:51 CET 2012


commit 178e62076076625c61f892ad4f27ebecd3070d93
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 29 23:27:39 2012 +0200

    use swfobject >= 2.2, rip out copy from here

 jquery-uploadify.spec | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/jquery-uploadify.spec b/jquery-uploadify.spec
index 6f94ae5..c39eb31 100644
--- a/jquery-uploadify.spec
+++ b/jquery-uploadify.spec
@@ -1,5 +1,5 @@
 # TODO
-# - includes bundled SWFObject v2.2 and SWFUpload
+# - bundles SWFObject v2.2 and SWFUpload
 # NOTE
 # - the HTML5 version, is not available as Flash version
 %define		plugin	uploadify
@@ -7,7 +7,7 @@
 Summary:	Flash Multiple File Upload jQuery Plugin Script
 Name:		jquery-%{plugin}
 Version:	3.1.1
-Release:	0.8
+Release:	0.10
 License:	MIT
 Group:		Applications/WWW
 Source0:	http://www.uploadify.com/wp-content/uploads/files/uploadify-v%{basever}.zip
@@ -19,6 +19,7 @@ BuildRequires:	rpmbuild(macros) >= 1.553
 BuildRequires:	unzip
 BuildRequires:	yuicompressor
 Requires:	jquery >= 1.6
+Requires:	js-swfobject >= 2.2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,6 +39,12 @@ mv "Change Log.txt" "ChangeLog.txt"
 install -d examples
 mv .htaccess *.php examples
 
+# keep original for reference
+cp -p jquery.uploadify-%{basever}.js{,.bak}
+
+# unmodified swfupload 2.2
+%{__sed} -i -e 1,59d jquery.uploadify-%{basever}.js
+
 %build
 install -d build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery-uploadify.git/commitdiff/178e62076076625c61f892ad4f27ebecd3070d93



More information about the pld-cvs-commit mailing list