]> git.pld-linux.org Git - packages/FHS.git/commitdiff
- move locale dirs to a file
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 12 Oct 2009 06:44:04 +0000 (06:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    FHS.spec -> 1.138
    locale-dirs -> 1.1

FHS.spec
locale-dirs [new file with mode: 0644]

index 379781cc156b76a538ff64b88c9a420616c50fc7..cb50b7f549d0bfba3f3c1ca7d82419497b75b24d 100644 (file)
--- 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 (file)
index 0000000..b8346bd
--- /dev/null
@@ -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
This page took 0.047387 seconds and 4 git commands to generate.