SPECS: gnome-applets.spec - added locale dirs; do not remove files...

ankry ankry at pld-linux.org
Mon Oct 9 16:51:48 CEST 2006


Author: ankry                        Date: Mon Oct  9 14:51:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added locale dirs; do not remove files with local settings

---- Files affected:
SPECS:
   gnome-applets.spec (1.184 -> 1.185) 

---- Diffs:

================================================================
Index: SPECS/gnome-applets.spec
diff -u SPECS/gnome-applets.spec:1.184 SPECS/gnome-applets.spec:1.185
--- SPECS/gnome-applets.spec:1.184	Fri Oct  6 20:49:41 2006
+++ SPECS/gnome-applets.spec	Mon Oct  9 16:51:43 2006
@@ -368,7 +368,8 @@
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/libgweather.la
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/invest/*.py
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/es_{CL,CO,CR,DO,EC,ES,GT,HN,PA,PE,PR,SV,UY,VE}
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}/*.mo
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
 
 %find_lang %{name} --all-name --with-gnome
 %find_lang accessx-status --with-gnome
@@ -564,6 +565,8 @@
 %dir %{_libdir}/%{name}
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/glade
+# nobody else uses those
+%lang(es) %dir %{_datadir}/locale/es_{CL,CO,CR,DO,EC,GT,HN,PA,PE,PR,SV,UY,VE}
 
 %files devel
 %defattr(644,root,root,755)
@@ -877,6 +880,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.185  2006/10/09 14:51:43  ankry
+- added locale dirs; do not remove files with local settings
+
 Revision 1.184  2006/10/06 18:49:41  grzegol
 - package locales added in glibc-2.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-applets.spec?r1=1.184&r2=1.185&f=u



More information about the pld-cvs-commit mailing list