diff options
Diffstat (limited to 'metadata.rnc')
-rw-r--r-- | metadata.rnc | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/metadata.rnc b/metadata.rnc index e325a21..7a23cca 100644 --- a/metadata.rnc +++ b/metadata.rnc @@ -11,7 +11,12 @@ attlist.catmetadata &= pkgmetadata = element pkgmetadata { attlist.pkgmetadata, - (herd | maintainer | longdescription | use | upstream)* + (herd + | maintainer + | natural-name + | longdescription + | use + | upstream)* } attlist.pkgmetadata &= [ a:defaultValue = "" ] attribute pkgname { text }? @@ -22,6 +27,9 @@ maintainer = element maintainer { attlist.maintainer, email, (description | name)* } +# Natural name for package, example: LibreOffice (for app-office/libreoffice) +natural-name = element natural-name { attlist.natural-name, text } +attlist.natural-name &= empty # A long description of the package in freetext longdescription = element longdescription { @@ -95,16 +103,26 @@ attlist.bugs-to &= empty remote-id = element remote-id { attlist.remote-id, text } attlist.remote-id &= attribute type { - "freshmeat" - | "sourceforge" - | "sourceforge-jp" + "bitbucket" | "cpan" - | "vim" - | "google-code" + | "cpan-module" + | "cpe" + | "cran" | "ctan" + | "freecode" + | "freshmeat" + | "github" + | "gitorious" + | "google-code" + | "launchpad" + | "pear" + | "pecl" | "pypi" | "rubyforge" - | "cran" + | "rubygems" + | "sourceforge" + | "sourceforge-jp" + | "vim" } # category/package information for cross-linking in descriptions # and useflag descriptions @@ -142,5 +160,5 @@ name = element name { attlist.name, text } attlist.name &= empty # the name of a person (maintainer, contributor) description = element description { attlist.description, text } -start = catmetadata | packages # A description of a maintainer or change +start = catmetadata | pkgmetadata |