packages: php-ezc-ConsoleTools/php-ezc-ConsoleTools.spec (NEW) - initial fr...

glen glen at pld-linux.org
Wed Oct 20 08:43:29 CEST 2010


Author: glen                         Date: Wed Oct 20 06:43:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial from pear make-rpm-spec

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

---- Diffs:

================================================================
Index: packages/php-ezc-ConsoleTools/php-ezc-ConsoleTools.spec
diff -u /dev/null packages/php-ezc-ConsoleTools/php-ezc-ConsoleTools.spec:1.1
--- /dev/null	Wed Oct 20 08:43:29 2010
+++ packages/php-ezc-ConsoleTools/php-ezc-ConsoleTools.spec	Wed Oct 20 08:43:24 2010
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		status		stable
+%define		pearname	ConsoleTools
+Summary:	%{pearname} - A set of classes to do different actions with the console (also called shell)
+Name:		php-ezc-ConsoleTools
+Version:	1.6.1
+Release:	0.1
+License:	New BSD
+Group:		Development/Languages/PHP
+Source0:	http://components.ez.no/get/%{pearname}-%{version}.tgz
+# Source0-md5:	987783f590fc3a75fbf3c2e19818b2a4
+URL:		http://components.ez.no/package/ConsoleTools/
+BuildRequires:	php-channel(components.ez.no)
+BuildRequires:	php-packagexml2cl
+BuildRequires:	php-pear-PEAR >= 1:1.4.2
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.571
+Requires:	php-channel(components.ez.no)
+Requires:	php-ezc-Base >= 1.8
+Requires:	php-pear
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A set of classes to do different actions with the console (also called
+shell). It can render a progress bar, tables and a status bar and
+contains a class for parsing command line options.
+
+In PEAR status of this package is: %{status}.
+
+%prep
+%pear_package_setup
+
+%build
+packagexml2cl package.xml > ChangeLog
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{pearname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog install.log
+%doc docs/ConsoleTools/*
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%{php_pear_dir}/ezc/autoload/console_autoload.php
+%{php_pear_dir}/ezc/ConsoleTools
+%{php_pear_dir}/data/ConsoleTools
+
+%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/10/20 06:43:24  glen
+- initial from pear make-rpm-spec
+
================================================================


More information about the pld-cvs-commit mailing list