CGI has won a contract with the Texas Department of Information Resources to provide ready-made software and support services to state and local governments.