diff --git a/kdelibs.spec b/kdelibs.spec index 9f76991..fec42a6 100644 --- a/kdelibs.spec +++ b/kdelibs.spec @@ -10,6 +10,9 @@ %define apidocs 1 # to build/include QCH apidocs or not (currently broken) #define apidocs_qch 1 +%if 0%{?fedora} > 16 +%define libplasma_pk 1 +%endif Summary: KDE Libraries Version: 4.7.0 @@ -302,7 +305,7 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage %patch27 -p1 -b .no_rpath # libplasma PackageKit integration -%if 0%{?fedora} > 16 +%if 0%{?libplasma_pk} %patch40 -p1 -b .libplasma-pk-0001 %patch41 -p1 -b .libplasma-pk-0002 %patch42 -p1 -b .libplasma-pk-0003 @@ -540,6 +543,9 @@ rm -rf %{buildroot} %{_mandir}/man1/makekdewidgets.1* %{_kde4_bindir}/kconfig_compiler4 %{_kde4_bindir}/makekdewidgets4 +%if 0%{?libplasma_pk} +%{_kde4_bindir}/plasma-dataengine-depextractor +%endif %{_kde4_bindir}/kde4-doxygen.sh %{_kde4_appsdir}/cmake/ %{_kde4_appsdir}/kdewidgets/ @@ -562,6 +568,7 @@ rm -rf %{buildroot} %changelog * Sun Aug 21 2011 Kevin Kofler 4.7.0-3 - backport my GSoC 2011 patches for libplasma PackageKit integration (F17+) +- package plasma-dataengine-depextractor in -devel (F17+) * Sun Aug 21 2011 Kevin Kofler 4.7.0-2 - rebuild for the RPM dependency generators for Plasma (GSoC 2011)