" Language: RPM spec file
" Author: Elan Ruusamäe <glen@pld-linux.org>
" Copyright: Copyright (c) 2005 PLD Linux
-" Licence: GPL
+" Licence: You may redistribute this under the same terms as Vim itself
"
" This sets up filetype specific options for RPM spec files.
-setlocal tw=70
+"setlocal tw=70
+map <F5> :!./builder -5 %<CR>
+map <F6> :!./adapter %<CR>
map <F8> :!rpmbuild -bb %<CR>
+map <F9> :!cvs diff -u % \| diffcol \| less -nR<CR>
+map <F10> :!./builder -bb -R -u %<CR>
+
+" PLD specfiles are in latin2 encoding for -pl
+setlocal fileencodings=ucs-bom,utf-8,default,latin2