]> git.pld-linux.org Git - packages/diction.git/commitdiff
- use find_lang
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 11 Aug 2003 08:42:25 +0000 (08:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    diction.spec -> 1.9

diction.spec

index 9606bd7c518fbfc664e39797f3d8c9170ff77e11..cb0eb48cfac7bd819f53518e8184691067c5f4ce 100644 (file)
@@ -44,7 +44,7 @@ Obie komendy wspieraj
 
 %build
 %{__autoconf}
-cp -f %{_datadir}/automake/{config.,missing}* .
+cp -f %{_datadir}/automake/{config.*,missing} .
 %configure
 %{__make}
 makeinfo diction.texi
@@ -58,6 +58,8 @@ install -d $RPM_BUILD_ROOT%{_infodir}
 
 install diction*.info $RPM_BUILD_ROOT%{_infodir}
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -67,11 +69,10 @@ rm -rf $RPM_BUILD_ROOT
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
-%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*
 %{_mandir}/man?/*
 %{_infodir}/*.info*
This page took 0.096474 seconds and 4 git commands to generate.