spec.syntax 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. context default
  2. keyword whole Auto\{Pp\}rov: green
  3. keyword whole Auto\{Rr\}eq\{Pp\}rov: green
  4. keyword whole Auto\{Rr\}eq: green
  5. keyword whole Build\{Aa\}rch: green
  6. keyword whole Build\{Cc\}onflicts: green
  7. keyword whole Build\{Pp\}re\{Rr\}eq: green
  8. keyword whole Build\{Rr\}oot: green
  9. keyword whole Build\{Rr\}equires: green
  10. keyword whole Conflicts: green
  11. keyword whole Copyright: white
  12. keyword whole Description: green
  13. keyword whole Distribution: green
  14. keyword whole Doc\{Dd\}ir: green
  15. keyword whole Epoch: green
  16. keyword whole Enhances: green
  17. keyword whole Exclude\{Aa\}rch: green
  18. keyword whole Exclusive\{Aa\}rch: green
  19. keyword whole Exclusive\{Oo\}\{Ss\}: green
  20. keyword whole Group: green
  21. keyword whole Icon: green
  22. keyword whole License: green
  23. keyword whole Name: green
  24. keyword whole NoSource\[0123456789\]: green
  25. keyword whole Obsoletes: green
  26. keyword whole Packager: green
  27. keyword whole Patch\[0123456789\]: green
  28. keyword whole Prefix: green
  29. keyword whole Pre\{Rr\}eq: green
  30. keyword whole Provides: green
  31. keyword whole Recommends: green
  32. keyword whole Release: green
  33. keyword whole Requires: green
  34. keyword whole Requires(\[abcdefghijklmnopqrstuvwxyz\]): green
  35. keyword whole Root: green
  36. keyword whole Serial: white
  37. keyword whole Source\[0123456789\]: green
  38. keyword whole Suggests: green
  39. keyword whole Summary: green
  40. keyword whole Supplements: green
  41. keyword whole Vendor: green
  42. keyword whole Version: green
  43. keyword whole U\{Rr\}\{Ll\}: green
  44. keyword whole linestart %build red
  45. keyword whole linestart %changelog red
  46. keyword whole linestart %check red
  47. keyword whole linestart %clean red
  48. keyword whole linestart %description red
  49. keyword whole linestart %files red
  50. keyword whole linestart %install red
  51. keyword whole linestart %package red
  52. keyword whole linestart %post red
  53. keyword whole linestart %postun red
  54. keyword whole linestart %pre red
  55. keyword whole linestart %prep red
  56. keyword whole linestart %preun red
  57. keyword whole linestart %pretrans red
  58. keyword whole linestart %posttrans red
  59. keyword whole linestart %verifyscript red
  60. keyword whole %define brightmagenta
  61. keyword linestart \[\s\t\]%dnl\[\s\t\]*\n brown
  62. keyword whole %dump brightmagenta
  63. keyword whole %global brightmagenta
  64. keyword whole %trace brightmagenta
  65. keyword whole %undefine brightmagenta
  66. keyword %\{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\}\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\] brightred
  67. keyword whole echo: brightmagenta
  68. keyword whole warn: brightmagenta
  69. keyword whole error: brightmagenta
  70. keyword whole uncompress: brightmagenta
  71. keyword whole expand: brightmagenta
  72. keyword whole S: brightmagenta
  73. keyword whole P: brightmagenta
  74. keyword whole F: brightmagenta
  75. keyword %{ brightcyan
  76. keyword { brightcyan
  77. keyword } brightcyan
  78. keyword whole %triggerin magenta
  79. keyword whole %triggerun magenta
  80. keyword whole %triggerun magenta
  81. keyword \\\n yellow
  82. keyword wholeright $+ brightgreen
  83. keyword ftp://+ brightgreen
  84. keyword http://+ brightgreen
  85. keyword https://+ brightgreen
  86. keyword cvs://+ brightgreen
  87. keyword whole missingok brightcyan
  88. keyword whole noreplace brightcyan
  89. keyword whole PATCH\[0123456789\] cyan
  90. keyword whole SOURCE\[0123456789\] cyan
  91. context Group( ): green
  92. keyword whole af yellow
  93. keyword whole az yellow
  94. keyword whole bg yellow
  95. keyword whole br yellow
  96. keyword whole ca yellow
  97. keyword whole ca_ES yellow
  98. keyword whole cs yellow
  99. keyword whole cs_CZ yellow
  100. keyword whole da yellow
  101. keyword whole da_DK yellow
  102. keyword whole de yellow
  103. keyword whole de_AT yellow
  104. keyword whole de_DE yellow
  105. keyword whole el yellow
  106. keyword whole el_GR yellow
  107. keyword whole en yellow
  108. keyword whole en_GB yellow
  109. keyword whole eo yellow
  110. keyword whole es yellow
  111. keyword whole es_ES yellow
  112. keyword whole et yellow
  113. keyword whole et_EE yellow
  114. keyword whole eu yellow
  115. keyword whole fi yellow
  116. keyword whole fi_FI yellow
  117. keyword whole fr yellow
  118. keyword whole fr_FR yellow
  119. keyword whole gl yellow
  120. keyword whole gl_ES yellow
  121. keyword whole gr yellow
  122. keyword whole he yellow
  123. keyword whole he_IL yellow
  124. keyword whole hi yellow
  125. keyword whole hr yellow
  126. keyword whole hr_HR yellow
  127. keyword whole hu yellow
  128. keyword whole hu_HU yellow
  129. keyword whole id yellow
  130. keyword whole is yellow
  131. keyword whole is_IS yellow
  132. keyword whole it yellow
  133. keyword whole it_IT yellow
  134. keyword whole ja yellow
  135. keyword whole ja_JP yellow
  136. keyword whole ja_JP.SJIS yellow
  137. keyword whole ko yellow
  138. keyword whole ko_KR yellow
  139. keyword whole lt yellow
  140. keyword whole lt_LT yellow
  141. keyword whole lv yellow
  142. keyword whole ms yellow
  143. keyword whole nb yellow
  144. keyword whole nl yellow
  145. keyword whole nl_NL yellow
  146. keyword whole nn yellow
  147. keyword whole nn_NO yellow
  148. keyword whole no yellow
  149. keyword whole no_NO yellow
  150. keyword whole pl yellow
  151. keyword whole pl_PL yellow
  152. keyword whole pt yellow
  153. keyword whole pt_BR yellow
  154. keyword whole pt_PT yellow
  155. keyword whole ro yellow
  156. keyword whole ro_RO yellow
  157. keyword whole ru yellow
  158. keyword whole ru_RU yellow
  159. keyword whole sk yellow
  160. keyword whole sk_SK yellow
  161. keyword whole sl yellow
  162. keyword whole sl_SI yellow
  163. keyword whole sr yellow
  164. keyword whole sv yellow
  165. keyword whole sv_SE yellow
  166. keyword whole ta yellow
  167. keyword whole th_TH yellow
  168. keyword whole tr yellow
  169. keyword whole tr_TR yellow
  170. keyword whole uk yellow
  171. keyword whole vi yellow
  172. keyword whole wa yellow
  173. keyword whole zh yellow
  174. keyword whole zh_CN yellow
  175. keyword whole zh_CN.GB2312 yellow
  176. keyword whole zh_TW yellow
  177. keyword whole zh_TW.Big5 yellow
  178. context Requires( ): green
  179. keyword whole post yellow
  180. keyword whole pre yellow
  181. keyword whole postun yellow
  182. keyword whole preun yellow
  183. keyword , lightgray
  184. context Summary( ): green
  185. keyword whole af yellow
  186. keyword whole az yellow
  187. keyword whole bg yellow
  188. keyword whole br yellow
  189. keyword whole ca yellow
  190. keyword whole ca_ES yellow
  191. keyword whole cs yellow
  192. keyword whole cs_CZ yellow
  193. keyword whole da yellow
  194. keyword whole da_DK yellow
  195. keyword whole de yellow
  196. keyword whole de_AT yellow
  197. keyword whole de_DE yellow
  198. keyword whole el yellow
  199. keyword whole el_GR yellow
  200. keyword whole en yellow
  201. keyword whole en_GB yellow
  202. keyword whole eo yellow
  203. keyword whole es yellow
  204. keyword whole es_ES yellow
  205. keyword whole et yellow
  206. keyword whole et_EE yellow
  207. keyword whole eu yellow
  208. keyword whole fi yellow
  209. keyword whole fi_FI yellow
  210. keyword whole fr yellow
  211. keyword whole fr_FR yellow
  212. keyword whole gl yellow
  213. keyword whole gl_ES yellow
  214. keyword whole gr yellow
  215. keyword whole he yellow
  216. keyword whole he_IL yellow
  217. keyword whole hi yellow
  218. keyword whole hr yellow
  219. keyword whole hr_HR yellow
  220. keyword whole hu yellow
  221. keyword whole hu_HU yellow
  222. keyword whole id yellow
  223. keyword whole is yellow
  224. keyword whole is_IS yellow
  225. keyword whole it yellow
  226. keyword whole it_IT yellow
  227. keyword whole ja yellow
  228. keyword whole ja_JP yellow
  229. keyword whole ja_JP.SJIS yellow
  230. keyword whole ko yellow
  231. keyword whole ko_KR yellow
  232. keyword whole lt yellow
  233. keyword whole lt_LT yellow
  234. keyword whole lv yellow
  235. keyword whole ms yellow
  236. keyword whole nb yellow
  237. keyword whole nl yellow
  238. keyword whole nl_NL yellow
  239. keyword whole nn yellow
  240. keyword whole nn_NO yellow
  241. keyword whole no yellow
  242. keyword whole no_NO yellow
  243. keyword whole pl yellow
  244. keyword whole pl_PL yellow
  245. keyword whole pt yellow
  246. keyword whole pt_BR yellow
  247. keyword whole pt_PT yellow
  248. keyword whole ro yellow
  249. keyword whole ro_RO yellow
  250. keyword whole ru yellow
  251. keyword whole ru_RU yellow
  252. keyword whole sk yellow
  253. keyword whole sk_SK yellow
  254. keyword whole sl yellow
  255. keyword whole sl_SI yellow
  256. keyword whole sr yellow
  257. keyword whole sv yellow
  258. keyword whole sv_SE yellow
  259. keyword whole ta yellow
  260. keyword whole th_TH yellow
  261. keyword whole tr yellow
  262. keyword whole tr_TR yellow
  263. keyword whole uk yellow
  264. keyword whole vi yellow
  265. keyword whole wa yellow
  266. keyword whole zh yellow
  267. keyword whole zh_CN yellow
  268. keyword whole zh_CN.GB2312 yellow
  269. keyword whole zh_TW yellow
  270. keyword whole zh_TW.Big5 yellow
  271. context linestart # \n brown
  272. context %( ) brightcyan
  273. # Changelog
  274. context exclusive whole linestart %changelog EOF lightgray
  275. keyword Revision*\n brightgreen
  276. keyword \*\s\{MWTFS\}*\n brightgreen
  277. keyword \s\s[*] brightgreen
  278. keyword $Log*$\n brightred
  279. #sections
  280. context exclusive linestart %build \n yellow
  281. keyword whole -l brightred
  282. keyword whole -n brightred
  283. keyword whole -p brightred
  284. keyword %{ brightcyan
  285. keyword { brightcyan
  286. keyword } brightcyan
  287. context exclusive linestart %clean \n yellow
  288. keyword whole -l brightred
  289. keyword whole -n brightred
  290. keyword whole -p brightred
  291. keyword %{ brightcyan
  292. keyword { brightcyan
  293. keyword } brightcyan
  294. context exclusive linestart %description \n yellow
  295. keyword whole -l brightred
  296. keyword whole -n brightred
  297. keyword whole -p brightred
  298. keyword %{ brightcyan
  299. keyword { brightcyan
  300. keyword } brightcyan
  301. context exclusive linestart %files \n yellow
  302. keyword whole -l brightred
  303. keyword whole -n brightred
  304. keyword whole -p brightred
  305. keyword %{ brightcyan
  306. keyword { brightcyan
  307. keyword } brightcyan
  308. context exclusive linestart %install \n yellow
  309. keyword whole -l brightred
  310. keyword whole -n brightred
  311. keyword whole -p brightred
  312. keyword %{ brightcyan
  313. keyword { brightcyan
  314. keyword } brightcyan
  315. context exclusive linestart %package \n yellow
  316. keyword whole -l brightred
  317. keyword whole -n brightred
  318. keyword whole -p brightred
  319. keyword %{ brightcyan
  320. keyword { brightcyan
  321. keyword } brightcyan
  322. context exclusive linestart %pre \n yellow
  323. keyword whole -l brightred
  324. keyword whole -n brightred
  325. keyword whole -p brightred
  326. keyword %{ brightcyan
  327. keyword { brightcyan
  328. keyword } brightcyan
  329. context exclusive linestart %prep \n yellow
  330. keyword whole -l brightred
  331. keyword whole -n brightred
  332. keyword whole -p brightred
  333. keyword %{ brightcyan
  334. keyword { brightcyan
  335. keyword } brightcyan
  336. context exclusive linestart %preun \n yellow
  337. keyword whole -l brightred
  338. keyword whole -n brightred
  339. keyword whole -p brightred
  340. keyword %{ brightcyan
  341. keyword { brightcyan
  342. keyword } brightcyan
  343. context exclusive linestart %post \n yellow
  344. keyword whole -l brightred
  345. keyword whole -n brightred
  346. keyword whole -p brightred
  347. keyword %{ brightcyan
  348. keyword { brightcyan
  349. keyword } brightcyan
  350. context exclusive linestart %postun \n yellow
  351. keyword whole -l brightred
  352. keyword whole -n brightred
  353. keyword whole -p brightred
  354. keyword %{ brightcyan
  355. keyword { brightcyan
  356. keyword } brightcyan
  357. #triggers
  358. context exclusive %triggerin \n lightgray
  359. keyword whole -n brightmagenta
  360. keyword whole -p brightmagenta
  361. keyword whole -- brightmagenta
  362. context exclusive %triggerun \n lightgray
  363. keyword whole -n brightmagenta
  364. keyword whole -p brightmagenta
  365. keyword whole -- brightmagenta
  366. context exclusive %triggerpostun \n lightgray
  367. keyword whole -n brightmagenta
  368. keyword whole -p brightmagenta
  369. keyword whole -- brightmagenta