2006-12-19 00:16:35 +01:00
|
|
|
#
|
2008-09-05 02:24:38 +02:00
|
|
|
# spec file for package giflib (Version 4.1.6)
|
2006-12-19 00:16:35 +01:00
|
|
|
#
|
2010-01-14 16:11:43 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:16:35 +01:00
|
|
|
#
|
2008-09-05 02:24:38 +02:00
|
|
|
# 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.
|
|
|
|
|
2006-12-19 00:16:35 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:16:13 +02:00
|
|
|
|
2006-12-19 00:16:35 +01:00
|
|
|
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
|
2010-01-14 16:11:43 +01:00
|
|
|
License: MIT
|
2006-12-19 00:16:35 +01:00
|
|
|
Group: System/Libraries
|
2008-04-10 14:16:13 +02:00
|
|
|
Url: http://sourceforge.net/projects/libungif
|
|
|
|
AutoReqProv: on
|
2008-11-28 15:01:28 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: giflib-64bit
|
2009-01-14 17:52:11 +01:00
|
|
|
Obsoletes: libungif-64bit
|
2008-11-28 15:01:28 +01:00
|
|
|
%endif
|
|
|
|
#
|
2008-09-05 02:24:38 +02:00
|
|
|
Version: 4.1.6
|
2010-01-14 16:11:43 +01:00
|
|
|
Release: 13
|
2006-12-19 00:16:35 +01:00
|
|
|
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
|
2010-01-14 16:11:43 +01:00
|
|
|
Source2: baselibs.conf
|
2006-12-19 00:16:35 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2008-11-28 15:01:28 +01:00
|
|
|
This Library allows manipulatng GIF Image files. Since the LZW patents
|
|
|
|
have expired, giflib can be used instead of libungif again.
|
2006-12-19 00:16:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Toshio Kuratomi <badger@prtr-13.ucsc.edu>
|
|
|
|
Eric S. Raymond >esr@snark.thyrsus.com>
|
|
|
|
|
|
|
|
%package progs
|
2010-01-14 16:11:43 +01:00
|
|
|
License: MIT
|
2006-12-19 00:16:35 +01:00
|
|
|
Summary: Tools for Working with the GIF Library
|
|
|
|
Group: Productivity/Graphics/Convertors
|
2008-04-10 14:16:13 +02:00
|
|
|
AutoReqProv: on
|
2006-12-19 00:16:35 +01:00
|
|
|
Provides: ungif
|
|
|
|
Obsoletes: ungif
|
|
|
|
|
|
|
|
%description progs
|
|
|
|
A tool for converting GIFs to various formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Toshio Kuratomi <badger@prtr-13.ucsc.edu>
|
|
|
|
Eric S. Raymond >esr@snark.thyrsus.com>
|
|
|
|
|
|
|
|
%package devel
|
2010-01-14 16:11:43 +01:00
|
|
|
License: MIT
|
2006-12-19 00:16:35 +01:00
|
|
|
Summary: Library for Working with GIF Images - Files Mandatory for Development
|
2008-04-10 14:16:13 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-09-05 02:24:38 +02:00
|
|
|
Requires: %name = %version
|
2008-11-28 15:01:28 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: giflib-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2006-12-19 00:16:35 +01:00
|
|
|
|
|
|
|
%description devel
|
2008-11-28 15:01:28 +01:00
|
|
|
This Library allows manipulatng GIF Image files. Since the LZW patents
|
|
|
|
have expired, giflib can be used instead of libungif again.
|
2006-12-19 00:16:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Toshio Kuratomi <badger@prtr-13.ucsc.edu>
|
|
|
|
Eric S. Raymond >esr@snark.thyrsus.com>
|
|
|
|
|
|
|
|
%prep
|
2008-09-05 02:24:38 +02:00
|
|
|
%setup -q
|
2006-12-19 00:16:35 +01:00
|
|
|
|
|
|
|
%build
|
2008-09-05 02:24:38 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure --disable-static --with-pic --x-libraries=%{_libdir}
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2006-12-19 00:16:35 +01:00
|
|
|
|
|
|
|
%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
|
2008-09-05 02:24:38 +02:00
|
|
|
#ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
find doc -name "Makefile*" -print -delete
|
2006-12-19 00:16:35 +01:00
|
|
|
|
2008-09-05 02:24:38 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2006-12-19 00:16:35 +01:00
|
|
|
|
2008-09-05 02:24:38 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-19 00:16:35 +01:00
|
|
|
|
|
|
|
%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/*
|
|
|
|
|
2008-04-10 14:16:13 +02:00
|
|
|
%changelog
|