[lxqt-powermanagement] - Update translations
Helio Chissini de Castro
heliocastro at fedoraproject.org
Mon Feb 9 13:19:08 UTC 2015
commit f3045b389c7d5f4824b4d08cf8dd143d73cf1e56
Author: Helio Chissini de Castro <helio at kde.org>
Date: Mon Feb 9 11:18:57 2015 -0200
- Update translations
lxqt-powermanagement.spec | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/lxqt-powermanagement.spec b/lxqt-powermanagement.spec
index df5758c..efadc76 100644
--- a/lxqt-powermanagement.spec
+++ b/lxqt-powermanagement.spec
@@ -1,7 +1,7 @@
Name: lxqt-powermanagement
Summary: Powermanagement daemon for LXQt desktop suite
Version: 0.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
URL: http://lxqt.org/
Source0: http://downloads.lxqt.org/lxqt/0.9.0/lxqt-powermanagement-0.9.0.tar.xz
@@ -35,6 +35,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
desktop-file-edit --remove-category=LXQt --add-category=X-LXQt \
--remove-only-show-in=LXQt --add-only-show-in=X-LXQt %{buildroot}%{_datadir}/applications/lxqt-config-powermanagement.desktop
+%find_lang %{name} --with-qt
+%find_lang lxqt-config-powermanagement --with-qt
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -48,16 +50,16 @@ fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%files
+%files -f %{name}.lang -f lxqt-config-powermanagement.lang
%{_bindir}/lxqt-powermanagement
%{_bindir}/lxqt-config-powermanagement
%{_datadir}/applications/lxqt-config-powermanagement.desktop
%{_datadir}/icons/hicolor/*
-%dir %{_datadir}/lxqt
-%dir %{_datadir}/lxqt/translations
-%{_datadir}/lxqt/translations/*
%changelog
+* Mon Feb 09 2015 Helio Chissini de Castro <helio at kde.org> - 0.9.0-2
+- Proper add locale for Qt tm files
+
* Sun Feb 08 2015 Helio Chissini de Castro <helio at kde.org> - 0.9.0-1
- New upstream release 0.9.0
More information about the scm-commits
mailing list