The iOS Remote app works pretty well at replacing the little silver remotes. I still use the remote control to quickly change the volume on my iMac and will miss its functionality.
I bought one of these last year on eBay, and MacOS recognized it natively on a Mac Pro, allowing me to pair and use an old white Apple Remote. Can't seem to find that same one listed now though.