Name: pstoedit Version: 3.73 Release: 4 Summary: Translates PostScript and PDF graphics into other vector formats License: GPLv2+ URL: http://www.pstoedit.net/ Source0: http://downloads.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz Requires: ghostscript BuildRequires: texlive-latex2man texlive-latex texlive-collection-langeuropean BuildRequires: texlive-collection-latex gd-devel dos2unix ghostscript BuildRequires: plotutils-devel automake gcc-c++ libEMF-devel %description Postoedit translates PostScript and PDF graphics into other vector formats. %package devel Summary: Header files and libraries for the pstoedit Requires: %{name} = %{version}-%{release} %description devel The package contains header files and libraries which are needed to build applications using pstoedit. %package help Summary: Man info for pstoedit %description help The package contains man information for pstoedit. %prep %autosetup -p1 aclocal automake %build %configure --disable-static --with-emf --without-swf --without-magick sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %install %make_install install -D doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %delete_la %post /sbin/ldconfig %postun /sbin/ldconfig %files %doc copying doc/changelog.htm %{_datadir}/pstoedit %{_bindir}/pstoedit %{_libdir}/*.so.* %{_libdir}/pstoedit %files devel %{_includedir}/pstoedit %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %files help %{_docdir}/pstoedit/{readme.txt,pstoedit.pdf,pstoedit.htm} %{_mandir}/man1/* %changelog * Thu Dec 12 2019 lijin Yang - 3.73-4 - init package