packages: php-jsmin/php-jsmin.spec (NEW) - new

glen glen at pld-linux.org
Thu May 20 21:25:45 CEST 2010


Author: glen                         Date: Thu May 20 19:25:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/php-jsmin:
   php-jsmin.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-jsmin/php-jsmin.spec
diff -u /dev/null packages/php-jsmin/php-jsmin.spec:1.1
--- /dev/null	Thu May 20 21:25:45 2010
+++ packages/php-jsmin/php-jsmin.spec	Thu May 20 21:25:40 2010
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+%define		php_min_version 5.0.0
+%define		pkgname	jsmin
+%include	/usr/lib/rpm/macros.php
+Summary:	PHP implementation of Douglas Crockford's JSMin
+Name:		php-%{pkgname}
+Version:	1.1.1
+Release:	1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	http://github.com/rgrove/jsmin-php/tarball/master?/%{pkgname}.tgz
+# Source0-md5:	1065a82d2d9f76e46ab74dd545c5fdb6
+URL:		http://github.com/rgrove/jsmin-php/
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.461
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-pcre
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PHP implementation of Douglas Crockford's JSMin.
+
+%prep
+%setup -qc
+mv *-jsmin-php-*/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a jsmin.php $RPM_BUILD_ROOT%{php_data_dir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{php_data_dir}/jsmin.php
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/05/20 19:25:40  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list