Branch: master

a37c6a72 2017-01-20 14:50:51 François Andriot
RPM packaging: update kipi-plugins
M redhat/libraries/kipi-plugins/kipi-plugins.spec
diff --git a/redhat/libraries/kipi-plugins/kipi-plugins.spec b/redhat/libraries/kipi-plugins/kipi-plugins.spec
index 38b0fb6..7ced295 100644
--- a/redhat/libraries/kipi-plugins/kipi-plugins.spec
+++ b/redhat/libraries/kipi-plugins/kipi-plugins.spec
@@ -100,9 +100,9 @@
 
 # LCMS support
 %if 0%{?suse_version}
-#BuildRequires: liblcms-devel
+BuildRequires: liblcms-devel
 %else
-#BuildRequires: lcms-devel
+BuildRequires: lcms-devel
 %endif
 
 # GPHOTO2 support
@@ -161,7 +161,9 @@
 SimpleviewerExport:  Export images in a nice flash movie
 GPSSync:             Geolocalize pictures
 MetadataEdit:        Edit EXIF and IPTC pictures metadata
+%if 0%{?with_gpod}
 IpodExport:          Export images to an ipod device
+%endif
 PicasaWebExport:     Export pictures to Picasa web service
 
 ##########
@@ -238,8 +240,10 @@
 %{tde_tdelibdir}/kipiplugin_gpssync.so
 %{tde_tdelibdir}/kipiplugin_htmlexport.la
 %{tde_tdelibdir}/kipiplugin_htmlexport.so
+%if 0%{?with_gpod}
 %{tde_tdelibdir}/kipiplugin_ipodexport.la
 %{tde_tdelibdir}/kipiplugin_ipodexport.so
+%endif
 %{tde_tdelibdir}/kipiplugin_jpeglossless.la
 %{tde_tdelibdir}/kipiplugin_jpeglossless.so
 %{tde_tdelibdir}/kipiplugin_kameraklient.la
@@ -288,7 +292,9 @@
 %{tde_datadir}/services/kipiplugin_galleryexport.desktop
 %{tde_datadir}/services/kipiplugin_gpssync.desktop
 %{tde_datadir}/services/kipiplugin_htmlexport.desktop
+%if 0%{?with_gpod}
 %{tde_datadir}/services/kipiplugin_ipodexport.desktop
+%endif
 %{tde_datadir}/services/kipiplugin_jpeglossless.desktop
 %{tde_datadir}/services/kipiplugin_kameraklient.desktop
 %{tde_datadir}/services/kipiplugin_metadataedit.desktop