[kali@kali dnf]$ sudo dnf install -y
https://sourceforge.net/projects/refind/files/0.11.2/refind-0.11.2-1.src.rpm
https://download1.rpmfusion.org/free/fedora/releases/27/Everything/source/SRPMS/r/rpmfusion-free-release-27-1.src.rpm
[sudo] password for kali:
Waiting for process with pid 4960 to finish.
Fedora 27 - x86_64
15 kB/s | 58 MB
65:10
Last metadata expiration check: 0:01:37 ago on Wed 13 Dec 2017 18:23:44 CST.
refind-0.11.2-1.src.rpm
18 kB/s | 4.3 MB
04:05
rpmfusion-free-release-27-1.src.rpm
6.9 kB/s | 22 kB
00:03
Error: Will not install a source rpm package (refind-0.11.2-1.src).
[kali@kali dnf]$
Under pacman based Parabola you need to look at PKGBUILD to look for possible
sources (but you must first of all unpack an *.pkg.tar.xz i.e. an pacman
binary), under Debian and derivatives like Trisquel and Devuan there is a
Debian sources extension .dsc but almost impractical (more likely a control
file over binaries instead of a source, at least under simple ways like
pacman systems).
Now I am here on Fedora and I need to study to install RPM sources
(*.src.rpm, from few URL) under dnf, its Dandified packaging tool.