From 24f013d747376aa82d3e1428b269359137b8d2af Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sun, 19 Aug 2012 18:59:10 +0200 Subject: RHEL/Fedora: updates many packaging --- redhat/libraries/libksquirrel/trinity-libksquirrel.spec | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'redhat/libraries') diff --git a/redhat/libraries/libksquirrel/trinity-libksquirrel.spec b/redhat/libraries/libksquirrel/trinity-libksquirrel.spec index 78695b135..815c83075 100644 --- a/redhat/libraries/libksquirrel/trinity-libksquirrel.spec +++ b/redhat/libraries/libksquirrel/trinity-libksquirrel.spec @@ -51,9 +51,12 @@ BuildRequires: gettext BuildRequires: gettext-devel BuildRequires: transfig BuildRequires: djvulibre +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xmedcon 1 BuildRequires: xmedcon BuildRequires: xmedcon-devel BuildRequires: librsvg +%endif BuildRequires: libwmf-devel %if 0%{?mgaversion} || 0%{?mdkversion} @@ -151,8 +154,10 @@ export PATH="%{tde_bindir}:${PATH}" %{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 %{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 %{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 +%if 0%{?with_xmedcon} %{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 %{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 +%endif %{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 %{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 %{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 @@ -281,8 +286,10 @@ export PATH="%{tde_bindir}:${PATH}" %{tde_libdir}/ksquirrel-libs/libkls_cut.so %{tde_libdir}/ksquirrel-libs/libkls_dds.la %{tde_libdir}/ksquirrel-libs/libkls_dds.so +%if 0%{?with_xmedcon} %{tde_libdir}/ksquirrel-libs/libkls_dicom.la %{tde_libdir}/ksquirrel-libs/libkls_dicom.so +%endif %{tde_libdir}/ksquirrel-libs/libkls_djvu.la %{tde_libdir}/ksquirrel-libs/libkls_djvu.so %{tde_libdir}/ksquirrel-libs/libkls_eps.la @@ -392,7 +399,9 @@ export PATH="%{tde_bindir}:${PATH}" %defattr(-,root,root,-) %{tde_bindir}/ksquirrel-libs-camera2ppm %{tde_bindir}/ksquirrel-libs-dcraw +%if 0%{?with_xmedcon} %{tde_bindir}/ksquirrel-libs-dicom2png +%endif %{tde_bindir}/ksquirrel-libs-fig2ppm %{tde_bindir}/ksquirrel-libs-iff2ppm %{tde_bindir}/ksquirrel-libs-leaf2ppm -- cgit v1.2.1