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