[rednotebook] Test for change language files
Fabian Affolter
fab at fedoraproject.org
Mon Aug 13 18:47:32 UTC 2012
commit c484cc5176bdccd98a53ea7a49feffb2237b0ddd
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Mon Aug 13 20:47:10 2012 +0200
Test for change language files
rednotebook.spec | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/rednotebook.spec b/rednotebook.spec
index e899936..8783dcc 100644
--- a/rednotebook.spec
+++ b/rednotebook.spec
@@ -47,12 +47,12 @@ desktop-file-install \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
# heavily borrowed from /usr/lib/rpm/find-lang.sh
-find %{buildroot} -type f -o -type l|sort|sed '
-s:'"%{buildroot}"'::
-s:\(.*/i18n/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
-s:^\([^%].*\)::
-/^$/d' > %{name}.lang
-
+#find %{buildroot} -type f -o -type l|sort|sed '
+#s:'"%{buildroot}"'::
+#s:\(.*/i18n/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
+#s:^\([^%].*\)::
+#/^$/d' > %{name}.lang
+%find_lang %{name}
%clean
rm -rf %{buildroot}
@@ -80,6 +80,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
+%{_datadir}/icons/hicolor/scalable/apps/rednotebook.svg
# be careful to not list locales twice
%dir %{python_sitelib}/%{name}/
%{python_sitelib}/%{name}/*.py*
More information about the scm-commits
mailing list