add spec file support