]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- unifited using %find_lang macro to scheme:
authorkloczek <kloczek@pld-linux.org>
Mon, 21 Jun 1999 07:09:56 +0000 (07:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
%install
[..]
%find_lang %{name}
[..]
%files -f %{name}.lang

Changed files:
    pinfo.spec -> 1.11

pinfo.spec

index e6e8e2a49af4a9e8920b52123cf890ea029ab296..73d1dc5a0199e5ab5fe9ac271fc83721ed370a21 100644 (file)
@@ -38,19 +38,17 @@ make install DESTDIR=$RPM_BUILD_ROOT
 gzip -9nf $RPM_BUILD_ROOT/usr/share/man/man*/* \
        ChangeLog NEWS AUTHORS README
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc *.gz
 %attr(755,root,root) /usr/bin/pinfo
 %config %verify(not md5 size mtime) /etc/pinforc
 
-%lang(pl) /usr/share/locale/pl/LC_MESSAGES/*
-%lang(cs) /usr/share/locale/cs/LC_MESSAGES/*
-%lang(de) /usr/share/locale/de/LC_MESSAGES/*
-%lang(sv) /usr/share/locale/sv/LC_MESSAGES/*
 /usr/share/man/man1/*
 
 %changelog
This page took 0.02395 seconds and 4 git commands to generate.