2019-09-30 10:40:34 -04:00
|
|
|
Name: giflib
|
|
|
|
|
Version: 5.1.4
|
2020-01-15 02:04:41 +08:00
|
|
|
Release: 6
|
2019-09-30 10:40:34 -04:00
|
|
|
Summary: A library and utilities for processing GIFs
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.sourceforge.net/projects/giflib/
|
|
|
|
|
Source: http://downloads.sourceforge.net/giflib/giflib-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
Patch6000: CVE-2016-3977.patch
|
2019-12-25 15:46:31 +08:00
|
|
|
Patch6001: CVE-2019-15133.patch
|
|
|
|
|
Patch6002: CVE-2018-11490.patch
|
2019-09-30 10:40:34 -04:00
|
|
|
|
|
|
|
|
BuildRequires: make xmlto
|
|
|
|
|
provides: giflib-utils
|
|
|
|
|
Obsoletes: giflib-utils
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
giflib is a library of gif images and provides utilities for processing images.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: files for developing programs which use the giflib library
|
2020-01-15 02:04:41 +08:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2019-09-30 10:40:34 -04:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
development header files, libraries for programs using the giflib library.
|
|
|
|
|
|
2019-12-26 15:16:43 +08:00
|
|
|
%package_help
|
2019-09-30 10:40:34 -04:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
rm -f doc/Makefile*
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
2019-12-26 15:16:43 +08:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
|
|
|
%license COPYING
|
2019-09-30 10:40:34 -04:00
|
|
|
%{_libdir}/libgif.so.7*
|
|
|
|
|
%exclude %{_libdir}/*.{a,la}
|
|
|
|
|
%{_bindir}/gif*
|
|
|
|
|
|
|
|
|
|
%files devel
|
2019-12-26 15:16:43 +08:00
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:40:34 -04:00
|
|
|
%doc doc/*
|
|
|
|
|
%{_libdir}/libgif.so
|
|
|
|
|
%{_includedir}/gif_lib.h
|
|
|
|
|
|
|
|
|
|
%files help
|
2019-12-26 15:16:43 +08:00
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:40:34 -04:00
|
|
|
%{_mandir}/man1/gif*.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-01-15 02:04:41 +08:00
|
|
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.1.4-6
|
|
|
|
|
- add the require for devel
|
|
|
|
|
|
2019-12-26 15:16:43 +08:00
|
|
|
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.1.4-5
|
|
|
|
|
- change the path of files
|
|
|
|
|
|
2019-12-25 15:46:31 +08:00
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.1.4-4
|
|
|
|
|
- Type:cves
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Add CVE patches
|
|
|
|
|
|
2019-09-30 10:40:34 -04:00
|
|
|
* Tue Sep 10 2019 Lijin Yang <yanglijin@huawei.com> - 5.1.4-3
|
2019-12-25 15:46:31 +08:00
|
|
|
- Package init
|