-%files
-%defattr(644, root, root, 755)
-%attr(755, root, root) /usr/bin/*
-%attr(644, root, man) /usr/man/man1/*
-%lang(pl) %attr(644, root, man) /usr/man/pl/man1/*
-/usr/share/*
-/usr/info/*info*
-
-%changelog
-* Sat Dec 12 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.25-7]
-- added gzipping man pages,
-- added pl man pages,
-- standarized {un}registering info pages.
-
-* Fri Nov 6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.25-6]
-- fixed passing $RPM_OPT_FLAGS,
-- modified pl translation,
-- bisona.{simple,hairy} moved to /usr/share.
-
-* Sun Jun 14 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
- [1.25-5]
-- added pl translation,
-- macro %%{name}-%%{version} in Source,
-- minor modifications of spec file.
-
-* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
-- built for Manhattan
-- added build root
-
-* Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
-- various spec file cleanups
-
-* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+%lang(pl) %{_mandir}/pl/man1/*
+%{_infodir}/*info*
+%{_datadir}/misc/*