diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/rpmspec.xml | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/rpmspec.xml')
-rw-r--r-- | kate/data/rpmspec.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/kate/data/rpmspec.xml b/kate/data/rpmspec.xml new file mode 100644 index 000000000..246bb264d --- /dev/null +++ b/kate/data/rpmspec.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="RPM Spec" version="1.1" kateversion="2.4" section="Other" extensions="*.spec" mimetype=""> + <highlighting> + <list name="keywords"> + <item> Name </item> + <item> Summary </item> + <item> Version </item> + <item> Epoch </item> + <item> Serial </item> + <item> Release </item> + <item> Source </item> + <item> Group </item> + <item> Copyright </item> + <item> License </item> + <item> Vendor </item> + <item> Distribution </item> + <item> Packager </item> + <item> Url </item> + <item> URL </item> + <item> Prefix </item> + <item> Conflicts </item> + <item> Obsoletes </item> + <item> Provides </item> + <item> PreReq </item> + <item> Requires </item> + <item> BuildArch </item> + <item> BuildArchitectures </item> + <item> BuildConflicts </item> + <item> BuildRequires </item> + <item> BuildRoot </item> + <item> ExclusiveArch </item> + <item> ExclusiveOs </item> + <item> ExcludeArch </item> + <item> ExcludeOs </item> + </list> + <list name="types"> + <item> GPL </item> + <item> LGPL </item> + <item> Artistic </item> + </list> + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data" context="#stay" String="types"/> + <RegExpr attribute="Red" context="#stay" String="%\w*" /> + <DetectChar attribute="Comment" context="Comment" char="#" /> + <RegExpr attribute="Keyword" context="Some Context" String="\{\w*" /> + <RegExpr attribute="Blue" context="Some Context2" String="<\s*[\w@\.]*" /> + <RegExpr attribute="Data" context="#stay" String="\$\w*" /> + <RegExpr attribute="Keyword" context="#stay" String="(Source|Patch)\d*" /> + <RegExpr attribute="Keyword" context="#stay" String="\*.*" firstNonSpace="true"/> <!-- ChangeLog --> + <Int attribute="Blue" context="#stay" /> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + + <context attribute="Keyword" lineEndContext="#pop" name="Some Context"> + <DetectChar attribute="Keyword" char="}" context="#pop"/> + </context> + + <context attribute="Blue" lineEndContext="#pop" name="Some Context2"> + <DetectChar attribute="Blue" char=">" context="#pop"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Red" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Blue" defStyleNum="dsDecVal"/> + <itemData name="Data" defStyleNum="dsDataType"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + </general> +</language> |