Tip: building packages with different base names in one spec file
%package devel %files develwill build a package, named as %{name}-devel, while sometime, you want to name it with a different basename, then you could do this,
%package -n foobar %files -n foobar

