Blame SPECS/giflib.spec

434ae2
Summary:	Library for manipulating GIF format image files
434ae2
Name:		giflib
434ae2
Version:	4.1.6
532b3e
Release:	9%{?dist}
434ae2
License:	MIT
434ae2
Group:		System Environment/Libraries
434ae2
URL:		http://www.sourceforge.net/projects/%{name}/
434ae2
Source:		http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
434ae2
BuildRequires:	libX11-devel, libICE-devel, libSM-devel, libXt-devel
434ae2
Provides:	libungif = %{version}-%{release}
434ae2
Obsoletes:	libungif <= %{version}-%{release}
434ae2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
434ae2
434ae2
%description
434ae2
The giflib package contains a shared library of functions for loading and
434ae2
saving GIF format image files. It is API and ABI compatible with libungif,
434ae2
the library which supported uncompressed GIFs while the Unisys LZW patent
434ae2
was in effect.
434ae2
434ae2
%package devel
434ae2
Summary:	Development tools for programs using the giflib library
434ae2
Group:		Development/Libraries
434ae2
Requires:	%{name} = %{version}-%{release}
434ae2
Provides:	libungif-devel = %{version}-%{release}
434ae2
Obsoletes:	libungif-devel <= %{version}-%{release}
434ae2
434ae2
%description devel
434ae2
The giflib-devel package includes header files, libraries necessary for
434ae2
developing programs which use the giflib library to load and save GIF format
434ae2
image files. It contains the documentation of the giflib library, too.
434ae2
434ae2
%package utils
434ae2
Summary:	Programs for manipulating GIF format image files
434ae2
Group:		Applications/Multimedia
434ae2
Requires:	%{name} = %{version}-%{release}
434ae2
Provides:	libungif-progs = %{version}-%{release}
434ae2
Obsoletes:	libungif-progs <= %{version}-%{release}
434ae2
434ae2
%description utils
434ae2
The giflib-utils package contains various programs for manipulating GIF
434ae2
format image files. Install it if you need to manipulate GIF format image
434ae2
files.
434ae2
434ae2
%prep
434ae2
%setup -q
434ae2
434ae2
%build
434ae2
%configure
434ae2
make %{?_smp_mflags} all
434ae2
434ae2
# Handling of libungif compatibility
434ae2
MAJOR=`echo '%{version}' | sed -e 's/\([0-9]\+\)\..*/\1/'`
434ae2
%{__cc} $RPM_OPT_FLAGS -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.%{version}
434ae2
434ae2
%install
434ae2
rm -rf $RPM_BUILD_ROOT
434ae2
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
434ae2
434ae2
# Handling of libungif compatibility
434ae2
install -p -m 755 libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}
434ae2
ln -sf libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so.4
434ae2
ln -sf libungif.so.4 $RPM_BUILD_ROOT%{_libdir}/libungif.so
434ae2
434ae2
# Don't install any static .a and libtool .la files
434ae2
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
434ae2
434ae2
# Remove makefile relics from documentation
434ae2
rm -f doc/Makefile*
434ae2
434ae2
%clean
434ae2
rm -rf $RPM_BUILD_ROOT
434ae2
434ae2
%post -p /sbin/ldconfig
434ae2
434ae2
%postun -p /sbin/ldconfig
434ae2
434ae2
%files 
434ae2
%defattr(-,root,root,-)
434ae2
%doc AUTHORS ChangeLog COPYING NEWS README
434ae2
%{_libdir}/lib*.so.*
434ae2
434ae2
%files devel
434ae2
%defattr(-,root,root,-)
434ae2
%doc doc/* util/giffiltr.c util/gifspnge.c
434ae2
%{_libdir}/lib*.so
434ae2
%{_includedir}/*.h
434ae2
434ae2
%files utils
434ae2
%defattr(-,root,root,-)
434ae2
%{_bindir}/*
434ae2
434ae2
%changelog
532b3e
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.1.6-9
532b3e
- Mass rebuild 2014-01-24
532b3e
532b3e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.1.6-8
532b3e
- Mass rebuild 2013-12-27
532b3e
434ae2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-7
434ae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
434ae2
434ae2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-6
434ae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
434ae2
434ae2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-5
434ae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
434ae2
434ae2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-4
434ae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
434ae2
434ae2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-3
434ae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
434ae2
434ae2
* Sat May 09 2009 Robert Scheck <robert@fedoraproject.org> 4.1.6-2
434ae2
- Solved multilib problems with documentation (#465208, #474538)
434ae2
- Removed static library from giflib-devel package (#225796 #c1)
434ae2
434ae2
* Mon Apr 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 4.1.6-1
434ae2
- update to 4.1.6
434ae2
434ae2
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-10
434ae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
434ae2
434ae2
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.3-9
434ae2
- Autorebuild for GCC 4.3
434ae2
434ae2
* Tue Mar 13 2007 Karsten Hopp <karsten@redhat.com> 4.1.3-8
434ae2
- add BR libXt-devel, otherwise X support will be disabled
434ae2
434ae2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 
434ae2
- rebuild
434ae2
434ae2
* Mon May 22 2006 Karsten Hopp <karsten@redhat.de> 4.1.3-7
434ae2
- buildrequires libICE-devel, libSM-devel
434ae2
434ae2
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.3-6.2.1
434ae2
- bump again for double-long bug on ppc(64)
434ae2
434ae2
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.3-6.2
434ae2
- rebuilt for new gcc4.1 snapshot and glibc changes
434ae2
434ae2
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
434ae2
- rebuilt
434ae2
434ae2
* Tue Nov  1 2005 Matthias Clasen <mclasen@redhat.com> 4.1.3-6
434ae2
- Switch requires to modular X
434ae2
434ae2
* Wed Sep 21 2005 Toshio Kuratomi <toshio@tiki-lounge.com> 4.1.3-5
434ae2
- Merge an option on the empty library link line.
434ae2
- Obsolete libungif progs package.
434ae2
- Rename -progs to -utils as FC packages seem to have moved in this direction
434ae2
  for subpackages.
434ae2
 
434ae2
* Tue Sep 20 2005 Toshio Kuratomi <toshio@tiki-lounge.com> 4.1.3-4
434ae2
- Modify the way we provide libungif compatibility by building an empty
434ae2
  library that requires libgif.
434ae2
- Remove chmod in install.  It doesn't seem to be necessary.
434ae2
- Add a patch to fix a problem with long being 64 bit on x86_64 but the code
434ae2
  assuming it was 32 bit.
434ae2
  
434ae2
* Mon Sep 19 2005 Toshio Kuratomi <toshio@tiki-lounge.com> 4.1.3-1
434ae2
- Port package from libungif to giflib.