Blame SPECS/libXpm.spec

77b2d5
Summary: X.Org X11 libXpm runtime library
77b2d5
Name: libXpm
77b2d5
Version: 3.5.12
2824cf
Release: 9%{?dist}
77b2d5
License: MIT
77b2d5
Group: System Environment/Libraries
77b2d5
URL: http://www.x.org
77b2d5
77b2d5
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
77b2d5
77b2d5
BuildRequires: xorg-x11-util-macros
77b2d5
BuildRequires: autoconf automake libtool
77b2d5
BuildRequires: gettext
77b2d5
BuildRequires: pkgconfig(xext) pkgconfig(xt) pkgconfig(xau)
2824cf
BuildRequires: ncompress gzip
77b2d5
cdf37b
Patch0: 0001-After-fdopen-use-fclose-instead-of-close-in-error-pa.patch
cdf37b
2824cf
# CVE-2022-46285
2824cf
Patch0001: 0001-Fix-CVE-2022-46285-Infinite-loop-on-unclosed-comment.patch
2824cf
# CVE-2022-44617
2824cf
Patch0002: 0002-Fix-CVE-2022-44617-Runaway-loop-with-width-of-0-and-.patch
2824cf
Patch0003: 0003-Prevent-a-double-free-in-the-error-code-path.patch
2824cf
# CVE-2022-4883
2824cf
Patch0004: 0004-configure-add-disable-open-zfile-instead-of-requirin.patch
2824cf
Patch0005: 0005-Fix-CVE-2022-4883-compression-commands-depend-on-PAT.patch
2824cf
Patch0006: 0006-Use-gzip-d-instead-of-gunzip.patch
2824cf
77b2d5
%description
77b2d5
X.Org X11 libXpm runtime library
77b2d5
77b2d5
%package devel
77b2d5
Summary: X.Org X11 libXpm development package
77b2d5
Group: Development/Libraries
77b2d5
Requires: %{name} = %{version}-%{release}
77b2d5
77b2d5
%description devel
77b2d5
X.Org X11 libXpm development package
77b2d5
77b2d5
%prep
77b2d5
%setup -q
cdf37b
%patch0 -p1 -b .covscan
2824cf
%patch0001 -p1
2824cf
%patch0002 -p1
2824cf
%patch0003 -p1
2824cf
%patch0004 -p1
2824cf
%patch0005 -p1
2824cf
%patch0006 -p1
77b2d5
77b2d5
%build
77b2d5
autoreconf -v --install --force
77b2d5
%configure --disable-static
77b2d5
make %{?_smp_mflags}
77b2d5
77b2d5
%install
77b2d5
rm -rf $RPM_BUILD_ROOT
77b2d5
77b2d5
make install DESTDIR=$RPM_BUILD_ROOT
77b2d5
77b2d5
# We intentionally don't ship *.la files
77b2d5
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
77b2d5
77b2d5
%ldconfig_post
77b2d5
%ldconfig_postun
77b2d5
77b2d5
%files
77b2d5
%doc AUTHORS COPYING ChangeLog
77b2d5
%{_libdir}/libXpm.so.4
77b2d5
%{_libdir}/libXpm.so.4.11.0
77b2d5
77b2d5
%files devel
77b2d5
%{_bindir}/cxpm
77b2d5
%{_bindir}/sxpm
77b2d5
%{_includedir}/X11/xpm.h
77b2d5
%{_libdir}/libXpm.so
77b2d5
%{_libdir}/pkgconfig/xpm.pc
77b2d5
#%dir %{_mandir}/man1x
77b2d5
%{_mandir}/man1/*.1*
77b2d5
#%{_mandir}/man1/*.1x*
77b2d5
77b2d5
%changelog
2824cf
* Mon Jan 16 2023 Peter Hutterer <peter.hutterer@redhat.com> - 3.5.12-9
2824cf
- Fix CVE-2022-46285: infinite loop on unclosed comments (#2160229)
2824cf
- Fix CVE-2022-44617: runaway loop with width of 0 (#2160231)
2824cf
- Fix CVE-2022-4883: compression depends on $PATH (#2160239)
2824cf
2824cf
* Mon Dec 09 2019 Benjamin Tissoires <benjamin.tissoires@redhat.com> 3.5.12-8
cdf37b
- add covscan fixes (#1602606)
cdf37b
77b2d5
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-7
77b2d5
- Drop useless %%defattr
77b2d5
77b2d5
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-6
77b2d5
- Use ldconfig scriptlet macros
77b2d5
77b2d5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-5
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
77b2d5
77b2d5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-4
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
77b2d5
77b2d5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-3
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
77b2d5
77b2d5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-2
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
77b2d5
77b2d5
* Thu Jan 05 2017 Benjamin Tissoires <benjamin.tissoires@redhat.com> 3.5.12-1
77b2d5
- libXpm 3.5.12
77b2d5
77b2d5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.11-5
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
77b2d5
77b2d5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.11-4
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
77b2d5
77b2d5
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.11-3
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
77b2d5
77b2d5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.11-2
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
77b2d5
77b2d5
* Wed Feb 12 2014 Adam Jackson <ajax@redhat.com> 3.5.11-1
77b2d5
- libXpm 3.5.11
77b2d5
- Drop pre-F18 changelog
77b2d5
77b2d5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.10-5
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
77b2d5
77b2d5
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 3.5.10-4
77b2d5
- autoreconf for aarch64
77b2d5
77b2d5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.10-3
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
77b2d5
77b2d5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.10-2
77b2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
77b2d5
77b2d5
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 3.5.10-1
77b2d5
- libXpm 3.5.10