- use %find_lang
authordarekr <darekr@pld-linux.org>
Mon, 18 Jul 2005 16:40:59 +0000 (16:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bofh.spec -> 1.21

bofh.spec

index fd51991..f74cf97 100644 (file)
--- a/bofh.spec
+++ b/bofh.spec
@@ -41,14 +41,15 @@ rm -rf $RPM_BUILD_ROOT
        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
This page took 0.052788 seconds and 4 git commands to generate.