packages: php-pear-PHP_Shell/php-pear-PHP_Shell.spec - up to 0.3.2
glen
glen at pld-linux.org
Sun Mar 25 18:29:42 CEST 2012
Author: glen Date: Sun Mar 25 16:29:42 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.3.2
---- Files affected:
packages/php-pear-PHP_Shell:
php-pear-PHP_Shell.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/php-pear-PHP_Shell/php-pear-PHP_Shell.spec
diff -u packages/php-pear-PHP_Shell/php-pear-PHP_Shell.spec:1.13 packages/php-pear-PHP_Shell/php-pear-PHP_Shell.spec:1.14
--- packages/php-pear-PHP_Shell/php-pear-PHP_Shell.spec:1.13 Tue Mar 1 07:29:06 2011
+++ packages/php-pear-PHP_Shell/php-pear-PHP_Shell.spec Sun Mar 25 18:29:37 2012
@@ -1,28 +1,27 @@
# $Revision$, $Date$
+%define status alpha
+%define pearname PHP_Shell
%include /usr/lib/rpm/macros.php
-%define _status alpha
-%define _pearname PHP_Shell
-Summary: %{_pearname} - an interactive PHP Shell like IPython
-Summary(pl.UTF-8): %{_pearname} - interaktywna powłoka PHP podobna do IPythona
-Name: php-pear-%{_pearname}
-Version: 0.3.1
-Release: 6
+Summary: %{pearname} - an interactive PHP Shell like IPython
+Summary(pl.UTF-8): %{pearname} - interaktywna powłoka PHP podobna do IPythona
+Name: php-pear-%{pearname}
+Version: 0.3.2
+Release: 1
License: MIT
Group: Development/Languages/PHP
-#Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-Source0: http://jan.kneschke.de/projects/php-shell/PHP_Shell-%{version}.tgz
-# Source0-md5: 0e5487d675dd7451138c599265a02af7
+Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: ca73ede3157d3e2d8e745daa4439524d
URL: http://pear.php.net/package/PHP_Shell/
BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php(readline)
-Requires: php(tokenizer)
+BuildRequires: rpmbuild(macros) >= 1.580
Requires: php-common >= 4:5.0.0
Requires: php-pear
Requires: php-pear-PEAR-core >= 1:1.4
-Obsoletes: php-shell
+Requires: php-readline
+Requires: php-tokenizer
Obsoletes: php-pear-PHP_Shell-tests
+Obsoletes: php-shell
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,49 +29,41 @@
PHP-based implementation of a interactive shell with history,
tab-completion, handling of fatal errors, debugging aid, ...
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
%description -l pl.UTF-8
Oparta na PHP implementacja interaktywnej powłoki z historią,
dopełnianiem tabem, obsługą błędów krytycznych, pomocą przy usuwaniu
błędów...
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
%prep
%pear_package_setup
-%{__sed} -i -e '1i#!/usr/bin/php' ./%{php_pear_dir}/php-shell-cmd.php
+
+mv docs/PHP_Shell/README .
+mv .%{php_pear_dir}/examples .
+mv .%{php_pear_dir}/data/PHP_Shell/scripts .
+mv .%{php_pear_dir}/scripts/* scripts
+%{__sed} -i -e '1i#!/usr/bin/php' scripts/php-shell-cmd.php
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_bindir}}
%pear_package_install
-mv $RPM_BUILD_ROOT%{php_pear_dir}/php-shell-cmd.php $RPM_BUILD_ROOT%{_bindir}/php-shell
-chmod +x $RPM_BUILD_ROOT%{_bindir}/php-shell
+install -p scripts/php-shell-cmd.php $RPM_BUILD_ROOT%{_bindir}/php-shell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc docs/%{_pearname}/{examples/php-shell-cmd.php,README}
+%doc README
%attr(755,root,root) %{_bindir}/php-shell
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/PHP/Shell.php
-%dir %{php_pear_dir}/PHP/Shell
-%{php_pear_dir}/PHP/Shell/Commands.php
-%{php_pear_dir}/PHP/Shell/Extensions.php
-%{php_pear_dir}/PHP/Shell/Options.php
-%dir %{php_pear_dir}/PHP/Shell/Extensions
-%{php_pear_dir}/PHP/Shell/Extensions/Autoload.php
-%{php_pear_dir}/PHP/Shell/Extensions/AutoloadDebug.php
-%{php_pear_dir}/PHP/Shell/Extensions/Colour.php
-%{php_pear_dir}/PHP/Shell/Extensions/ExecutionTime.php
-%{php_pear_dir}/PHP/Shell/Extensions/InlineHelp.php
-%{php_pear_dir}/PHP/Shell/Extensions/LoadScript.php
-%{php_pear_dir}/PHP/Shell/Extensions/Prototypes.php
-%{php_pear_dir}/PHP/Shell/Extensions/VerbosePrint.php
+%{php_pear_dir}/PHP/Shell
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -80,6 +71,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2012/03/25 16:29:37 glen
+- up to 0.3.2
+
Revision 1.13 2011/03/01 06:29:06 glen
- release 6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/php-pear-PHP_Shell/php-pear-PHP_Shell.spec?r1=1.13&r2=1.14
More information about the pld-cvs-commit
mailing list