packages: apache-mod_pagespeed/apache-mod_pagespeed.spec - regenerate makef...

glen glen at pld-linux.org
Fri Nov 5 07:22:47 CET 2010


Author: glen                         Date: Fri Nov  5 06:22:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- regenerate makefiles to avoid my paths from tarball

---- Files affected:
packages/apache-mod_pagespeed:
   apache-mod_pagespeed.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/apache-mod_pagespeed/apache-mod_pagespeed.spec
diff -u packages/apache-mod_pagespeed/apache-mod_pagespeed.spec:1.3 packages/apache-mod_pagespeed/apache-mod_pagespeed.spec:1.4
--- packages/apache-mod_pagespeed/apache-mod_pagespeed.spec:1.3	Thu Nov  4 22:06:03 2010
+++ packages/apache-mod_pagespeed/apache-mod_pagespeed.spec	Fri Nov  5 07:22:41 2010
@@ -3,6 +3,7 @@
 # - use make < 3.82 (from th-obsolete) to hack on code, because 3.82
 #   invalidates built objects and it's annoying to wait if all is recompiled
 #   each time you invoke make
+# - http://wiki.mediatemple.net/w/(dv)_HOWTO:_Install_mod_pagespeed
 # TODO
 # - c++ errors on 64bit/32bit gcc 4.5.1-4:
 #   /usr/include/c++/4.5.1/bits/stl_map.h:87:5:   instantiated from here
@@ -25,7 +26,6 @@
 #  "opencv_src": "https://code.ros.org/svn/opencv/tags/2.1",
 #  "gflags_root": "http://google-gflags.googlecode.com/svn/tags/gflags-1.3/src",
 #  "google_sparsehash_root": "http://google-sparsehash.googlecode.com/svn/tags/sparsehash-1.8.1/src",
-
 %define		svndate	20101104
 %define		rel		0.1
 %define		mod_name	pagespeed
@@ -36,10 +36,12 @@
 Release:	0.1
 License:	Apache v2.0
 Group:		Networking/Daemons/HTTP
-# svn co http://src.chromium.org/svn/trunk/tools/depot_tools
+Source10:	http://src.chromium.org/svn/trunk/tools/depot_tools.tar.gz
+# Source10-md5:	56a3c406fcb645eaaa608a257f06a90d
+# test -d depot_tools || tar xzf depot_tools.tar.gz
 # install -d modpagespeed
 # cd modpagespeed
-# ../depot_tools/gclient config http://modpagespeed.googlecode.com/svn/trunk/src
+# test -f .gclient || ../depot_tools/gclient config http://modpagespeed.googlecode.com/svn/trunk/src
 # ../depot_tools/gclient sync
 # Populate the LASTCHANGE file template as we no longer have the VCS files at this point
 # (cd src/build && svnversion > LASTCHANGE.in)
@@ -67,7 +69,7 @@
 site is maintained.
 
 %prep
-%setup -q -n modpagespeed
+%setup -q -n modpagespeed -a10
 
 cat > apache.conf <<EOF
 LoadModule %{mod_name}_module	modules/mod_%{mod_name}.so > apache.conf
@@ -76,6 +78,10 @@
 EOF
 
 %build
+export PATH=$PATH:$(pwd)/depot_tools
+# re-gen makefiles
+gclient runhooks
+
 cat > Makefile <<'EOF'
 default:
 	$(MAKE) -C src \
@@ -119,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/11/05 06:22:41  glen
+- regenerate makefiles to avoid my paths from tarball
+
 Revision 1.3  2010/11/04 21:06:03  glen
 - note the full error
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache-mod_pagespeed/apache-mod_pagespeed.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list