Update kf6-kwidgetsaddons.spec

This commit is contained in:
2026-02-24 14:56:57 +08:00
parent 86589baa97
commit 8094324965

View File

@@ -65,12 +65,18 @@ that use the Qt Widgets module.
%fdupes %{buildroot}
# todo: fix the name error.
# Avoid illegal package names
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@*
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
# Use langpacks macro to auto-split translations
%find_lang %{name}6 --with-qt --all-name --generate-subpackages
%files
%license LICENSES/*
%doc README.md
%{_kf6_debugdir}/kwidgetsaddons.categories
%{_kf6_libdir}/libKF6WidgetsAddons.so.*
%{_datadir}/locale/*/LC_MESSAGES/kwidgetsaddons6_qt.qm
%files devel
%{_kf6_cmakedir}/KF6WidgetsAddons/