Author: glen Date: Sun Apr 17 20:34:50 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial spec
---- Files affected: packages/php-phing-task-smushit: php-phing-task-smushit.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/php-phing-task-smushit/php-phing-task-smushit.spec diff -u /dev/null packages/php-phing-task-smushit/php-phing-task-smushit.spec:1.1 --- /dev/null Sun Apr 17 22:34:50 2011 +++ packages/php-phing-task-smushit/php-phing-task-smushit.spec Sun Apr 17 22:34:45 2011 @@ -0,0 +1,54 @@ +# $Revision$, $Date$ +%define php_min_version 5.0.0 +%include /usr/lib/rpm/macros.php +Summary: Phing task to run Smush.it +Name: php-phing-task-smushit +Version: 0.1 +Release: 1 +License: BSD +Group: Development/Languages/PHP +Source0: https://github.com/glensc/phing-task-smushit/tarball/master#/%{name}.tgz +# Source0-md5: 9cdbd0c9a2f3b5a8d5a6bf91577f84d1 +Source1: http://pear.domain51.com/channel.xml +# Source1-md5: fb770e47fd1714347e5a7ab7c7bb3f58 +URL: https://github.com/domain51/Phing_d51PearPkg2Task +BuildRequires: rpm-php-pearprov >= 4.4.2-11 +BuildRequires: rpmbuild(macros) >= 1.593 +Requires: php-common >= 4:%{php_min_version} +Requires: php-smushit +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define phingdir %{php_data_dir}/phing +%define tasksdir %{phingdir}/tasks/ext + +%define _noautoreq pear + +%description +Phing task to run Smush.it + +%prep +%setup -qc +mv */* . + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{tasksdir} +cp -p *.php $RPM_BUILD_ROOT%{tasksdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.md LICENSE.md +%{tasksdir}/SmushitCompressorTask.php + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/04/17 20:34:45 glen +- initial spec ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
