NBC: Lawmakers release text of $1.2 trillion spending bill as shutdown deadline nears