Herman Raucher, who turned his memories of a summer as a teenager in a Massachusetts beach town, including one of a sexual encounter with a young war widow, into the screenplay for the nostalgic 1971 film “Summer of ’42,” died on Dec. 28 in Stamford, CT. He was 95.

“Summer” won an Oscar for Michel Legrand’s original score, and received four other nominations, including one for Mr. Raucher’s screenplay. It was the fifth-highest-grossing film of 1971, taking in $321 million (or about $245 million in today’s currency) at the box office.

After the filming of “Summer,” was completed, it was in post-production for a year. During that time, Mr. Raucher wrote a novel based on his screenplay, and that became a best seller. When the movie was released, the ad line was “Based on the National best seller,” which Mr. Raucher said “…was absurd because the book was written after the movie.”