84
|
1 syntax "Rpmspec" "\.spec$" "\.rpmspec$"
|
|
2
|
|
3 color cyan "\<(Icon|ExclusiveOs|ExcludeOs):"
|
|
4 color cyan "\<(BuildArch|BuildArchitectures|ExclusiveArch|ExcludeArch):"
|
|
5 color cyan "\<(Conflicts|Obsoletes|Provides|Requires|Requires\(.*\)|Enhances|Suggests|BuildConflicts|BuildRequires|Recommends|PreReq|Supplements):"
|
|
6 color cyan "\<(Epoch|Serial|Nosource|Nopatch):"
|
|
7 color cyan "\<(AutoReq|AutoProv|AutoReqProv):"
|
|
8 color cyan "\<(Copyright|License|Summary|Summary\(.*\)|Distribution|Vendor|Packager|Group|Source[0-9]*|Patch[0-9]*|BuildRoot|Prefix):"
|
|
9 color cyan "\<(Name|Version|Release|Url|URL):"
|
|
10 color cyan start="^(Source|Patch)" end=":"
|
|
11 color cyan "(i386|i486|i586|i686|athlon|ia64|alpha|alphaev5|alphaev56|alphapca56|alphaev6|alphaev67|sparc|sparcv9|sparc64armv3l|armv4b|armv4lm|ips|mipsel|ppc|ppc|iseries|ppcpseries|ppc64|m68k|m68kmint|Sgi|rs6000|i370|s390x|s390|noarch)"
|
|
12 color cyan "(ifarch|ifnarch|ifos|ifnos)"
|
|
13 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
14 color brightyellow "%(if|else|endif|define|global|undefine)"
|
|
15 color brightyellow "%_?([A-Z_a-z_0-9_]*)"
|
|
16 color brightyellow start="%\{" end="\}"
|
|
17 color brightyellow start="%\{__" end="\}"
|
|
18 color brightyellow "\$(RPM_BUILD_ROOT)\>"
|
|
19 color brightmagenta "^%(build$|changelog|check$|clean$|description)"
|
|
20 color brightmagenta "^%(files|install$|package|prep$)"
|
|
21 color brightmagenta "^%(pre|preun|pretrans|post|postun|posttrans)"
|
|
22 color brightmagenta "^%(trigger|triggerin|triggerpostun|triggerun|verifyscript)"
|
|
23 color brightblack "(^|[[:space:]])#([^{].*)?$"
|
|
24 color blue "^\*.*$"
|
|
25 color ,green "[[:space:]]+$"
|
|
26 color ,red " + +| + +"
|
|
27 color brightwhite,cyan "TODO:?"
|