File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/PEAR.tar
Back
README.rst 0000644 00000004342 15035325145 0006241 0 ustar 00 ************************* PEAR - The PEAR Installer ************************* .. image:: https://travis-ci.org/pear/pear-core.svg?branch=stable :target: https://travis-ci.org/pear/pear-core ========================================= What is the PEAR Installer? What is PEAR? ========================================= PEAR is the PHP Extension and Application Repository, found at http://pear.php.net. The **PEAR Installer** is this software, which contains executable files and PHP code that is used to **download and install** PEAR code from pear.php.net. PEAR contains useful **software libraries and applications** such as MDB2 (database abstraction), HTML_QuickForm (HTML forms management), PhpDocumentor (auto-documentation generator), DB_DataObject (Data Access Abstraction), and many hundreds more. Browse all available packages at http://pear.php.net, the list is constantly growing and updating to reflect improvements in the PHP language. .. warning:: Do not run PEAR without installing it - if you downloaded this tarball manually, you MUST install it. Read the instructions in INSTALL prior to use. ============= Documentation ============= Documentation for PEAR can be found at http://pear.php.net/manual/. Installation documentation can be found in the INSTALL file included in this tarball. ===== Tests ===== Run the tests without installation as follows:: $ ./scripts/pear.sh run-tests -r tests You should have the ``Text_Diff`` package installed to get nicer error output. To run the tests with another PHP version, modify ``php_bin`` and set the ``PHP_PEAR_PHP_BIN`` environment variable:: $ pear config-set php_bin /usr/local/bin/php7 $ PHP_PEAR_PHP_BIN=/usr/local/bin/php7 ./scripts/pear.sh run-tests -r tests Happy PHPing, we hope PEAR will be a great tool for your development work! Test dependencies ================= * ``zlib`` ========= Releasing ========= Create a PEAR package, as well as phars for pear-less installation, simply run ``build-release.sh``). ``go-pear.phar`` contains the PEAR installer installer that asks where to install it. It is available from http://pear.php.net/go-pear.phar. ``install-pear-nozlib.phar`` installs PEAR automatically without asking anything. It is shipped with PHP itself. package.dtd 0000644 00000006404 15035327151 0006642 0 ustar 00 <!-- This is the PEAR package description, version 1.0. It should be used with the informal public identifier: "-//PHP Group//DTD PEAR Package 1.0//EN//XML" Copyright (c) 1997-2005 The PHP Group This source file is subject to the New BSD License, that is bundled with this package in the file LICENSE, and is available at through the world-wide-web at http://opensource.org/licenses/bsd-license.php. If you did not receive a copy of the New BSD License and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. Authors: Stig S. Bakken <ssb@fast.no> Gregory Beaver <cellog@php.net> --> <!ENTITY % NUMBER "CDATA"> <!ELEMENT package (name,summary,description,license?,maintainers,release,changelog?)> <!ATTLIST package type (source|binary|empty) "empty" version CDATA #REQUIRED packagerversion CDATA #IMPLIED> <!ELEMENT name (#PCDATA)> <!ELEMENT summary (#PCDATA)> <!ELEMENT license (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT maintainers (maintainer)+> <!ELEMENT maintainer (user|role|name|email)+> <!ELEMENT user (#PCDATA)> <!ELEMENT role (#PCDATA)> <!ELEMENT email (#PCDATA)> <!ELEMENT changelog (release)+> <!ELEMENT release (version,date,license,state,notes,warnings?,provides*,deps?,configureoptions?,filelist?)> <!ELEMENT version (#PCDATA)> <!ELEMENT date (#PCDATA)> <!ELEMENT state (#PCDATA)> <!ELEMENT notes (#PCDATA)> <!ELEMENT warnings (#PCDATA)> <!ELEMENT deps (dep*)> <!ELEMENT dep (#PCDATA)> <!ATTLIST dep type (pkg|ext|php) #REQUIRED rel (has|eq|lt|le|gt|ge) #IMPLIED version CDATA #IMPLIED optional (yes|no) 'no'> <!ELEMENT configureoptions (configureoption)+> <!ELEMENT configureoption EMPTY> <!ATTLIST configureoption name CDATA #REQUIRED default CDATA #IMPLIED prompt CDATA #REQUIRED> <!ELEMENT provides EMPTY> <!ATTLIST provides type (ext|prog|class|function|feature|api) #REQUIRED name CDATA #REQUIRED extends CDATA #IMPLIED> <!ELEMENT filelist (dir|file)+> <!ELEMENT dir (dir|file)+> <!ATTLIST dir name CDATA #REQUIRED role (php|ext|src|test|doc|data|script) 'php' baseinstalldir CDATA #IMPLIED> <!ELEMENT file (replace*)> <!ATTLIST file role (php|ext|src|test|doc|data|script) 'php' debug (na|on|off) 'na' format CDATA #IMPLIED baseinstalldir CDATA #IMPLIED platform CDATA #IMPLIED md5sum CDATA #IMPLIED name CDATA #REQUIRED install-as CDATA #IMPLIED> <!ELEMENT replace EMPTY> <!ATTLIST replace type (php-const|pear-config|package-info) #REQUIRED from CDATA #REQUIRED to CDATA #REQUIRED> template.spec 0000644 00000003725 15035327151 0007244 0 ustar 00 Summary: PEAR: @summary@ Name: @rpm_package@ Version: @version@ Release: 1 License: @release_license@ Group: Development/Libraries Source: http://@master_server@/get/@package@-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-root URL: http://@master_server@/package/@package@ Prefix: %{_prefix} BuildArchitectures: @arch@ @extra_headers@ %description @description@ %prep rm -rf %{buildroot}/* %setup -c -T # XXX Source files location is missing here in pear cmd pear -v -c %{buildroot}/pearrc \ -d php_dir=%{_libdir}/php/pear \ -d doc_dir=/docs \ -d bin_dir=%{_bindir} \ -d data_dir=%{_libdir}/php/pear/data \ -d test_dir=%{_libdir}/php/pear/tests \ -d ext_dir=%{_libdir} \@extra_config@ -s %build echo BuildRoot=%{buildroot} %postun # if refcount = 0 then package has been removed (not upgraded) if [ "$1" -eq "0" ]; then pear uninstall --nodeps -r @possible_channel@@package@ rm @rpm_xml_dir@/@package@.xml fi %post # if refcount = 2 then package has been upgraded if [ "$1" -ge "2" ]; then pear upgrade --nodeps -r @rpm_xml_dir@/@package@.xml else pear install --nodeps -r @rpm_xml_dir@/@package@.xml fi %install pear -c %{buildroot}/pearrc install --nodeps -R %{buildroot} \ $RPM_SOURCE_DIR/@package@-%{version}.tgz rm %{buildroot}/pearrc rm %{buildroot}/%{_libdir}/php/pear/.filemap rm %{buildroot}/%{_libdir}/php/pear/.lock rm -rf %{buildroot}/%{_libdir}/php/pear/.registry if [ "@doc_files@" != "" ]; then mv %{buildroot}/docs/@package@/* . rm -rf %{buildroot}/docs fi mkdir -p %{buildroot}@rpm_xml_dir@ tar -xzf $RPM_SOURCE_DIR/@package@-%{version}.tgz package@package2xml@.xml cp -p package@package2xml@.xml %{buildroot}@rpm_xml_dir@/@package@.xml #rm -rf %{buildroot}/* #pear -q install -R %{buildroot} -n package@package2xml@.xml #mkdir -p %{buildroot}@rpm_xml_dir@ #cp -p package@package2xml@.xml %{buildroot}@rpm_xml_dir@/@package@.xml %files %defattr(-,root,root) %doc @doc_files@ /
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings