On Fri, 31 Aug 2001, Gr�goire Colbert wrote:
> I never heard before about "libtool", so I'm quite puzzled. I used the
> following lines in my spec file :
> --------------------------------------------
> %prep
> rm -rf %{buildroot}
> rm -rf $RPM_BUILD_DIR/%name-%version
>
> %setup
>
> %build
> ./configure --prefix=%_prefix
>
> %make prefix=%{buildroot}%_prefix
>
> %install
> %make prefix=%{buildroot}%_prefix install
> --------------------------------------------
Did you try using:
%prep
%setup
%build
%configure
%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
These "generic" instructions should work for most small packages that have
configure scripts, including (I think) ones that use libtool. Certainly I
remember seeing references to libtool flash past during the %build section
and I have ended up with working packages.
HTH,
Michael