version 1.3, 2001/05/15 17:16:17
|
version 1.14, 2002/01/09 22:27:31
|
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. |
--> |
--> |
|
<!-- |
|
|
|
Copyright Michigan State University Board of Trustees |
|
|
|
This file is part of the LearningOnline Network with CAPA (LON-CAPA). |
|
|
|
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. |
|
|
|
LON-CAPA is distributed in the hope that it will be useful, |
|
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/ |
|
|
|
--> |
|
|
<!ENTITY % lpml.Version |
<!ENTITY % lpml.Version |
"-//TUX//DTD lpml 1.0 Final//EN" |
"-//TUX//DTD lpml 1.0 Final//EN" |
|
|
Line 29
|
Line 53
|
-- |
-- |
> |
> |
|
|
|
<!ELEMENT categoryname (#PCDATA)> |
<!ELEMENT targetroot (#PCDATA)> |
<!ELEMENT targetroot (#PCDATA)> |
<!ELEMENT sourceroot (#PCDATA)> |
<!ELEMENT sourceroot (#PCDATA)> |
|
|
<!ELEMENT target (#PCDATA)> |
<!ELEMENT target (#PCDATA)> |
|
<!ATTLIST target |
|
dist CDATA #REQUIRED |
|
> |
<!ELEMENT source (#PCDATA)> |
<!ELEMENT source (#PCDATA)> |
<!ELEMENT targetdir (#PCDATA)> |
<!ELEMENT targetdir (#PCDATA)> |
|
<!ATTLIST targetdir |
|
dist CDATA #REQUIRED |
|
> |
<!ELEMENT sourcedir (#PCDATA)> |
<!ELEMENT sourcedir (#PCDATA)> |
<!ELEMENT glob (#PCDATA)> |
<!ELEMENT glob (#PCDATA)> |
<!ELEMENT distribution (#PCDATA)> |
|
<!ELEMENT build (#PCDATA)> |
<!ELEMENT build (#PCDATA)> |
|
<!ELEMENT buildlink (#PCDATA)> |
|
|
|
<!-- |
|
The trigger attribute of the build element is meant |
|
to only have one of two possible values: |
|
"always run", or |
|
"run if dependencies change" |
|
|
|
Note that you must type this text exactly in for the |
|
attribute value to be understood and processed correctly |
|
by the lpml "make build" parser. |
|
--> |
|
<!ELEMENT lpml (specialnotices|files|categories|directories|rpm)+> |
|
<!ATTLIST build> |
|
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 note (#PCDATA)> |
|
|
<!ELEMENT category (chmod,chown,distribution?)> |
<!ELEMENT specialnotice (#PCDATA)> |
|
<!ELEMENT category (chmod,chown,abbreviation)> |
<!ATTLIST category |
<!ATTLIST category |
type CDATA #REQUIRED |
type CDATA #REQUIRED |
name CDATA #REQUIRED |
name CDATA #REQUIRED |
> |
> |
<!ELEMENT chown (#PCDATA)> |
<!ELEMENT chown (#PCDATA)> |
|
<!ATTLIST chown |
|
dist CDATA #REQUIRED |
|
> |
<!ELEMENT chmod (#PCDATA)> |
<!ELEMENT chmod (#PCDATA)> |
<!ELEMENT distribution (#PCDATA)> |
<!ATTLIST chmod |
|
|
<!ELEMENT directory (targetdir,categoryname,description?)> |
|
<!ATTLIST file |
|
dist CDATA #REQUIRED |
dist CDATA #REQUIRED |
> |
> |
|
<!ELEMENT abbreviation (#PCDATA)> |
|
|
<!ELEMENT file (source,target,categoryname,description?,note?,build?)> |
<!ELEMENT directory (targetdir,categoryname,description?)> |
<!ATTLIST file |
<!ATTLIST directory |
dist CDATA #REQUIRED |
dist CDATA #REQUIRED |
> |
> |
|
|
|
<!ELEMENT file (source,target,categoryname,description?, |
|
note?,build?,status?,dependencies?)> |
|
<!ELEMENT link (source,target,categoryname,description?, |
|
note?,build?,status?,dependencies?)> |
|
|
<!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname, |
<!ELEMENT fileglob (glob,sourcedir,targetdir,categoryname, |
description?,distribution?)> |
description?,note?,build?,buildlink?,status?,dependencies?,filenames?)> |
|
<!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, |
Line 79
|
Line 137
|
<!ELEMENT rpmAutoReqProv (#PCDATA)> |
<!ELEMENT rpmAutoReqProv (#PCDATA)> |
<!ELEMENT rpmdescription (#PCDATA)> |
<!ELEMENT rpmdescription (#PCDATA)> |
<!ELEMENT rpmpre (#PCDATA)> |
<!ELEMENT rpmpre (#PCDATA)> |
|
<!ELEMENT rpmRequires (#PCDATA)> |
|
|