rpms/kipi-plugins/F-12 kipi-plugins.spec,1.106,1.107

Rex Dieter rdieter at fedoraproject.org
Fri Feb 5 17:43:09 UTC 2010


Author: rdieter

Update of /cvs/pkgs/rpms/kipi-plugins/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28367/F-12

Modified Files:
	kipi-plugins.spec 
Log Message:
expoblending plugin available only if built against libkdcraw-1.0.0 (kdegraphics-4.4)



Index: kipi-plugins.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kipi-plugins/F-12/kipi-plugins.spec,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -p -r1.106 -r1.107
--- kipi-plugins.spec	5 Feb 2010 16:53:47 -0000	1.106
+++ kipi-plugins.spec	5 Feb 2010 17:43:09 -0000	1.107
@@ -23,6 +23,9 @@ BuildRequires: kdepimlibs-devel
 BuildRequires: libgpod-devel >= 0.7.0 
 BuildRequires: libkipi-devel >= 0.3.0
 BuildRequires: libkdcraw-devel >= 0.4.0-2
+%if "%(pkg-config --modversion libkdcraw 2>/dev/null || echo 0.4.0)" >= "1.0.0"
+%define expoblending 1
+%endif
 BuildRequires: libkexiv2-devel >= 0.5.0
 ## acquireimages, jpeglossless and rawconverter plugins
 BuildRequires: libtiff-devel
@@ -49,7 +52,7 @@ AcquireImages      : acquire images usin
 AdvancedSlideshow  : slide images with 2D and 3D effects using OpenGL
 Calendar           : create calendars
 DngConverter       : convert Raw Image to Digital NeGative
-ExpoBlending       : blend bracketed images
+%{?expoblending:ExpoBlending       : blend bracketed images}}
 FlickrExport       : export images to a remote Flickr web service
 GalleryExport      : export images to a remote Gallery server
 GPSSync            : geolocalize pictures
@@ -139,7 +142,6 @@ gtk-update-icon-cache %{_kde4_iconsdir}/
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog README TODO
 %{_kde4_bindir}/dngconverter
-%{_kde4_bindir}/expoblending
 %{_kde4_bindir}/scangui
 %ifnarch s390 s390x
 %{_kde4_libdir}/kde4/kipiplugin_acquireimages.so
@@ -148,7 +150,6 @@ gtk-update-icon-cache %{_kde4_iconsdir}/
 %{_kde4_libdir}/kde4/kipiplugin_batchprocessimages.so
 %{_kde4_libdir}/kde4/kipiplugin_calendar.so
 %{_kde4_libdir}/kde4/kipiplugin_dngconverter.so
-%{_kde4_libdir}/kde4/kipiplugin_expoblending.so
 %{_kde4_libdir}/kde4/kipiplugin_facebook.so
 %{_kde4_libdir}/kde4/kipiplugin_flickrexport.so
 %{_kde4_libdir}/kde4/kipiplugin_flashexport.so
@@ -168,7 +169,6 @@ gtk-update-icon-cache %{_kde4_iconsdir}/
 %{_kde4_libdir}/kde4/kipiplugin_shwup.so
 %{_kde4_libdir}/kde4/kipiplugin_smug.so
 %{_kde4_libdir}/kde4/kipiplugin_timeadjust.so
-%{_kde4_appsdir}/kipiplugin_expoblending/
 %{_kde4_appsdir}/kipiplugin_flashexport/
 %{_kde4_appsdir}/kipiplugin_galleryexport/
 %{_kde4_appsdir}/kipiplugin_htmlexport/
@@ -177,12 +177,17 @@ gtk-update-icon-cache %{_kde4_iconsdir}/
 %{_kde4_appsdir}/kipiplugin_printimages/
 %{_kde4_appsdir}/kipiplugin_removeredeyes/
 %{_kde4_datadir}/applications/kde4/dngconverter.desktop
-%{_kde4_datadir}/applications/kde4/expoblending.desktop
 %{_kde4_datadir}/applications/kde4/kipiplugins.desktop
 %{_kde4_datadir}/applications/kde4/scangui.desktop
 %{_kde4_datadir}/kde4/services/*.desktop
 %{_kde4_iconsdir}/hicolor/*/*/*
 %{_kde4_iconsdir}/oxygen/*/*/*
+%if 0%{?expoblending}
+%{_kde4_bindir}/expoblending
+%{_kde4_libdir}/kde4/kipiplugin_expoblending.so
+%{_kde4_appsdir}/kipiplugin_expoblending/
+%{_kde4_datadir}/applications/kde4/expoblending.desktop
+%endif
 
 %files libs
 %defattr(-,root,root,-)



More information about the scm-commits mailing list