From edfbdaf16a77df3b5c7b0b30e63eee5cc1f3fee2c8513e7700ee1561f9c44c85 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Tue, 24 Oct 2017 05:54:58 +0000 Subject: [PATCH] Sync with KUF OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kirigami2?expand=0&rev=29 --- baselibs.conf | 3 +++ kirigami2.spec | 22 ++++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 baselibs.conf diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..90713de --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +libKF5Kirigami2-5 +kirigami2-devel + requires "libKF5Kirigami2-5- = " diff --git a/kirigami2.spec b/kirigami2.spec index ab6662a..2aad13f 100644 --- a/kirigami2.spec +++ b/kirigami2.spec @@ -16,6 +16,7 @@ # +%define lname libKF5Kirigami2-5 %bcond_without lang %define _tar_path 5.39 Name: kirigami2 @@ -46,6 +47,15 @@ Recommends: %{name}-lang = %{version} %description QtQuick plugins to build user interfaces based on the KDE UX guidelines. +%package -n %{lname} +Summary: Set of QtQuick components +Group: System/Libraries +Recommends: %{name} = %{version} + +%description -n %{lname} +QtQuick plugins to build user interfaces based on the KDE UX guidelines. +Based on Qt Quick Controls 2. This package contains the base shared libraries. + %package devel Summary: Development package for kirigami Group: Development/Libraries/KDE @@ -75,14 +85,22 @@ Development files. %files lang -f libkirigami2plugin.lang %endif +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig + %files -%defattr(-,root,root,-) %doc LICENSE* %{_kf5_qmldir}/ +%files -n %{lname} +%doc LICENSE* +%{_kf5_libdir}/libKF5Kirigami2.so.* + %files devel -%defattr(-,root,root) +%dir %{_kf5_includedir}/Kirigami2/ +%{_kf5_includedir}/Kirigami2/* %{_libdir}/cmake/KF5Kirigami2/ +%{_kf5_libdir}/libKF5Kirigami2.so %{_kf5_mkspecsdir}/qt_Kirigami2.pri %changelog