added spec file

Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
fixed compilation under uclibc: missed fmin

Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>