Update systemsettings.spec
This commit is contained in:
@@ -53,8 +53,6 @@ Obsoletes: systemsettings5-lang < %{version}
|
||||
This package provides modules to control settings of Plasma and other
|
||||
applications by KDE.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
@@ -66,7 +64,15 @@ applications by KDE.
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%find_lang %{name} --all-name --with-html
|
||||
# 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/
|
||||
rm -rf $RPM_BUILD_ROOT%{_mandir}/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/en_GB
|
||||
# Use langpacks macro to auto-split translations
|
||||
%find_lang %{name} --with-qt --all-name --with-html --generate-subpackages
|
||||
|
||||
%suse_update_desktop_file kdesystemsettings X-SuSE-core
|
||||
|
||||
@@ -86,7 +92,4 @@ applications by KDE.
|
||||
%{_kf6_sharedir}/kglobalaccel/systemsettings.desktop
|
||||
%{_kf6_sharedir}/systemsettings/
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%exclude %{_kf6_htmldir}/en/systemsettings
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user