giflib/giflib.spec

101 lines
2.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:40:34 -04:00
Name: giflib
2020-05-11 22:29:33 +08:00
Version: 5.2.1
2024-05-14 18:07:42 +08:00
Release: 5
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/
2020-05-11 22:29:33 +08:00
Source: http://downloads.sourceforge.net/giflib/giflib-%{version}.tar.gz
2019-09-30 10:40:34 -04:00
2020-05-11 22:29:33 +08:00
Patch6001: giflib_quantize.patch
Patch6002: giflib_coverity.patch
Patch6003: giflib_html-docs-consistent-ids.patch
2022-06-16 10:33:00 +08:00
Patch6004: CVE-2022-28506.patch
2023-09-15 23:49:46 +08:00
Patch6005: CVE-2023-39742.patch
2024-05-14 18:07:42 +08:00
Patch6006: CVE-2021-40633.patch
2019-09-30 10:40:34 -04:00
2020-05-11 22:29:33 +08:00
BuildRequires: make xmlto gcc
provides: giflib-utils = %{name}-%{version}
Obsoletes: giflib-utils < %{name}-%{version}
2019-09-30 10:40:34 -04:00
%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.
2021-05-20 14:03:23 +08:00
%package utils
Summary: Programs for manipulating GIF format image files
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
The giflib-utils package contains various programs for manipulating GIF
format image files.
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
2020-05-11 22:29:33 +08:00
%make_build CFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}"
2019-09-30 10:40:34 -04:00
%install
2020-05-11 22:29:33 +08:00
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
rm -f %{buildroot}%{_libdir}/libgif.a
2019-09-30 10:40:34 -04:00
%ldconfig_scriptlets
%files
2019-12-26 15:16:43 +08:00
%defattr(-,root,root)
2020-05-11 22:29:33 +08:00
%doc ChangeLog NEWS README
2019-12-26 15:16:43 +08:00
%license COPYING
2019-09-30 10:40:34 -04:00
%{_libdir}/libgif.so.7*
%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*
2021-05-20 14:03:23 +08:00
%files utils
%{_bindir}/gif*
2019-09-30 10:40:34 -04:00
%changelog
2024-05-14 18:07:42 +08:00
* Tue May 14 2024 liwenjie <liwenjie@kylinos.cn> - 5.2.1-5
- Fix CVE-2021-40633
2023-09-15 23:49:46 +08:00
* Fri Sep 15 2023 Funda Wang <fundawang@yeah.net> - 5.2.1-4
- Fix CVE-2023-39742
2022-06-16 10:33:00 +08:00
* Thu Jun 16 2022 duyiwei <duyiwei@kylinos.cn> - 5.2.1-3
- fix CVE-2022-28506
2021-05-20 14:03:23 +08:00
* Thu May 20 2021 liuyumeng <liuyumeng5@huawei.com> - 5.2.1-2
- ADD a package named utils
2020-05-11 22:29:33 +08:00
* Tue Apr 14 2020 zhangrui <zhangrui182@huawei.com> - 5.2.1-1
- Update to 5.2.1
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