You can prepare any of the Inflict Woundsinflict wounds spells as a Good Aligned Cleric, because they do not have the Evil descriptor. What you can't do is Spontaneously Castspontaneously cast your prepared spells intoas Inflict Woundsinflict wounds spells in the same way that you can do that for Cure Woundscure wounds spells. It doesn't have anything to do with the Necromancy SchoolNecromancy school of Magicmagic. As KRyan has noted in the comment, the Necromancy SchoolThe Necromancy school is not necessarily Evil, so there is no alignment restriction for casting NecromancyNecromancy Spells.