Location: PHPKode > projects > Chalange > com_chalange/helpers/PEAR/PEAR/Command/Package.xml
<commands version="1.0">
  <summary>Build Package</summary>
    <doc>Do not gzip the package file</doc>
    <doc>Print the name of the packaged file.</doc>
  <doc>[descfile] [descfile2]
Creates a PEAR package from its description file (usually called
package.xml).  If a second packagefile is passed in, then
the packager will check to make sure that one is a package.xml
version 1.0, and the other is a package.xml version 2.0.  The
package.xml version 1.0 will be saved as &quot;package.xml&quot; in the archive,
and the other as &quot;package2.xml&quot; in the archive&quot;
  <summary>Validate Package Consistency</summary>
  <options />
  <summary>Run a &quot;cvs diff&quot; for all files in a package</summary>
    <doc>Be quiet</doc>
    <doc>Be really quiet</doc>
    <doc>Diff against revision of DATE</doc>
    <doc>Diff against tag for package release REL</doc>
    <doc>Diff against revision REV</doc>
    <doc>Generate context diff</doc>
    <doc>Generate unified diff</doc>
    <doc>Ignore case, consider upper- and lower-case letters equivalent</doc>
    <doc>Ignore changes in amount of white space</doc>
    <doc>Ignore changes that insert or delete blank lines</doc>
    <doc>Report only whether the files differ, no details</doc>
    <doc>Don&#039;t do anything, just pretend</doc>
Compares all the files in a package.  Without any options, this
command will compare the current code with the last checked-in code.
Using the -r or -R option you may compare the current code with that
of a specific release.
  <summary>Set CVS Release Tag</summary>
    <doc>Be quiet</doc>
    <doc>Be really quiet</doc>
    <doc>Move (slide) tag if it exists</doc>
    <doc>Remove tag</doc>
    <doc>Don&#039;t do anything, just pretend</doc>
  <doc>&lt;package.xml&gt; [files...]
Sets a CVS tag on all files in a package.  Use this command after you have
packaged a distribution tarball with the &quot;package&quot; command to tag what
revisions of what files were in that release.  If need to fix something
after running cvstag once, but before the tarball is released to the public,
use the &quot;slide&quot; option to move the release tag.

to include files (such as a second package.xml, or tests not included in the
release), pass them as additional parameters.
  <summary>Show package dependencies</summary>
  <options />
List all dependencies the package has.</doc>
  <summary>Sign a package distribution file</summary>
    <doc>Display GnuPG output</doc>
Signs a package distribution (.tar or .tgz) file with GnuPG.</doc>
  <summary>Builds an RPM spec file from a PEAR package</summary>
    <doc>Use FILE as RPM spec file template</doc>
    <doc>Use FORMAT as format string for RPM package name, %s is replaced
by the PEAR package name, defaults to &quot;PEAR::%s&quot;.</doc>

Creates an RPM .spec file for wrapping a PEAR package inside an RPM
package.  Intended to be used from the SPECS directory, with the PEAR
package tarball in the SOURCES directory:

$ pear makerpm ../SOURCES/Net_Socket-1.0.tgz
Wrote RPM spec file PEAR::Net_Geo-1.0.spec
$ rpm -bb PEAR::Net_Socket-1.0.spec
Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
  <summary>Convert a package.xml 1.0 to package.xml 2.0 format</summary>
    <doc>do not beautify the filelist.</doc>
  <doc>[descfile] [descfile2]
Converts a package.xml in 1.0 format into a package.xml
in 2.0 format.  The new file will be named package2.xml by default,
and package.xml will be used as the old file by default.
This is not the most intelligent conversion, and should only be
used for automated conversion or learning the format.
Return current item: Chalange