How to copy file to user's home directory in .spec file
1 answer
RPMs are installed on a per-system basis, not per user, so you must place the file in the Desktop shared directory (not per user). I'm not sure where this directory is; check the documentation if your desktop infrastructure is (KDE or Gnome) and where Fedora configured the framework to host shared files.
The actual setup is to put the file in the correct location inside the RPM.
If you really want to create an icon for each user, I suggest submitting a script that does this, and which users should run once as some sort of "user activation".
+2
source to share