add man pages for pear, peardev and pecl commands
This commit is contained in:
parent
15fd7ba951
commit
af697345a8
270
pear.1
Normal file
270
pear.1
Normal file
@ -0,0 +1,270 @@
|
|||||||
|
.TH PEAR 1 "2013" "The PEAR Group" "User commands"
|
||||||
|
.SH NAME
|
||||||
|
pear, pecl, peardev \- PEAR installer
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B pear
|
||||||
|
[ options ] command [command-options] <parameters>
|
||||||
|
.LP
|
||||||
|
.B pecl
|
||||||
|
[ options ] command [command-options] <parameters>
|
||||||
|
.LP
|
||||||
|
.B peardev
|
||||||
|
[ options ] command [command-options] <parameters>
|
||||||
|
.LP
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBPEAR\fP is the PHP Extension and Application Repository, found at
|
||||||
|
.B http://pear.php.net.
|
||||||
|
.P
|
||||||
|
.P
|
||||||
|
The \fBpear\fP command is used to install PEAR extensions.
|
||||||
|
.P
|
||||||
|
The \fBpecl\fP command is used to install PECL extensions.
|
||||||
|
.P
|
||||||
|
The \fBpeardev\fP command is a wrapper for the \fBpear\fP command which
|
||||||
|
removes the normal configured memory limit.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP 15
|
||||||
|
.B \-v
|
||||||
|
increase verbosity level (default 1)
|
||||||
|
.TP
|
||||||
|
.B \-q
|
||||||
|
be quiet, decrease verbosity level
|
||||||
|
.TP
|
||||||
|
.B \-c \fIfile\fP
|
||||||
|
find user configuration in \fBfile\fP
|
||||||
|
.TP
|
||||||
|
.B \-C \fIfile\fP
|
||||||
|
find system configuration in \fBfile\fP
|
||||||
|
.TP
|
||||||
|
.B \-d \fIfoo=bar\fP
|
||||||
|
set user config variable \fBfoo\fP to \fBbar\fP
|
||||||
|
.TP
|
||||||
|
.B \-D \fIfoo=bar\fP
|
||||||
|
set system config variable \fBfoo\fP to \fBbar\fP
|
||||||
|
.TP
|
||||||
|
.B \-G
|
||||||
|
start in graphical (Gtk) mode
|
||||||
|
.TP
|
||||||
|
.B \-S
|
||||||
|
store system configuration
|
||||||
|
.TP
|
||||||
|
.B \-s
|
||||||
|
store user configuration
|
||||||
|
.TP
|
||||||
|
.B \-y \fIfoo\fP
|
||||||
|
unset
|
||||||
|
.B foo
|
||||||
|
in the user configuration
|
||||||
|
.TP
|
||||||
|
.B \-V
|
||||||
|
version information
|
||||||
|
.TP
|
||||||
|
.PD 0
|
||||||
|
.B \-h
|
||||||
|
.TP
|
||||||
|
.PD 1
|
||||||
|
.B \-?
|
||||||
|
display help/usage
|
||||||
|
|
||||||
|
.SH COMMANDS
|
||||||
|
.TP 15
|
||||||
|
.B build
|
||||||
|
Build an Extension From C Source
|
||||||
|
.TP
|
||||||
|
.B bundle
|
||||||
|
Unpacks a Pecl Package
|
||||||
|
.B channel-add
|
||||||
|
Add a Channel
|
||||||
|
.TP
|
||||||
|
.B channel-alias
|
||||||
|
Specify an alias to a channel name
|
||||||
|
.TP
|
||||||
|
.B channel-delete
|
||||||
|
Remove a Channel From the List
|
||||||
|
.TP
|
||||||
|
.B channel-discover
|
||||||
|
Initialize a Channel from its server
|
||||||
|
.TP
|
||||||
|
.B channel-info
|
||||||
|
Retrieve Information on a Channel
|
||||||
|
.TP
|
||||||
|
.TP
|
||||||
|
.B channel-login
|
||||||
|
Connects and authenticates to remote channel server
|
||||||
|
.TP
|
||||||
|
.B channel-logout
|
||||||
|
Logs out from the remote channel server
|
||||||
|
.TP
|
||||||
|
.B channel-update
|
||||||
|
Update an Existing Channel
|
||||||
|
.TP
|
||||||
|
.B clear-cache
|
||||||
|
Clear Web Services Cache
|
||||||
|
.TP
|
||||||
|
.B config-create
|
||||||
|
Create a Default configuration file
|
||||||
|
.TP
|
||||||
|
.B config-get
|
||||||
|
Show One Setting
|
||||||
|
.TP
|
||||||
|
.B config-help
|
||||||
|
Show Information About Setting
|
||||||
|
.TP
|
||||||
|
.B config-set
|
||||||
|
Change Setting
|
||||||
|
.TP
|
||||||
|
.B config-show
|
||||||
|
Show All Settings
|
||||||
|
.TP
|
||||||
|
.B convert
|
||||||
|
Convert a package.xml 1.0 to package.xml 2.0 format
|
||||||
|
.TP
|
||||||
|
.B cvsdiff
|
||||||
|
Run a "cvs diff" for all files in a package
|
||||||
|
.TP
|
||||||
|
.B cvstag
|
||||||
|
Set CVS Release Tag
|
||||||
|
.TP
|
||||||
|
.B download
|
||||||
|
Download Package
|
||||||
|
.TP
|
||||||
|
.B download-all
|
||||||
|
Downloads each available package from the default channel
|
||||||
|
.TP
|
||||||
|
.B info
|
||||||
|
Display information about a package
|
||||||
|
.TP
|
||||||
|
.B install
|
||||||
|
Install Package
|
||||||
|
.TP
|
||||||
|
.B list
|
||||||
|
List Installed Packages In The Default Channel
|
||||||
|
.TP
|
||||||
|
.B list-all
|
||||||
|
List All Packages
|
||||||
|
.TP
|
||||||
|
.B list-channels
|
||||||
|
List Available Channels
|
||||||
|
.TP
|
||||||
|
.B list-files
|
||||||
|
List Files In Installed Package
|
||||||
|
.TP
|
||||||
|
.B list-upgrades
|
||||||
|
List Available Upgrades
|
||||||
|
.TP
|
||||||
|
.B login
|
||||||
|
Connects and authenticates to remote server [Deprecated in favor of channel-login]
|
||||||
|
.TP
|
||||||
|
.B logout
|
||||||
|
Logs out from the remote server [Deprecated in favor of channel-logout]
|
||||||
|
.TP
|
||||||
|
.B make-rpm-spec
|
||||||
|
Builds an RPM spec file from a PEAR package
|
||||||
|
.TP
|
||||||
|
.B makerpm
|
||||||
|
Builds an RPM spec file from a PEAR package
|
||||||
|
.TP
|
||||||
|
.B package
|
||||||
|
Build Package
|
||||||
|
.TP
|
||||||
|
.B package-dependencies
|
||||||
|
Show package dependencies
|
||||||
|
.TP
|
||||||
|
.B package-validate
|
||||||
|
Validate Package Consistency
|
||||||
|
.TP
|
||||||
|
.B pickle
|
||||||
|
Build PECL Package
|
||||||
|
.TP
|
||||||
|
.B remote-info
|
||||||
|
Information About Remote Packages
|
||||||
|
.TP
|
||||||
|
.B remote-list
|
||||||
|
List Remote Packages
|
||||||
|
.TP
|
||||||
|
.B run-scripts
|
||||||
|
Run Post-Install Scripts bundled with a package
|
||||||
|
.TP
|
||||||
|
.B run-tests
|
||||||
|
Run Regression Tests
|
||||||
|
.TP
|
||||||
|
.B search
|
||||||
|
Search remote package database
|
||||||
|
.TP
|
||||||
|
.B shell-test
|
||||||
|
Shell Script Test
|
||||||
|
.TP
|
||||||
|
.B sign
|
||||||
|
Sign a package distribution file
|
||||||
|
.TP
|
||||||
|
.B svntag
|
||||||
|
Set SVN Release Tag
|
||||||
|
.TP
|
||||||
|
.B uninstall
|
||||||
|
Un-install Package
|
||||||
|
.TP
|
||||||
|
.B update-channels
|
||||||
|
Update the Channel List
|
||||||
|
.TP
|
||||||
|
.B upgrade
|
||||||
|
Upgrade Package
|
||||||
|
.TP
|
||||||
|
.B upgrade-all
|
||||||
|
Upgrade All Packages [Deprecated in favor of calling upgrade with no parameters]
|
||||||
|
|
||||||
|
.SH FILES
|
||||||
|
.TP 15
|
||||||
|
.B /etc/pear.conf
|
||||||
|
The system configuration file.
|
||||||
|
.TP
|
||||||
|
.B $HOME/.pearrc
|
||||||
|
The user configuration.
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.TP
|
||||||
|
To list all options, use
|
||||||
|
.PS
|
||||||
|
pear help options
|
||||||
|
.TP
|
||||||
|
To list all command shortcuts, use
|
||||||
|
.PS
|
||||||
|
pear help shortcuts
|
||||||
|
.TP
|
||||||
|
to get the help for the specified command, use
|
||||||
|
.PS
|
||||||
|
pear help \fIcommand\fP
|
||||||
|
.TP
|
||||||
|
Documentation for PEAR can be found at
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.B http://pear.php.net/manual/
|
||||||
|
|
||||||
|
.SH COPYRIGHT
|
||||||
|
Copyright \(co 1997\-2009
|
||||||
|
Stig Bakken,
|
||||||
|
Gregory Beaver,
|
||||||
|
Helgi Þormar Þorbjörnsson,
|
||||||
|
Tomas V.V.Cox,
|
||||||
|
Martin Jansen.
|
||||||
|
.P
|
||||||
|
All rights reserved.
|
||||||
|
.P
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
.P
|
||||||
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer.
|
||||||
|
.P
|
||||||
|
* Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
.SH BUGS
|
||||||
|
You can view the list of known bugs or report any new bug you found at:
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.B http://pear.php.net/bugs/
|
||||||
|
|
@ -15,7 +15,7 @@
|
|||||||
Summary: PHP Extension and Application Repository framework
|
Summary: PHP Extension and Application Repository framework
|
||||||
Name: php-pear
|
Name: php-pear
|
||||||
Version: 1.9.4
|
Version: 1.9.4
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
# PEAR, Archive_Tar, XML_Util are BSD
|
# PEAR, Archive_Tar, XML_Util are BSD
|
||||||
# Console_Getopt is PHP
|
# Console_Getopt is PHP
|
||||||
@ -35,6 +35,12 @@ Source21: http://pear.php.net/get/Archive_Tar-%{arctarver}.tgz
|
|||||||
Source22: http://pear.php.net/get/Console_Getopt-%{getoptver}.tgz
|
Source22: http://pear.php.net/get/Console_Getopt-%{getoptver}.tgz
|
||||||
Source23: http://pear.php.net/get/Structures_Graph-%{structver}.tgz
|
Source23: http://pear.php.net/get/Structures_Graph-%{structver}.tgz
|
||||||
Source24: http://pear.php.net/get/XML_Util-%{xmlutil}.tgz
|
Source24: http://pear.php.net/get/XML_Util-%{xmlutil}.tgz
|
||||||
|
# Man pages
|
||||||
|
Source30: pear.1
|
||||||
|
Source31: pecl.1
|
||||||
|
Source32: peardev.1
|
||||||
|
|
||||||
|
|
||||||
# From RHEL: ignore REST cache creation failures as non-root user (#747361)
|
# From RHEL: ignore REST cache creation failures as non-root user (#747361)
|
||||||
# TODO See https://github.com/pear/pear-core/commit/dfef86e05211d2abc7870209d69064d448ef53b3#PEAR/REST.php
|
# TODO See https://github.com/pear/pear-core/commit/dfef86e05211d2abc7870209d69064d448ef53b3#PEAR/REST.php
|
||||||
Patch0: php-pear-1.9.4-restcache.patch
|
Patch0: php-pear-1.9.4-restcache.patch
|
||||||
@ -92,7 +98,7 @@ do
|
|||||||
[ -f package2.xml ] && mv package2.xml ${file%%-*}.xml \
|
[ -f package2.xml ] && mv package2.xml ${file%%-*}.xml \
|
||||||
|| mv package.xml ${file%%-*}.xml
|
|| mv package.xml ${file%%-*}.xml
|
||||||
done
|
done
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} %{SOURCE30} %{SOURCE31} %{SOURCE32} .
|
||||||
|
|
||||||
# apply patches on used PEAR during install
|
# apply patches on used PEAR during install
|
||||||
%patch1 -p0 -b .metadata
|
%patch1 -p0 -b .metadata
|
||||||
@ -168,6 +174,10 @@ rm -rf $RPM_BUILD_ROOT/.depdb* $RPM_BUILD_ROOT/.lock $RPM_BUILD_ROOT/.channels $
|
|||||||
# Need for re-registrying XML_Util
|
# Need for re-registrying XML_Util
|
||||||
install -m 644 *.xml $RPM_BUILD_ROOT%{_localstatedir}/lib/pear/pkgxml
|
install -m 644 *.xml $RPM_BUILD_ROOT%{_localstatedir}/lib/pear/pkgxml
|
||||||
|
|
||||||
|
# The man pages
|
||||||
|
install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
install -p -m 644 pear.1 pecl.1 peardev.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Check that no bogus paths are left in the configuration, or in
|
# Check that no bogus paths are left in the configuration, or in
|
||||||
@ -262,9 +272,15 @@ fi
|
|||||||
%dir %{_datadir}/tests
|
%dir %{_datadir}/tests
|
||||||
%{_datadir}/tests/pear
|
%{_datadir}/tests/pear
|
||||||
%{_datadir}/pear-data
|
%{_datadir}/pear-data
|
||||||
|
%{_mandir}/man1/pear.1*
|
||||||
|
%{_mandir}/man1/pecl.1*
|
||||||
|
%{_mandir}/man1/peardev.1*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 18 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-19
|
||||||
|
- add man pages for pear, peardev and pecl commands
|
||||||
|
|
||||||
* Fri May 3 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-18
|
* Fri May 3 2013 Remi Collet <rcollet@redhat.com> 1:1.9.4-18
|
||||||
- don't verify metadata file content
|
- don't verify metadata file content
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user