CMake spec example

Can someone point me to an example or two of a spec file in OBS that builds a CMake-based project? (Not KDE.) I’m trying to figure out why mine’s not working, and seeing some working examples would be very helpful. Thanks!

Hi
Here is my medit one;


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 8 days 0:18, 4 users, load average: 0.12, 0.15, 0.19
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53