[Fedora-i18n-bugs] [libhangul] Install locale files.

Daiki Ueno ueno at fedoraproject.org
Tue Jan 4 01:07:34 UTC 2011


commit 577d14a31c25371bfa3f707d929d9953b0d8e627
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Tue Jan 4 10:12:24 2011 +0900

    Install locale files.

 libhangul.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libhangul.spec b/libhangul.spec
index 4cd1b31..0f3cf20 100644
--- a/libhangul.spec
+++ b/libhangul.spec
@@ -11,6 +11,9 @@ Summary:	Hangul input library
 Group:		System Environment/Libraries
 Requires(post):	/sbin/ldconfig
 Requires(postun): /sbin/ldconfig
+BuildRequires: gettext
+
+
 %description
 libhangul provides common features for Hangul input method programs.
 
@@ -51,7 +54,9 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 
-%files
+%find_lang %{name}
+
+%files -f %{name}.lang
 %defattr(-, root, root)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_libdir}/lib*.so.*
@@ -67,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Tue Jan  4 2011 Daiki Ueno <dueno at redhat.com> - 0.0.12-1
 - update to 0.0.12
+- install locale files
 
 * Mon Oct  4 2010 Daiki Ueno <dueno at redhat.com> - 0.0.11-1
 - update to 0.0.11


More information about the i18n-bugs mailing list