Annotation of loncom/build/lpml.dtd, revision 1.13

1.1       harris41    1: <!--
                      2:        Linux Packaging Markup Language version 1.0.
                      3: 
                      4:        Date: May 3, 2001
                      5:        Author: Scott Harrison
                      6: 
                      7:        Linux Packaging Markup Language aims to capture
                      8:        a source code development tree and effectively map
                      9:        that to a compilation and installation process for
                     10:        generating software packages and updating a run-time
                     11:        system.  This language helps handle dependency information,
                     12:        file globbing, file permissions, file ownerships,
                     13:        different targets for different linux distributions,
                     14:        preservation of configuration information, directory
                     15:        permissions, directory ownerships, compilation commands,
                     16:        and, ultimately, system software status reports.
                     17: -->
1.12      harris41   18: <!--
                     19: 
                     20: Copyright Michigan State University Board of Trustees
                     21: 
                     22: This file is part of the LearningOnline Network with CAPA (LON-CAPA).
                     23: 
                     24: LON-CAPA is free software; you can redistribute it and/or modify
                     25: it under the terms of the GNU General Public License as published by
                     26: the Free Software Foundation; either version 2 of the License, or
                     27: (at your option) any later version.
                     28: 
                     29: LON-CAPA is distributed in the hope that it will be useful,
                     30: but WITHOUT ANY WARRANTY; without even the implied warranty of
                     31: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     32: GNU General Public License for more details.
                     33: 
                     34: You should have received a copy of the GNU General Public License
                     35: along with LON-CAPA; if not, write to the Free Software
                     36: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
                     37: 
                     38: /home/httpd/html/adm/gpl.txt
                     39: 
                     40: http://www.lon-capa.org/
                     41: 
                     42: -->
                     43: 
1.1       harris41   44: <!ENTITY % lpml.Version
                     45:         "-//TUX//DTD lpml 1.0 Final//EN"
                     46: 
                     47:         -- Typical usage:
                     48: 
                     49:             <!DOCTYPE lpml PUBLIC "-//TUX//DTD LPML 1.0 Final//EN">
                     50:             <lpml>
                     51: 
                     52:             </lpml>
                     53:         --
                     54:         >
                     55: 
1.6       harris41   56: <!ELEMENT categoryname (#PCDATA)>
1.1       harris41   57: <!ELEMENT targetroot (#PCDATA)>
                     58: <!ELEMENT sourceroot (#PCDATA)>
                     59: 
                     60: <!ELEMENT target (#PCDATA)>
1.6       harris41   61: <!ATTLIST target
                     62:     dist CDATA #REQUIRED
                     63:     >
1.1       harris41   64: <!ELEMENT source (#PCDATA)>
                     65: <!ELEMENT targetdir (#PCDATA)>
1.6       harris41   66: <!ATTLIST targetdir
                     67:     dist CDATA #REQUIRED
                     68:     >
1.1       harris41   69: <!ELEMENT sourcedir (#PCDATA)>
                     70: <!ELEMENT glob (#PCDATA)>
                     71: <!ELEMENT build (#PCDATA)>
1.10      harris41   72: <!ELEMENT buildlink (#PCDATA)>
1.7       harris41   73: 
                     74: <!-- 
                     75: The trigger attribute of the build element is meant
                     76: to only have one of two possible values:
                     77:   "always run", or
                     78:   "run if dependencies change"
                     79: 
                     80: Note that you must type this text exactly in for the
                     81: attribute value to be understood and processed correctly
                     82: by the lpml "make build" parser.
                     83: -->
1.13    ! harris41   84: <!ELEMENT lpml (specialnotices|files|categories|directories|rpm)+>
1.7       harris41   85: <!ATTLIST build>
                     86:    trigger CDATA #REQUIRED
                     87: >
1.13    ! harris41   88: <!ELEMENT specialnotices specialnotice+>
1.9       harris41   89: <!ELEMENT categories category+>
                     90: <!ELEMENT directories directory+>
                     91: <!ELEMENT files (file|fileglob|link)+>
1.1       harris41   92: <!ELEMENT dependencies (#PCDATA)>
                     93: <!ELEMENT note (#PCDATA)>
                     94: 
1.13    ! harris41   95: <!ELEMENT specialnotice (#PCDATA)>
1.11      harris41   96: <!ELEMENT category (chmod,chown,abbreviation)>
1.1       harris41   97: <!ATTLIST category
                     98:     type CDATA #REQUIRED
                     99:     name CDATA #REQUIRED
                    100:     >
                    101: <!ELEMENT chown (#PCDATA)>
1.4       harris41  102: <!ATTLIST chown
                    103:     dist CDATA #REQUIRED
                    104:     >
1.1       harris41  105: <!ELEMENT chmod (#PCDATA)>
1.4       harris41  106: <!ATTLIST chmod
                    107:     dist CDATA #REQUIRED
                    108:     >
1.11      harris41  109: <!ELEMENT abbreviation (#PCDATA)>
1.1       harris41  110: 
1.3       harris41  111: <!ELEMENT directory (targetdir,categoryname,description?)>
1.4       harris41  112: <!ATTLIST directory
1.3       harris41  113:     dist CDATA #REQUIRED
                    114:     >
                    115: 
1.8       albertel  116: <!ELEMENT file (source,target,categoryname,description?,
1.7       harris41  117:                 note?,build?,status?,dependencies?)>
1.6       harris41  118: <!ELEMENT link (source,target,categoryname,description?,
1.9       harris41  119:                 note?,build?,status?,dependencies?)>
1.1       harris41  120: 
                    121: <!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname,
1.10      harris41  122:                     description?,note?,build?,buildlink?,status?,dependencies?,filenames?)>
1.7       harris41  123: <!ELEMENT filenames (#PCDATA)>
1.2       harris41  124: 
                    125: <!ELEMENT rpm (rpmSummary,rpmName,rpmVersion,rpmRelease,rpmVendor,
                    126:                rpmBuildRoot,rpmCopyright,rpmGroup,rpmSource,rpmAutoReqProv,
                    127:                rpmdescription,rpmpre)>
                    128: <!ELEMENT rpmSummary (#PCDATA)>
                    129: <!ELEMENT rpmName (#PCDATA)>
                    130: <!ELEMENT rpmVersion (#PCDATA)>
                    131: <!ELEMENT rpmRelease (#PCDATA)>
                    132: <!ELEMENT rpmVendor (#PCDATA)>
                    133: <!ELEMENT rpmBuildRoot (#PCDATA)>
                    134: <!ELEMENT rpmCopyright (#PCDATA)>
                    135: <!ELEMENT rpmGroup (#PCDATA)>
                    136: <!ELEMENT rpmSource (#PCDATA)>
                    137: <!ELEMENT rpmAutoReqProv (#PCDATA)>
                    138: <!ELEMENT rpmdescription (#PCDATA)>
                    139: <!ELEMENT rpmpre (#PCDATA)>
                    140: 
                    141: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>