Annotation of loncom/build/lpml.dtd, revision 1.6
1.1 harris41 1: <!--
2: Linux Packaging Markup Language version 1.0.
3: Intended to be under General Public License,
4: Second Version June 1991.
5:
6: Date: May 3, 2001
7: Author: Scott Harrison
8:
9: Linux Packaging Markup Language aims to capture
10: a source code development tree and effectively map
11: that to a compilation and installation process for
12: generating software packages and updating a run-time
13: system. This language helps handle dependency information,
14: file globbing, file permissions, file ownerships,
15: different targets for different linux distributions,
16: preservation of configuration information, directory
17: permissions, directory ownerships, compilation commands,
18: and, ultimately, system software status reports.
19: -->
20: <!ENTITY % lpml.Version
21: "-//TUX//DTD lpml 1.0 Final//EN"
22:
23: -- Typical usage:
24:
25: <!DOCTYPE lpml PUBLIC "-//TUX//DTD LPML 1.0 Final//EN">
26: <lpml>
27:
28: </lpml>
29: --
30: >
31:
1.6 ! harris41 32: <!ELEMENT categoryname (#PCDATA)>
1.1 harris41 33: <!ELEMENT targetroot (#PCDATA)>
34: <!ELEMENT sourceroot (#PCDATA)>
35:
36: <!ELEMENT target (#PCDATA)>
1.6 ! harris41 37: <!ATTLIST target
! 38: dist CDATA #REQUIRED
! 39: >
1.1 harris41 40: <!ELEMENT source (#PCDATA)>
41: <!ELEMENT targetdir (#PCDATA)>
1.6 ! harris41 42: <!ATTLIST targetdir
! 43: dist CDATA #REQUIRED
! 44: >
1.1 harris41 45: <!ELEMENT sourcedir (#PCDATA)>
46: <!ELEMENT glob (#PCDATA)>
47: <!ELEMENT distribution (#PCDATA)>
48: <!ELEMENT build (#PCDATA)>
49: <!ELEMENT dependencies (#PCDATA)>
50: <!ELEMENT note (#PCDATA)>
51:
52: <!ELEMENT category (chmod,chown,distribution?)>
53: <!ATTLIST category
54: type CDATA #REQUIRED
55: name CDATA #REQUIRED
56: >
57: <!ELEMENT chown (#PCDATA)>
1.4 harris41 58: <!ATTLIST chown
59: dist CDATA #REQUIRED
60: >
1.1 harris41 61: <!ELEMENT chmod (#PCDATA)>
1.4 harris41 62: <!ATTLIST chmod
63: dist CDATA #REQUIRED
64: >
1.1 harris41 65:
1.3 harris41 66: <!ELEMENT directory (targetdir,categoryname,description?)>
1.4 harris41 67: <!ATTLIST directory
1.3 harris41 68: dist CDATA #REQUIRED
69: >
70:
1.6 ! harris41 71: <!ELEMENT file (source,target+,categoryname,description?,
! 72: note?,build?,status?)>
! 73: <!ELEMENT link (source,target,categoryname,description?,
! 74: note?,build?,status?)>
1.1 harris41 75:
76: <!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname,
77: description?,distribution?)>
1.2 harris41 78:
79: <!ELEMENT rpm (rpmSummary,rpmName,rpmVersion,rpmRelease,rpmVendor,
80: rpmBuildRoot,rpmCopyright,rpmGroup,rpmSource,rpmAutoReqProv,
81: rpmdescription,rpmpre)>
82: <!ELEMENT rpmSummary (#PCDATA)>
83: <!ELEMENT rpmName (#PCDATA)>
84: <!ELEMENT rpmVersion (#PCDATA)>
85: <!ELEMENT rpmRelease (#PCDATA)>
86: <!ELEMENT rpmVendor (#PCDATA)>
87: <!ELEMENT rpmBuildRoot (#PCDATA)>
88: <!ELEMENT rpmCopyright (#PCDATA)>
89: <!ELEMENT rpmGroup (#PCDATA)>
90: <!ELEMENT rpmSource (#PCDATA)>
91: <!ELEMENT rpmAutoReqProv (#PCDATA)>
92: <!ELEMENT rpmdescription (#PCDATA)>
93: <!ELEMENT rpmpre (#PCDATA)>
94:
95:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>