summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-systemsettings/tde-systemsettings.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2020-04-14 12:07:03 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2020-04-23 10:32:08 +0200
commit4a082768066b2b3ac46d6aaa2f6954be6e021d1b (patch)
treeccaaf127e407feaed165c8d59d6bd995a5b84853 /redhat/applications/tde-systemsettings/tde-systemsettings.spec
parentedc1bf4a4939ceb6ce016e01c8fb5b81a800eb96 (diff)
downloadtde-packaging-4a082768066b2b3ac46d6aaa2f6954be6e021d1b.tar.gz
tde-packaging-4a082768066b2b3ac46d6aaa2f6954be6e021d1b.zip
RPM: various updates for TDE 14.0.8
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