Accepting request 68302 from home:Lazy_Kent:branches:Base:System

OBS-URL: https://build.opensuse.org/request/show/68302
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=27
This commit is contained in:
Greg Kroah-Hartman 2011-04-25 17:25:46 +00:00 committed by Git OBS Bridge
parent f7edda7e22
commit 11aeb1e7a2
2 changed files with 14 additions and 11 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 25 08:25:11 UTC 2011 - lazy.kent@opensuse.org
- Don't convert Russian and Ukrainian docs. They have been already
in UTF-8 (bnc#686483).
- Install help and hints for non-english locales (bnc#681060).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 23 08:19:15 UTC 2011 - pcerny@novell.com Wed Mar 23 08:19:15 UTC 2011 - pcerny@novell.com

18
mc.spec
View File

@ -124,8 +124,6 @@ iconv -f iso8859-2 -t utf-8 -o mc.hint.cs.tmp mc.hint.cs && mv mc.hint.cs.tmp mc
iconv -f iso8859-2 -t utf-8 -o mc.hint.hu.tmp mc.hint.hu && mv mc.hint.hu.tmp mc.hint.hu iconv -f iso8859-2 -t utf-8 -o mc.hint.hu.tmp mc.hint.hu && mv mc.hint.hu.tmp mc.hint.hu
iconv -f iso8859-2 -t utf-8 -o mc.hint.pl.tmp mc.hint.pl && mv mc.hint.pl.tmp mc.hint.pl iconv -f iso8859-2 -t utf-8 -o mc.hint.pl.tmp mc.hint.pl && mv mc.hint.pl.tmp mc.hint.pl
iconv -f iso8859-5 -t utf-8 -o mc.hint.sr.tmp mc.hint.sr && mv mc.hint.sr.tmp mc.hint.sr iconv -f iso8859-5 -t utf-8 -o mc.hint.sr.tmp mc.hint.sr && mv mc.hint.sr.tmp mc.hint.sr
iconv -f koi8-r -t utf8 -o mc.hint.ru.tmp mc.hint.ru && mv mc.hint.ru.tmp mc.hint.ru
iconv -f koi8-u -t utf8 -o mc.hint.uk.tmp mc.hint.uk && mv mc.hint.uk.tmp mc.hint.uk
iconv -f big5 -t utf8 -o mc.hint.zh.tmp mc.hint.zh && mv mc.hint.zh.tmp mc.hint.zh iconv -f big5 -t utf8 -o mc.hint.zh.tmp mc.hint.zh && mv mc.hint.zh.tmp mc.hint.zh
popd popd
pushd misc pushd misc
@ -146,15 +144,12 @@ popd
pushd pl pushd pl
iconv -f iso8859-2 -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in iconv -f iso8859-2 -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in
popd popd
pushd ru
iconv -f koi8-r -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in
popd
pushd sr pushd sr
iconv -f iso8859-5 -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in iconv -f iso8859-5 -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in
iconv -f iso8859-5 -t utf-8 -o mcserv.8.in.tmp mcserv.8.in && mv mcserv.8.in.tmp mcserv.8.in iconv -f iso8859-5 -t utf-8 -o mcserv.8.in.tmp mcserv.8.in && mv mcserv.8.in.tmp mcserv.8.in
popd # doc/man popd # doc/man
popd # doc/ popd # doc/
pushd hlp pushd hlp
pushd es pushd es
iconv -f iso8859-1 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp iconv -f iso8859-1 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp
popd popd
@ -167,9 +162,6 @@ popd
pushd pl pushd pl
iconv -f iso8859-2 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp iconv -f iso8859-2 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp
popd popd
pushd ru
iconv -f koi8-r -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp
popd
pushd sr pushd sr
iconv -f iso8859-5 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp iconv -f iso8859-5 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp
popd # doc/hlp popd # doc/hlp
@ -242,6 +234,9 @@ rm -rf %{buildroot}
%exclude %{_sysconfdir}/mc/mc.menu.* %exclude %{_sysconfdir}/mc/mc.menu.*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png %{_datadir}/pixmaps/%{name}.png
%files lang -f %{name}.lang
%defattr(-, root, root)
%lang(es) %doc %{_mandir}/es %lang(es) %doc %{_mandir}/es
%lang(hu) %doc %{_mandir}/hu %lang(hu) %doc %{_mandir}/hu
%lang(it) %doc %{_mandir}/it %lang(it) %doc %{_mandir}/it
@ -254,8 +249,9 @@ rm -rf %{buildroot}
%lang(it) %doc %{_datadir}/mc/*/mc.*.it %lang(it) %doc %{_datadir}/mc/*/mc.*.it
%lang(nl) %doc %{_datadir}/mc/*/mc.*.nl %lang(nl) %doc %{_datadir}/mc/*/mc.*.nl
%lang(pl) %doc %{_datadir}/mc/*/mc.*.pl %lang(pl) %doc %{_datadir}/mc/*/mc.*.pl
%lang(ru) %doc %{_datadir}/mc/*/mc.*.ru
%lang(sr) %doc %{_datadir}/mc/*/mc.*.sr %lang(sr) %doc %{_datadir}/mc/*/mc.*.sr
%lang(uk) %doc %{_datadir}/mc/*/mc.*.uk
%files lang -f %{name}.lang %lang(zh) %doc %{_datadir}/mc/*/mc.*.zh
%changelog %changelog