giflib for fc5
Toshio Kuratomi
toshio at tiki-lounge.com
Wed Sep 21 16:25:22 UTC 2005
On Wed, 2005-09-21 at 03:08 -0400, Jakub Jelinek wrote:
> On Tue, Sep 20, 2005 at 03:20:44PM -0700, Toshio Kuratomi wrote:
> > 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... ;)
>
Will be changed in -5.
> > 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.
>
Thanks for the clarifications, Jakub.
So it looks like the empty library is the way to go.
New Questions:
Should I take this opportunity to rename the -progs subpackage to
-utils? On my box I have 4 -progs subpackages compared to 31 -utils.
I'm adding an Obsoletes to the -progs subpackage as well unless someone
can think of a reason not too.
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050921/986cdbe2/attachment.sig>
More information about the fedora-devel-list
mailing list