Since myself and a few friends who use Linux plan to use Unity and I was unable to find an RPM for installing on Fedora, I’ve built one myself. It use the shell file provided and installs unity in /opt/Unity
Here’s the link to my Google drive folder:
I’ll be updating the folder with more detailed information on building the rpm. At the moment I’ve tested it on a Fedora 25 laptop and confirmed it opens projects.
I use Manjaro, and I install using the oficial .SH option provided by Unity, with of course also work on Fedora.
Especialy if you are a new user, just use the oficial .SH install provided by Unity.
Dont get me wrong, but It’s not a safe option install a RPM/DEB package, especialy when don’t come from the oficial source.
I built the RPM around the .sh installer. All the .sh does is extract a bz2 which is embedded into the .sh into a specified location, then change permissions on one file. To see this you can run “head -n 67 ”. The bz2 binary starts on the 68th line of the sh file.
The point of the RPM is:
Dependency management
A full set of icons(provided in the bz2 scaled to the various sizes fedora looks for)
The desktop files(provided in the bz2) placed in the applications directory so that the app launcher lists Unity
The Unity binary is symlinked into the /usr/bin/ directory so that it can be found in the system path
I’ve updated the google drive path with:
md5 checksums,
rpmbuild gzipped tar(excluding the .sh file that can be downloaded here).
Huge thanks for posting the .spec file! I have expanded on your solution a little bit (with the help of fedpkg linter):
Install to /usr/share/unity-editor instead of /opt/Unity (I hope there is no hardcoded path for some tools inside the unity build that this change will break…)
Add Source0 tag to fetch the .sh file (spectool -g name.spec)
Generate icons on the fly using ImageMagick. No need for the additional package with icons.