Revert "- Upgrade to 5.0.5 (#822844)"
Revert this for the time being as it needs to be properly planned and as it's not in rawhide yet it'll likely just break things if it gets built in something like a mass rebuild
This reverts commit 48f0569c4a
.
This commit is contained in:
parent
48f0569c4a
commit
2d3809225d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/giflib-?.?.?.tar.bz2
|
||||
giflib-4.1.6.tar.bz2
|
||||
|
40
giflib.spec
40
giflib.spec
@ -1,24 +1,27 @@
|
||||
Summary: Library for manipulating GIF format image files
|
||||
Name: giflib
|
||||
Version: 5.0.5
|
||||
Release: 1%{?dist}
|
||||
Version: 4.1.6
|
||||
Release: 9%{?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 reading GIF
|
||||
files, transforming them into RGB bitmaps and and for writing RGB bitmaps
|
||||
as GIF files.
|
||||
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.
|
||||
|
||||
%package devel
|
||||
Summary: Development tools for programs using the giflib library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: libungif-devel = %{version}-%{release}
|
||||
Obsoletes: libungif-devel <= %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
@ -29,7 +32,8 @@ 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}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: libungif-progs = %{version}-%{release}
|
||||
Obsoletes: libungif-progs <= %{version}-%{release}
|
||||
|
||||
%description utils
|
||||
@ -44,16 +48,24 @@ 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
|
||||
make -C doc DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install-man
|
||||
|
||||
# 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
|
||||
|
||||
# Don't install any static .a and libtool .la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
||||
|
||||
# Clean up for later usage in documentation
|
||||
rm -f doc/Makefile* doc/*.1
|
||||
# Remove makefile relics from documentation
|
||||
rm -f doc/Makefile*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -69,21 +81,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/* util/giffilter.c util/gifsponge.c
|
||||
%doc doc/* util/giffiltr.c util/gifspnge.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