Gus Wirth
2011-11-16 03:26:41 UTC
I'm building some RPM packages from source for Fedora 15. One of the
problems I'm encountering is getting all the prerequisites installed for
building the package. The format of the RPM file has lines in it like:
BuildRequires: SDL-devel
BuildRequires: a52dec-devel
BuildRequires: aalib-devel
BuildRequires: alsa-lib-devel
BuildRequires: cdparanoia-devel
BuildRequires: desktop-file-utils
BuildRequires: faad2-devel >= %{faad2min}
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel >= 2.0.9
What I would like is some tool that gathers all the "BuildRequires"
lines, turns it into a "yum install xxxx" and then installs all the
prerequisites.
Either my search-foo is failing or maybe it doesn't exist, which I find
doubtful.
Alternatively, now that I look at it I guess a little bit of Perl could
take care of this but I'm feeling lazy at the moment.
Gus
problems I'm encountering is getting all the prerequisites installed for
building the package. The format of the RPM file has lines in it like:
BuildRequires: SDL-devel
BuildRequires: a52dec-devel
BuildRequires: aalib-devel
BuildRequires: alsa-lib-devel
BuildRequires: cdparanoia-devel
BuildRequires: desktop-file-utils
BuildRequires: faad2-devel >= %{faad2min}
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel >= 2.0.9
What I would like is some tool that gathers all the "BuildRequires"
lines, turns it into a "yum install xxxx" and then installs all the
prerequisites.
Either my search-foo is failing or maybe it doesn't exist, which I find
doubtful.
Alternatively, now that I look at it I guess a little bit of Perl could
take care of this but I'm feeling lazy at the moment.
Gus