diff --git a/kcm_sddm.spec b/kcm_sddm.spec index beb9f94..d7aaa82 100644 --- a/kcm_sddm.spec +++ b/kcm_sddm.spec @@ -45,12 +45,14 @@ BuildRequires: pkgconfig(xcb-image) BuildRequires: pkgconfig(xcb-shm) # cmakelists broken upstream, /home/abuild/rpmbuild/BUILD/sddm-kcm-0.0.0.1/src/cursortheme/thememodel.cpp:34:33: fatal error: X11/Xcursor/Xcursor.h: No such file or directory BuildRequires: pkgconfig(xcursor) +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description SDDM control module for KDE. It provides a graphical frontend for the sddm. +%lang_package %prep %setup -q -n sddm-kcm-%{version} @@ -61,7 +63,11 @@ sddm. %install %kf5_makeinstall -C build -echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc + echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc + + %find_lang %{name} %{name}.lang + +%files lang -f %{name}.lang %files %defattr(-,root,root)