Am Sonntag, 19. Februar 2006 18:32 schrieb Daniel Watkins: > I've never really looked at RPM spec files before, so I am a little > confused. I (think I) know %{name} refers to the package name (i.e. LyX) > but can't figure out what directory %{_datadir} referring to. I'd > appreciate it if someone could give me a shove in the right direction?
%{_datadir} is "/usr/local/share" in the default install. %{name} is "lyx" in the default install. If you use a version suffix "-xxx", %{name} is "lyx-xxx", and you must give the --with-version-suffix=-xxx argument to the configure script. Georg