\def\rcs$#1: #2${\expandafter\def\csname rcs#1\endcsname{#2}}

% example usage:
% \rcs$Version$
% Version \rcsVersion
