added lib and spec files
updated file