source: trunk/library/PEAR/package.dtd @ 5146

Revision 5146, 3.3 KB checked in by wmerlotto, 12 years ago (diff)

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus. Library: adicionando arquivos.

Line 
1<!--
2     $Id: package.dtd,v 1.38 2005-11-12 02:23:07 cellog Exp $
3
4     This is the PEAR package description, version 1.0.
5     It should be used with the informal public identifier:
6
7         "-//PHP Group//DTD PEAR Package 1.0//EN//XML"
8
9     Copyright (c) 1997-2005 The PHP Group             
10
11     This source file is subject to version 3.00 of the PHP license,
12     that is bundled with this package in the file LICENSE, and is
13     available at through the world-wide-web at
14     http://www.php.net/license/3_0.txt.
15     If you did not receive a copy of the PHP license and are unable to
16     obtain it through the world-wide-web, please send a note to
17     license@php.net so we can mail you a copy immediately.
18
19     Authors:
20         Stig S. Bakken <ssb@fast.no>
21         Gregory Beaver <cellog@php.net>
22
23  -->
24<!ENTITY % NUMBER "CDATA">
25<!ELEMENT package (name,summary,description,license?,maintainers,release,changelog?)>
26<!ATTLIST package type    (source|binary|empty) "empty"
27                  version CDATA                 #REQUIRED
28                  packagerversion CDATA         #IMPLIED>
29
30<!ELEMENT name (#PCDATA)>
31
32<!ELEMENT summary (#PCDATA)>
33
34<!ELEMENT license (#PCDATA)>
35
36<!ELEMENT description (#PCDATA)>
37
38<!ELEMENT maintainers (maintainer)+>
39
40<!ELEMENT maintainer (user|role|name|email)+>
41
42<!ELEMENT user (#PCDATA)>
43
44<!ELEMENT role (#PCDATA)>
45
46<!ELEMENT email (#PCDATA)>
47
48<!ELEMENT changelog (release)+>
49
50<!ELEMENT release (version,date,license,state,notes,warnings?,provides*,deps?,configureoptions?,filelist?)>
51
52<!ELEMENT version (#PCDATA)>
53
54<!ELEMENT date (#PCDATA)>
55
56<!ELEMENT state (#PCDATA)>
57
58<!ELEMENT notes (#PCDATA)>
59
60<!ELEMENT warnings (#PCDATA)>
61
62<!ELEMENT deps (dep*)>
63
64<!ELEMENT dep (#PCDATA)>
65<!ATTLIST dep type    (pkg|ext|php) #REQUIRED
66                               rel     (has|eq|lt|le|gt|ge)                          #IMPLIED
67                               version CDATA                                     #IMPLIED
68                               optional (yes|no)     'no'>
69
70<!ELEMENT configureoptions (configureoption)+>
71
72<!ELEMENT configureoption EMPTY>
73<!ATTLIST configureoption name CDATA #REQUIRED
74                                           default CDATA #IMPLIED
75                                           prompt CDATA #REQUIRED>
76
77<!ELEMENT provides EMPTY>
78<!ATTLIST provides type (ext|prog|class|function|feature|api) #REQUIRED
79                                name CDATA #REQUIRED
80                                extends CDATA #IMPLIED>
81<!ELEMENT filelist (dir|file)+>
82
83<!ELEMENT dir (dir|file)+>
84<!ATTLIST dir name           CDATA #REQUIRED
85              role           (php|ext|src|test|doc|data|script) 'php'
86              baseinstalldir CDATA #IMPLIED>
87
88<!ELEMENT file (replace*)>
89<!ATTLIST file role           (php|ext|src|test|doc|data|script) 'php'
90               debug          (na|on|off)        'na'
91               format         CDATA              #IMPLIED
92               baseinstalldir CDATA              #IMPLIED
93               platform       CDATA              #IMPLIED
94               md5sum         CDATA              #IMPLIED
95               name           CDATA              #REQUIRED
96               install-as     CDATA              #IMPLIED>
97
98<!ELEMENT replace EMPTY>
99<!ATTLIST replace type (php-const|pear-config|package-info) #REQUIRED
100                              from CDATA #REQUIRED
101                              to CDATA #REQUIRED>
102
103
Note: See TracBrowser for help on using the repository browser.