# # spec file for package ghostpdl # Name: ghostpdl Summary: Implementation of the PCL-5 and PCL-XL family of page description languages Version: 9.14 Release: 9.66 License: AGPL-3.0 Url: http://www.ghostscript.com Group: Productivity/Graphics/Convertors Source: http://downloads.ghostscript.com/public/%{name}-%{version}.tar.gz # eisfair special, set gs in datadir 9.14 -> gs Patch1: gsdatadir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is an implemenation of several page description languages on top of the Ghostscript graphics library. Currently the languages PCL, PCLXL, and XPS are production quality implementations and SVG is under development and experimental. %prep %setup -q %patch1 %build # compiler optimization needs to be reduced on 10.0 (only 10.0), # builds and runs, but doesn't render some input properly %define xopts %{nil} %if 0%{?suse_version} == 1000 %define xopts XCFLAGS=-O1 %endif %configure --prefix=/usr --without-x make %{?_smp_mflags} pcl %xopts %install %__install -Dsm 0755 main/obj/pcl6 %{buildroot}%{_bindir}/pcl6 #%__install -Dsm 0755 xps/obj/gxps %{buildroot}%{_bindir}/gxps cp -a tools/pcl2pdf %{buildroot}%{_bindir}/pcl2pdf cp -a tools/pcl2pdfwr %{buildroot}%{_bindir}/pcl2pdfwr cp -a tools/plot2pdf.sh %{buildroot}%{_bindir}/plot2pdf mkdir -p %{buildroot}%{_datadir}/%{name}/urwfonts cp -a urwfonts/ %{buildroot}%{_datadir}/%{name}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/pcl6 #%{_bindir}/gxps %{_bindir}/pcl2pdf %{_bindir}/pcl2pdfwr %{_bindir}/plot2pdf %{_datadir}/%{name}/urwfonts/*.ttf %doc COPYING COPYING.AFPL LICENSE NEWS README.txt doc/ghostpdl.pdf doc/who_owns_what.txt %changelog