packages: minify/minify.spec, minify/paths.patch - use github code, adds op...

glen glen at pld-linux.org
Mon Aug 8 22:45:02 CEST 2011


Author: glen                         Date: Mon Aug  8 20:45:02 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use github code, adds option to minify JS with Closure Compiler API w/ JSMin failover

---- Files affected:
packages/minify:
   minify.spec (1.4 -> 1.5) , paths.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/minify/minify.spec
diff -u packages/minify/minify.spec:1.4 packages/minify/minify.spec:1.5
--- packages/minify/minify.spec:1.4	Wed May  4 00:11:14 2011
+++ packages/minify/minify.spec	Mon Aug  8 22:44:57 2011
@@ -2,12 +2,13 @@
 Summary:	Combines, minifies, and caches JavaScript and CSS files on demand to speed up page loads
 Name:		minify
 Version:	2.1.4
-Release:	0.12
+Release:	0.13
 License:	New BSD License
 Group:		Applications/WWW
-Source0:	http://minify.googlecode.com/files/%{name}_%{version}_beta.zip
+#Source0:	http://minify.googlecode.com/files/%{name}_%{version}_beta.zip
+Source0:	https://github.com/mrclay/minify/tarball/master#/%{name}.tgz
+# Source0-md5:	2eeff0f069b52b89ba78c22d20de60e2
 Patch0:		paths.patch
-# Source0-md5:	f604b827980a8994c1b4dfd6f5974786
 Source1:	apache.conf
 Source2:	lighttpd.conf
 URL:		http://code.google.com/p/minify/
@@ -57,6 +58,7 @@
 
 %prep
 %setup -qc
+mv mrclay-minify-*/* .
 %patch0 -p1
 %undos UPGRADING.txt
 %undos -f php
@@ -133,8 +135,6 @@
 %{php_data_dir}/JSMinPlus.php
 %{php_data_dir}/Minify.php
 %{php_data_dir}/Minify
-%dir %{php_data_dir}/Solar
-%{php_data_dir}/Solar/Dir.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -142,6 +142,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2011/08/08 20:44:57  glen
+- use github code, adds option to minify JS with Closure Compiler API w/ JSMin failover
+
 Revision 1.4  2011/05/03 22:11:14  glen
 - setup rpm paths
 

================================================================
Index: packages/minify/paths.patch
diff -u packages/minify/paths.patch:1.1 packages/minify/paths.patch:1.2
--- packages/minify/paths.patch:1.1	Wed May  4 00:11:14 2011
+++ packages/minify/paths.patch	Mon Aug  8 22:44:57 2011
@@ -9,16 +9,17 @@
      )
      ,'minifyAll' => true
      ,'encodeOutput' => $encodeOutput
---- minify-2.1.4/min/config.php	2011-05-04 01:09:34.368042578 +0300
-+++ minify-2.1.4/min/config.php	2011-05-04 01:06:36.643994770 +0300
-@@ -49,6 +49,7 @@
+--- minify-2.1.4/min/config.php~	2011-08-08 23:41:52.000000000 +0300
++++ minify-2.1.4/min/config.php	2011-08-08 23:42:34.122570527 +0300
+@@ -47,6 +47,8 @@
  //$min_cachePath = 'c:\\WINDOWS\\Temp';
  //$min_cachePath = '/tmp';
  //$min_cachePath = preg_replace('/^\\d+;/', '', session_save_path());
 +$min_cachePath = '/var/cache/minify';
- 
- 
++
  /**
+  * To use APC/Memcache/ZendPlatform for cache storage, require the class and
+  * set $min_cachePath to an instance. Example below:
 @@ -161,7 +162,7 @@
   * Path to Minify's lib folder. If you happen to move it, change 
   * this accordingly.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/minify/minify.spec?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/minify/paths.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list