Since there is no current Dehydra package for Fedora, I had to create a SPEC file from scratch.
From what I had learned before, I ran the follow command: rpmdev-newspec dehydra
and that created me a empty spec template I can work on for dehydra.
Here is a copy of my spec file: SPEC
Since my project is sort of connected to my colleagues work, I had to hard code some tools into my spec file until he has completed his project.
Throughout the process of creating and building the spec file, I would encounter missing files the configuration file Dehydra was looking for from SpiderMonkey. So I asked my Professor Chris about it, he advised me to look for the files and then just create a symbolic link to where the build file is looking for.
Next issue was, for the %install section because I was not installing anything I left that section empty. But Chris advised me, to create a directory to put the dehydra plugin as right now, there is really no specific directory.
He advised me to follow what he has done with nLed in terms of how he setup the %install portion.
After all the work, I finally completed my task at hand, and came out with the RPMS.
2 comments: