From 3e14b7658e60e7c2084e1b31a29305476f0d387d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Tue, 4 Nov 2014 12:56:38 +0100 Subject: [PATCH] Create -libs subpackage --- kf5-solid.spec | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/kf5-solid.spec b/kf5-solid.spec index 70ec073..710fa62 100644 --- a/kf5-solid.spec +++ b/kf5-solid.spec @@ -27,9 +27,11 @@ BuildRequires: qt5-qttools-devel Requires: kf5-filesystem -Provides: kf5-solid-runtime = %{version}-%{release} -Provides: kf5-solid-runtime%{?_isa} = %{version}-%{release} -Obsoletes: kf5-solid-runtime < 4.99.0.1 +Provides: %{name}-runtime = %{version}-%{release} +Provides: %{name}-runtime%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-runtime < 4.99.0.1 + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description Solid provides the following features for application developers: @@ -37,6 +39,13 @@ Solid provides the following features for application developers: - Power Management - Network Management +%package libs +Summary: Runtime libraries for Solid Framework +# When the split occured +Conflicts: %{name} < 5.4.0-1 +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. %package devel Summary: Development files for %{name} @@ -63,14 +72,16 @@ make %{?_smp_mflags} -C %{_target_platform} %find_lang solid5_qt --with-qt --all-name -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%files -f solid5_qt.lang +%files %doc COPYING.LIB README.md TODO +%{_kf5_bindir}/solid-hardware5 + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%files libs -f solid5_qt.lang %{_kf5_qmldir}/org/kde/solid %{_kf5_libdir}/libKF5Solid.so.* -%{_kf5_bindir}/solid-hardware5 %files devel %{_kf5_includedir}/solid_version.h @@ -83,6 +94,7 @@ make %{?_smp_mflags} -C %{_target_platform} %changelog * Mon Nov 03 2014 Daniel Vrátil - 5.4.0-1 - KDE Frameworks 5.4.0 +- Create -libs subpkg * Tue Oct 07 2014 Daniel Vrátil - 5.3.0-1 - KDE Frameworks 5.3.0