SPECS: gnome-applets.spec - fixed locales packaging

qboosh qboosh at pld-linux.org
Sun Jun 17 09:58:06 CEST 2007


Author: qboosh                       Date: Sun Jun 17 07:58:06 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed locales packaging

---- Files affected:
SPECS:
   gnome-applets.spec (1.192 -> 1.193) 

---- Diffs:

================================================================
Index: SPECS/gnome-applets.spec
diff -u SPECS/gnome-applets.spec:1.192 SPECS/gnome-applets.spec:1.193
--- SPECS/gnome-applets.spec:1.192	Mon Jun 11 19:07:10 2007
+++ SPECS/gnome-applets.spec	Sun Jun 17 09:58:01 2007
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: fix locale file duplicates
 Summary:	Small applications which embed themselves in the GNOME panel
 Summary(pl.UTF-8):	Aplety GNOME - małe aplikacje osadzające się w panelu
 Summary(ru.UTF-8):	Маленькие программы, встраивающиеся в панель GNOME
@@ -367,7 +366,7 @@
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}/LC_MESSAGES/*.mo
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
 
-%find_lang %{name} --all-name --with-gnome
+%find_lang %{name}-2.0
 %find_lang accessx-status --with-gnome
 %find_lang battstat --with-gnome
 %find_lang char-palette --with-gnome
@@ -550,7 +549,7 @@
 %postun trash
 %scrollkeeper_update_postun
 
-%files -f %{name}.lang
+%files -f %{name}-2.0.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/null_applet
@@ -561,20 +560,32 @@
 %dir %{_libdir}/%{name}
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/glade
-# nobody else uses those
-%lang(es) %{_datadir}/locale/es_CL
-%lang(es) %{_datadir}/locale/es_CO
-%lang(es) %{_datadir}/locale/es_CR
-%lang(es) %{_datadir}/locale/es_DO
-%lang(es) %{_datadir}/locale/es_EC
-%lang(es) %{_datadir}/locale/es_GT
-%lang(es) %{_datadir}/locale/es_HN
-%lang(es) %{_datadir}/locale/es_PA
-%lang(es) %{_datadir}/locale/es_PE
-%lang(es) %{_datadir}/locale/es_PR
-%lang(es) %{_datadir}/locale/es_SV
-%lang(es) %{_datadir}/locale/es_UY
-%lang(es) %{_datadir}/locale/es_VE
+%lang(es_CL) %dir %{_datadir}/locale/es_CL
+%lang(es_CL) %dir %{_datadir}/locale/es_CL/LC_MESSAGES
+%lang(es_CO) %dir %{_datadir}/locale/es_CO
+%lang(es_CO) %dir %{_datadir}/locale/es_CO/LC_MESSAGES
+%lang(es_CR) %dir %{_datadir}/locale/es_CR
+%lang(es_CR) %dir %{_datadir}/locale/es_CR/LC_MESSAGES
+%lang(es_DO) %dir %{_datadir}/locale/es_DO
+%lang(es_DO) %dir %{_datadir}/locale/es_DO/LC_MESSAGES
+%lang(es_EC) %dir %{_datadir}/locale/es_EC
+%lang(es_EC) %dir %{_datadir}/locale/es_EC/LC_MESSAGES
+%lang(es_GT) %dir %{_datadir}/locale/es_GT
+%lang(es_GT) %dir %{_datadir}/locale/es_GT/LC_MESSAGES
+%lang(es_HN) %dir %{_datadir}/locale/es_HN
+%lang(es_HN) %dir %{_datadir}/locale/es_HN/LC_MESSAGES
+%lang(es_PA) %dir %{_datadir}/locale/es_PA
+%lang(es_PA) %dir %{_datadir}/locale/es_PA/LC_MESSAGES
+%lang(es_PE) %dir %{_datadir}/locale/es_PE
+%lang(es_PE) %dir %{_datadir}/locale/es_PE/LC_MESSAGES
+%lang(es_PR) %dir %{_datadir}/locale/es_PR
+%lang(es_PR) %dir %{_datadir}/locale/es_PR/LC_MESSAGES
+%lang(es_SV) %dir %{_datadir}/locale/es_SV
+%lang(es_SV) %dir %{_datadir}/locale/es_SV/LC_MESSAGES
+%lang(es_UY) %dir %{_datadir}/locale/es_UY
+%lang(es_UY) %dir %{_datadir}/locale/es_UY/LC_MESSAGES
+%lang(es_VE) %dir %{_datadir}/locale/es_VE
+%lang(es_VE) %dir %{_datadir}/locale/es_VE/LC_MESSAGES
 
 %files devel
 %defattr(644,root,root,755)
@@ -818,7 +829,7 @@
 %lang(sv) %{_omf_dest_dir}/command-line/command-line-sv.omf
 %lang(uk) %{_omf_dest_dir}/command-line/command-line-uk.omf
 
-%files mixer
+%files mixer -f mixer_applet2.lang
 %defattr(644,root,root,755)
 %doc mixer/ChangeLog
 %attr(755,root,root) %{_libdir}/mixer_applet2
@@ -906,6 +917,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.193  2007/06/17 07:58:01  qboosh
+- fixed locales packaging
+
 Revision 1.192  2007/06/11 17:07:10  qboosh
 - locale packaging needs fix
 
================================================================

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



More information about the pld-cvs-commit mailing list