libXpm/libXpm.spec
zhouwenpei 50ff09f881 fix CVE-2022-44617,CVE-2022-46285,CVE-2022-4883
(cherry picked from commit 6e276b4a75e651299949528d7668f9b8d7d3b8e4)
2023-02-01 16:38:14 +08:00

86 lines
2.0 KiB
RPMSpec

Name: libXpm
Version: 3.5.13
Release: 2
License: MIT
Summary: X.Org X11 libXpm runtime library
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
Patch6000: backport-0001-CVE-2022-44617.patch
Patch6001: backport-0002-CVE-2022-44617.patch
Patch6002: backport-CVE-2022-46285.patch
Patch6003: backport-0001-CVE-2022-4883.patch
Patch6004: backport-0002-CVE-2022-4883.patch
Patch6005: backport-0003-CVE-2022-4883.patch
BuildRequires: xorg-x11-util-macros autoconf automake libtool
BuildRequires: gettext libXau-devel libXext-devel libXt-devel
BuildRequires: ncompress
%description
X.Org X11 libXpm runtime library
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ivf
%configure
%make_build
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING COPYRIGHT
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_includedir}/X11/*.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%files help
%defattr(-,root,root)
%{_mandir}/man1/*.1*
%changelog
* Wed Feb 01 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 3.5.13-2
- fix CVE-2022-44617,CVE-2022-46285,CVE-2022-4883
* Mon Aug 17 2020 jinzhimin <jinzhimin2@huawei.com> - 3.5.13-1
- update libXpm version from 3.5.12 to 3.5.13
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-11
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
* Wed Oct 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-10
- Type:enhancement
- ID:NA
- SUG:NA
DESC:add COPYRIGHT
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.5.12-9
- Package init