4770b0
Name:          giflib
4770b0
Summary:       A library and utilities for processing GIFs
4770b0
Version:       5.1.4
4770b0
Release:       3%{?dist}
4770b0
4770b0
License:       MIT
4770b0
URL:           http://www.sourceforge.net/projects/%{name}/
4770b0
Source:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
4770b0
4770b0
Patch0:        giflib-5.1.4-coverity.patch
4770b0
Patch1:        giflib-5.1.4-html-docs-consistent-ids.patch
4770b0
4770b0
BuildRequires: autoconf automake libtool
4770b0
BuildRequires: gcc
4770b0
BuildRequires: make
4770b0
BuildRequires: xmlto
4770b0
4770b0
4770b0
%description
4770b0
giflib is a library for reading and writing gif images.
4770b0
4770b0
4770b0
%package devel
4770b0
Summary:       Development files for programs using the giflib library
4770b0
Requires:      %{name}%{?_isa} = %{version}-%{release}
4770b0
4770b0
%description devel
4770b0
The giflib-devel package includes header files, libraries necessary for
4770b0
developing programs which use the giflib library.
4770b0
4770b0
4770b0
%package utils
4770b0
Summary:       Programs for manipulating GIF format image files
4770b0
Requires:      %{name}%{?_isa} = %{version}-%{release}
4770b0
4770b0
%description utils
4770b0
The giflib-utils package contains various programs for manipulating GIF
4770b0
format image files.
4770b0
4770b0
4770b0
%prep
4770b0
%autosetup -p1
4770b0
4770b0
4770b0
%build
4770b0
autoreconf -vif
4770b0
%configure
4770b0
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
4770b0
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
4770b0
%make_build
4770b0
4770b0
4770b0
%install
4770b0
%make_install
4770b0
4770b0
# Don't install any static .a and libtool .la files
4770b0
rm -f %{buildroot}%{_libdir}/*.{a,la}
4770b0
4770b0
# Remove makefile relics from documentation
4770b0
rm -f doc/Makefile*
4770b0
4770b0
4770b0
%ldconfig_scriptlets
4770b0
4770b0
4770b0
%files 
4770b0
%doc AUTHORS ChangeLog NEWS README
4770b0
%license COPYING
4770b0
%{_libdir}/libgif.so.7*
4770b0
4770b0
%files devel
4770b0
%doc doc/*
4770b0
%{_libdir}/libgif.so
4770b0
%{_includedir}/gif_lib.h
4770b0
4770b0
%files utils
4770b0
%{_bindir}/gif*
4770b0
%{_mandir}/man1/gif*.1*
4770b0
4770b0
4770b0
%changelog
4770b0
* Thu Nov 08 2018 Nikola Forró <nforro@redhat.com> - 5.1.4-3
4770b0
- Generate HTML docs with consistent section IDs to avoid multilib difference
4770b0
  related: #1602513
4770b0
4770b0
* Mon Oct 29 2018 Nikola Forró <nforro@redhat.com> - 5.1.4-2
4770b0
- Fix important Covscan defects
4770b0
  resolves: #1602513
4770b0
4770b0
* Sun Feb 11 2018 Sandro Mani <manisandro@gmail.com> - 5.1.4-1
4770b0
- Update to 5.1.4
4770b0
4770b0
* Thu Feb  8 2018 Florian Weimer <fweimer@redhat.com> - 4.1.6-22
4770b0
- Build libungif with linker flags from redhat-rpm-config
4770b0
4770b0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-21
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4770b0
4770b0
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.6-20
4770b0
- Switch to %%ldconfig_scriptlets
4770b0
4770b0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-19
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4770b0
4770b0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-18
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4770b0
4770b0
* Wed Mar 29 2017 Stephen Gallagher <sgallagh@redhat.com> - 4.1.6-17
4770b0
- Fix compilation errors when -Werror=format-security
4770b0
4770b0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-16
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4770b0
4770b0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-15
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4770b0
4770b0
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 4.1.6-14
4770b0
- Link libungif with -z now too
4770b0
4770b0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-13
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4770b0
4770b0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-12
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4770b0
4770b0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-11
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4770b0
4770b0
* Wed Dec 18 2013 Peter Robinson <pbrobinson@fedoraproject.org> 4.1.6-10
4770b0
- Rebuild
4770b0
4770b0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-9
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4770b0
4770b0
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 4.1.6-8
4770b0
- Perl 5.18 rebuild
4770b0
4770b0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-7
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4770b0
4770b0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-6
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4770b0
4770b0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-5
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4770b0
4770b0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-4
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4770b0
4770b0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-3
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4770b0
4770b0
* Sat May 09 2009 Robert Scheck <robert@fedoraproject.org> 4.1.6-2
4770b0
- Solved multilib problems with documentation (#465208, #474538)
4770b0
- Removed static library from giflib-devel package (#225796 #c1)
4770b0
4770b0
* Mon Apr 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 4.1.6-1
4770b0
- update to 4.1.6
4770b0
4770b0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-10
4770b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4770b0
4770b0
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.3-9
4770b0
- Autorebuild for GCC 4.3
4770b0
4770b0
* Tue Mar 13 2007 Karsten Hopp <karsten@redhat.com> 4.1.3-8
4770b0
- add BR libXt-devel, otherwise X support will be disabled
4770b0
4770b0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 
4770b0
- rebuild
4770b0
4770b0
* Mon May 22 2006 Karsten Hopp <karsten@redhat.de> 4.1.3-7
4770b0
- buildrequires libICE-devel, libSM-devel
4770b0
4770b0
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.3-6.2.1
4770b0
- bump again for double-long bug on ppc(64)
4770b0
4770b0
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.3-6.2
4770b0
- rebuilt for new gcc4.1 snapshot and glibc changes
4770b0
4770b0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4770b0
- rebuilt
4770b0
4770b0
* Tue Nov  1 2005 Matthias Clasen <mclasen@redhat.com> 4.1.3-6
4770b0
- Switch requires to modular X
4770b0
4770b0
* Wed Sep 21 2005 Toshio Kuratomi <toshio@tiki-lounge.com> 4.1.3-5
4770b0
- Merge an option on the empty library link line.
4770b0
- Obsolete libungif progs package.
4770b0
- Rename -progs to -utils as FC packages seem to have moved in this direction
4770b0
  for subpackages.
4770b0
 
4770b0
* Tue Sep 20 2005 Toshio Kuratomi <toshio@tiki-lounge.com> 4.1.3-4
4770b0
- Modify the way we provide libungif compatibility by building an empty
4770b0
  library that requires libgif.
4770b0
- Remove chmod in install.  It doesn't seem to be necessary.
4770b0
- Add a patch to fix a problem with long being 64 bit on x86_64 but the code
4770b0
  assuming it was 32 bit.
4770b0
  
4770b0
* Mon Sep 19 2005 Toshio Kuratomi <toshio@tiki-lounge.com> 4.1.3-1
4770b0
- Port package from libungif to giflib.