webkit subpkg

This commit is contained in:
Rex Dieter 2014-06-19 09:51:20 -05:00
parent 865d28c0b7
commit ffce806c95
1 changed files with 47 additions and 5 deletions

View File

@ -39,7 +39,7 @@
Summary: KDE Libraries
Version: 4.13.2
Release: 5%{?dist}
Release: 6%{?dist}
Name: kdelibs
Epoch: 6
@ -287,7 +287,7 @@ This package includes the common files for the KDE 3 and KDE 4 libraries.
Summary: Header files for compiling KDE 4 applications
Provides: plasma-devel = %{version}-%{release}
Provides: nepomuk-devel = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: kdelibs4-devel < %{version}-%{release}
Provides: kdelibs4-devel = %{version}-%{release}
Provides: kdelibs4-devel%{?_isa} = %{version}-%{release}
@ -304,15 +304,26 @@ Requires: pkgconfig(phonon)
# considered part of nepomuk-devel
Requires: pkgconfig(shared-desktop-ontologies) pkgconfig(soprano)
Requires: qt4-devel
%if 0%{?webkit}
Requires: pkgconfig(QtWebKit)
%endif
%{?x_deps:Requires: %{x_deps}}
%description devel
This package includes the header files you will need to compile
applications for KDE 4.
%package webkit
Summary: KDE WebKit support library
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description webkit
%{summary}.
%package webkit-devel
Summary: Development files for KDE WebKit support library
Requires: %{name}-webkit%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: pkgconfig(QtWebKit)
%description webkit-devel
%{summary}.
%package apidocs
Summary: KDE 4 API documentation
Requires: kde-filesystem
@ -596,6 +607,15 @@ gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
%{_mandir}/man8/kded4.8*
%{_mandir}/man8/kdeinit4.8*
%{_mandir}/man8/meinproc4.8*
%if 0%{?webkit}
%exclude %{_kde4_libdir}/libkdewebkit.so.*
%post webkit -p /sbin/ldconfig
%postun webkit -p /sbin/ldconfig
%files webkit
%{_kde4_libdir}/libkdewebkit.so.*
%endif
%files common
%{_kde4_bindir}/preparetips
@ -623,6 +643,25 @@ gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
%{_kde4_libdir}/cmake/KDeclarative/
%{_kde4_libdir}/kde4/devel/
%if 0%{?webkit}
%exclude %{_kde4_includedir}/kdewebkit_export.h
%exclude %{_kde4_includedir}/kgraphicswebview.h
%exclude %{_kde4_includedir}/kwebpage.h
%exclude %{_kde4_includedir}/kwebpluginfactory.h
%exclude %{_kde4_includedir}/kwebview.h
%exclude %{_kde4_includedir}/kwebwallet.h
%exclude %{_kde4_libdir}/kde4/devel/libkdewebkit.so
%files webkit-devel
%{_kde4_includedir}/kdewebkit_export.h
%{_kde4_includedir}/kgraphicswebview.h
%{_kde4_includedir}/kwebpage.h
%{_kde4_includedir}/kwebpluginfactory.h
%{_kde4_includedir}/kwebview.h
%{_kde4_includedir}/kwebwallet.h
%{_kde4_libdir}/kde4/devel/libkdewebkit.so
%endif
%if 0%{?apidocs}
%files apidocs
%{_kde4_docdir}/HTML/en/kdelibs4-apidocs/
@ -635,6 +674,9 @@ gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
%changelog
* Thu Jun 19 2014 Rex Dieter <rdieter@fedoraproject.org> 6:4.13.2-6
- -webkit subpkg
* Thu Jun 19 2014 Rex Dieter <rdieter@fedoraproject.org> 6:4.13.2-5
- backport another meinproc/libxml2 fix (kde#335001)