Updates CMakeLists.txt to v1.0
Makes the spec file use autosetup