Spoke holes in the rims are drilled at different angles for different diameter hubs. Compare your bikes front and rear rims for instance. So if you're choosing a used rim, narrow your choices to rims that originally came with similar size hubs to yours.
Spokes can be had from many different custom wheel shops, Woody's in Colorado, Buchanan in California, these shops can do and supply all.
There are also some comparable shops in the UK.
Ebay, If you're cheap and like to experiment like me, there are custom spokes made to length in stainless or zinc plated, j-bend or straight pull, but those sellers are outside the USA so if that's not your thing, it's not your thing. Quality on the sets I've used is high.
Edit: I see you're in Norway, I've had good success with spokes from ebay seller kingstar-cn
https://www.ebay.com/usr/kingstar-cnI've been involved with the current breed of Royal Enfield models for a few years now and have found Ebay to be a good source of 36 hole aluminum rims in useful sizes from the current models, and I've also found very good prices on chromed steel 40 spoke rims from their earlier bikes (mid 20th century to ~2018) for very attractive prices, these may be worth a look. Shiping from most of these India based sellers is very quick except during their rainy season... Their prices are generally very good and their communication is very good. Let their Ebay feedback number speak for them.
My favorite websites to help understand how and why spoked wheels are built and function as they do are:
https://earlymotor.com/spoke-length-calculator/And
https://blackjackwheels.com/spoke-calculator/