- Mark localized man pages with %lang.

This commit is contained in:
Jiří Popelka 2010-04-30 10:38:11 +00:00
parent 5ca9cf7d55
commit 02a45c9b9f

View File

@ -1,7 +1,7 @@
Summary: Utility to set/show the host name or domain name
Name: hostname
Version: 3.04
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://packages.qa.debian.org/h/hostname.html
@ -48,20 +48,21 @@ ln -fs hostname.1 %{buildroot}%{_mandir}/de/man1/domainname.1
ln -fs hostname.1 %{buildroot}%{_mandir}/de/man1/ypdomainname.1
ln -fs hostname.1 %{buildroot}%{_mandir}/de/man1/nisdomainname.1
%find_lang %{name} --all-name --with-man
%clean
rm -rf %{buildroot}
%files
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYRIGHT
/bin/*
%{_mandir}/man1/*
%{_mandir}/fr/man1/*
%{_mandir}/pt/man1/*
%{_mandir}/de/man1/*
%changelog
* Fri Apr 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.04-2
- Mark localized man pages with %%lang.
* Thu Mar 25 2010 Jiri Popelka <jpopelka@redhat.com> - 3.04-1
- Upgrade to 3.04