Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
ghostscript
> ghostscript.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ghostscript.spec of Package ghostscript
%define majver %(echo %version | cut -d. -f 1-2) Name: ghostscript Version: 10.03.0 Release: 1 Summary: The GPL release of the Ghostscript interpreter Group: Applications/Publishing URL: http://www.ghostscript.com/awki Source: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz License: GPL BuildRequires: libtasn1-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Ghostscript is a package of software that provides: - An interpreter for the PostScript (TM) language, with the ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in; - An interpreter for Portable Document Format (PDF) files, with the same abilities; - The ability to convert PostScript language files to PDF (with some limitations) and vice versa; and - A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF. %package devel Summary: Headers and static libraries for development with Ghostscript Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel - An interpreter for the PostScript (TM) language, with the ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in; - An interpreter for Portable Document Format (PDF) files, with the same abilities; - The ability to convert PostScript language files to PDF (with some limitations) and vice versa; and - A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF. Headers and static libraries for development with Ghostscript. %package cups Summary: ESP Ghostscript Support for CUPS Group: Applications/Publishing Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description cups ESP Ghostscript support for the Common UNIX Printing System ("CUPS"). This package is required to support non-PostScript printers with CUPS. %prep %setup -q %build export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" %configure \ --enable-dynamic \ --disable-gtk \ --disable-compile-inits \ --with-drivers=ALL \ --with-system-libtiff \ --disable-hidden-visibility make -j1 prefix=%{_prefix} make -j1 so prefix=%{_prefix} cd ijs sed -i "s|AM_PROG_CC_STDC|AC_PROG_CC|" configure.ac aclocal ./autogen.sh || automake --add-missing && autoreconf -f ./configure --enable-shared --enable-static make prefix=%{_prefix} cd .. %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" make install soinstall DESTDIR=%{buildroot} # install ijs cd ijs %makeinstall cd .. %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/dvipdf %{_bindir}/eps2eps %{_bindir}/gs %{_bindir}/gsc %{_bindir}/gsbj %{_bindir}/gsdj %{_bindir}/gsdj500 %{_bindir}/gslj %{_bindir}/gslp %{_bindir}/gsnd %{_bindir}/lprsetup.sh %{_bindir}/pdf2dsc %{_bindir}/pdf2ps %{_bindir}/pf2afm %{_bindir}/pfbtopfa %{_bindir}/pphs %{_bindir}/printafm %{_bindir}/ps2ascii %{_bindir}/ps2epsi %{_bindir}/ps2pdf %{_bindir}/ps2pdf12 %{_bindir}/ps2pdf13 %{_bindir}/ps2pdf14 %{_bindir}/ps2pdfwr %{_bindir}/ps2ps %{_bindir}/ps2ps2 %{_bindir}/unix-lpr.sh %{_datadir}/ghostscript %{_libdir}/libgs.so.* %{_libdir}/libijs-*.so* %{_bindir}/gsx %{_mandir}/man1/* %files devel %defattr(-,root,root) %{_bindir}/ijs_client_example %{_bindir}/ijs_server_example %dir %{_includedir}/ghostscript %{_includedir}/ghostscript/*.h %dir %{_includedir}/ijs %{_includedir}/ijs/ijs.h %{_includedir}/ijs/ijs_client.h %{_includedir}/ijs/ijs_server.h %{_libdir}/libijs.a %{_libdir}/libijs.la %{_libdir}/libijs.so %{_libdir}/libgs.so %{_libdir}/pkgconfig/ijs.pc %changelog