packages: jquery-thickbox/jquery-thickbox.spec - update build system
glen
glen at pld-linux.org
Fri Jun 4 16:27:43 CEST 2010
Author: glen Date: Fri Jun 4 14:27:43 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update build system
---- Files affected:
packages/jquery-thickbox:
jquery-thickbox.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: packages/jquery-thickbox/jquery-thickbox.spec
diff -u packages/jquery-thickbox/jquery-thickbox.spec:1.15 packages/jquery-thickbox/jquery-thickbox.spec:1.16
--- packages/jquery-thickbox/jquery-thickbox.spec:1.15 Fri Jun 4 16:25:20 2010
+++ packages/jquery-thickbox/jquery-thickbox.spec Fri Jun 4 16:27:38 2010
@@ -67,25 +67,20 @@
EOF
%build
-for a in *.js; do
- yuicompressor --charset UTF-8 --type js $a -o tmp
- mv tmp $a
- js -C -f $a
+install -d build
+for js in *.js; do
+ yuicompressor --charset UTF-8 --type js $js -o build/$js
+ js -C -f build/$a
done
-for a in *.css; do
- yuicompressor --charset UTF-8 --type css $a -o tmp
- mv tmp $a
+for css in *.css; do
+ yuicompressor --charset UTF-8 --type css $css -o build/$css
done
-
-tarball=%{_sourcedir}/%{name}-%{version}-%{release}.tar.bz2
-tar cjf $tarball *
-%{_topdir}/dropin $tarball
-exit 1
+cp -a *.gif *.png build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
-cp -a *.js *.css *.gif *.png $RPM_BUILD_ROOT%{_appdir}
+cp -a build/* $RPM_BUILD_ROOT%{_appdir}
cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
@@ -126,6 +121,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2010/06/04 14:27:38 glen
+- update build system
+
Revision 1.15 2010/06/04 14:25:20 glen
- merge from DEVEL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-thickbox/jquery-thickbox.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list