Tracking and roation constraint [249b]


could anyone give me a clue how to do it easily (i know how to do it more cubersome):
I want to limit rotation angles of an object while it is being tracked to another object. I just need a tip, maybe a thread from here would ne enough.