If you have your contacts saved in a .csv file (usually export from Gmail or other similar program or service) and need to get it to your Samsung library to generate a .spb file, you need to use Samsung Kies software.
Some users reported troubles with the newer version of Kies, so it may be worth checking some of the previous version of this utility.
This seems to be mainly useful for some older Samsung devices and nowadays you can also simply sync your contacts in Gmail with your Samsung device and connect your device to Kies, where you can work with the contacts.