version 1.7, 2001/06/15 00:59:22
|
version 1.17, 2003/09/11 22:06:37
|
Line 1
|
Line 1
|
<!-- |
<!-- |
Linux Packaging Markup Language version 1.0. |
Linux Packaging Markup Language version 1.0. |
Intended to be under General Public License, |
|
Second Version June 1991. |
|
|
|
Date: May 3, 2001 |
Date: May 3, 2001 |
Author: Scott Harrison |
Author: Scott Harrison |
Line 17
|
Line 15
|
permissions, directory ownerships, compilation commands, |
permissions, directory ownerships, compilation commands, |
and, ultimately, system software status reports. |
and, ultimately, system software status reports. |
--> |
--> |
<!ENTITY % lpml.Version |
<!-- |
"-//TUX//DTD lpml 1.0 Final//EN" |
|
|
Copyright Michigan State University Board of Trustees |
|
|
|
This file is part of the LearningOnline Network with CAPA (LON-CAPA). |
|
|
-- Typical usage: |
LON-CAPA is free software; you can redistribute it and/or modify |
|
it under the terms of the GNU General Public License as published by |
|
the Free Software Foundation; either version 2 of the License, or |
|
(at your option) any later version. |
|
|
<!DOCTYPE lpml PUBLIC "-//TUX//DTD LPML 1.0 Final//EN"> |
LON-CAPA is distributed in the hope that it will be useful, |
<lpml> |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
GNU General Public License for more details. |
|
|
|
You should have received a copy of the GNU General Public License |
|
along with LON-CAPA; if not, write to the Free Software |
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
|
|
/home/httpd/html/adm/gpl.txt |
|
|
|
http://www.lon-capa.org/ |
|
|
|
--> |
|
|
</lpml> |
<!ENTITY % lpml.Version |
-- |
"-//TUX//DTD lpml 1.0 Final//EN" |
> |
> |
|
<!-- Typical usage: --> |
|
<!-- <!DOCTYPE lpml PUBLIC "-//TUX/DTD LPML 1.0 Final//EN" |
|
"http://lpml.sourceforge.net/DTD/lpml.dtd"> --> |
|
<!-- <lpml> --> |
|
<!-- ... --> |
|
<!-- </lpml> --> |
|
|
<!ELEMENT categoryname (#PCDATA)> |
<!ELEMENT categoryname (#PCDATA)> |
<!ELEMENT targetroot (#PCDATA)> |
<!ELEMENT targetroot (#PCDATA)> |
Line 45
|
Line 67
|
<!ELEMENT sourcedir (#PCDATA)> |
<!ELEMENT sourcedir (#PCDATA)> |
<!ELEMENT glob (#PCDATA)> |
<!ELEMENT glob (#PCDATA)> |
<!ELEMENT build (#PCDATA)> |
<!ELEMENT build (#PCDATA)> |
|
<!ELEMENT buildlink (#PCDATA)> |
|
|
<!-- |
<!-- |
The trigger attribute of the build element is meant |
The trigger attribute of the build element is meant |
Line 52 to only have one of two possible values:
|
Line 75 to only have one of two possible values:
|
"always run", or |
"always run", or |
"run if dependencies change" |
"run if dependencies change" |
|
|
Note that you must type this text exactly in for the |
Note that you must type the trigger text values exactly for the |
attribute value to be understood and processed correctly |
attribute value to be understood and processed correctly |
by the lpml "make build" parser. |
by the lpml "make build" parser. |
--> |
--> |
<!ELEMENT lpml (file|category|fileglob|directory|rpm)+> |
<!ELEMENT lpml |
<!ATTLIST build> |
(targetroot|sourceroot|specialnotices|files|categories|directories|rpm)+> |
|
<!ATTLIST build |
trigger CDATA #REQUIRED |
trigger CDATA #REQUIRED |
> |
> |
|
<!ELEMENT specialnotices (specialnotice)+> |
|
<!ELEMENT categories (category)+> |
|
<!ELEMENT directories (directory)+> |
|
<!ELEMENT files (file|fileglob|link)+> |
<!ELEMENT dependencies (#PCDATA)> |
<!ELEMENT dependencies (#PCDATA)> |
<!ELEMENT note (#PCDATA)> |
<!ELEMENT privatedependencies (#PCDATA)> |
|
<!ELEMENT note (#PCDATA|table|b|br)*> |
|
<!ELEMENT b (#PCDATA)> |
|
|
<!ELEMENT category (chmod,chown)> |
<!ELEMENT specialnotice (#PCDATA)> |
|
<!ATTLIST specialnotice |
|
dist CDATA #REQUIRED |
|
> |
|
<!ELEMENT category (chmod,chown,abbreviation)> |
<!ATTLIST category |
<!ATTLIST category |
type CDATA #REQUIRED |
type CDATA #REQUIRED |
name CDATA #REQUIRED |
name CDATA #REQUIRED |
Line 77 by the lpml "make build" parser.
|
Line 111 by the lpml "make build" parser.
|
dist CDATA #REQUIRED |
dist CDATA #REQUIRED |
> |
> |
|
|
<!ELEMENT directory (targetdir,categoryname,description?)> |
<!ELEMENT abbreviation (#PCDATA)> |
|
<!ELEMENT br EMPTY> |
|
<!ELEMENT nobr EMPTY> |
|
<!ELEMENT table (#PCDATA|tr)*> |
|
<!ATTLIST table |
|
cellpadding CDATA #IMPLIED |
|
cellspacing CDATA #IMPLIED |
|
border CDATA #IMPLIED |
|
> |
|
<!ELEMENT tr (#PCDATA|td)*> |
|
<!ELEMENT td (#PCDATA|br|ul|tt|nobr)*> |
|
<!ELEMENT description (#PCDATA|br|tt|u)*> |
|
<!ELEMENT ul (#PCDATA|li)*> |
|
<!ELEMENT li (#PCDATA)> |
|
<!ELEMENT tt (#PCDATA)> |
|
<!ELEMENT u (#PCDATA)> |
|
<!ELEMENT status (#PCDATA)> |
|
<!ELEMENT linkto (#PCDATA)> |
|
|
|
<!ELEMENT directory (protectionlevel,targetdir+,categoryname,description?)> |
<!ATTLIST directory |
<!ATTLIST directory |
dist CDATA #REQUIRED |
dist CDATA #REQUIRED |
> |
> |
|
|
<!ELEMENT file (source,target+,categoryname,description?, |
<!ELEMENT protectionlevel (#PCDATA)> |
|
<!-- correct PCDATA values are: |
|
"never_delete" |
|
"weak_delete" |
|
"modest_delete" |
|
"strong_delete" |
|
"absolute_delete" |
|
--> |
|
<!ELEMENT file (source,target+,categoryname,description?,buildlink?, |
|
note?,build?,status?,dependencies?)> |
|
<!ATTLIST table |
|
type CDATA #IMPLIED |
|
> |
|
<!ELEMENT link (linkto,target,categoryname,description?, |
note?,build?,status?,dependencies?)> |
note?,build?,status?,dependencies?)> |
<!ELEMENT link (source,target,categoryname,description?, |
|
note?,build?,status?)> |
|
|
|
<!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname, |
<!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname, |
description?,filenames?)> |
description?,note?,build?,buildlink?,status?,dependencies?,filenames?)> |
<!ELEMENT filenames (#PCDATA)> |
<!ELEMENT filenames (#PCDATA)> |
|
|
<!ELEMENT rpm (rpmSummary,rpmName,rpmVersion,rpmRelease,rpmVendor, |
<!ELEMENT rpm (rpmSummary,rpmName,rpmVersion,rpmRelease,rpmVendor, |
rpmBuildRoot,rpmCopyright,rpmGroup,rpmSource,rpmAutoReqProv, |
rpmBuildRoot,rpmCopyright,rpmGroup,rpmSource,rpmAutoReqProv, |
rpmdescription,rpmpre)> |
rpmdescription,rpmpre,rpmRequires)> |
<!ELEMENT rpmSummary (#PCDATA)> |
<!ELEMENT rpmSummary (#PCDATA)> |
<!ELEMENT rpmName (#PCDATA)> |
<!ELEMENT rpmName (#PCDATA)> |
<!ELEMENT rpmVersion (#PCDATA)> |
<!ELEMENT rpmVersion (#PCDATA)> |
Line 106 by the lpml "make build" parser.
|
Line 170 by the lpml "make build" parser.
|
<!ELEMENT rpmAutoReqProv (#PCDATA)> |
<!ELEMENT rpmAutoReqProv (#PCDATA)> |
<!ELEMENT rpmdescription (#PCDATA)> |
<!ELEMENT rpmdescription (#PCDATA)> |
<!ELEMENT rpmpre (#PCDATA)> |
<!ELEMENT rpmpre (#PCDATA)> |
|
<!ELEMENT rpmRequires (item)+> |
|
<!ELEMENT item (#PCDATA)> |