packages: jquery-thickbox/jquery-thickbox.spec - use prebuilt tarball; rel 4

glen glen at pld-linux.org
Fri Feb 19 15:29:46 CET 2010


Author: glen                         Date: Fri Feb 19 14:29:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use prebuilt tarball; rel 4

---- Files affected:
packages/jquery-thickbox:
   jquery-thickbox.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/jquery-thickbox/jquery-thickbox.spec
diff -u packages/jquery-thickbox/jquery-thickbox.spec:1.6 packages/jquery-thickbox/jquery-thickbox.spec:1.7
--- packages/jquery-thickbox/jquery-thickbox.spec:1.6	Tue Nov  3 16:25:32 2009
+++ packages/jquery-thickbox/jquery-thickbox.spec	Fri Feb 19 15:29:41 2010
@@ -1,21 +1,15 @@
 # $Revision$, $Date$
+# NOTE:
+# - the tarball is created by this same spec on DEVEL branch
 Summary:	ThickBox
 Name:		jquery-thickbox
 Version:	3.1
-Release:	3
+Release:	4
 License:	MIT / GPL
 Group:		Applications/WWW
-Source0:	http://jquery.com/demo/thickbox/thickbox-code/thickbox.js
-# Source0-md5:	1ef1a46c2b1b984cdc3332eb74bad1d5
-Source1:	http://jquery.com/demo/thickbox/thickbox-code/thickbox.css
-# Source1-md5:	9b2903ebee6d54b3e63ba927ea5dd498
-Source2:	http://jquery.com/demo/thickbox/images/loadingAnimation.gif
-# Source2-md5:	c33734a1bf58bec328ffa27872e96ae1
+Source0:	%{name}-%{version}-3.tar.bz2
+# Source0-md5:	8663d44ddae212bb95a4656383b35143
 URL:		http://jquery.com/demo/thickbox/
-Patch0:		no-global-css.patch
-Patch1:		no-doctype.patch
-Patch2:		animation-url.patch
-Patch3:		hide-peek-trough-obj.patch
 BuildRequires:	rpmbuild(macros) > 1.268
 BuildRequires:	yuicompressor
 Requires:	jquery
@@ -36,45 +30,12 @@
 AJAX in a hybrid modal.
 
 %prep
-%setup -qcT
-cp -a %{SOURCE0} .
-cp -a %{SOURCE1} .
-cp -a %{SOURCE2} .
-%patch0 -p1
-%patch1 -p0
-%patch2 -p1
-%patch3 -p0
-
-# apache1/apache2 conf
-cat > apache.conf <<'EOF'
-Alias /js/thickbox %{_appdir}
-<Directory %{_appdir}>
-	Allow from all
-</Directory>
-EOF
-
-# lighttpd conf
-cat > lighttpd.conf <<'EOF'
-alias.url += (
-    "/js/thickbox" => "%{_appdir}",
-)
-EOF
-
-%build
-for a in *.js; do
-	yuicompressor --charset UTF-8 --type js $a -o tmp
-	mv tmp $a
-done
-for a in *.css; do
-	yuicompressor --charset UTF-8 --type css $a -o tmp
-	mv tmp $a
-done
+%setup -qc
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_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
 cp -a lighttpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
@@ -114,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/02/19 14:29:41  glen
+- use prebuilt tarball; rel 4
+
 Revision 1.6  2009/11/03 15:25:32  glen
 - flash hide patch; rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-thickbox/jquery-thickbox.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list