From 38ec8b96b0494085d84f7695f0c703ca83cc1f51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 12 Oct 2009 06:44:04 +0000 Subject: [PATCH] - move locale dirs to a file Changed files: FHS.spec -> 1.138 locale-dirs -> 1.1 --- FHS.spec | 6 ++++-- locale-dirs | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 locale-dirs diff --git a/FHS.spec b/FHS.spec index 379781c..cb50b7f 100644 --- a/FHS.spec +++ b/FHS.spec @@ -13,6 +13,7 @@ Release: 26 License: GPL Group: Base URL: http://www.pathname.com/fhs/ +Source0: locale-dirs BuildRequires: mktemp BuildRequires: rpmbuild(macros) >= 1.213 Conflicts: setup < 2.7 @@ -61,6 +62,8 @@ Bu paket GNU makro işleme dilini içerir. Mantıksal olarak ayrıştırılabilen metin dosyaları yazımı için yararlıdır. %prep +%setup -qc +cp -a %{SOURCE0} . %install rm -rf $RPM_BUILD_ROOT @@ -83,8 +86,7 @@ install -d $RPM_BUILD_ROOT{/lib64,/usr/lib64/games,/usr/local/lib64} for manp in man{1,2,3,4,5,6,7,8} ; do install -d $RPM_BUILD_ROOT/usr/share/man/${manp} install -d $RPM_BUILD_ROOT%{_locmandir}/${manp} - for mloc in bg ca cs da de el eo es fi fr gl hr hu id it ja ko lt nl \ - pl pt pt_BR ro ru sk sl sr sv tr uk zh_CN zh_TW ; do + for mloc in $(cat locale-dirs); do install -d $RPM_BUILD_ROOT/usr/share/man/${mloc}/${manp} done done diff --git a/locale-dirs b/locale-dirs new file mode 100644 index 0000000..b8346bd --- /dev/null +++ b/locale-dirs @@ -0,0 +1,32 @@ +bg +ca +cs +da +de +el +eo +es +fi +fr +gl +hr +hu +id +it +ja +ko +lt +nl +pl +pt +pt_BR +ro +ru +sk +sl +sr +sv +tr +uk +zh_CN +zh_TW -- 2.44.0