diff options
Diffstat (limited to 'redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec')
-rw-r--r-- | redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec index bf3ed3513..c374e03a6 100644 --- a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec +++ b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec @@ -63,7 +63,7 @@ Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Patch0: %{tde_pkg}-%{tde_version}.patch +Patch0: %{tde_pkg}-14.0.0.patch BuildRequires: trinity-tdelibs-devel >= %{tde_version} @@ -83,6 +83,10 @@ BuildRequires: libtool-ltdl-devel # TRANSFIG support BuildRequires: transfig +# GHOSTSCRIPT support +%define with_ghostscript 1 +BuildRequires: ghostscript + # GETTEXT support BuildRequires: gettext BuildRequires: gettext-devel @@ -120,6 +124,9 @@ BuildRequires: xmedcon-devel # RSVG support %if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %define with_svg 1 +%if 0%{?rhel} == 5 +BuildRequires: librsvg2-devel +%endif %if 0%{?fedora} || 0%{?rhel} BuildRequires: librsvg2 %endif @@ -198,8 +205,10 @@ This package contains the runtime libraries for KSquirrel. %{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 %{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 %endif +%if 0%{?with_ghostscript} %{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 %{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 +%endif %{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 %{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 %{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 @@ -358,8 +367,10 @@ This package contains the development libraries for KSquirrel. %{tde_libdir}/ksquirrel-libs/libkls_djvu.la %{tde_libdir}/ksquirrel-libs/libkls_djvu.so %endif +%if 0%{?with_ghostscript} %{tde_libdir}/ksquirrel-libs/libkls_eps.la %{tde_libdir}/ksquirrel-libs/libkls_eps.so +%endif %{tde_libdir}/ksquirrel-libs/libkls_fig.la %{tde_libdir}/ksquirrel-libs/libkls_fig.so %{tde_libdir}/ksquirrel-libs/libkls_fli.la |