Long-Duration Solar Gamma-Ray Flares