2000-07-25 08:55:37 +08:00
|
|
|
<!--
|
2004-01-26 07:36:28 +08:00
|
|
|
$Id: package.dtd,v 1.35 2004-01-25 23:36:28 pajoye Exp $
|
2000-07-25 08:55:37 +08:00
|
|
|
|
2002-12-28 01:19:31 +08:00
|
|
|
This is the PEAR package description, version 1.0.
|
2000-07-25 08:55:37 +08:00
|
|
|
It should be used with the informal public identifier:
|
|
|
|
|
2002-12-28 01:19:31 +08:00
|
|
|
"-//PHP Group//DTD PEAR Package 1.0//EN//XML"
|
2000-07-25 08:55:37 +08:00
|
|
|
|
2004-01-26 07:36:28 +08:00
|
|
|
Copyright (c) 1997-2004 The PHP Group
|
2000-07-25 08:55:37 +08:00
|
|
|
|
2003-06-11 04:04:29 +08:00
|
|
|
This source file is subject to version 3.0 of the PHP license,
|
2000-07-25 08:55:37 +08:00
|
|
|
that is bundled with this package in the file LICENSE, and is
|
|
|
|
available at through the world-wide-web at
|
2003-06-11 04:04:29 +08:00
|
|
|
http://www.php.net/license/3_0.txt.
|
2000-07-25 08:55:37 +08:00
|
|
|
If you did not receive a copy of the PHP 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:
|
2003-03-18 20:06:09 +08:00
|
|
|
Stig S. Bakken <ssb@php.net>
|
2000-07-25 08:55:37 +08:00
|
|
|
|
|
|
|
-->
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-02-24 18:45:28 +08:00
|
|
|
<!ELEMENT package (name|summary|description|license|maintainers|release|changelog)+>
|
2002-01-30 17:23:34 +08:00
|
|
|
<!ATTLIST package type (source|binary|empty) "empty"
|
|
|
|
version CDATA #REQUIRED>
|
|
|
|
|
2001-09-02 08:09:52 +08:00
|
|
|
<!ELEMENT name (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-09-02 08:09:52 +08:00
|
|
|
<!ELEMENT summary (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-12-28 10:09:27 +08:00
|
|
|
<!ELEMENT description (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-07-21 15:06:56 +08:00
|
|
|
<!ELEMENT license (#PCDATA)>
|
|
|
|
|
2002-02-24 05:21:18 +08:00
|
|
|
<!ELEMENT maintainers (maintainer)+>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-02-24 18:45:28 +08:00
|
|
|
<!ELEMENT maintainer (user|role|name|email)+>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-09-04 11:23:56 +08:00
|
|
|
<!ELEMENT user (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
|
|
|
<!ELEMENT role (#PCDATA)>
|
|
|
|
|
2001-09-02 08:09:52 +08:00
|
|
|
<!ELEMENT email (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-02-24 18:45:28 +08:00
|
|
|
<!ELEMENT changelog (release)+>
|
2002-02-17 22:43:16 +08:00
|
|
|
|
2002-05-27 09:20:10 +08:00
|
|
|
<!ELEMENT release (version|license|state|date|notes|filelist|deps|provides|script|configureoptions)+>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-09-02 08:09:52 +08:00
|
|
|
<!ELEMENT version (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-10-30 20:08:07 +08:00
|
|
|
<!ELEMENT state (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-09-02 08:09:52 +08:00
|
|
|
<!ELEMENT date (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2001-09-02 08:09:52 +08:00
|
|
|
<!ELEMENT notes (#PCDATA)>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-11-27 06:52:34 +08:00
|
|
|
<!ELEMENT filelist (dir|file)+>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-11-27 06:52:34 +08:00
|
|
|
<!ELEMENT dir (dir|file)+>
|
2002-02-02 08:06:44 +08:00
|
|
|
<!ATTLIST dir name CDATA #REQUIRED
|
|
|
|
baseinstalldir CDATA #IMPLIED>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-04-09 08:03:18 +08:00
|
|
|
<!ELEMENT file (replace*)>
|
2002-05-27 09:20:10 +08:00
|
|
|
<!ATTLIST file role (php|ext|src|test|doc|data|script) 'php'
|
2002-02-02 08:06:44 +08:00
|
|
|
debug (na|on|off) 'na'
|
2002-05-27 09:20:10 +08:00
|
|
|
zts (na|on|off) 'na'
|
|
|
|
phpapi NUMBER #IMPLIED
|
|
|
|
zendapi NUMBER #IMPLIED
|
2002-02-02 08:06:44 +08:00
|
|
|
format CDATA #IMPLIED
|
2002-03-28 20:09:59 +08:00
|
|
|
baseinstalldir CDATA #IMPLIED
|
|
|
|
platform CDATA #IMPLIED
|
2002-04-09 08:03:18 +08:00
|
|
|
md5sum CDATA #IMPLIED
|
|
|
|
name CDATA #REQUIRED
|
|
|
|
install-as CDATA #IMPLIED>
|
|
|
|
|
|
|
|
<!ELEMENT replace EMPTY>
|
|
|
|
<!ATTLIST replace from CDATA #REQUIRED
|
|
|
|
to CDATA #REQUIRED
|
|
|
|
type CDATA #REQUIRED>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
2002-02-24 05:21:18 +08:00
|
|
|
<!ELEMENT deps (dep)+>
|
2002-01-30 17:23:34 +08:00
|
|
|
|
|
|
|
<!ELEMENT dep (#PCDATA)>
|
|
|
|
<!ATTLIST dep
|
2003-06-05 15:01:20 +08:00
|
|
|
optional (yes|no) 'no'
|
|
|
|
type (pkg|ext|php|prog|ldlib|rtlib|os|websrv|sapi|zend) #REQUIRED
|
|
|
|
rel (has|eq|lt|le|gt|ge) 'has'
|
|
|
|
version CDATA #IMPLIED>
|
2002-04-28 15:52:00 +08:00
|
|
|
|
|
|
|
<!ELEMENT provides (#PCDATA)>
|
|
|
|
<!ATTLIST provides
|
|
|
|
type (ext|prog|class|function|feature|api) #REQUIRED
|
2003-05-09 20:03:09 +08:00
|
|
|
name CDATA #REQUIRED
|
|
|
|
extends CDATA #IMPLIED>
|
2002-04-28 15:52:00 +08:00
|
|
|
|
|
|
|
<!ELEMENT script (#PCDATA)>
|
|
|
|
<!ATTLIST script
|
|
|
|
phase (pre-install |post-install |
|
|
|
|
pre-uninstall|post-uninstall|
|
|
|
|
pre-build |post-build |
|
|
|
|
pre-setup |post-setup ) #REQUIRED>
|
2002-05-27 09:20:10 +08:00
|
|
|
|
|
|
|
<!ELEMENT configureoptions (configureoption*)>
|
|
|
|
|
|
|
|
<!ELEMENT configureoption EMPTY>
|
|
|
|
<!ATTLIST configureoption
|
|
|
|
name CDATA #REQUIRED
|
|
|
|
default CDATA #IMPLIED
|
|
|
|
prompt CDATA #REQUIRED>
|