From d0371f991fc2f28a51fc3fc3ce16c414ae0af1f3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 12 May 2017 09:09:54 -0500 Subject: [PATCH] +translations --- kf5-kcontacts.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kf5-kcontacts.spec b/kf5-kcontacts.spec index e6bdded..7d1ba48 100644 --- a/kf5-kcontacts.spec +++ b/kf5-kcontacts.spec @@ -35,6 +35,8 @@ BuildRequires: dbus-x11 BuildRequires: xorg-x11-server-Xvfb %endif +# translations moved here +Conflicts: kde-l10n < 17.03 %description %{summary}. @@ -65,6 +67,8 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang %{name} --all-name --with-html + %check %if 0%{?tests} @@ -78,8 +82,8 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||: %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files -%license COPYING.LIB +%files -f %{name}.lang +%license COPYING* %{_kf5_libdir}/libKF5Contacts.so.* %{_kf5_datadir}/kf5/kcontacts/countrytransl.map