Re: giflib for fc5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 20, 2005 at 03:20:44PM -0700, Toshio Kuratomi wrote:
> Well -- here's a spec that implements the procedure Miloslav suggested.
> It seems reasonable from the packaging side::
> 
>   MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'`
>   %{__cc} $RPM_OPT_FLAGS -shared -Wl,-soname -Wl,libungif.so.$MAJOR \
>     -Llib/.libs -lgif -o libungif.so.%{version}

You can use -Wl,-soname,libungif.so.$MAJOR to save a few chars... ;)

> Plus three lines to install and symlink the library.

This is the way to go IMNSHO.

> Warren's 64bit Provides conditional is pretty snazzy as well:
>   %if %{_lib} == lib64
>     Provides: libungif.so.4()(64bit)
>   %else
>     Provides: libungif.so.4
>   %endif

This is wrong on ia64, which although it uses %{_lib} == lib,
it has the (64bit) suffixes in provides/requires.

	Jakub

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux