SPECS: gnomad2.spec - use find_lang

qboosh qboosh at pld-linux.org
Tue May 9 13:43:01 CEST 2006


Author: qboosh                       Date: Tue May  9 11:43:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use find_lang

---- Files affected:
SPECS:
   gnomad2.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/gnomad2.spec
diff -u SPECS/gnomad2.spec:1.11 SPECS/gnomad2.spec:1.12
--- SPECS/gnomad2.spec:1.11	Sat May  6 18:53:42 2006
+++ SPECS/gnomad2.spec	Tue May  9 13:42:56 2006
@@ -53,25 +53,18 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/gnomad2.desktop
 %{_pixmapsdir}/gnomad2.png
-%lang(de) %{_datadir}/locale/de/LC_MESSAGES/gnomad2.mo
-%lang(es) %{_datadir}/locale/es/LC_MESSAGES/gnomad2.mo
-%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/gnomad2.mo
-%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/gnomad2.mo
-%lang(it) %{_datadir}/locale/it/LC_MESSAGES/gnomad2.mo
-%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/gnomad2.mo
-%lang(no) %{_datadir}/locale/no/LC_MESSAGES/gnomad2.mo
-%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/gnomad2.mo
-%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/gnomad2.mo
-
 %{_mandir}/man1/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -80,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/05/09 11:42:56  qboosh
+- use find_lang
+
 Revision 1.11  2006/05/06 16:53:42  paszczus
 - dropped gnomad2-libnjb.patch; using CC and CFLAGS
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnomad2.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list