Long term gains go on Page 2 of Form 8949, with Box D, E, or F marked.
If you don't have a 1099-B you must check Box F.