If RIP summary routes and individual routes are installed in R1's RIB then it is just a matter of redistributing ripv2 in ospf and making sure you configure the subnets keyword on the redistribution statement as follow:
router ospf xx
redistribute rip subnets
Hope this helps,
Regards,
Harold Ritter, CCIE #4168 (EI, SP)