Update kf6-kparts.spec

This commit is contained in:
2026-02-12 16:43:51 +08:00
parent 09d63819b6
commit 475998cceb

View File

@@ -38,18 +38,9 @@ This library implements the framework for KDE parts, which are
elaborate widgets with a user-interface defined in terms of actions
(menu items, toolbar icons).
%package -n libKF6Parts6
Summary: Plugin framework for user interface components
Requires: kf6-kparts >= %{version}
%description -n libKF6Parts6
This library implements the framework for KDE parts, which are
elaborate widgets with a user-interface defined in terms of actions
(menu items, toolbar icons).
%package devel
Summary: Plugin framework for user interface components
Requires: libKF6Parts6 = %{version}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(KF6KIO) >= %{_kf6_version}
Requires: cmake(KF6Service) >= %{_kf6_version}
Requires: cmake(KF6TextWidgets) >= %{_kf6_version}
@@ -60,8 +51,6 @@ This library implements the framework for KDE parts, which are
elaborate widgets with a user-interface defined in terms of actions
(menu items, toolbar icons). Development files.
%lang_package -n libKF6Parts6
%prep
%autosetup -p1 -n %{rname}-%{version}
@@ -75,17 +64,12 @@ elaborate widgets with a user-interface defined in terms of actions
%fdupes %{buildroot}
%find_lang kparts6
%ldconfig_scriptlets -n libKF6Parts6
%files
%{_kf6_debugdir}/kparts.categories
%files -n libKF6Parts6
%license LICENSES/*
%doc README.md
%{_kf6_debugdir}/kparts.categories
%{_kf6_libdir}/libKF6Parts.so.*
%{_datadir}/locale/*/LC_MESSAGES/kparts6.mo
%files devel
%{_kf6_cmakedir}/KF6Parts/
@@ -93,6 +77,4 @@ elaborate widgets with a user-interface defined in terms of actions
%{_kf6_libdir}/libKF6Parts.so
%{_kf6_sharedir}/kdevappwizard/templates/
%files -n libKF6Parts6-lang -f kparts6.lang
%changelog