]> git.pld-linux.org Git - packages/jquery-thickbox.git/commitdiff
- install animation gif auto/ac/jquery-thickbox-3_1-2
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 30 Sep 2009 13:11:05 +0000 (13:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    animation-url.patch -> 1.1
    jquery-thickbox.spec -> 1.5

animation-url.patch [new file with mode: 0644]
jquery-thickbox.spec

diff --git a/animation-url.patch b/animation-url.patch
new file mode 100644 (file)
index 0000000..3e86b1c
--- /dev/null
@@ -0,0 +1,11 @@
+--- jquery-thickbox/thickbox.js~       2008-10-21 22:21:05.000000000 +0300
++++ jquery-thickbox/thickbox.js        2009-09-30 16:09:40.886477061 +0300
+@@ -5,7 +5,7 @@
+  * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
+ */
+                 
+-var tb_pathToImage = "images/loadingAnimation.gif";
++var tb_pathToImage = "/js/thickbox/loadingAnimation.gif";
+ /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
index 4e5bf2e6b09d4f4c83854822b518581cffba6d03..2a1251f25e991856dd81b6ef0f9f90d6b2c5ec5c 100644 (file)
@@ -13,6 +13,7 @@ Source2:      http://jquery.com/demo/thickbox/images/loadingAnimation.gif
 URL:           http://jquery.com/demo/thickbox/
 Patch0:                no-global-css.patch
 Patch1:                no-doctype.patch
+Patch2:                animation-url.patch
 BuildRequires: rpmbuild(macros) > 1.268
 BuildRequires: yuicompressor
 Requires:      jquery
@@ -39,6 +40,7 @@ cp -a %{SOURCE1} .
 cp -a %{SOURCE2} .
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 
 # apache1/apache2 conf
 cat > apache.conf <<'EOF'
@@ -68,7 +70,7 @@ done
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
-cp -a *.js *.css $RPM_BUILD_ROOT%{_appdir}
+cp -a *.js *.css *.gif $RPM_BUILD_ROOT%{_appdir}
 
 cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
This page took 0.080245 seconds and 4 git commands to generate.