- Upgrade to 5.0.5 (#822844)
- Tight run-time dependencies between sub-packages via %{?_isa} - Only obsolete but no longer provide any libungif packages
This commit is contained in:
parent
cb4be3da23
commit
48f0569c4a
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
giflib-4.1.6.tar.bz2
|
||||
/giflib-?.?.?.tar.bz2
|
||||
|
40
giflib.spec
40
giflib.spec
@ -1,27 +1,24 @@
|
||||
Summary: Library for manipulating GIF format image files
|
||||
Name: giflib
|
||||
Version: 4.1.6
|
||||
Release: 9%{?dist}
|
||||
Version: 5.0.5
|
||||
Release: 1%{?dist}
|
||||
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)
|
||||
|
||||
%description
|
||||
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.
|
||||
The giflib package contains a shared library of functions for reading GIF
|
||||
files, transforming them into RGB bitmaps and and for writing RGB bitmaps
|
||||
as GIF files.
|
||||
|
||||
%package devel
|
||||
Summary: Development tools for programs using the giflib library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: libungif-devel = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: libungif-devel <= %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
@ -32,8 +29,7 @@ image files. It contains the documentation of the giflib library, too.
|
||||
%package utils
|
||||
Summary: Programs for manipulating GIF format image files
|
||||
Group: Applications/Multimedia
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: libungif-progs = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: libungif-progs <= %{version}-%{release}
|
||||
|
||||
%description utils
|
||||
@ -48,24 +44,16 @@ files.
|
||||
%configure
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
# Handling of libungif compatibility
|
||||
MAJOR=`echo '%{version}' | sed -e 's/\([0-9]\+\)\..*/\1/'`
|
||||
%{__cc} $RPM_OPT_FLAGS -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.%{version}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
||||
|
||||
# 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
|
||||
make -C doc DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install-man
|
||||
|
||||
# Don't install any static .a and libtool .la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
||||
|
||||
# Remove makefile relics from documentation
|
||||
rm -f doc/Makefile*
|
||||
# Clean up for later usage in documentation
|
||||
rm -f doc/Makefile* doc/*.1
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -81,15 +69,21 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/* util/giffiltr.c util/gifspnge.c
|
||||
%doc doc/* util/giffilter.c util/gifsponge.c
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/*.h
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 25 2013 Robert Scheck <robert@fedoraproject.org> 5.0.5-1
|
||||
- Upgrade to 5.0.5 (#822844)
|
||||
- Tight run-time dependencies between sub-packages via %%{?_isa}
|
||||
- Only obsolete but no longer provide any libungif packages
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.6-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user