packages: jquery-fancybox/jquery-fancybox.spec - allow skip packing with -d...
glen
glen at pld-linux.org
Thu Jun 10 12:30:44 CEST 2010
Author: glen Date: Thu Jun 10 10:30:44 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- allow skip packing with -debug
---- Files affected:
packages/jquery-fancybox:
jquery-fancybox.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/jquery-fancybox/jquery-fancybox.spec
diff -u packages/jquery-fancybox/jquery-fancybox.spec:1.5 packages/jquery-fancybox/jquery-fancybox.spec:1.6
--- packages/jquery-fancybox/jquery-fancybox.spec:1.5 Fri Jun 4 17:10:01 2010
+++ packages/jquery-fancybox/jquery-fancybox.spec Thu Jun 10 12:30:39 2010
@@ -1,6 +1,6 @@
# $Revision$, $Date$
# TODO
-# - pkg for mousewheel
+# - pkg for optional mousewheel?
%define plugin fancybox
Summary: Fancybox - Fancy lightbox alternative
Name: jquery-%{plugin}
@@ -81,14 +81,22 @@
# compress .js
for js in fancybox/*.js; do
out=build/${js#*/jquery.}
+%if 0%{!?debug:1}
yuicompressor --charset UTF-8 $js -o $out
js -C -f $out
+%else
+ cp -a $js $out
+%endif
done
# pack .css
for css in fancybox/*.css; do
out=build/${css#*/jquery.}
+%if 0%{!?debug:1}
yuicompressor --charset UTF-8 $css -o $out
+%else
+ cp -a $css $out
+%endif
done
cp -a fancybox/*.png build
@@ -117,6 +125,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2010/06/10 10:30:39 glen
+- allow skip packing with -debug
+
Revision 1.5 2010/06/04 15:10:01 glen
- each plugin it's own dir in jquery is more cleaner; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-fancybox/jquery-fancybox.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list