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