SPECS: bofh.spec - use %find_lang

darekr darekr at pld-linux.org
Mon Jul 18 18:41:04 CEST 2005


Author: darekr                       Date: Mon Jul 18 16:41:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %find_lang

---- Files affected:
SPECS:
   bofh.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/bofh.spec
diff -u SPECS/bofh.spec:1.20 SPECS/bofh.spec:1.21
--- SPECS/bofh.spec:1.20	Sun May 15 20:43:19 2005
+++ SPECS/bofh.spec	Mon Jul 18 18:40:59 2005
@@ -42,17 +42,18 @@
 	sbindir=%{_sbindir} \
 	localedir=%{_datadir}/locale
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog TODO CREDITS
 %dir %{_sysconfdir}/bofh
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bofh/config
 %attr(755,root,root) %{_sbindir}/bofh
 %{_datadir}/bofh
-%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/bofh.mo
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2005/07/18 16:40:59  darekr
+- use %find_lang
+
 Revision 1.20  2005/05/15 18:43:19  darekr
 - %config(noreplace), %verify() for config file
 - killed dup %defattr
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bofh.spec?r1=1.20&r2=1.21&f=u




More information about the pld-cvs-commit mailing list