summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-systemsettings/tde-systemsettings.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tde-systemsettings/tde-systemsettings.spec')
-rw-r--r--redhat/applications/tde-systemsettings/tde-systemsettings.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings.spec b/redhat/applications/tde-systemsettings/tde-systemsettings.spec
index 98f92e826..643b176aa 100644
--- a/redhat/applications/tde-systemsettings/tde-systemsettings.spec
+++ b/redhat/applications/tde-systemsettings/tde-systemsettings.spec
@@ -153,12 +153,19 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcm_knetworkconfmodule_s
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/medianotifications.desktop"
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/systemsettings.desktop"
+# Fix translation names
+for d in "%{buildroot}%{tde_datadir}/locale/"*"/LC_MESSAGES"; do
+ mv "${d}/"*".mo" "${d}/%{tde_pkg}.mo"
+done
+
+%find_lang %{tde_pkg}
+
%clean
%__rm -rf %{buildroot}
-%files
+%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc README TODO
%dir %{tde_sysconfdir}/xdg