We present a library of 1654 high-resolution stellar spectra , with a sampling of 0.3 Å and covering the wavelength range from 3000 to 7000 Å . The library was computed with the latest improvements in stellar atmospheres , incorporating non-LTE line-blanketed models for hot , massive ( T _ { eff } \geq 27500 K ) and line-blanketed models for cool ( 3000 K \leq T _ { eff } \leq 4500 K ) stars . The total coverage of the grid is 3000 K \leq T _ { eff } \leq 55000 K and –0.5 \leq log g \leq 5.5 , for four chemical abundance values : twice solar , solar , half solar and 1/10 solar . Evolutionary synthesis models using this library are presented in a companion paper . We tested the general behavior of the library by calculating and comparing equivalent widths of numerous H and HeI lines , and some of the commonly used metallic indices . We also compared the library with the empirical libraries STELIB and Indo-US . The full set of the synthetic stellar spectra is available from our websites ( http : //www.iaa.csic.es/ \sim rosa and http : //www.astro.iag.usp.br/ \sim lucimara/library.html ) .