[kf5-frameworkintegration/f20] Move libKF5Style.so into -libs subpkg to simplify dependency chain for themes (RHBZ#1156687)
Daniel Vrátil
dvratil at fedoraproject.org
Sun Oct 26 18:38:07 UTC 2014
commit 146e736ff5f9a547c2580bb79af1fc2f5fd005ec
Author: Dan Vrátil <dvratil at redhat.com>
Date: Sun Oct 26 19:36:14 2014 +0100
Move libKF5Style.so into -libs subpkg to simplify dependency chain for themes (RHBZ#1156687)
kf5-frameworkintegration.spec | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/kf5-frameworkintegration.spec b/kf5-frameworkintegration.spec
index 00549bd..fee70a5 100644
--- a/kf5-frameworkintegration.spec
+++ b/kf5-frameworkintegration.spec
@@ -3,7 +3,7 @@
Name: kf5-%{framework}
Version: 5.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins
License: LGPLv2+
URL: http://www.kde.org
@@ -31,6 +31,8 @@ BuildRequires: oxygen-fonts-devel
Requires: kf5-filesystem
Requires: oxygen-fonts
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+
%description
Framework Integration is a set of plugins responsible for better integration of
Qt applications when running on a KDE Plasma workspace.
@@ -38,9 +40,15 @@ Qt applications when running on a KDE Plasma workspace.
Applications do not need to link to this directly.
+%package libs
+Summary: Runtime libraries for %{name}.
+%description libs
+%{summary}.
+
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: kf5-kconfig-devel
Requires: kf5-kconfigwidgets-devel
Requires: kf5-ki18n-devel
@@ -69,19 +77,20 @@ make %{?_smp_mflags} -C %{_target_platform}
%make_install -C %{_target_platform}
%find_lang frameworkintegration5_qt --with-qt --all-name
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
%files -f frameworkintegration5_qt.lang
%doc COPYING.LIB README.md
-%{_kf5_libdir}/libKF5Style.so.*
%{_kf5_datadir}/kf5/infopage/*
%{_kf5_datadir}/knotifications5/plasma_workspace.notifyrc
%{_kf5_plugindir}/FrameworkIntegrationPlugin.so
%{_kf5_qtplugindir}/platformthemes/KDEPlatformTheme.so
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files libs
+%{_kf5_libdir}/libKF5Style.so.*
+
%files devel
%{_kf5_includedir}/frameworkintegration_version.h
%{_kf5_includedir}/KStyle
@@ -90,6 +99,9 @@ make %{?_smp_mflags} -C %{_target_platform}
%changelog
+* Sun Oct 26 2014 Daniel Vrátil <dvratil at redhat.com> - 5.3.0-2
+- Move libKF5Style.so into -libs subpkg to simplify dependency chain for themes (RHBZ#1156687)
+
* Tue Oct 07 2014 Daniel Vrátil <dvratil at redhat.com> - 5.3.0-1
- KDE Frameworks 5.3.0
More information about the scm-commits
mailing list