SPECS: php-pear-Console_CommandLine.spec (NEW) - new
adamg
adamg at pld-linux.org
Sun Dec 23 00:12:42 CET 2007
Author: adamg Date: Sat Dec 22 23:12:42 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-Console_CommandLine.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-Console_CommandLine.spec
diff -u /dev/null SPECS/php-pear-Console_CommandLine.spec:1.1
--- /dev/null Sun Dec 23 00:12:42 2007
+++ SPECS/php-pear-Console_CommandLine.spec Sun Dec 23 00:12:37 2007
@@ -0,0 +1,100 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class Console
+%define _subclass CommandLine
+%define _status alpha
+%define _pearname Console_CommandLine
+Summary: %{_pearname} - A full featured command line options and arguments parser
+Summary(pl.UTF-8): %{_pearname} - Bogaty w funkcjonalność parser parametrów linii poleceń
+Name: php-pear-%{_pearname}
+Version: 0.1.1
+Release: 1
+License: MIT License
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 09a7a98b84a197382d8485dc6282e863
+URL: http://pear.php.net/package/Console_CommandLine/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Console_CommandLine is a full featured package for managing
+command-line options and arguments highly inspired from python
+optparse module, it allows the developer to easily build complex
+command line interfaces.
+
+Main features:
+ - handles sub commands (ie. $ myscript.php -q subcommand -f file),
+ - can be completely built from an xml definition file,
+ - generate --help and --version options automatically,
+ - can be completely customized,
+ - builtin support for i18n,
+ - and much more...
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Console_CommandLine to udostępniający wiele moliwości pakiet do
+zarządzania parametrami linii poleceń, wzorowany na pythonowym module
+optparse. Pozwala programiście na łatwe budowanie złożonych
+interfejsów linii poleceń (CLI).
+
+Podstawowe cechy:
+ - obsługa podpoleceń (np. $ myscript.php -q polecenie -f plik),
+ - możliwość generowania z pliku XML,
+ - automatyczne generowanie opcji --help oraz --version,
+ - możliwość dostoswania do własnych potrzeb,
+ - wbudowane wsparcie dla i18n,
+ - i wiele innych...
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary: Tests for PEAR::%{_pearname}
+Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
+Group: Development/Languages/PHP
+AutoReq: no
+Requires: %{name} = %{version}-%{release}
+AutoProv: no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl.UTF-8
+Testy dla PEAR::%{_pearname}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc install.log docs/Console_CommandLine/docs/examples
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Console/CommandLine
+%{php_pear_dir}/Console/CommandLine.php
+%{php_pear_dir}/data/Console_CommandLine/data/xmlschema.rng
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Console_CommandLine
+
+%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 2007-12-22 23:12:37 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list