Longview man attacks Gregg County jailer, takes pepper spray