Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
libXpm
libXpm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libXpm.spec of Package libXpm
# # spec file for package libXpm # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libXpm %define lname libXpm4 Version: 3.5.11 Release: 0 Summary: X Pixmap image file format library License: MIT Group: Development/Libraries/C and C++ URL: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXpm #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXpm/ Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 Patch0: U_Avoid-OOB-write-when-handling-malicious-XPM-files.patch Patch1207000: U_0000-Update-README-for-gitlab-migration.patch Patch1207001: U_0001-configure-add-disable-open-zfile-instead-of-requirin.patch Patch1207029: U_0002-Fix-CVE-2022-46285-Infinite-loop-on-unclosed-comment.patch Patch1207030: U_0004-Fix-CVE-2022-44617-Runaway-loop-with-width-of-0-and-.patch Patch1207031: U_0005-Fix-CVE-2022-4883-compression-commands-depend-on-PAT.patch Patch1207129: U_regression-bug1207029_1207030_1207031.patch Patch1207130: U_regression2-bug1207029_1207030_1207031.patch Patch1215690: U_0000-test-Add-unit-tests-using-glib-framework.patch Patch1215691: U_0001-Fix-CVE-2023-43788-Out-of-bounds-read-in-XpmCreateXp.patch Patch1215692: U_0002-test-Add-test-case-for-CVE-2023-43789-corrupt-colorm.patch Patch1215693: U_0003-Fix-CVE-2023-43789-Out-of-bounds-read-on-XPM-with-co.patch Patch1215694: U_0004-test-Add-test-case-for-CVE-2023-43786-stack-exhausti.patch Patch1215695: U_0005-Avoid-CVE-2023-43786-stack-exhaustion-in-XPutImage.patch Patch1215696: U_0006-test-Add-test-case-for-CVE-2023-43787-integer-overfl.patch Patch1215697: U_0007-Avoid-CVE-2023-43787-integer-overflow-in-XCreateImag.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: autoconf BuildRequires: automake BuildRequires: gzip BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xextproto) BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) >= 7.0.17 BuildRequires: pkgconfig(xt) %description libXpm facilitates working with XPM (X PixMap), a format for storing/retrieving X pixmaps to/from files. %package -n %lname Summary: X Pixmap image file format library Group: System/Libraries %description -n %lname libXpm facilitates working with XPM (X PixMap), a format for storing/retrieving X pixmaps to/from files. %package devel Summary: Development files for the X Pixmap image file format library Group: Development/Libraries/C and C++ Requires: %lname = %version # O/P added for 12.2 Provides: xorg-x11-libXpm-devel = 7.6_%version-%release Obsoletes: xorg-x11-libXpm-devel < 7.6_%version-%release %description devel libXpm facilitates working with XPM (X PixMap), a format for storing/retrieving X pixmaps to/from files. This package contains the development headers for the library found in %lname. %package tools Summary: Conversion utilities for X Pixmap (XPM) files Group: Productivity/Graphics/Convertors # O/P added for 12.2 Provides: xorg-x11-libXpm = 7.6_%version-%release Obsoletes: xorg-x11-libXpm < 7.6_%version-%release %description tools The spxm tool converts XPM1/XPM2 files to XPM version 3. The cxpm tool will check whether an XPM file is correct or not with regard to its format. %prep %setup -q %patch0 -p1 %patch1207000 -p1 %patch1207001 -p1 %patch1207029 -p1 %patch1207030 -p1 %patch1207031 -p1 %patch1207129 -p1 %patch1207130 -p1 %patch1215690 -p1 %patch1215691 -p1 %patch1215692 -p1 %patch1215693 -p1 %patch1215694 -p1 %patch1215695 -p1 %patch1215696 -p1 %patch1215697 -p1 %build autoreconf -fi %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/*.la %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %_libdir/libXpm.so.4* %files devel %defattr(-,root,root) %_includedir/X11/* %_libdir/libXpm.so %_libdir/pkgconfig/xpm.pc %files tools %defattr(-,root,root) %_bindir/cxpm %_bindir/sxpm %_mandir/man1/cxpm.1* %_mandir/man1/sxpm.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor