--- /dev/null
+--- digikam-2.7.0/extra/kipi-plugins/vkontakte/vkapi.cpp~ 2012-07-08 01:24:25.000000000 +0200
++++ digikam-2.7.0/extra/kipi-plugins/vkontakte/vkapi.cpp 2012-07-29 13:30:18.680442679 +0200
+@@ -18,6 +18,8 @@
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
++#include <stdio.h>
++
+ #include "vkapi.moc"
+
+ // Qt includes
+@@ -60,7 +62,7 @@
+ return m_accessToken;
+ }
+
+-#include <stdio.h>
++//#include <stdio.h>
+
+ void VkAPI::startAuthentication(bool forceLogout)
+ {
Group: X11/Applications/Graphics
Source0: http://downloads.sourceforge.net/digikam/%{name}-%{version}.tar.bz2
# Source0-md5: 428e5234fa4daa6f154bf23c63787bdd
+Patch0: %{name}-build.patch
URL: http://www.digikam.org/
BuildRequires: Qt3Support-devel >= %{qtver}
BuildRequires: QtCore-devel >= %{qtver}
BuildRequires: kde4-kdepimlibs-devel >= %{kdever}
BuildRequires: lcms-devel
BuildRequires: lensfun-devel
-BuildRequires: libf2c-devel
+BuildRequires: libf2c-devel >= 20110801
BuildRequires: libgphoto2-devel
BuildRequires: kde4-libkdcraw-devel >= %{kdever}
BuildRequires: kde4-libkdeedu-devel >= %{kdever}
%prep
%setup -q
+%patch0 -p1
%build
install -d build
%{_datadir}/apps/digikam/queuemgrwindowui.rc
%{_datadir}/apps/digikam/tips
%{_datadir}/apps/gpssync
+%{_datadir}/apps/kipi
%{_datadir}/apps/kipiplugin_*
%{_datadir}/apps/libkface
%{_datadir}/apps/libkgeomap