Name: libspectre Version: 0.2.8 Release: 10 Summary: A small library for rendering Postscript documents License: GPLv2+ URL: http://libspectre.freedesktop.org Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz BuildRequires: libgs-devel Patch0: 0001-sync-state-what-lib-is-printing-the-error.patch Patch1: 0002-sync-Fix-crash-with-malformed-document.patch %description Libspectre is a small library for rendering Postscript documents. It provides a convenient easy to use API for handling and rendering Postscript documents. %package devel Summary: Development files for libspectre Requires: %{name} = %{version}-%{release} %description devel The libspectre-devel package contains libraries and header files for developing applications that use libspectre. %prep %autosetup -n %{name}-%{version} -p1 %build %configure --disable-silent-rules --disable-static %make_build %install %make_install %delete_la %post /sbin/ldconfig %postun /sbin/ldconfig %files %doc AUTHORS NEWS README TODO COPYING %{_libdir}/libspectre.so.1* %files devel %{_includedir}/libspectre/ %{_libdir}/libspectre.so %{_libdir}/pkgconfig/libspectre.pc %changelog * Mon Jul 10 2023 zhangxin - 0.2.8-10 - Fix crash with malformed document * Mon Jul 10 2023 zhangxin - 0.2.8-9 - state what lib is printing the error * Wed Nov 27 2019 Jiangping Hu - 0.2.8-8 - Package init