https://bugzilla.redhat.com/show_bug.cgi?id=1170875
--- Comment #6 from Ralf Corsepius rc040203@freenet.de --- (In reply to Michel Alexandre Salim from comment #5)
On that note, what's the difference between ${prefix} and %prefix% ? Thanks.
Let me try to elaborate.
When building, the *.spec receives values/settings from rpm. Inside of the spec, these rpm-provided values are referenced as %{XXXX} and used to propagate them into a package's build process. Here, to "configure", as options being passed to configure. configure interprets/processes these parameters and generates source-files from "*.in" files, substituting all "@name@" patterns with the corresponding values.
In this case, this means
The spec's %configure expands to ./configure .. --libdir=%{_libdir} ... expands to ./configure .. --libdir=/usr/lib64 ...
./configure interprets the values being passed as argument to --libdir=... and substitutes the sed pattern @libdir@ in all *.ins with the value it received through --libdir=...
In this case, configure creates a file budgie-plugin/budgie-1.0.pc using budgie-plugin/budgie-1.0.pc.in as input files, substituing @libdir@ with /usr/lib64