]> git.pld-linux.org Git - packages/msmtp.git/commitdiff
- proper use of find_lang macro
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 15 Jul 2005 07:05:01 +0000 (07:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't assume info/dir is compresssed (should it be packaged afterall?)

Changed files:
    msmtp.spec -> 1.45

msmtp.spec

index 992dac263d8b73144c7e54c966b4f78c6d331bd4..681fdf3f22a195a187507ed229746574732f6c0c 100644 (file)
@@ -70,6 +70,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
+
 %find_lang %{name}
 
 %post
@@ -78,13 +79,11 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/msmtp*
 #%lang(pl) %{_mandir}/pl/man1/msmtp*
 %{_infodir}/msmtp*
-%{_datadir}/info/dir.gz
-#%lang(pl) %{_prefix}/share/locale/pl/LC_MESSAGES/msmtp.mo
-%lang(de) %{_datadir}/locale/de/LC_MESSAGES/msmtp.mo
+%{_datadir}/info/dir*
This page took 0.113341 seconds and 4 git commands to generate.