"On the morning of November 7, 2012, the suspect came into the office of the pharmaceutical company he works for and fired numerous shots from Saiga and Benelli shotguns that he owns," the statement said.
"As a result, three men and two young women sitting at their desks died on the spot.
"One more man and another young woman were wounded, they are receiving medical help," it said.
The state RIA Novosti news agency, citing a source in the city's law enforcement agencies, said the attacker was suffering from unrequited love and that the woman he had been pursuing was among the victims.
"He told investigators that he had fallen in love with a girl who was a pharmacist, but his feelings were not reciprocated," the source was quoted as saying. "Because of that he drank for five days and today he came in and opened fire."
Access to firearms is restricted in Russia and shooting sprees are rare.