[kipi-plugins] - fix opencv/redeye plugin bits

Rex Dieter rdieter at fedoraproject.org
Thu Sep 2 12:58:42 UTC 2010


commit 54058a5f51587e915cf720571542ad58ba15c8f7
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Sep 2 08:02:12 2010 -0500

    - fix opencv/redeye plugin bits

 kipi-plugins.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/kipi-plugins.spec b/kipi-plugins.spec
index 67022fd..c1fd43b 100644
--- a/kipi-plugins.spec
+++ b/kipi-plugins.spec
@@ -1,9 +1,14 @@
 # Fedora review: http://bugzilla.redhat.com/171504
 
+%define opencv_version 2.0.0-9
+%if 0%{?fedora} > 13
+%define opencv_version 2.1.0-5
+%endif
+
 Name:    kipi-plugins
 Summary: Plugins to use with Kipi
 Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2+ and Adobe
 Group:   Applications/Multimedia
@@ -32,7 +37,7 @@ BuildRequires: libxslt-devel
 ## DNG converter
 BuildRequires: expat-devel
 ## RemoveRedeye
-#BuildRequires: opencv-devel >= 2.0.0-9
+BuildRequires: opencv-devel%{?opencv_version: >= %{opencv_version}}
 ## Shwup
 BuildRequires: qca2-devel
 
@@ -207,6 +212,9 @@ gtk-update-icon-cache %{_kde4_iconsdir}/oxygen >& /dev/null ||:
 
 
 %changelog
+* Thu Sep 02 2010 Rex Dieter <rdieter at fedoraproject.org> 1.4.0-2
+- fix opencv/redeye plugin bits
+
 * Wed Aug 25 2010 Rex Dieter <rdieter at fedoraproject.org> 1.4.0-1
 - kipi-plugins-1.4.0
 


More information about the scm-commits mailing list