text/x-rpm-spec
*.spec
#
%define
%\{\!\?.*%define
\}
^%
description
package
prep
build
install
clean
check
pre[a-z]*
post[a-z]*
trigger[a-z]*
files
%
defattr
docdir
doc
setup
config
configure
make
makeinstall
dir
ghost
patch[0-9]+
find_lang
exclude
%\{?_([a-z_]+dir|[a-z_]+path|prefix)\}?
%\{?__[a-z_]+\}?
%\{\?[A-Za-z0-9_]+\}
%\{[a-zA-Z][a-zA-Z0-9_]+\}
%
ifarch
if
else
elif
endif
\$\{?RPM_[A-Z0-9_]+\}?
\s(-\w+|--\w[a-zA-Z_-]+)
Mon|Tue|Wed|Thu|Fri|Sat|Sun
Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
\%{weekday}\s+\%{month}\s+\d{1,2}\s+(\d{1,2}:\d{1,2}:\d{1,2}\s+)?\d{4} | # Wed Jun 27 13:27:21 2007
\d{4}-\d{2}-\d{2} # 2007-06-28
%changelog
^(?=%)
\%{date}
<[A-Za-z0-9._+-]+@[A-Za-z0-9._+-]+\.[A-Za-z0-9]{2,4}>