Name: podofo0.9 Version: 0.9.8 Release: 5%{?dist} Summary: Podofo 0.9.x compatibility library # The library is licensed under the LGPL. # The tests and tools which are included in PoDoFo are licensed under the GPL. # See the files COPYING and COPYING.LIB for details, see COPYING.exception. License: GPL-2.0-or-later and LGPL-2.0-or-later WITH LGPL-3.0-linking-exception URL: http://podofo.sourceforge.net Source0: http://downloads.sourceforge.net/podofo/podofo-%{version}.tar.gz # Fix failure to detect FreeType Patch0: podofo-0.9.4-freetype.patch # Downstream patch for CVE-2019-20093 # https://sourceforge.net/p/podofo/tickets/75/ Patch20: podofo_CVE-2019-20093.patch # https://sourceforge.net/p/podofo/tickets/101/ Patch22: podofo_maxbytes.patch # Comment out some asserts in the testsuite which fail to build with gcc12 Patch23: podofo-gcc12.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: libidn-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: openssl-devel BuildRequires: zlib-devel %description Podofo 0.9.x compatibility library. %package libs Summary: Runtime library for %{name} %description libs Runtime library for %{name}. %package devel Summary: Development files for %{name} library Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: openssl-devel%{?_isa} Conflicts: podofo-devel %description devel Development files for the %{name} library. %package tools Summary: Tools for %{name} %description tools Tools for %{name}. %prep %autosetup -p1 -n podofo-%{version} # switch to system provided files rm cmake/modules/FindFREETYPE.cmake rm cmake/modules/FindZLIB.cmake %build %cmake \ %if 0%{?__isa_bits} == 64 -DWANT_LIB64=1 \ %endif -DPODOFO_BUILD_SHARED=1 %cmake_build %install %cmake_install %files libs %license COPYING.LIB COPYING.exception %{_libdir}/*.so.0.9.8 %files devel %{_includedir}/podofo/ %{_libdir}/*.so %{_libdir}/pkgconfig/libpodofo.pc %files tools %{_bindir}/podofo* %{_mandir}/man1/podofo*.1* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.9.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Mar 04 2024 Sandro Mani - 0.9.8-4 - Add tools * Thu Jan 25 2024 Fedora Release Engineering - 0.9.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.9.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 15 2023 Sandro Mani - 0.9.8-5 - Initial compat package