Author: glen Date: Wed May 10 12:59:14 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new, jan rules!
---- Files affected: SPECS: php-shell.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/php-shell.spec diff -u /dev/null SPECS/php-shell.spec:1.1 --- /dev/null Wed May 10 14:59:14 2006 +++ SPECS/php-shell.spec Wed May 10 14:59:09 2006 @@ -0,0 +1,59 @@ +# $Revision$, $Date$ +Summary: PHP Shell +Name: php-shell +Version: 0 +Release: 0.2 +License: ? +Group: Development/Languages/PHP +Source0: http://jan.kneschke.de/projects/php-shell/PHP_Shell.php.txt +# Source0-md5: 4ca77b4442183a2812691c3d61ebd2ee +Source1: http://jan.kneschke.de/projects/php-shell/%{name}.php.txt +# Source1-md5: 06f5bf11979a6039edc08f8bd03b7bed +Patch0: %{name}.patch +URL: http://jan.kneschke.de/projects/php-shell/ +BuildRequires: sed >= 4.0 +Requires: php-common >= 4:5.0.0 +Requires: php-readline +Requires: php-tokenizer +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _appdir %{_datadir}/php + +%description +PHP-based implementation of a interactive shell with history, +tab-completion, handling of fatal errors, debugging aid, ... + +%prep +%setup -q -c -T +cp -a %{SOURCE0} PHP_Shell.php +cp -a %{SOURCE1} php-shell.php +%patch0 + +# undos the source +%{__sed} -i -e 's,\r$,,' *.php + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}} +install php-shell.php $RPM_BUILD_ROOT%{_bindir}/%{name} +install PHP_Shell.php $RPM_BUILD_ROOT%{_appdir} + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_appdir}/* + +%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 2006/05/10 12:59:09 glen +- new, jan rules! + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
