diff options
author | François Andriot <albator78@libertysurf.fr> | 2020-04-14 12:07:03 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2020-04-23 10:32:08 +0200 |
commit | 4a082768066b2b3ac46d6aaa2f6954be6e021d1b (patch) | |
tree | ccaaf127e407feaed165c8d59d6bd995a5b84853 /redhat/applications/tde-systemsettings/tde-systemsettings.spec | |
parent | edc1bf4a4939ceb6ce016e01c8fb5b81a800eb96 (diff) | |
download | tde-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.spec | 9 |
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 |