Update sddm-kcm6.spec
This commit is contained in:
@@ -37,10 +37,8 @@ Obsoletes: kcm_sddm-lang < %{version}
|
||||
%description
|
||||
SDDM control module for Plasma. It provides a graphical frontend for the SDDM.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{}-%{version}
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
@@ -50,7 +48,12 @@ SDDM control module for Plasma. It provides a graphical frontend for the SDDM.
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%find_lang kcm_sddm
|
||||
# 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 kcm_sddm --with-qt --all-name --generate-subpackages
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -64,6 +67,4 @@ SDDM control module for Plasma. It provides a graphical frontend for the SDDM.
|
||||
%{_kf6_sharedir}/polkit-1/actions/org.kde.kcontrol.kcmsddm.policy
|
||||
%{_kf6_libexecdir}/kauth/kcmsddm_authhelper
|
||||
|
||||
%files lang -f kcm_sddm.lang
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user