forked from pool/giflib
Accepting request 281404 from devel:libraries:c_c++
- Cleanup a bit - Remove obsolete sle10 deprecations - Fix one tiny rpmlint warning - Update to version 5.1.1 + Numerous minor fixes in getarg.c. Affects only the utilities, not the core library. + Fix SourceForge bug #59 DGifOpen can segfault if DGifGetScreenDesc fails. + SourceForge patch #20: In gifalloc, fix usage of realloc() in case of failure. + Fix SourceForge bug #61 Leak in gifsponge. + glibtoolize port fix for OS X. - Update to new upstream release 5.1.0 * Minor API change to assist library wrappers in dynamic languages, removal of the the gif2raw utility, and various minor fix patches for unusual edge cases. * API changes to functions: GifErrorString returns const char *; EGifGetGifVersion returns const char *; EGifCloseFile takes another int *errorcode; DGifCloseFile takes another int *errorcode; OBS-URL: https://build.opensuse.org/request/show/281404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/giflib?expand=0&rev=33
This commit is contained in:
commit
546ef9fc30
@ -1,6 +1,6 @@
|
||||
libgif6
|
||||
libgif7
|
||||
obsoletes "giflib-<targettype> < <version>"
|
||||
provides "giflib-<targettype> = <version>"
|
||||
giflib-devel
|
||||
requires -giflib-<targettype> = <version>
|
||||
requires "libgif6-<targettype> = <version>"
|
||||
requires "libgif7-<targettype> = <version>"
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:606d8a366b1c625ab60d62faeca807a799a2b9e88cbdf2a02bfcdf4429bf8609
|
||||
size 651559
|
3
giflib-5.1.1.tar.bz2
Normal file
3
giflib-5.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:391014aceb21c8b489dc7b0d0b6a917c4e32cc014ce2426d47ca376d02fe2ffc
|
||||
size 654389
|
@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 15 13:36:49 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Cleanup a bit
|
||||
- Remove obsolete sle10 deprecations
|
||||
- Fix one tiny rpmlint warning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 14 22:39:16 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 5.1.1
|
||||
+ Numerous minor fixes in getarg.c. Affects only the utilities, not the
|
||||
core library.
|
||||
+ Fix SourceForge bug #59 DGifOpen can segfault if DGifGetScreenDesc fails.
|
||||
+ SourceForge patch #20: In gifalloc, fix usage of realloc() in case of failure.
|
||||
+ Fix SourceForge bug #61 Leak in gifsponge.
|
||||
+ glibtoolize port fix for OS X.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 14:36:54 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 5.1.0
|
||||
* Minor API change to assist library wrappers in dynamic languages,
|
||||
removal of the the gif2raw utility, and various minor fix patches
|
||||
for unusual edge cases.
|
||||
* API changes to functions:
|
||||
GifErrorString returns const char *;
|
||||
EGifGetGifVersion returns const char *;
|
||||
EGifCloseFile takes another int *errorcode;
|
||||
DGifCloseFile takes another int *errorcode;
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 10:42:33 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
56
giflib.spec
56
giflib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package giflib
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@ -16,20 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libgif7
|
||||
Name: giflib
|
||||
%define lname libgif6
|
||||
Version: 5.0.5
|
||||
Version: 5.1.1
|
||||
Release: 0
|
||||
Summary: A Library for Working with GIF Images
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://giflib.sf.net/
|
||||
|
||||
#Git-Clone: git://git.code.sf.net/p/giflib/code
|
||||
#Freecode-URL: http://freecode.com/projects/giflib
|
||||
Source: http://downloads.sf.net/giflib/%name-%version.tar.bz2
|
||||
Source: http://downloads.sf.net/giflib/%{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch1: giflib-visibility.patch
|
||||
Patch2: giflib-automake-1_13.patch
|
||||
BuildRequires: libtool >= 2
|
||||
@ -39,28 +37,25 @@ BuildRequires: xorg-x11-libX11-devel
|
||||
BuildRequires: xorg-x11-libXau-devel
|
||||
BuildRequires: xorg-x11-libXdmcp-devel
|
||||
BuildRequires: xorg-x11-libXt-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This Library allows manipulating GIF Image files. Since the LZW patents
|
||||
have expired, giflib can again be used instead of libungif.
|
||||
|
||||
%package -n %lname
|
||||
%package -n %{lname}
|
||||
Summary: A Library for Working with GIF Images
|
||||
Group: System/Libraries
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: giflib-64bit
|
||||
%endif
|
||||
|
||||
%description -n %lname
|
||||
%description -n %{lname}
|
||||
This Library allows manipulating GIF Image files. Since the LZW patents
|
||||
have expired, giflib can again be used instead of libungif.
|
||||
|
||||
%package progs
|
||||
Summary: Tools for Working with the GIF Library
|
||||
Group: Productivity/Graphics/Convertors
|
||||
Provides: ungif
|
||||
Obsoletes: ungif
|
||||
Provides: ungif = %{version}
|
||||
Obsoletes: ungif < %{version}
|
||||
|
||||
%description progs
|
||||
A tool for converting GIFs to various formats.
|
||||
@ -68,12 +63,7 @@ A tool for converting GIFs to various formats.
|
||||
%package devel
|
||||
Summary: Library for Working with GIF Images - Files Mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: giflib-devel-64bit
|
||||
%endif
|
||||
#
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
This Library allows manipulating GIF Image files. Since the LZW patents
|
||||
@ -84,7 +74,6 @@ have expired, giflib can again be used instead of libungif.
|
||||
# LT_INIT requires libtool >= 2
|
||||
%patch -P 1 -P 2 -p1
|
||||
|
||||
%build
|
||||
# USE __TIMESTAMP__ instead of __DATE__ , __TIME__
|
||||
# this change is pointless unless we preserve the original
|
||||
# file modification time
|
||||
@ -96,32 +85,37 @@ for file in `find util -name "*.c"`; do
|
||||
done
|
||||
|
||||
mkdir -p m4; autoreconf -fiv
|
||||
%configure --disable-static --with-pic --x-libraries=%{_libdir}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--x-libraries=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
#ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find doc -name "Makefile*" -print -delete
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/gif_lib.h
|
||||
%{_includedir}/gif_lib.h
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%files progs
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING NEWS README doc
|
||||
%_bindir/*
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user