Build spec file dymanically on app and lib in case having new things