# # spec file for package giflib (Version 4.1.6) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: giflib BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXt-devel License: X11/MIT Group: System/Libraries Url: http://sourceforge.net/projects/libungif AutoReqProv: on Version: 4.1.6 Release: 1 Summary: A Library for Working with GIF Images Provides: libungif %ifarch ia64 x86_64 s390x ppc64 Provides: libungif.so.4()(64bit) %else Provides: libungif.so.4 %endif Obsoletes: libungif Source: giflib-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Since the LZW patents have expired, giflib can be used instead of libungif again. Authors: -------- Toshio Kuratomi Eric S. Raymond >esr@snark.thyrsus.com> %package progs License: X11/MIT Summary: Tools for Working with the GIF Library Group: Productivity/Graphics/Convertors AutoReqProv: on Provides: ungif Obsoletes: ungif %description progs A tool for converting GIFs to various formats. Authors: -------- Toshio Kuratomi Eric S. Raymond >esr@snark.thyrsus.com> %package devel License: X11/MIT Summary: Library for Working with GIF Images - Files Mandatory for Development Group: Development/Libraries/C and C++ Requires: %name = %version %description devel Since the LZW patents have expired, giflib can be used instead of libungif again. Authors: -------- Toshio Kuratomi Eric S. Raymond >esr@snark.thyrsus.com> %prep %setup -q %build autoreconf -fiv %configure --disable-static --with-pic --x-libraries=%{_libdir} %{__make} %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT chmod 755 $RPM_BUILD_ROOT/%{_libdir}/lib*.so.* ln -sf libgif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so.%{version} ln -sf libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so.4 ln -sf libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so #ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a rm -f %{buildroot}%{_libdir}/*.la find doc -name "Makefile*" -print -delete %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) /usr/include/gif_lib.h %{_libdir}/lib*.so %files progs %defattr(-,root,root) %doc COPYING NEWS README doc /usr/bin/* %changelog * Sat Aug 30 2008 crrodriguez@suse.de - update to version 4.1.6, changes since 4.1.4 includes: * Fix segfault in utilities due to referencing ColorMaps in GifFiles that had no ColorMap present. * Fix gif2x11 to work on 24 bit displays. * Fix for giftext segfault when the GifFile does not store a global colormap. * Checks to fail gracefully when an image contains improper LZ codes. * Close file handles on failure in DGifOpenFileHandle() * Checks to operate on files in binary mode on WIN32 as well as MSDOS. - kill "la" files and static libraries * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Wed Aug 16 2006 aj@suse.de - Replace xorg-x11-devel BuildRequires with really needed libs. - Fix configure call for X11 R7. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 12 2006 nadvornik@suse.cz - compile with -fstack-protector * Tue Jan 03 2006 nadvornik@suse.cz - updated to 4.1.4 * Tue Apr 26 2005 jw@suse.de - fixed EGifCompressLine for 64bit archs, to make perl-Prima testcases happy. * Tue Sep 14 2004 nadvornik@suse.cz - fixed provides on 64bit architectures [#44842] * Thu Sep 09 2004 nadvornik@suse.cz - added Provides: libungif.so.4 [#44842] * Wed Sep 01 2004 nadvornik@suse.cz - updated to giflib 4.1.3: LZW is enabled again - renamed libungif -> giflib ungif -> giflib-progs - new subpackage giflib-devel - added compatibility symlinks * Tue Feb 24 2004 kukuk@suse.de - Cleanup neededforbuild * Sat Jan 10 2004 adrian@suse.de - add %%defattr and %%run_ldconfig * Mon Feb 11 2002 schwab@suse.de - Fix use of varargs. * Wed Feb 06 2002 nadvornik@suse.cz - updated to 4.1.0b1: - bugfix release * Tue Jan 08 2002 nadvornik@suse.cz - used macros %%{_lib} and %%{_libdir} * Tue Jun 12 2001 ro@suse.de - libtoolize to build * Tue Jun 05 2001 schwab@suse.de - Change DumpScreen2Gif parameters to long. * Thu May 24 2001 pblaha@suse.cz - fix cast pointer on ia64 * Wed Apr 18 2001 pblaha@suse.cz - patch from nadvornik@suse.cz for bug in loading images * Mon Apr 09 2001 ro@suse.de - fixed group tag * Wed May 17 2000 bubnikv@suse.cz - fixed bug of $chmod 755 libungif.so* (missing $RPM_BUILD_ROOT) - spec file cleanup * Mon May 15 2000 nadvornik@suse.cz - added BuildRoot - added URL * Tue Apr 04 2000 bk@suse.de - config.{sub,guess} update macro needs automake * Sun Apr 02 2000 bk@suse.de - suse s390 team added required %%suse_update_config for s390 * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Jun 29 1999 ro@suse.de - split: ungif (containing the tools) is build as a separate package * Tue Apr 06 1999 ro@suse.de - initial package