OpenCL 1.2 implies 1.1 and 1.0, I guess
Omit the Direct3D related headers

'cl_d3d10.h' and 'cl_d3d11.h' require D3D headers we don't provide for
Linux builds. 'cl_dx9_media_sharing.h' does not have such a dependency,
but it seems useless here anyway.
drop OpenCL-devel = 1.2

A '-devel' library is supposed to provide not only the header files,
but also a library providing their API. This should go to the OpenCL
loader implementation.
include AMD extensions

Patch from Debian