[packages/jquery-uploadify] - fix image path in css file

glen glen at pld-linux.org
Thu Nov 29 18:32:46 CET 2012


commit e03ec9d5085c78fa2ccb633fb8af4aa4947bbc3d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 29 19:22:45 2012 +0200

    - fix image path in css file

 css-path.patch        | 11 +++++++++++
 jquery-uploadify.spec |  8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/jquery-uploadify.spec b/jquery-uploadify.spec
index 9d9ce04..4bcb1a3 100644
--- a/jquery-uploadify.spec
+++ b/jquery-uploadify.spec
@@ -1,6 +1,5 @@
 # TODO
 # - includes bundled SWFObject v2.2 and SWFUpload
-# - fix img path in .css file, pack css
 # NOTE
 # - the HTML5 version, is not available as Flash version
 %define		plugin	uploadify
@@ -8,11 +7,12 @@
 Summary:	Flash Multiple File Upload jQuery Plugin Script
 Name:		jquery-%{plugin}
 Version:	3.1.1
-Release:	0.2
+Release:	0.3
 License:	MIT
 Group:		Applications/WWW
 Source0:	http://www.uploadify.com/wp-content/uploads/files/uploadify-v%{basever}.zip
 # Source0-md5:	630e0445508c9614a8d37781068073cd
+Patch0:		css-path.patch
 URL:		http://www.uploadify.com/
 BuildRequires:	rpmbuild(macros) >= 1.553
 BuildRequires:	unzip
@@ -27,11 +27,11 @@ jQuery Multiple File Upload Plugin - Uploadify.
 
 %prep
 %setup -qc
+%undos -f php,txt,css
+%patch0 -p1
 
 mv "Change Log.txt" "ChangeLog.txt"
 
-%undos -f php,txt
-
 install -d examples
 mv .htaccess *.php examples
 
diff --git a/css-path.patch b/css-path.patch
new file mode 100644
index 0000000..31e14ed
--- /dev/null
+++ b/css-path.patch
@@ -0,0 +1,11 @@
+--- jquery-uploadify-3.1/uploadify.css~	2012-05-04 23:53:14.000000000 +0300
++++ jquery-uploadify-3.1/uploadify.css	2012-11-29 19:21:30.967887625 +0200
+@@ -71,7 +71,7 @@
+ 	background-color: #FDE5DD !important;
+ }
+ .uploadify-queue-item .cancel a {
+-	background: url('../img/uploadify-cancel.png') 0 0 no-repeat;
++	background: url('uploadify-cancel.png') 0 0 no-repeat;
+ 	float: right;
+ 	height:	16px;
+ 	text-indent: -9999px;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery-uploadify.git/commitdiff/95ca6149762a5abf03d02890906b0b61382b9db5



More information about the pld-cvs-commit mailing list