What kind of trainer is it? Direct drive or wheel-on?
As some others have said, most bikes can probably be made to work with the same saddle-to-pedals geometry, and your front-end is less relevant, but it's probably worth your while actually getting something that's relatively serviceable as a spare bike.