1
0
forked from pool/libksysguard5

Use kf5_find_lang everywhere

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/libksysguard5?expand=0&rev=3
This commit is contained in:
Fabian Vogt 2016-09-15 19:41:33 +00:00 committed by Git OBS Bridge
parent 88f2a2ad6f
commit f8e18e618d

View File

@ -89,11 +89,14 @@ for actions that require elevated privileges.
%setup -q -n libksysguard-%{version} %setup -q -n libksysguard-%{version}
%build %build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%make_jobs %make_jobs
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%kf5_find_lang
%endif
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -129,9 +132,7 @@ for actions that require elevated privileges.
%{_kf5_libdir}/libprocessui.so %{_kf5_libdir}/libprocessui.so
%if %{with lang} %if %{with lang}
%files lang %files lang -f %{name}.lang
%defattr(-,root,root)
%{_kf5_localedir}/
%endif %endif
%changelog %changelog