From 5e9162804607d0ec8f3945e763ee46ded41cb3b1 Mon Sep 17 00:00:00 2001 From: kloczek Date: Mon, 21 Jun 1999 07:09:56 +0000 Subject: [PATCH] - unifited using %find_lang macro to scheme: %install [..] %find_lang %{name} [..] %files -f %{name}.lang Changed files: mutt.spec -> 1.16 --- mutt.spec | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/mutt.spec b/mutt.spec index 5338d17..52d16dd 100644 --- a/mutt.spec +++ b/mutt.spec @@ -77,10 +77,12 @@ gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ contrib/{*rc,*cap} \ $RPM_BUILD_ROOT/usr/doc/mutt-%{version}/{*.txt,ChangeLog,README,TODO,NEWS,README.SECURITY} +%find_lang %{name} + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) %doc /usr/doc/%{name}-%{version}/*.gz @@ -93,18 +95,6 @@ rm -rf $RPM_BUILD_ROOT %lang(en) %{_mandir}/man1/* %{_datadir}/charsets -%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/mutt.mo -%lang(dn) %{_datadir}/locale/de/LC_MESSAGES/mutt.mo -%lang(es) %{_datadir}/locale/es/LC_MESSAGES/mutt.mo -%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/mutt.mo -%lang(id) %{_datadir}/locale/id/LC_MESSAGES/mutt.mo -%lang(it) %{_datadir}/locale/it/LC_MESSAGES/mutt.mo -%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/mutt.mo -%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/mutt.mo -%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/mutt.mo -%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/mutt.mo -%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/mutt.mo - %changelog * Thu May 6 1999 Tomasz K³oczko [0.96.2-1] -- 2.44.0