BR: pkgconfig(foo)

Elan Ruusamäe glen at pld-linux.org
Fri Dec 28 18:05:51 CET 2012


On 28.12.2012 18:54, Jakub Bogusz wrote:
> But it's less convenient for developers, to map individual BRs to
> "human"/RPM package names.
is there good way to map pkgconfig name to rpm name?
good start would be if .pc file path would be printed then could rpm -qf it

from manual doesn't seem there's command available, so it's just walk 
trough /usr/lib/pkgconfig, /usr/share/pkgconfig, 
/usr/local/lib/pkgconfig and /usr/local/share/pkgconfig $PKG_CONFIG_PATH 
and rpm -qf on first match? (last match?)

my idea was to add to adapter rule to convert pkgconfig BR to package names.

-- 
glen



More information about the pld-devel-en mailing list