Name: pstoedit Version: 4.00 Release: 3%{?dist} Summary: Translates PostScript and PDF graphics into other vector formats License: GPLv2+ URL: http://www.pstoedit.net Source0: https://sourceforge.net/projects/pstoedit/files/pstoedit/%{version}/pstoedit-%{version}.tar.gz # Fix cflags of the pkg-config file Patch0: pstoedit-pkglibdir.patch # drvpptx.cpp:68:1: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? Patch1: pstoedit-fix-gcc12.patch # C++ loadpstoeditplugins declaration breaks C compilation (e.g. autotrace) # https://sourceforge.net/p/pstoedit/patches/5/ Patch2: pstoedit-fix-plainC.patch BuildRequires: make BuildRequires: gd-devel BuildRequires: dos2unix BuildRequires: ghostscript BuildRequires: plotutils-devel BuildRequires: %{?dts}gcc-c++, %{?dts}gcc BuildRequires: libzip-devel %if ! (0%{?rhel} >= 8) BuildRequires: ImageMagick-c++-devel %endif BuildRequires: libEMF-devel Requires: ghostscript%{?_isa} %description Pstoedit converts PostScript and PDF files to various vector graphic formats. The resulting files can be edited or imported into various drawing packages. Pstoedit comes with a large set of integrated format drivers %package devel Summary: Headers for developing programs that will use %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the header files needed for developing %{name} applications %prep %autosetup -N %patch -P 0 -p1 %if 0%{?fedora} || 0%{?rhel} > 9 %patch -P 1 -p1 %endif %patch -P 2 -p1 dos2unix doc/*.htm doc/readme.txt %build %configure --disable-static --enable-docs=no --with-libzip-include=%{_includedir} \ --with-magick --with-libplot %make_build %install %make_install mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 install -pm 644 doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %files %doc doc/readme.txt doc/pstoedit.htm doc/changelog.htm doc/pstoedit.pdf %license copying %{_datadir}/pstoedit/ %{_mandir}/man1/* %{_bindir}/pstoedit %{_libdir}/libpstoedit.so.0.0.0 %{_libdir}/libpstoedit.so.0 %{_libdir}/pstoedit/ %files devel %doc doc/changelog.htm %{_includedir}/pstoedit/ %{_libdir}/libpstoedit.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %changelog * Fri Jul 21 2023 Yaakov Selkowitz - 4.00-3 - Fix C usage of pstoedit.h * Fri Jul 21 2023 Fedora Release Engineering - 4.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 20 2023 Antonio Trande - 4.00-1 - Release 4.00 * Fri Jan 20 2023 Fedora Release Engineering - 3.78-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 05 2023 Neal Gompa - 3.78-6 - Rebuild for ImageMagick 7 * Fri Jul 22 2022 Fedora Release Engineering - 3.78-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri May 20 2022 Sérgio Basto - 3.78-4 - ImageMagick is not intended to be on RHEL >= 8 (just on EPEL) * Wed May 11 2022 Sérgio Basto - 3.78-3 - Fix commit dfc84e9 but ImageMagick is now available on EPEL 8 and EPEL 9 * Fri Jan 21 2022 Fedora Release Engineering - 3.78-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Add fix for GCC-12 * Tue Nov 23 2021 Antonio Trande - 3.78-1 - Release 3.78 * Sat Sep 04 2021 Antonio Trande - 3.77-1 - Release 3.77 * Mon Aug 30 2021 Antonio Trande - 3.76-1 - Release 3.76 * Fri Jul 23 2021 Fedora Release Engineering - 3.75-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Zbigniew Jędrzejewski-Szmek - 3.75-3 - Drop dependency on ming (it has been orphaned and will be retired today) * Wed Jan 27 2021 Fedora Release Engineering - 3.75-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 07 2021 Tomas Popela - 3.75-2 - Disable ImageMagick support in ELN/RHEL 8+ as ImageMagick isn't part of it * Mon Oct 05 2020 Antonio Trande - 3.75-1 - Rebase to 3.75 * Sat Aug 01 2020 Fedora Release Engineering - 3.73-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 3.73-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 3.73-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 3.73-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 3.73-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 24 2018 Sebastian Kisela - 3.73-3 - Add explicit gcc-c++ BuildRequires, as it has been removed from the buildroot default packages set. * Fri Jul 13 2018 Fedora Release Engineering - 3.73-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 09 2018 Sebastian Kisela - 3.73-1 - Rebase to 3.73 - Add automake call to regenerate Makefile, as libpstoedit.so was not generated at the right time. * Mon Apr 16 2018 Sebastian Kisela - 3.70-11 - Revert back due to unnoticed ABI changes * Fri Apr 13 2018 Sebastian Kisela - 3.70-10 - Drop unused libpng dependency * Fri Feb 09 2018 Fedora Release Engineering - 3.70-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 3.70-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 3.70-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 3.70-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 3.70-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jul 27 2015 Jiri Popelka - 3.70-4 - correctly load plugins (#1247187) * Thu Jun 18 2015 Fedora Release Engineering - 3.70-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 3.70-2 - Rebuilt for GCC 5 C++11 ABI change * Mon Jan 05 2015 Jiri Popelka - 3.70-1 - 3.70 * Sun Aug 17 2014 Fedora Release Engineering - 3.62-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.62-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 3.62-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jun 11 2013 Remi Collet - 3.62-2 - rebuild for new GD 2.1.0 * Mon Apr 29 2013 Jiri Popelka - 3.62-1 - 3.62 - remove autoreconf * Mon Mar 25 2013 Jiri Popelka - 3.61-3 - Run autoreconf prior to running configure (#926382) * Thu Feb 14 2013 Fedora Release Engineering - 3.61-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Aug 28 2012 Jiri Popelka - 3.61-1 - 3.61 * Sat Jul 21 2012 Fedora Release Engineering - 3.60-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 3.60-4 - Rebuilt for c++ ABI breakage * Sat Jan 14 2012 Fedora Release Engineering - 3.60-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Oct 18 2011 Jiri Popelka - 3.60-2 - Correct source url. * Mon Aug 29 2011 Jiri Popelka - 3.60-1 - Update to new upstream 3.60, bugfix release - Remove Rpath * Wed Feb 09 2011 Fedora Release Engineering - 3.45-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jul 26 2009 Fedora Release Engineering - 3.45-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jul 9 2009 Denis Leroy - 3.45-8 - Fix parallel build (#510281) - Remove ImageMagick support, to work around bug 507035 * Tue Mar 10 2009 Denis Leroy - 3.45-7 - Removed EMF BR for ia64 arch (#489412) - Rebuild for ImageMagick * Thu Feb 26 2009 Fedora Release Engineering - 3.45-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 7 2009 Denis Leroy - 3.45-5 - Added patch for improved asymptote support (#483503) - Added patch to fix incorrect cpp directive * Wed Sep 24 2008 Denis Leroy - 3.45-4 - Fixed cxxflags patch fuziness issue * Wed May 14 2008 Denis Leroy - 3.45-3 - Rebuild for new ImageMagick * Sun Feb 17 2008 Denis Leroy - 3.45-2 - Added patch for gcc 4.3 rebuild * Thu Sep 20 2007 Denis Leroy - 3.45-1 - Update to new upstream 3.45, bugfix release - Updated quiet patch for 3.45 * Mon Aug 20 2007 Denis Leroy - 3.44-7 - License tag update * Sun Mar 25 2007 Denis Leroy - 3.44-6 - Added patch to add -quiet option * Wed Nov 22 2006 Denis Leroy - 3.44-5 - Added libEMF support * Mon Aug 28 2006 Denis Leroy - 3.44-4 - FE6 Rebuild * Fri Aug 18 2006 Denis Leroy - 3.44-3 - Added svg/libplot support * Thu Jun 15 2006 Denis Leroy - 3.44-2 - Added missing Requires and BuildRequires - Patched configure to prevent CXXFLAGS overwrite * Thu Jun 8 2006 Denis Leroy - 3.44-1 - First version