diff options
Diffstat (limited to 'redhat/applications/graphics/digikam/digikam.spec')
-rw-r--r-- | redhat/applications/graphics/digikam/digikam.spec | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/redhat/applications/graphics/digikam/digikam.spec b/redhat/applications/graphics/digikam/digikam.spec index 5c4815399..16753d951 100644 --- a/redhat/applications/graphics/digikam/digikam.spec +++ b/redhat/applications/graphics/digikam/digikam.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.1.0 +%define tde_version 14.1.2 %endif %define tde_pkg digikam %define tde_prefix /opt/trinity @@ -70,7 +70,13 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: libtool +# TIFF support +%if 0%{?mdkver} +BuildRequires: %{_lib}tiff-devel +%else BuildRequires: libtiff-devel +%endif + BuildRequires: gettext # SUSE desktop files utility @@ -92,7 +98,11 @@ BuildRequires: lcms-devel # GPHOTO2 support %if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mdkver} +BuildRequires: %{_lib}gphoto-devel +%else BuildRequires: gphoto2-devel +%endif %else BuildRequires: libgphoto2-devel %endif @@ -324,7 +334,7 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" |