libXpm/libXpm.spec

92 lines
2.2 KiB
RPMSpec

Name: libXpm
Version: 3.5.13
Release: 4
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-4
- fix CVE-2022-44617,CVE-2022-46285,CVE-2022-4883
* Fri Nov 25 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.5.13-3
- update Correct tar file
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.5.13-2
- Rebuild for next release
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 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