I'd like to easily create RPM packages for some random projects that do not come bundled as RPM (or whose RPMs are severely outdated).
Take the Pop OS GTK theme as an example.
Installing the theme is just a matter of running this script:
wget https://github.com/pop-os/gtk-theme/archive/3.1.2.tar.gz
tar zxf gtk-theme-3.1.2.tar.gz
cd gtk-theme-3.1.2
make
sudo make install
Is there a tool that would just basically run this script in a chrooted environment, grab all the "installed" files, and bundle them as an RPM package?