[mingw-gettext: 3/26] Use find_lang macro.
epienbro
epienbro at fedoraproject.org
Tue Mar 6 19:44:32 UTC 2012
commit 718aac0a6566e3cdafb3eab011ee12f96e5442fc
Author: Richard W.M. Jones <rjones at fedoraproject.org>
Date: Fri Jan 23 11:20:49 2009 +0000
Use find_lang macro.
mingw32-gettext.spec | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/mingw32-gettext.spec b/mingw32-gettext.spec
index 59dfe99..b5d0044 100644
--- a/mingw32-gettext.spec
+++ b/mingw32-gettext.spec
@@ -6,7 +6,7 @@
Name: mingw32-gettext
Version: 0.17
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: GNU libraries and utilities for producing multi-lingual messages
License: GPLv2+ and LGPLv2+
@@ -68,12 +68,14 @@ rm -f $RPM_BUILD_ROOT%{_mingw32_datadir}/info/dir
rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}/man1/
rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}/man3/
+%find_lang %{name} --all-name
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING
%{_mingw32_bindir}/autopoint
@@ -121,11 +123,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_datadir}/info/autosprintf.info
%{_mingw32_datadir}/info/gettext.info
-%{_mingw32_datadir}/locale/*/LC_MESSAGES/gettext-tools.mo
-%{_mingw32_datadir}/locale/*/LC_MESSAGES/gettext-runtime.mo
-
%changelog
+* Fri Jan 23 2009 Richard W.M. Jones <rjones at redhat.com> - 0.17-8
+- Use find_lang macro.
+
* Fri Jan 16 2009 Richard W.M. Jones <rjones at redhat.com> - 0.17-7
- Remove the manpages - already available in base Fedora gettext-devel.
- Use _smp_mflags for build.
More information about the mingw
mailing list