]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
- one more typo
[packages/glibc.git] / glibc.spec
index 383f60d590b5f5f71e6d3920ab9184711b3cc26c..44265da48c2bd68421f28059525f0d53b6e1e9ce 100644 (file)
@@ -1,18 +1,3 @@
-# TODO:
-# - files?
-#   (debuggable libraries built with frame pointers - -debug package?)
-#   %{_libdir}/libBrokenLocale_g.a
-#   %{_libdir}/libanl_g.a
-#   %{_libdir}/libc_g.a
-#   %{_libdir}/libcrypt_g.a
-#   %{_libdir}/libdl_g.a
-#   %{_libdir}/libm_g.a
-#   %{_libdir}/libnsl_g.a
-#   %{_libdir}/libpthread_g.a
-#   %{_libdir}/libresolv_g.a
-#   %{_libdir}/librpcsvc_g.a
-#   %{_libdir}/librt_g.a
-#   %{_libdir}/libutil_g.a
 #
 # Conditional build:
 # min_kernel   (default is 2.6.12)
@@ -21,6 +6,7 @@
 %bcond_with    tests           # perform "make test"
 %bcond_without localedb        # don't build localedb-all (is time consuming)
 %bcond_with    cross           # build using crossgcc (without libgcc_eh)
+%bcond_with    pax             # PaX support
 #
 # TODO:
 # - look at locale fixes/updates in bugzilla
 %undefine      with_memusage
 %endif
 
-%define                llh_version     7:2.6.12.0-10
+%define                llh_version     7:2.6.20.4-1
 
 Summary:       GNU libc
-Summary(de):   GNU libc
-Summary(es):   GNU libc
-Summary(fr):   GNU libc
-Summary(ja):   GNU libc ¥é¥¤¥Ö¥é¥ê
-Summary(pl):   GNU libc
-Summary(ru):   GNU libc ×ÅÒÓÉÉ 2.3
-Summary(tr):   GNU libc
-Summary(uk):   GNU libc ×ÅÒÓ¦§ 2.3
+Summary(de.UTF-8):     GNU libc
+Summary(es.UTF-8):     GNU libc
+Summary(fr.UTF-8):     GNU libc
+Summary(ja.UTF-8):     GNU libc ライブラリ
+Summary(pl.UTF-8):     GNU libc
+Summary(ru.UTF-8):     GNU libc версии
+Summary(tr.UTF-8):     GNU libc
+Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
-Version:       2.5
-Release:       0.5
+Version:       2.7
+Release:       8.2
 Epoch:         6
-License:       LGPL
+License:       LGPL v2.1+
 Group:         Libraries
 Source0:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 1fb29764a6a650a4d5b409dda227ac9f
+# Source0-md5: 065c5952b439deba40083ccd67bcc8f7
 Source1:       ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
-# Source1-md5: 8787868ba8962d9b125997ec2f25ac01
+# Source1-md5: 226809992fb1f3dc6ea23e0f26952ea4
 Source2:       nscd.init
 Source3:       nscd.sysconfig
 Source4:       nscd.logrotate
 #Source5:      http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
-Source5:       http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2
+Source5:       http://qboosh.pl/man/%{name}-man-pages.tar.bz2
 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
 Source6:       %{name}-localedb-gen
 Source7:       %{name}-LD-path.c
-Patch0:                %{name}-cvs20070210.patch
 Patch1:                %{name}-pl.po-update.patch
 Patch2:                %{name}-pld.patch
 Patch3:                %{name}-crypt-blowfish.patch
 Patch4:                %{name}-alpha-ev6-opcodes.patch
 Patch5:                %{name}-sparc-softfp-gcc.patch
 Patch6:                %{name}-paths.patch
-
+Patch7:                %{name}-no_opt_override.patch
 Patch8:                %{name}-missing-nls.patch
 Patch9:                %{name}-java-libc-wait.patch
 Patch10:       %{name}-info.patch
-Patch11:       %{name}-no_opt_override.patch
-Patch12:       %{name}-includes.patch
-Patch13:       %{name}-ppc-inline-fsqrt.patch
-Patch14:       %{name}-sparc-errno_fix.patch
+Patch11:       %{name}-no_debuggable_objects.patch
 
+Patch13:       %{name}-awk.patch
+Patch14:       %{name}-sparc-errno_fix.patch
+Patch15:       %{name}-memmove.patch
 Patch17:       %{name}-new-charsets.patch
+Patch18:       %{name}-i586-build-fix.patch
 
 Patch20:       %{name}-tzfile-noassert.patch
 Patch21:       %{name}-morelocales.patch
 Patch22:       %{name}-locale_fixes.patch
 Patch23:       %{name}-ZA_collate.patch
-Patch24:       %{name}-iconvconfig-nxstack.patch
+
 Patch25:       %{name}-cross-gcc_eh.patch
-# PaX hack (dropped)
-#Patch30:      %{name}-pax_dl-execstack.patch
+Patch26:       %{name}-with-stroke.patch
+Patch30:       %{name}-pax_dl-execstack.patch
+Patch31:       %{name}-pt_pax.patch
+Patch32:       %{name}-tzfile_read.patch
+Patch33:       %{name}-sparc-lowlevellock.patch
 URL:           http://www.gnu.org/software/libc/
 %{?with_selinux:BuildRequires: audit-libs-devel}
 BuildRequires: autoconf
 BuildRequires: automake
+%ifarch alpha
+BuildRequires: binutils >= 2:2.17.50.0.7
+%else
 BuildRequires: binutils >= 2:2.15.90.0.3
-BuildRequires: gcc >= 5:3.4
+%endif
+AutoReq:       false
+%{!?with_cross:BuildRequires:  dietlibc-static}
 BuildRequires: gawk
+BuildRequires: gcc >= 5:3.4
 %{?with_memusage:BuildRequires:        gd-devel >= 2.0.1}
 BuildRequires: gettext-devel >= 0.10.36
-%{!?with_cross:BuildRequires:  dietlibc-static}
 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
 BuildRequires: linux-libc-headers >= %{llh_version}
 BuildRequires: perl-base
 BuildRequires: rpm-build >= 4.3-0.20030610.28
 BuildRequires: rpm-perlprov
-BuildRequires: rpmbuild(macros) >= 1.315
+BuildRequires: rpmbuild(macros) >= 1.412
 BuildRequires: sed >= 4.0.5
 BuildRequires: texinfo
-AutoReq:       false
+Requires(post):        ldconfig = %{epoch}:%{version}-%{release}
 Requires:      %{name}-misc = %{epoch}:%{version}-%{release}
 Requires:      basesystem
 Requires:      uname(release) >= %{min_kernel}
-Provides:      /sbin/ldconfig
 Provides:      glibc(nptl)
 Provides:      glibc(tls)
-Provides:      glibc64
-Provides:      ldconfig
+Provides:      rtld(GNU_HASH)
 Obsoletes:     glibc-common
 Obsoletes:     glibc-debug
+%ifarch %{x8664} sparc64 ppc64
+Provides:      glibc64
 Obsoletes:     glibc64
-Obsoletes:     ldconfig
+%endif
+Conflicts:     SysVinit < 2.86-11
 Conflicts:     kernel < %{min_kernel}
 Conflicts:     kernel24
 Conflicts:     kernel24-smp
@@ -136,6 +131,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                filterout_ld            (-Wl,)?-[sS] (-Wl,)?--strip.*
 %define        specflags_sparc64       -mcpu=ultrasparc -mvis -fcall-used-g6
 
+# ld.so needs not to be stripped to work
+# gdb needs unstripped libpthread for some threading support
+# ...but we can strip at least debuginfo from them
+%define                _autostripdebug         .*/ld-[0-9.]*so\|.*/libpthread-[0-9.]*so
+
 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
 %ifarch sparc sparcv9
 %{expand:%%define      __cc    %{__cc} -m32}
@@ -166,129 +166,169 @@ national language (locale) support.
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
-%description -l es
-Contiene las bibliotecas estándared que son usadas por varios
+%description -l es.UTF-8
+Contiene las bibliotecas estándared que son usadas por varios
 programas del sistema. Para ahorrar el espacio en el disco y la
-memoria, igual que para facilitar actualizaciones, código común del
+memoria, igual que para facilitar actualizaciones, código común del
 sistema se guarda en un sitio y es compartido entre los programas.
-Este paquete contiene las bibliotecas compartidas más importantes, es
-decir la biblioteca C estándar y la biblioteca estándar de matemática.
-Sin éstas, un sistema Linux no podrá funcionar. También está incluido
+Este paquete contiene las bibliotecas compartidas más importantes, es
+decir la biblioteca C estándar y la biblioteca estándar de matemática.
+Sin éstas, un sistema Linux no podrá funcionar. También está incluido
 soporte de idiomas nacionales (locale).
 
-Puede usarse con: núcleo Linux >= %{min_kernel}.
+Puede usarse con: núcleo Linux >= %{min_kernel}.
 
-%description -l de
-Enthält die Standard-Libraries, die von verschiedenen Programmen im
+%description -l de.UTF-8
+Enthält die Standard-Libraries, die von verschiedenen Programmen im
 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
 einer einzigen Stelle gespeichert und wird von den Programmen
-gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
+gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
 shared Libraries, die Standard-C-Library und die
 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
-Ferner enthält es den Support für die verschiedenen Sprachgregionen
+Ferner enthält es den Support für die verschiedenen Sprachgregionen
 (locale).
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
-%description -l fr
-Contient les bibliothèques standards utilisées par de nombreux
-programmes du système. Afin d'économiser l'espace disque et mémoire,
-et de faciliter les mises à jour, le code commun au système est mis à
-un endroit et partagé entre les programmes. Ce paquetage contient les
-bibliothèques partagées les plus importantes, la bibliothèque standard
-du C et la bibliothèque mathématique standard. Sans celles-ci, un
-système Linux ne peut fonctionner. Il contient aussi la gestion des
+%description -l fr.UTF-8
+Contient les bibliothèques standards utilisées par de nombreux
+programmes du système. Afin d'économiser l'espace disque et mémoire,
+et de faciliter les mises à jour, le code commun au système est mis à
+un endroit et partagé entre les programmes. Ce paquetage contient les
+bibliothèques partagées les plus importantes, la bibliothèque standard
+du C et la bibliothèque mathématique standard. Sans celles-ci, un
+système Linux ne peut fonctionner. Il contient aussi la gestion des
 langues nationales (locales).
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
-%description -l ja
+%description -l ja.UTF-8
 glibc
-¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
-¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
-ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
-´Ö¤Ç¶¦Í­¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
-½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: É¸½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
-¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤­¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
-¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
-¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
+パッケージはシステム上の複数のプログラムで使われる標準ライブラリを
+ふくみます。ディスクスペースとメモリを節約したり、アップグレードを
+用意にするために、共通のシステムコードは一つの場所におかれ、プログラム
+間で共有されます。この部分的なパッケージはシェアドライブラリのかなり
+重要なセットをふくみます: 標準 C ライブラリと標準数値ライブラリです。
+この二つのライブラリ抜きでは、Linux システムは機能しません。 glibc
+ã\83\91ã\83\83ã\82±ã\83¼ã\82¸ã\81¯ã\81¾ã\81\9få\9c°å\9f\9fè¨\80èª\9e (locale) ã\82µã\83\9dã\83¼ã\83\88ã\81¨ã\82¿ã\82¤ã\83 ã\82¾ã\83¼ã\83³ã\83\87ã\83¼ã\82¿ã\83\99ã\83¼ã\82¹
+サポートをふくみます。
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
-%description -l pl
-W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
-programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
-pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
-systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
-programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
-standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
-matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
-Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
-jêzyków (locale).
-
-Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
-
-%description -l ru
-óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
ÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
-É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
-×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
ÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
-ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
-ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
ÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
+%description -l pl.UTF-8
+W pakiecie znajdują się podstawowe biblioteki, używane przez różne
+programy w Twoim systemie. Używanie przez programy bibliotek z tego
+pakietu oszczędza miejsce na dysku i pamięć. Większość kodu
+systemowego jest usytuowane w jednym miejscu i dzielone między wieloma
+programami. Pakiet ten zawiera bardzo ważny zbiór bibliotek
+standardowych, współdzielonych (dynamicznych) bibliotek C i
+matematycznych. Bez glibc system Linux nie jest w stanie funkcjonować.
+Znajdują się tutaj również definicje różnych informacji dla wielu
+języków (locale).
+
+Pakiet jest przeznaczony dla jądra Linuksa >= %{min_kernel}.
+
+%description -l ru.UTF-8
+Содержит стандартные библиотеки, используемые многочисленными
¿Ñ\80огÑ\80аммами Ð² Ñ\81иÑ\81Ñ\82еме. Ð\94лÑ\8f Ñ\82ого, Ñ\87Ñ\82обÑ\8b Ñ\81оÑ\85Ñ\80аниÑ\82Ñ\8c Ð´Ð¸Ñ\81ковое Ð¿Ñ\80оÑ\81Ñ\82Ñ\80анÑ\81Ñ\82во
+и память, а также для простоты обновления, системный код, общий для
+всех программ, хранится в одном месте и коллективно используется всеми
¿Ñ\80огÑ\80аммами. Ð­Ñ\82оÑ\82 Ð¿Ð°ÐºÐµÑ\82 Ñ\81одеÑ\80жиÑ\82 Ð½Ð°Ð¸Ð±Ð¾Ð»ÐµÐµ Ð²Ð°Ð¶Ð½Ñ\8bе Ð¸Ð· Ñ\80азделÑ\8fемÑ\8bÑ\85
+библиотек - стандартную библиотеку C и стандартную библиотеку
+математики. Без этих библиотек Linux функционировать не будет. Также
¿Ð°ÐºÐµÑ\82 Ñ\81одеÑ\80жиÑ\82 Ð¿Ð¾Ð´Ð´ÐµÑ\80жкÑ\83 Ð½Ð°Ñ\86ионалÑ\8cнÑ\8bÑ\85 Ñ\8fзÑ\8bков (locale).
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
-%description -l tr
-Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
-Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
-iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
-tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
-kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
-içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
-dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
+%description -l tr.UTF-8
+Bu paket, birçok programın kullandığı standart kitaplıkları içerir.
+Disk alanı ve bellek kullanımını azaltmak ve aynı zamanda güncelleme
+işlemlerini kolaylaştırmak için ortak sistem kodları tek bir yerde
+tutulup programlar arasında paylaştırılır. Bu paket en önemli ortak
+kitaplıkları, standart C kitaplığını ve standart matematik kitaplığını
+içerir. Bu kitaplıklar olmadan Linux sistemi çalışmayacaktır. Yerel
+dil desteği ve zaman dilimi veri tabanı da bu pakette yer alır.
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
-%description -l uk
-í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
ÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
ÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
-ÓЦÌØÎÉÊ ÄÌÑ ×ӦȠÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍՠͦÓæ ¦ ËÏÌÅËÔÉ×ÎÏ
-×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
-Ú ÄÉÎÁͦÞÎÉȠ¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎՠ¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
-¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉȠ¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
-ôÁËÏÖ ÐÁËÅԠͦÓÔÉÔؠЦÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
+%description -l uk.UTF-8
+Містить стандартні бібліотеки, котрі використовуються численними
¿Ñ\80огÑ\80амами Ð² Ñ\81иÑ\81Ñ\82емÑ\96. Ð\94лÑ\8f Ñ\82ого, Ñ\89об Ð·Ð±ÐµÑ\80егÑ\82и Ð´Ð¸Ñ\81ковий Ð¿Ñ\80оÑ\81Ñ\82Ñ\96Ñ\80 Ñ\82а
¿Ð°Ð¼'Ñ\8fÑ\82Ñ\8c, Ð° Ñ\82акож Ð´Ð»Ñ\8f Ð¿Ñ\80оÑ\81Ñ\82оÑ\82и Ð¿Ð¾Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ\8f Ñ\81иÑ\81Ñ\82еми, Ñ\81иÑ\81Ñ\82емний ÐºÐ¾Ð´,
+спільний для всіх програм, зберігається в одному місці і колективно
+використовується всіма програмами. Цей пакет містить найбільш важливі
+з динамічних бібліотек - стандартну бібліотеку С та стандартну
+бібліотеку математики. Без цих бібліотек Linux функціонувати не буде.
+Також пакет містить підтримку національних мов (locale).
 
 Can be used on: Linux kernel >= %{min_kernel}.
 
 %package misc
 Summary:       Utilities and data used by glibc
-Summary(pl):   Narzêdzia i dane u¿ywane przez glibc
+Summary(pl.UTF-8):     Narzędzia i dane używane przez glibc
 Group:         Applications/System
 AutoReq:       false
-Requires(pre): %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      tzdata >= 2006g-2
 
 %description misc
 Utilities and data used by glibc.
 
-%description misc -l pl
-Narzêdzia i dane u¿ywane przez glibc.
+%description misc -l pl.UTF-8
+Narzędzia i dane używane przez glibc.
+
+%package -n ldconfig
+Summary:       Create shared library cache and maintains symlinks
+Summary(de.UTF-8):     Erstellt ein shared library cache und verwaltet symlinks
+Summary(fr.UTF-8):     Crée un cache de bibliothčque partagée et gčre *.so
+Summary(pl.UTF-8):     Tworzenie cache'u bibliotek dynamicznych i ich dowiązań symbolicznych
+Summary(tr.UTF-8):     Ortak kitaplýk önbelleđi yaratýr ve bađlantýlarý kurar
+Group:         Applications/System
+# This is needed because previous package (glibc) had autoreq false and had
+# provided this manually. Probably poldek bug that have to have it here.
+Provides:      /sbin/ldconfig
+
+%description -n ldconfig
+ldconfig scans a running system and sets up the symbolic links that
+are used to load shared libraries properly. It also creates
+/etc/ld.so.cache which speeds the loading programs which use shared
+libraries.
+
+%description -n ldconfig -l de.UTF-8
+ldconfig scannt ein laufendes System und richtet die symbolischen
+Verknüpfungen zum Laden der gemeinsam genutzten Libraries ein.
+Außerdem erstellt es /etc/ld.so.cache, was das Laden von Programmen
+mit gemeinsam genutzten Libraries beschleunigt.
+
+%description -n ldconfig -l fr.UTF-8
+ldconfig analyse un systčme et configure les liens symboliques
+utilisés pour charger correctement les bibliothčques partagées. Il
+crée aussi /etc/ld.so.cache qui accélčre le chargement des programmes
+utilisant les bibliothčques partagées.
+
+%description -n ldconfig -l pl.UTF-8
+ldconfig testuje uruchominy system i tworzy dowiązania symboliczne,
+które są następnie używane do poprawnego ładowania bibliotek
+dynamicznych. Program ten tworzy plik /etc/ld.so.cache, który
+przyśpiesza ładowanie programów korzystających z bibliotek
+dynamicznych.
+
+%description -n ldconfig -l tr.UTF-8
+ldconfig, çalýţmakta olan sistemi araţtýrýr ve ortak kitaplýklarýn
+düzgün bir ţekilde yüklenmesi için gereken simgesel bađlantýlarý
+kurar. Ayrýca ortak kitaplýklarý kullanan programlarýn yüklenmesini
+hýzlandýran /etc/ld.so.cache dosyasýný yaratýr.
 
 %package devel
 Summary:       Additional libraries required to compile
-Summary(de):   Weitere Libraries zum Kompilieren
-Summary(es):   Bibliotecas adicionales necesarias para la compilación
-Summary(fr):   Librairies supplémentaires nécessaires à la compilation
-Summary(ja):   É¸½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
-Summary(pl):   Dodatkowe biblioteki wymagane podczas kompilacji
-Summary(ru):   äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
-Summary(tr):   Geliþtirme için gerekli diðer kitaplýklar
-Summary(uk):   äÏÄÁÔËÏצ Â¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
+Summary(de.UTF-8):     Weitere Libraries zum Kompilieren
+Summary(es.UTF-8):     Bibliotecas adicionales necesarias para la compilación
+Summary(fr.UTF-8):     Librairies supplémentaires nécessaires à la compilation
+Summary(ja.UTF-8):     標準 C ライブラリで使われるヘッダーとオブジェクトファイル
+Summary(pl.UTF-8):     Dodatkowe biblioteki wymagane podczas kompilacji
+Summary(ru.UTF-8):     Дополнительные библиотеки, необходимые для компиляции
+Summary(tr.UTF-8):     Geliştirme için gerekli diğer kitaplıklar
+Summary(uk.UTF-8):     Додаткові бібліотеки, потрібні для компіляції
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      %{name}-devel-utils = %{epoch}:%{version}-%{release}
@@ -301,56 +341,56 @@ To develop programs which use the standard C libraries (which nearly
 all programs do), the system needs to have these standard header files
 and object files available for creating the executables.
 
-%description devel -l de
+%description devel -l de.UTF-8
 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
-verwenden (also fast alle), benötigt das System diese Standard-Header-
-und Objektdateien zum Erstellen der ausführbaren Programme.
+verwenden (also fast alle), benötigt das System diese Standard-Header-
+und Objektdateien zum Erstellen der ausführbaren Programme.
 
-%description devel -l es
-Para desarrollar programas que utilizan las bibliotecas C estándar (lo
-cual hacen prácticamente todos los programas), el sistema necesita
+%description devel -l es.UTF-8
+Para desarrollar programas que utilizan las bibliotecas C estándar (lo
+cual hacen prácticamente todos los programas), el sistema necesita
 disponer de estos ficheros de cabecera y de objetos para crear los
 ejecutables.
 
-%description devel -l fr
-Pour développer des programmes utilisant les bibliothèques standard du
-C (ce que presque tous les programmes font), le système doit posséder
-ces fichiers en-têtes et objets standards pour créer les exécutables.
-
-%description devel -l ja
-glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
-¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
-¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
-¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
-¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
-¤¬»ÈÍѤǤ­¤Þ¤¹¡£
-
-%description devel -l pl
-Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
-korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
-nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
+%description devel -l fr.UTF-8
+Pour développer des programmes utilisant les bibliothèques standard du
+C (ce que presque tous les programmes font), le système doit posséder
+ces fichiers en-têtes et objets standards pour créer les exécutables.
+
+%description devel -l ja.UTF-8
+glibc-devel パッケージは(ほとんどすべてのプログラムで使われる)標準 C
+ライブラリを使用したプログラムを開発するためのヘッダーとオブジェクト
+ファイルを含みます。もし標準 C
+ライブラリを使用するプログラムを開発するなら
+実行ファイルを作成する目的でこれらの標準ヘッダとオブジェクトファイル
+が使用できます。
+
+%description devel -l pl.UTF-8
+Pakiet ten jest niezbędny przy tworzeniu własnych programów
+korzystających ze standardowej biblioteki C. Znajdują się tutaj pliki
+nagłówkowe oraz pliki obiektowe, niezbędne do kompilacji programów
 wykonywalnych i innych bibliotek.
 
-%description devel -l ru
-äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
ÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
-ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
-ÉÓÐÏÌÎÑÅÍÙÅ ÆÁÊÌÙ.
+%description devel -l ru.UTF-8
+Для разработки программ, использующих стандартные библиотеки C (а
¿Ñ\80акÑ\82иÑ\87еÑ\81ки Ð²Ñ\81е Ð¿Ñ\80огÑ\80аммÑ\8b Ð¸Ñ\85 Ð¸Ñ\81полÑ\8cзÑ\83Ñ\8eÑ\82), Ñ\81иÑ\81Ñ\82еме Ð\9dÐ\95Ð\9eÐ\91Ð¥Ð\9eÐ\94Ð\98Ð\9cЫ Ñ\85едеÑ\80Ñ\8b Ð¸
+объектные файлы, содержащиеся в этом пакете, чтобы создавать
+исполняемые файлы.
 
-%description devel -l tr
-C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
-geliþtirmek için gereken standart baþlýk dosyalarý ve statik
-kitaplýklar.
+%description devel -l tr.UTF-8
+C kitaplığını kullanan (ki hemen hemen hepsi kullanıyor) programlar
+geliştirmek için gereken standart başlık dosyaları ve statik
+kitaplıklar.
 
-%description devel -l uk
-äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ C
-(ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äÈÅÄÅÒÉ
-ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝϠͦÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
-×ÉËÏÎÕ×ÁΦ ÆÁÊÌÉ.
+%description devel -l uk.UTF-8
+Для розробки програм, що використовують стандартні бібліотеки C
+(пÑ\80акÑ\82иÑ\87но Ð²Ñ\81Ñ\96 Ð¿Ñ\80огÑ\80ами Ñ\97Ñ\85 Ð²Ð¸ÐºÐ¾Ñ\80иÑ\81Ñ\82овÑ\83Ñ\8eÑ\82Ñ\8c), Ñ\81иÑ\81Ñ\82емÑ\96 Ð\9dÐ\95Ð\9eÐ\91Ð¥Ð\86Ð\94Ð\9dÐ\86 Ñ\85едеÑ\80и
+та об'єктні файли, що містяться в цьому пакеті, цоб створювати
+виконувані файли.
 
 %package headers
 Summary:       Header files for development using standard C libraries
-Summary(pl):   Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
+Summary(pl.UTF-8):     Pliki nagłówkowe do tworzenia programów przy użyciu standardowych bibliotek C
 Group:         Development/Building
 Provides:      %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
 %ifarch %{x8664}
@@ -385,20 +425,20 @@ header files available in order to create the executables.
 Install glibc-headers if you are going to develop programs which will
 use the standard C libraries.
 
-%description headers -l pl
-Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
-programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
-prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
-standardowych bibliotek C, system wymaga dostêpno¶ci tych
-standardowych plików nag³ówkowych do tworzenia programów
+%description headers -l pl.UTF-8
+Pakiet glibc-headers zawiera pliki nagłówkowe niezbędne do rozwijania
+programów używających standardowych bibliotek C (używanych przez
+prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
+standardowych bibliotek C, system wymaga dostępności tych
+standardowych plików nagłówkowych do tworzenia programów
 wykonywalnych.
 
-Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
-korzystaj±ce ze standardowych bibliotek C.
+Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
+korzystające ze standardowych bibliotek C.
 
 %package devel-utils
 Summary:       Utilities needed for development using standard C libraries
-Summary(pl):   Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
+Summary(pl.UTF-8):     Narzędzia do tworzenia programów przy użyciu standardowych bibliotek C
 Group:         Development/Libraries
 Provides:      %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
 %ifarch %{x8664}
@@ -432,19 +472,19 @@ available.
 Install glibc-devel-utils if you are going to develop programs which
 will use the standard C libraries.
 
-%description devel-utils -l pl
-Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
-programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
-prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
-standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
-tworzenia programów wykonywalnych.
+%description devel-utils -l pl.UTF-8
+Pakiet glibc-devel-utils zawiera narzędzia niezbędne do rozwijania
+programów używających standardowych bibliotek C (używanych przez
+prawie wszystkie programy). Jeśli tworzymy programy korzystające ze
+standardowych bibliotek C, system wymaga dostępności tych narzędzi do
+tworzenia programów wykonywalnych.
 
-Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
-korzystaj±ce ze standardowych bibliotek C.
+Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
+korzystające ze standardowych bibliotek C.
 
 %package devel-doc
 Summary:       Documentation needed for development using standard C libraries
-Summary(pl):   Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
+Summary(pl.UTF-8):     Dokumentacja do tworzenia programów przy użyciu standardowych bibliotek C
 Group:         Documentation
 Provides:      %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
 %ifarch %{x8664}
@@ -476,21 +516,22 @@ used by nearly all programs).
 Install glibc-devel-doc if you are going to develop programs which
 will use the standard C libraries.
 
-%description devel-doc -l pl
+%description devel-doc -l pl.UTF-8
 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
-rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
+rozwijania programów używających standardowych bibliotek C (używanych
 przez prawie wszystkie programy).
 
-Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
-korzystaj±ce ze standardowych bibliotek C.
+Ten pakiet należy zainstalować jeśli zamierzamy tworzyć programy
+korzystające ze standardowych bibliotek C.
 
 %package -n nscd
 Summary:       Name Service Caching Daemon
-Summary(es):   Demonio de caché del servicio de nombres
-Summary(ja):   ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
-Summary(pl):   Demon zapamiêtuj±cy odpowiedzi serwisów nazw
-Summary(ru):   ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
-Summary(uk):   ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
+Summary(es.UTF-8):     Demonio de caché del servicio de nombres
+Summary(ja.UTF-8):     ネームサービスキャッシングデーモン (nacd)
+Summary(pl.UTF-8):     Demon zapamiętujący odpowiedzi serwisów nazw
+Summary(ru.UTF-8):     Кэширующий демон сервисов имен
+Summary(uk.UTF-8):     Кешуючий демон севісів імен
+License:       GPL v2
 Group:         Networking/Daemons
 Requires(post):        fileutils
 Requires(post,preun):  /sbin/chkconfig
@@ -510,32 +551,32 @@ Provides: user(nscd)
 nscd caches name service lookups; it can dramatically improve
 performance with NIS+, and may help with DNS as well.
 
-%description -n nscd -l es
-nscd guarda las peticiones del servicio de nombres en una caché; eso
-puede aumentar drásticamente las prestaciones de NIS+, y también puede
+%description -n nscd -l es.UTF-8
+nscd guarda las peticiones del servicio de nombres en una caché; eso
+puede aumentar drásticamente las prestaciones de NIS+, y también puede
 ayudar con DNS.
 
-%description -n nscd -l ja
-Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥­¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
-¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
+%description -n nscd -l ja.UTF-8
+Nscd はネームサービス参照をキャッシュし、NIS+ のパフォーマンスを
+ドラマティックに改善することができ、DNS を同様に補助します。
 
-%description -n nscd -l pl
-nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
-drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
+%description -n nscd -l pl.UTF-8
+nscd zapamiętuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
+drastycznie poprawić szybkość działania NIS+.
 
-%description -n nscd -l ru
-nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
-Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
+%description -n nscd -l ru.UTF-8
+nscd кэширует результаты запросов к сервисам имен; это может резко
+увеличить производительность работы с NIS+ и, также, может помочь с
 DNS.
 
-%description -n nscd -l uk
-nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
-Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
+%description -n nscd -l uk.UTF-8
+nscd кешує результати запросів до сервісів імен; це може сильно
+збільшити швидкість роботи з NIS+ і, також, може допомогти з DNS.
 
 %package -n localedb-src
 Summary:       locale database source code
-Summary(es):   Código fuente de la base de datos de los locales
-Summary(pl):   Kod ¼ród³owy bazy locale
+Summary(es.UTF-8):     Código fuente de la base de datos de los locales
+Summary(pl.UTF-8):     Kod źródłowy bazy locale
 Group:         Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      gzip
@@ -545,20 +586,20 @@ Requires: sed
 This add-on package contains the data needed to build the locale data
 files to use the internationalization features of the GNU libc.
 
-%description -n localedb-src -l es
+%description -n localedb-src -l es.UTF-8
 Este paquete adicional contiene los datos necesarios para construir
 los ficheros de locale, imprescindibles para usar las cualidades de
-internacionalización de GNU libc.
+internacionalización de GNU libc.
 
-%description -n localedb-src -l pl
-Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
-lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
+%description -n localedb-src -l pl.UTF-8
+Pakiet ten zawiera dane niezbędne do zbudowania binarnych plików
+lokalizacyjnych, by móc wykorzystać możliwości oferowane przez GNU
 libc.
 
 %package localedb-all
 Summary:       locale database for all locales supported by glibc
-Summary(es):   Base de datos de todos los locales soportados por glibc
-Summary(pl):   Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
+Summary(es.UTF-8):     Base de datos de todos los locales soportados por glibc
+Summary(pl.UTF-8):     Baza danych locale dla wszystkich lokalizacji obsługiwanych przez glibc
 Group:         Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      iconv = %{epoch}:%{version}-%{release}
@@ -570,26 +611,26 @@ something smaller with support for chosen locales only, consider
 installing localedb-src and regenerating database using localedb-gen
 script (when database is generated, localedb-src can be uninstalled).
 
-%description localedb-all -l es
+%description localedb-all -l es.UTF-8
 Este paquete contiene una base de datos de todos los locales
-soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
-39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
-locales elegidos, considérese instalar localedb-src y regenerar la
+soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
+39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
+locales elegidos, considérese instalar localedb-src y regenerar la
 base de datos usando el escript localedb-gen (una vez que la base de
-datos esté creada, localedb-src se podrá desinstalar).
+datos esté creada, localedb-src se podrá desinstalar).
 
-%description localedb-all -l pl
-Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
-obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
-(oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
-lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
-bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
-pakiet localedb-src mo¿na odinstalowaæ).
+%description localedb-all -l pl.UTF-8
+Ten pakiet zawiera bazę danych locale dla wszystkich lokalizacji
+obsługiwanych przez glibc. W glibc 2.3.x jest to jeden duży plik
+(około 39MB); aby mieć coś mniejszego, z obsługą tylko wybranych
+lokalizacji, należy zainstalować pakiet localedb-src i przegenerować
+bazę danych przy użyciu skryptu localedb-gen (po wygenerowaniu bazy
+pakiet localedb-src można odinstalować).
 
 %package -n iconv
 Summary:       Convert encoding of given files from one encoding to another
-Summary(es):   Convierte entre varias codificaciones de los ficheros dados
-Summary(pl):   Modu³y do konwersji plików tekstowych z jednego kodowania do innego
+Summary(es.UTF-8):     Convierte entre varias codificaciones de los ficheros dados
+Summary(pl.UTF-8):     Moduły do konwersji plików tekstowych z jednego kodowania do innego
 Group:         Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -599,27 +640,27 @@ this package if you want to convert some document from one encoding to
 another or if you have installed some programs which use Generic
 Character Set Conversion Interface.
 
-%description -n iconv -l es
-Convierte la codificación de dados ficheros. Necesita este paquete si
-quiere convertir un documento entre una codificación (juego de
-caracteres) y otra, o si tiene instalado algún programa que usa el
-Generic Character Set Conversion Interface (interfaz genérica de
-conversión de juegos de caracteres).
-
-%description -n iconv -l pl
-Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
-Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
-dokumentów z jednego kodowania do innego lub do u¿ywania programów
-korzystaj±cych z Generic Character Set Conversion Interface w glibc,
-czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
+%description -n iconv -l es.UTF-8
+Convierte la codificación de dados ficheros. Necesita este paquete si
+quiere convertir un documento entre una codificación (juego de
+caracteres) y otra, o si tiene instalado algún programa que usa el
+Generic Character Set Conversion Interface (interfaz genérica de
+conversión de juegos de caracteres).
+
+%description -n iconv -l pl.UTF-8
+Moduły do konwersji plików tekstowych z jednego kodowania do innego.
+Trzeba mieć zainstalowany ten pakiet, aby wykonywać konwersję
+dokumentów z jednego kodowania do innego lub do używania programów
+korzystających z Generic Character Set Conversion Interface w glibc,
+czyli z zestawu funkcji z tej biblioteki, które umożliwiają konwersję
 kodowania danych z poziomu dowolnego programu.
 
 %package static
 Summary:       Static libraries
-Summary(es):   Bibliotecas estáticas
-Summary(pl):   Biblioteki statyczne
-Summary(ru):   óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
-Summary(uk):   óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
+Summary(es.UTF-8):     Bibliotecas estáticas
+Summary(pl.UTF-8):     Biblioteki statyczne
+Summary(ru.UTF-8):     Статические библиотеки glibc
+Summary(uk.UTF-8):     Статичні бібліотеки glibc
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 Provides:      %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
@@ -628,29 +669,29 @@ Obsoletes:        libiconv-static
 %description static
 GNU libc static libraries.
 
-%description static -l es
-Bibliotecas estáticas de GNU libc.
+%description static -l es.UTF-8
+Bibliotecas estáticas de GNU libc.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Biblioteki statyczne GNU libc.
 
-%description static -l ru
-üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
-×ÈÏÄÑÔ × glibc-devel.
+%description static -l ru.UTF-8
+Это отдельный пакет со статическими библиотеками, которые больше не
+входят в glibc-devel.
 
-%description static -l uk
-ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
-ÓËÌÁÄ glibc-devel.
+%description static -l uk.UTF-8
+Це окремий пакет зі статичними бібліотеками, що більше не входять в
+склад glibc-devel.
 
 %package profile
 Summary:       glibc with profiling support
-Summary(de):   glibc mit Profil-Unterstützung
-Summary(es):   glibc con soporte de perfilamiento
-Summary(fr):   glibc avec support pour profiling
-Summary(pl):   glibc ze wsparciem dla profilowania
-Summary(ru):   GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
-Summary(tr):   Ölçüm desteði olan glibc
-Summary(uk):   GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
+Summary(de.UTF-8):     glibc mit Profil-Unterstützung
+Summary(es.UTF-8):     glibc con soporte de perfilamiento
+Summary(fr.UTF-8):     glibc avec support pour profiling
+Summary(pl.UTF-8):     glibc ze wsparciem dla profilowania
+Summary(ru.UTF-8):     GNU libc с поддержкой профайлера
+Summary(tr.UTF-8):     Ölçüm desteği olan glibc
+Summary(uk.UTF-8):     GNU libc з підтримкою профайлера
 Group:         Development/Libraries/Libc
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 Obsoletes:     libc-profile
@@ -660,42 +701,42 @@ When programs are being profiled using gprof, they must use these
 libraries instead of the standard C libraries for gprof to be able to
 profile them correctly.
 
-%description profile -l de
-Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
-Libraries anstelle der üblichen C-Libraries verwendet werden.
+%description profile -l de.UTF-8
+Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
+Libraries anstelle der üblichen C-Libraries verwendet werden.
 
-%description profile -l es
+%description profile -l es.UTF-8
 Cuando programas son perfilidas usando gprof, tienen que usar estas
-biblioteces en vez de las estándares para que gprof pueda perfilarlas
+biblioteces en vez de las estándares para que gprof pueda perfilarlas
 correctamente.
 
-%description profile -l pl
-Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
-zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
-wyprofilowaæ.
-
-%description profile -l uk
-ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
-×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
-× ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
-ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
ÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
-
-%description profile -l tr
-gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
-kitaplýðý kullanmak zorundadýrlar.
-
-%description profile -l ru
-ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
-ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
-ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
-ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
ÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
+%description profile -l pl.UTF-8
+Programy profilowane za pomocą gprof muszą używać tych bibliotek
+zamiast standardowych bibliotek C, aby gprof mógł odpowiednio je
+wyprofilować.
+
+%description profile -l uk.UTF-8
+Коли програми досліджуються профайлером gprof, вони повинні
+використовувати замість стандартних бібліотек бібліотеки, що містяться
+в цьому пакеті. При використанні стандартних бібліотек gprof замість
+реальних результатів буде показувати ціни на папайю в Гонолулу в
¿Ð¾Ð·Ð°Ð¼Ð¸Ð½Ñ\83ломÑ\83 Ñ\80оÑ\86Ñ\96...
+
+%description profile -l tr.UTF-8
+gprof kullanılarak ölçülen programlar standart C kitaplığı yerine bu
+kitaplığı kullanmak zorundadırlar.
+
+%description profile -l ru.UTF-8
+Когда программы исследуются профайлером gprof, они должны
+использовать, вместо стандартных библиотек, библиотеки, включенные в
+этот пакет. При использовании стандартных библиотек gprof вместо
+реальных результатов будет показывать цены на папайю в Гонолулу в
¿Ð¾Ð·Ð°Ð¿Ñ\80оÑ\88лом Ð³Ð¾Ð´Ñ\83...
 
 %package pic
 Summary:       glibc PIC archive
-Summary(es):   Archivo PIC de glibc
-Summary(pl):   Archiwum PIC glibc
+Summary(es.UTF-8):     Archivo PIC de glibc
+Summary(pl.UTF-8):     Archiwum PIC glibc
 Group:         Development/Libraries/Libc
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
@@ -704,159 +745,160 @@ GNU C Library PIC archive contains an archive library (ar file)
 composed of individual shared objects. This is used for creating a
 library which is a smaller subset of the standard libc shared library.
 
-%description pic -l es
+%description pic -l es.UTF-8
 El archivo PIC de la biblioteca glibc contiene una biblioteca
 archivada (un fichero ar) compuesta de individuales objetos
 compartidos. Es usado para crear una biblioteca que sea un subconjunto
-más pequeño de la biblioteca libc compartida estándar.
+más pequeño de la biblioteca libc compartida estándar.
 
-%description pic -l pl
-Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
-z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
-tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
-biblioteki wspó³dzielonej libc.
+%description pic -l pl.UTF-8
+Archiwum PIC biblioteki GNU C zawiera archiwalną bibliotekę (plik ar)
+złożoną z pojedynczych obiektów współdzielonych. Używana jest do
+tworzenia biblioteki będącej mniejszym podzestawem standardowej
+biblioteki współdzielonej libc.
 
 %package -n nss_compat
 Summary:       Old style NYS NSS glibc module
-Summary(es):   El antiguo módulo NYS NSS de glibc
-Summary(pl):   Stary modu³ NYS NSS glibc
+Summary(es.UTF-8):     El antiguo módulo NYS NSS de glibc
+Summary(pl.UTF-8):     Stary moduł NYS NSS glibc
 Group:         Base
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description -n nss_compat
 Old style NYS NSS glibc module.
 
-%description -n nss_compat -l es
-El antiguo módulo NYS NSS de glibc
+%description -n nss_compat -l es.UTF-8
+El antiguo módulo NYS NSS de glibc
 
-%description -n nss_compat -l pl
-Stary modu³ NYS NSS glibc.
+%description -n nss_compat -l pl.UTF-8
+Stary moduł NYS NSS glibc.
 
 %package -n nss_dns
 Summary:       BIND NSS glibc module
-Summary(es):   Módulo BIND NSS de glibc
-Summary(pl):   Modu³ BIND NSS glibc
+Summary(es.UTF-8):     Módulo BIND NSS de glibc
+Summary(pl.UTF-8):     Moduł BIND NSS glibc
 Group:         Base
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description -n nss_dns
 BIND NSS glibc module.
 
-%description -n nss_dns -l es
-Módulo BIND NSS de glibc.
+%description -n nss_dns -l es.UTF-8
+Módulo BIND NSS de glibc.
 
-%description -n nss_dns -l pl
-Modu³ BIND NSS glibc.
+%description -n nss_dns -l pl.UTF-8
+Moduł BIND NSS glibc.
 
 %package -n nss_files
 Summary:       Traditional files databases NSS glibc module
-Summary(es):   Módulo de tradicionales bases de datos en ficheros para glibc
-Summary(pl):   Modu³ tradycyjnych plikowych baz danych NSS glibc
+Summary(es.UTF-8):     Módulo de tradicionales bases de datos en ficheros para glibc
+Summary(pl.UTF-8):     Moduł tradycyjnych plikowych baz danych NSS glibc
 Group:         Base
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description -n nss_files
 Traditional files databases NSS glibc module.
 
-%description -n nss_files -l es
-Módulo de tradicionales bases de datos en ficheros para glibc.
+%description -n nss_files -l es.UTF-8
+Módulo de tradicionales bases de datos en ficheros para glibc.
 
-%description -n nss_files -l pl
-Modu³ tradycyjnych plikowych baz danych NSS glibc.
+%description -n nss_files -l pl.UTF-8
+Moduł tradycyjnych plikowych baz danych NSS glibc.
 
 %package -n nss_hesiod
 Summary:       hesiod NSS glibc module
-Summary(es):   Módulo hesiod NSS de glibc
-Summary(pl):   Modu³ hesiod NSS glibc
+Summary(es.UTF-8):     Módulo hesiod NSS de glibc
+Summary(pl.UTF-8):     Moduł hesiod NSS glibc
 Group:         Base
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description -n nss_hesiod
 glibc NSS (Name Service Switch) module for databases access.
 
-%description -n nss_hesiod -l es
-Módulo hesiod NSS de glibc.
+%description -n nss_hesiod -l es.UTF-8
+Módulo hesiod NSS de glibc.
 
-%description -n nss_hesiod -l pl
-Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
+%description -n nss_hesiod -l pl.UTF-8
+Moduł glibc NSS (Name Service Switch) dostępu do baz danych.
 
 %package -n nss_nis
 Summary:       NIS(YP) NSS glibc module
-Summary(es):   Módulo NIS(YP) NSS de glibc
-Summary(pl):   Modu³ NIS(YP) NSS glibc
+Summary(es.UTF-8):     Módulo NIS(YP) NSS de glibc
+Summary(pl.UTF-8):     Moduł NIS(YP) NSS glibc
 Group:         Base
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description -n nss_nis
 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
 
-%description -n nss_nis -l es
-Módulo NSS de glibc para acceder las bases de datos NIS(YP).
+%description -n nss_nis -l es.UTF-8
+Módulo NSS de glibc para acceder las bases de datos NIS(YP).
 
-%description -n nss_nis -l pl
-Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
+%description -n nss_nis -l pl.UTF-8
+Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS(YP).
 
 %package -n nss_nisplus
 Summary:       NIS+ NSS module
-Summary(es):   Módulo NIS+ NSS
-Summary(pl):   Modu³ NIS+ NSS
+Summary(es.UTF-8):     Módulo NIS+ NSS
+Summary(pl.UTF-8):     Moduł NIS+ NSS
 Group:         Base
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description -n nss_nisplus
 glibc NSS (Name Service Switch) module for NIS+ databases access.
 
-%description -n nss_nisplus -l es
-Módulo NSS (Name Service Switch) de glibc para acceder las bases de
+%description -n nss_nisplus -l es.UTF-8
+Módulo NSS (Name Service Switch) de glibc para acceder las bases de
 datos NIS+.
 
-%description -n nss_nisplus -l pl
-Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
+%description -n nss_nisplus -l pl.UTF-8
+Moduł glibc NSS (Name Service Switch) dostępu do baz danych NIS+.
 
 %package memusage
 Summary:       A toy
-Summary(es):   Un juguete
-Summary(pl):   Zabawka
+Summary(es.UTF-8):     Un juguete
+Summary(pl.UTF-8):     Zabawka
 Group:         Applications
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description memusage
 A toy.
 
-%description memusage -l es
+%description memusage -l es.UTF-8
 Un juguete.
 
-%description memusage -l pl
+%description memusage -l pl.UTF-8
 Zabawka.
 
 %prep
 %setup -q -a1
 ln -s glibc-libidn-%{version} libidn
-%patch0 -p1
-# needs update/drop
-#%patch1 -p1
+%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-
+%patch7 -p1
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
-%patch12 -p1
-%patch13 -p1
+%patch13 -p0
 %patch14 -p0
-
+%patch15 -p1
 %patch17 -p1
-
+%patch18 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
-%patch24 -p1
 %{?with_cross:%patch25 -p1}
+%patch26 -p1
+%{?with_pax:%patch30 -p0}
+%{?with_pax:%patch31 -p0}
+%patch32 -p1
+%patch33 -p1
 
 # these would be copied to localedb-src
 rm -f localedata/locales/*{.orig,~}
@@ -867,536 +909,6 @@ chmod +x scripts/cpp
 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
 
-# Hack till glibc-kernheaders get updated, argh
-%define min_kernel_ver %(echo %{min_kernel} | cut -f 1 -d .)
-%define min_kernel_patc %(echo %{min_kernel} | cut -f 2 -d .)
-%define min_kernel_subl        %(echo %{min_kernel} | cut -f 3 -d .)
-%define min_kernel_code        %(expr %{min_kernel_ver} \\* 65536 + %{min_kernel_patc} \\* 256 + %{min_kernel_subl})
-mkdir -p override_headers/linux
-cat > override_headers/linux/version.h <<EOF
-#define UTS_RELEASE "%{min_kernel}"
-#define LINUX_VERSION_CODE %{min_kernel_code}
-#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-EOF
-mkdir -p override_headers/asm
-cat > override_headers/asm/unistd.h <<EOF
-#ifndef _HACK_ASM_UNISTD_H
-#include_next <asm/unistd.h>
-%ifarch alpha
-#ifndef __NR_stat64
-#define __NR_stat64                    425
-#define __NR_lstat64                   426
-#define __NR_fstat64                   427
-#endif
-#ifndef __NR_mq_open
-#define __NR_mq_open                   432
-#define __NR_mq_unlink                 433
-#define __NR_mq_timedsend              434
-#define __NR_mq_timedreceive           435
-#define __NR_mq_notify                 436
-#define __NR_mq_getsetattr             437
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid                    438
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init              444
-#define __NR_inotify_add_watch         445
-#define __NR_inotify_rm_watch          446
-#endif
-%endif
-%ifarch %{ix86}
-#ifndef __NR_mq_open
-#define __NR_mq_open           277
-#define __NR_mq_unlink         (__NR_mq_open+1)
-#define __NR_mq_timedsend      (__NR_mq_open+2)
-#define __NR_mq_timedreceive   (__NR_mq_open+3)
-#define __NR_mq_notify         (__NR_mq_open+4)
-#define __NR_mq_getsetattr     (__NR_mq_open+5)
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            284
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      291
-#define __NR_inotify_add_watch 292
-#define __NR_inotify_rm_watch  293
-#endif
-#ifndef __NR_openat
-#define __NR_openat            295
-#define __NR_mkdirat           296
-#define __NR_mknodat           297
-#define __NR_fchownat          298
-#define __NR_futimesat         299
-#define __NR_unlinkat          301
-#define __NR_renameat          302
-#define __NR_linkat            303
-#define __NR_symlinkat         304
-#define __NR_readlinkat                305
-#define __NR_fchmodat          306
-#define __NR_faccessat         307
-#endif
-#ifndef __NR_fstatat64
-#define __NR_fstatat64         300
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          308
-#define __NR_ppoll             309
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           310
-#endif
-#ifndef __NR_set_robust_list
-#define __NR_set_robust_list   311
-#define __NR_get_robust_list   312
-#endif
-#ifndef __NR_splice
-#define __NR_splice            313
-#endif
-#ifndef __NR_sync_file_range
-#define __NR_sync_file_range   314
-#endif
-#ifndef __NR_tee
-#define __NR_tee               315
-#endif
-#ifndef __NR_vmsplice
-#define __NR_vmsplice          316
-#endif
-%endif
-%ifarch ia64
-#ifndef __NR_timer_create
-#define __NR_timer_create      1248
-#define __NR_timer_settime     1249
-#define __NR_timer_gettime     1250
-#define __NR_timer_getoverrun  1251
-#define __NR_timer_delete      1252
-#define __NR_clock_settime     1253
-#define __NR_clock_gettime     1254
-#define __NR_clock_getres      1255
-#define __NR_clock_nanosleep   1256
-#endif
-#ifndef __NR_mq_open
-#define __NR_mq_open           1262
-#define __NR_mq_unlink         1263
-#define __NR_mq_timedsend      1264
-#define __NR_mq_timedreceive   1265
-#define __NR_mq_notify         1266
-#define __NR_mq_getsetattr     1267
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            1270
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      1277
-#define __NR_inotify_add_watch 1278
-#define __NR_inotify_rm_watch  1279
-#endif
-#ifndef __NR_openat
-#define __NR_openat            1281
-#define __NR_mkdirat           1282
-#define __NR_mknodat           1283
-#define __NR_fchownat          1284
-#define __NR_futimesat         1285
-#define __NR_newfstatat                1286
-#define __NR_unlinkat          1287
-#define __NR_renameat          1288
-#define __NR_linkat            1289
-#define __NR_symlinkat         1290
-#define __NR_readlinkat                1291
-#define __NR_fchmodat          1292
-#define __NR_faccessat         1293
-#endif
-#if 0
-#ifndef __NR_pselect6
-#define __NR_pselect6          1294
-#define __NR_ppoll             1295
-#endif
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           1296
-#endif
-#ifndef __NR_splice
-#define __NR_splice            1297
-#endif
-#ifndef __NR_set_robust_list
-#define __NR_set_robust_list   1298
-#define __NR_get_robust_list   1299
-#endif
-#ifndef __NR_sync_file_range
-#define __NR_sync_file_range   1300
-#endif
-#ifndef __NR_tee
-#define __NR_tee               1301
-#endif
-#ifndef __NR_vmsplice
-#define __NR_vmsplice          1302
-#endif
-%endif
-%ifarch ppc
-#ifndef __NR_utimes
-#define __NR_utimes            251
-#endif
-#ifndef __NR_statfs64
-#define __NR_statfs64          252
-#define __NR_fstatfs64         253
-#endif
-#ifndef __NR_fadvise64_64
-#define __NR_fadvise64_64      254
-#endif
-#ifndef __NR_mq_open
-#define __NR_mq_open           262
-#define __NR_mq_unlink         263
-#define __NR_mq_timedsend      264
-#define __NR_mq_timedreceive   265
-#define __NR_mq_notify         266
-#define __NR_mq_getsetattr     267
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            272
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      275
-#define __NR_inotify_add_watch 276
-#define __NR_inotify_rm_watch  277
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          280
-#define __NR_ppoll             281
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           282
-#endif
-#ifndef __NR_splice
-#define __NR_splice            283
-#endif
-#ifndef __NR_tee
-#define __NR_tee               284
-#endif
-#ifndef __NR_vmsplice
-#define __NR_vmsplice          285
-#endif
-#ifndef __NR_openat
-#define __NR_openat            286
-#define __NR_mkdirat           287
-#define __NR_mknodat           288
-#define __NR_fchownat          289
-#define __NR_futimesat         290
-#define __NR_fstatat64         291
-#define __NR_unlinkat          292
-#define __NR_renameat          293
-#define __NR_linkat            294
-#define __NR_symlinkat         295
-#define __NR_readlinkat                296
-#define __NR_fchmodat          297
-#define __NR_faccessat         298
-#endif
-%endif
-%ifarch ppc64
-#ifndef __NR_utimes
-#define __NR_utimes            251
-#endif
-#ifndef __NR_mq_open
-#define __NR_mq_open           262
-#define __NR_mq_unlink         263
-#define __NR_mq_timedsend      264
-#define __NR_mq_timedreceive   265
-#define __NR_mq_notify         266
-#define __NR_mq_getsetattr     267
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            272
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      275
-#define __NR_inotify_add_watch 276
-#define __NR_inotify_rm_watch  277
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          280
-#define __NR_ppoll             281
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           282
-#endif
-#ifndef __NR_splice
-#define __NR_splice            283
-#endif
-#ifndef __NR_tee
-#define __NR_tee               284
-#endif
-#ifndef __NR_vmsplice
-#define __NR_vmsplice          285
-#endif
-#ifndef __NR_openat
-#define __NR_openat            286
-#define __NR_mkdirat           287
-#define __NR_mknodat           288
-#define __NR_fchownat          289
-#define __NR_futimesat         290
-#define __NR_newfstatat                291
-#define __NR_unlinkat          292
-#define __NR_renameat          293
-#define __NR_linkat            294
-#define __NR_symlinkat         295
-#define __NR_readlinkat                296
-#define __NR_fchmodat          297
-#define __NR_faccessat         298
-#endif
-%endif
-%ifarch s390
-#ifndef __NR_timer_create
-#define __NR_timer_create      254
-#define __NR_timer_settime     (__NR_timer_create+1)
-#define __NR_timer_gettime     (__NR_timer_create+2)
-#define __NR_timer_getoverrun  (__NR_timer_create+3)
-#define __NR_timer_delete      (__NR_timer_create+4)
-#define __NR_clock_settime     (__NR_timer_create+5)
-#define __NR_clock_gettime     (__NR_timer_create+6)
-#define __NR_clock_getres      (__NR_timer_create+7)
-#define __NR_clock_nanosleep   (__NR_timer_create+8)
-#endif
-#ifndef __NR_fadvise64_64
-#define __NR_fadvise64_64      264
-#endif
-#ifndef __NR_statfs64
-#define __NR_statfs64          265
-#define __NR_fstatfs64         266
-#endif
-#ifndef __NR_mq_open
-#define __NR_mq_open           271
-#define __NR_mq_unlink         272
-#define __NR_mq_timedsend      273
-#define __NR_mq_timedreceive   274
-#define __NR_mq_notify         275
-#define __NR_mq_getsetattr     276
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            281
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      284
-#define __NR_inotify_add_watch 285
-#define __NR_inotify_rm_watch  286
-#endif
-#ifndef __NR_openat
-#define __NR_openat            288
-#define __NR_mkdirat           289
-#define __NR_mknodat           290
-#define __NR_fchownat          291
-#define __NR_futimesat         292
-#define __NR_fstatat64         293
-#define __NR_unlinkat          294
-#define __NR_renameat          295
-#define __NR_linkat            296
-#define __NR_symlinkat         297
-#define __NR_readlinkat                298
-#define __NR_fchmodat          299
-#define __NR_faccessat         300
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          301
-#define __NR_ppoll             302
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           303
-#endif
-%endif
-%ifarch s390x
-#ifndef __NR_timer_create
-#define __NR_timer_create      254
-#define __NR_timer_settime     (__NR_timer_create+1)
-#define __NR_timer_gettime     (__NR_timer_create+2)
-#define __NR_timer_getoverrun  (__NR_timer_create+3)
-#define __NR_timer_delete      (__NR_timer_create+4)
-#define __NR_clock_settime     (__NR_timer_create+5)
-#define __NR_clock_gettime     (__NR_timer_create+6)
-#define __NR_clock_getres      (__NR_timer_create+7)
-#define __NR_clock_nanosleep   (__NR_timer_create+8)
-#endif
-#ifndef __NR_mq_open
-#define __NR_mq_open           271
-#define __NR_mq_unlink         272
-#define __NR_mq_timedsend      273
-#define __NR_mq_timedreceive   274
-#define __NR_mq_notify         275
-#define __NR_mq_getsetattr     276
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            281
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      284
-#define __NR_inotify_add_watch 285
-#define __NR_inotify_rm_watch  286
-#endif
-#ifndef __NR_openat
-#define __NR_openat            288
-#define __NR_mkdirat           289
-#define __NR_mknodat           290
-#define __NR_fchownat          291
-#define __NR_futimesat         292
-#define __NR_newfstatat                293
-#define __NR_unlinkat          294
-#define __NR_renameat          295
-#define __NR_linkat            296
-#define __NR_symlinkat         297
-#define __NR_readlinkat                298
-#define __NR_fchmodat          299
-#define __NR_faccessat         300
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          301
-#define __NR_ppoll             302
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           303
-#endif
-%endif
-%ifarch sparc sparcv9 sparc64
-#ifndef __NR_mq_open
-#define __NR_mq_open           273
-#define __NR_mq_unlink         274
-#define __NR_mq_timedsend      275
-#define __NR_mq_timedreceive   276
-#define __NR_mq_notify         277
-#define __NR_mq_getsetattr     278
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            279
-#endif
-#ifndef __NR_stat64
-#define __NR_fstat64           63
-#define __NR_lstat64           132
-#define __NR_stat64            139
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      151
-#define __NR_inotify_add_watch 152
-#define __NR_inotify_rm_watch  156
-#endif
-#ifndef __NR_openat
-#define __NR_openat            284
-#define __NR_mkdirat           285
-#define __NR_mknodat           286
-#define __NR_fchownat          287
-#define __NR_futimesat         288
-#define __NR_newfstatat                289
-#define __NR_unlinkat          290
-#define __NR_renameat          291
-#define __NR_linkat            292
-#define __NR_symlinkat         293
-#define __NR_readlinkat                294
-#define __NR_fchmodat          295
-#define __NR_faccessat         296
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          297
-#define __NR_ppoll             298
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           299
-#endif
-%endif
-%ifarch x86_64
-#ifndef __NR_mq_open
-#define __NR_mq_open           240
-#define __NR_mq_unlink         241
-#define __NR_mq_timedsend      242
-#define __NR_mq_timedreceive   243
-#define __NR_mq_notify         244
-#define __NR_mq_getsetattr     245
-#endif
-#ifndef __NR_waitid
-#define __NR_waitid            247
-#endif
-#ifndef __NR_inotify_init
-#define __NR_inotify_init      253
-#define __NR_inotify_add_watch 254
-#define __NR_inotify_rm_watch  255
-#endif
-#ifndef __NR_openat
-#define __NR_openat            257
-#define __NR_mkdirat           258
-#define __NR_mknodat           259
-#define __NR_fchownat          260
-#define __NR_futimesat         261
-#define __NR_newfstatat                262
-#define __NR_unlinkat          263
-#define __NR_renameat          264
-#define __NR_linkat            265
-#define __NR_symlinkat         266
-#define __NR_readlinkat                267
-#define __NR_fchmodat          268
-#define __NR_faccessat         269
-#endif
-#ifndef __NR_pselect6
-#define __NR_pselect6          270
-#define __NR_ppoll             271
-#endif
-#ifndef __NR_unshare
-#define __NR_unshare           272
-#endif
-#ifndef __NR_set_robust_list
-#define __NR_set_robust_list   273
-#define __NR_get_robust_list   274
-#endif
-#ifndef __NR_splice
-#define __NR_splice            275
-#endif
-#ifndef __NR_tee
-#define __NR_tee               276
-#endif
-#ifndef __NR_sync_file_range
-#define __NR_sync_file_range   277
-#endif
-#ifndef __NR_vmsplice
-#define __NR_vmsplice          278
-#endif
-%endif
-#endif
-EOF
-cat > override_headers/asm/errno.h <<EOF
-#ifndef _HACK_ASM_ERRNO_H
-#include_next <asm/errno.h>
-%ifarch alpha
-#ifndef ENOKEY
-#define ENOKEY         132
-#define EKEYEXPIRED    133
-#define EKEYREVOKED    134
-#define EKEYREJECTED   135
-#endif
-#ifndef EOWNERDEAD
-#define EOWNERDEAD     136
-#define ENOTRECOVERABLE        137
-#endif
-%endif
-%ifarch %{ix86} ia64 ppc ppc64 s390 s390x x86_64
-#ifndef ENOKEY
-#define ENOKEY         126
-#define EKEYEXPIRED    127
-#define EKEYREVOKED    128
-#define EKEYREJECTED   129
-#endif
-#ifndef EOWNERDEAD
-#define EOWNERDEAD     130
-#define ENOTRECOVERABLE        131
-#endif
-%endif
-%ifarch sparc sparcv9 sparc64
-#ifndef ENOKEY
-#define ENOKEY         128
-#define EKEYEXPIRED    129
-#define EKEYREVOKED    130
-#define EKEYREJECTED   131
-#endif
-#ifndef EOWNERDEAD
-#define EOWNERDEAD     132
-#define ENOTRECOVERABLE        133
-#endif
-%endif
-#endif
-EOF
-
 # A lot of programs still misuse memcpy when they have to use
 # memmove. The memcpy implementation below is not tolerant at
 # all.
@@ -1420,15 +932,18 @@ AWK="gawk" \
 ../%configure \
        --enable-kernel="%{min_kernel}" \
        --enable-omitfp \
-       --with-headers=`cd ..; pwd`/override_headers:%{_includedir} \
+       --with-headers=%{_includedir} \
        --with%{!?with_selinux:out}-selinux \
        --with-tls \
        --enable-add-ons=nptl,libidn \
        --enable-stackguard-randomization \
        --enable-hidden-plt \
+       --enable-bind-now \
        --enable-profile
 
-%{__make}
+%{__make} \
+        sLIBdir=%{_libdir}
+
 cd ..
 
 %if %{with tests}
@@ -1450,8 +965,9 @@ cd ..
 done
 %endif
 
-%if !%{with cross}
-diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
+%if %{without cross}
+CC="%{__cc}"
+diet ${CC#*ccache } %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
 %endif
 
 %install
@@ -1480,25 +996,29 @@ install elf/soinit.os                            $RPM_BUILD_ROOT%{_libdir}/soinit.o
 install elf/sofini.os                          $RPM_BUILD_ROOT%{_libdir}/sofini.o
 cd ..
 
-%if !%{with cross}
+%if %{without cross}
 install glibc-postinst                         $RPM_BUILD_ROOT/sbin
 %endif
 
 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so  $RPM_BUILD_ROOT%{_libdir}
 
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
 # moved to tzdata package
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
 
 ln -sf libbsd-compat.a         $RPM_BUILD_ROOT%{_libdir}/libbsd.a
 
 # make symlinks across top-level directories absolute
 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
+       test -L $RPM_BUILD_ROOT%{_libdir}/lib${l}.so || exit 1
        rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
-       ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
+       ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib${l}.so.*) $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
 done
 
+# linking nss modules directly is not supported
+rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
+
 install %{SOURCE2}             $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
 install %{SOURCE3}             $RPM_BUILD_ROOT/etc/sysconfig/nscd
 install %{SOURCE4}             $RPM_BUILD_ROOT/etc/logrotate.d/nscd
@@ -1525,66 +1045,63 @@ for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kerne
 done
 cp -f crypt/README.ufc-crypt ChangeLog* documentation
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
-
-# strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
-%{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
-
 # Collect locale files and mark them with %%lang()
 rm -f glibc.lang
 echo '%defattr(644,root,root,755)' > glibc.lang
-for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
+for i in $RPM_BUILD_ROOT%{_datadir}/locale/* ; do
        if [ -d $i ]; then
-               lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
-               twochar=1
-               # list of long %%lang values we do support
-               for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
-                        zh_CN zh_CN.gbk zh_HK zh_TW ; do
-                       if [ $j = "$lang" ]; then
-                               twochar=
-                       fi
-               done
-               if [ -n "$twochar" ]; then
-                       if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
-                               lang=`echo $lang | sed "s,\..*,,"`
-                       else
-                               lang=`echo $lang | sed "s,_.*,,"`
-                       fi
-               fi
-               dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
+               lang=$(basename $i)
+               dir="${i#$RPM_BUILD_ROOT}"
                echo "%lang($lang) $dir" >> glibc.lang
        fi
 done
-# XXX: to be added when become supported by glibc
-# az_IR (gtk+)
-# gn (gn_BR in gnome, maybe gn_PY)
-# dv, haw, kok, ps (iso-codes)
-# my (gaim)
-#
+
 # NOTES:
-# what about sr@ije? it used to be sr_CS@ije (should be @[i]jekavian?), but
-# now this dialect uses sr_ME locale - rename dir to sr_ME?
+# Languages not supported by glibc locales, but usable via $LANGUAGE:
+#   ang - Old English (gtk+, gnome)
+#   tlh - Klingon (bzflag)
+# and variants:
+#   sr@ije (use LANGUAGE=sr_ME@ije/sr_RS@ije) (gnome)
+#
+# To be added when they become supported by glibc:
+#   az_IR (gtk+)
+#   co (vlc)
+#   dv, haw, kok, ps, syr (iso-codes)
+#   gn (gn_BR in gnome, maybe gn_PY)
+#   my (gaim)
 #
 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
-#   till now
+# till now.
 #
-# omitted here - already existing (with libc.mo):
-#   be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
-#   tr,zh_CN,zh_TW
+# Omitted here - already existing (with libc.mo):
+#   be ca cs da de el en_GB es fi fr gl hr hu it ja ko nb nl pl pt_BR ru rw sk
+#   sv tr zh_CN zh_TW
 #
-for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
-    en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
-    gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
-    lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
-    ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
-    tk tl tlh tt ug uk ur uz ve vi wa wal wo xh yi yo zh_HK zu ; do
+for i in aa aa@saaho af am an ang ar as ast az be@alternative be@latin bg bn \
+    bn_IN br bs byn csb cy de_AT dz en en@boldquot en@quot en_AU en_CA en_US \
+    eo es_AR es_CO es_MX es_NI es_PR et eu fa fil fo fr_BE fur fy ga gd gez \
+    gu gv he hi hsb hy ia id ik is it_CH iu ka kk kl km kn ku kw ky lg li lo \
+    lt lv mai mg mi mk ml mn mr ms mt nds ne nl_BE nn nr nso oc om or pa pap \
+    pt rm ro sa sc se si sid sl so sq sr sr@Latn sr@ije sr@latin ss st sw ta \
+    te tg th ti tig tk tl tlh tn ts tt ug uk ur uz uz@cyrillic ve vi wa wal \
+    wo xh yi yo zh_HK zu ; do
        if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
                install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
-               lang=`echo $i | sed -e 's/_.*//'`
+               # use lang() tags with ll_CC@variant (stripping charset and @quot|@boldquot)
+               lang=`echo $i | sed -e 's/@quot\>\|@boldquot\>//'`
                echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
        fi
 done
 
+# LC_TIME category, used for localized date formats (at least by coreutils)
+for i in af be bg ca cs da de el es et eu fi fr ga gl hu it ja ko ms nb nl pl \
+    pt pt_BR ru rw sk sl sv tr zh_CN zh_TW ; do
+       if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i ]; then
+               echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
+       fi
+       install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_TIME
+done
+
 # localedb-gen infrastructure
 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
@@ -1596,6 +1113,10 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 # we don't support kernel without ptys support
 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
+# rpcbind
+rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/rpcinfo.8
+rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rpcinfo.8
+rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -1603,15 +1124,12 @@ rm -rf $RPM_BUILD_ROOT
 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
 # when %%postun is run
 
-%if !%{with cross}
+%if %{without cross}
 %post  -p /sbin/postshell
 /sbin/glibc-postinst /%{_lib}/%{_host_cpu} /%{_lib}/tls
 /sbin/ldconfig
--/sbin/telinit u
 
-%postun        -p /sbin/postshell
-/sbin/ldconfig
--/sbin/telinit u
+%postun        -p /sbin/ldconfig
 
 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
 %if !%{with cross}
 %attr(755,root,root) /sbin/glibc-postinst
 %endif
-%attr(755,root,root) /sbin/ldconfig
-# ld* and libc.so.6 SONAME symlinks must be in package because of
-# chicken-egg problem (postshell is dynamically linked with libc);
-# NOTE: postshell is now linked statically with diet
-# ld-*.so SONAME is:
-#   ld.so.1 on ppc
-#   ld64.so.1 on ppc64,s390x
-#   ld-linux-ia64.so.2 on ia64
-#   ld-linux-x86-64.so.2 on x86_64
-#   ld-linux.so.2 on other archs
-%attr(755,root,root) /%{_lib}/ld*
-%attr(755,root,root) /%{_lib}/libanl*
-%attr(755,root,root) /%{_lib}/libdl*
-%attr(755,root,root) /%{_lib}/libnsl*
-%attr(755,root,root) /%{_lib}/lib[BScmprtu]*
+# TODO: package ldconfig symlinks as %ghost
+%attr(755,root,root) /%{_lib}/ld-%{version}.so
+# wildly arch-dependent ld.so SONAME symlink
+%ifarch %{ix86} sparc sparcv9 sparc64 alpha sh 
+%attr(755,root,root) /%{_lib}/ld-linux.so.2
+%endif
+%ifarch ia64
+%attr(755,root,root) /%{_lib}/ld-linux-ia64.so.2
+%endif
+%ifarch %{x8664}
+%attr(755,root,root) /%{_lib}/ld-linux-x86-64.so.2
+%endif
+%ifarch ppc64 s390x
+%attr(755,root,root) /%{_lib}/ld64.so.1
+%endif
+%ifnarch %{ix86} sparc sparcv9 sparc64 alpha sh ia64 %{x8664} ppc64 s390x
+%attr(755,root,root) /%{_lib}/ld.so.1
+%endif
+%attr(755,root,root) /%{_lib}/libBrokenLocale-%{version}.so
+%ifarch alpha
+%attr(755,root,root) /%{_lib}/libBrokenLocale.so.1.1
+%else
+%attr(755,root,root) /%{_lib}/libBrokenLocale.so.1
+%endif
+%attr(755,root,root) /%{_lib}/libSegFault.so
+%attr(755,root,root) /%{_lib}/libanl-%{version}.so
+%attr(755,root,root) /%{_lib}/libanl.so.1
+%attr(755,root,root) /%{_lib}/libc-%{version}.so
+%ifarch alpha ia64
+%attr(755,root,root) /%{_lib}/libc.so.6.1
+%else
+%attr(755,root,root) /%{_lib}/libc.so.6
+%endif
+%attr(755,root,root) /%{_lib}/libcidn-%{version}.so
+%attr(755,root,root) /%{_lib}/libcidn.so.1
+%attr(755,root,root) /%{_lib}/libcrypt-%{version}.so
+%ifarch alpha
+%attr(755,root,root) /%{_lib}/libcrypt.so.1.1
+%else
+%attr(755,root,root) /%{_lib}/libcrypt.so.1
+%endif
+%attr(755,root,root) /%{_lib}/libdl-%{version}.so
+%ifarch alpha
+%attr(755,root,root) /%{_lib}/libdl.so.2.1
+%else
+%attr(755,root,root) /%{_lib}/libdl.so.2
+%endif
+%attr(755,root,root) /%{_lib}/libm-%{version}.so
+%ifarch alpha ia64
+%attr(755,root,root) /%{_lib}/libm.so.6.1
+%else
+%attr(755,root,root) /%{_lib}/libm.so.6
+%endif
+%ifarch alpha
+%attr(755,root,root) /%{_lib}/libnsl.so.1.1
+%else
+%attr(755,root,root) /%{_lib}/libnsl.so.1
+%endif
+%attr(755,root,root) /%{_lib}/libpthread-%{version}.so
+%attr(755,root,root) /%{_lib}/libpthread.so.0
+%attr(755,root,root) /%{_lib}/libresolv-%{version}.so
+%ifarch alpha
+%attr(755,root,root) /%{_lib}/libresolv.so.2.1
+%else
+%attr(755,root,root) /%{_lib}/libresolv.so.2
+%endif
+%attr(755,root,root) /%{_lib}/librt-%{version}.so
+%attr(755,root,root) /%{_lib}/librt.so.1
+%attr(755,root,root) /%{_lib}/libthread_db-1.0.so
+%attr(755,root,root) /%{_lib}/libthread_db.so.1
+%attr(755,root,root) /%{_lib}/libutil-%{version}.so
+%ifarch alpha
+%attr(755,root,root) /%{_lib}/libutil.so.1.1
+%else
+%attr(755,root,root) /%{_lib}/libutil.so.1
+%endif
 %{?with_localedb:%dir %{_libdir}/locale}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
-%dir %{_sysconfdir}/ld.so.conf.d
-%ghost %{_sysconfdir}/ld.so.cache
 
 #%files -n nss_dns
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libnss_dns*.so*
+%attr(755,root,root) /%{_lib}/libnss_dns-%{version}.so
+%attr(755,root,root) /%{_lib}/libnss_dns.so.2
 
 #%files -n nss_files
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libnss_files*.so*
+%attr(755,root,root) /%{_lib}/libnss_files-%{version}.so
+%attr(755,root,root) /%{_lib}/libnss_files.so.2
+
+%files -n ldconfig
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
+%dir %{_sysconfdir}/ld.so.conf.d
+%ghost %{_sysconfdir}/ld.so.cache
+%attr(755,root,root) /sbin/ldconfig
+%{_mandir}/man8/ldconfig.8*
+%lang(es) %{_mandir}/es/man8/ldconfig.8*
+%lang(fr) %{_mandir}/fr/man8/ldconfig.8*
+%lang(hu) %{_mandir}/hu/man8/ldconfig.8*
+%lang(ja) %{_mandir}/ja/man8/ldconfig.8*
+%lang(pl) %{_mandir}/pl/man8/ldconfig.8*
+%lang(pt) %{_mandir}/pt/man8/ldconfig.8*
+%lang(ru) %{_mandir}/ru/man8/ldconfig.8*
 
 %files misc -f %{name}.lang
 %defattr(644,root,root,755)
@@ -1708,7 +1301,6 @@ fi
 %attr(755,root,root) %{_bindir}/rpcgen
 %attr(755,root,root) %{_bindir}/tzselect
 
-%attr(755,root,root) %{_sbindir}/rpcinfo
 %attr(755,root,root) %{_sbindir}/zdump
 %attr(755,root,root) %{_sbindir}/zic
 
@@ -1729,8 +1321,9 @@ fi
 %{_mandir}/man5/nsswitch.conf.5*
 %{_mandir}/man5/tzfile.5*
 %{_mandir}/man7/*
-%{_mandir}/man8/ld*.8*
-%{_mandir}/man8/rpcinfo.8*
+%{_mandir}/man8/ld-linux.8*
+%{_mandir}/man8/ld-linux.so.8*
+%{_mandir}/man8/ld.so.8*
 %{_mandir}/man8/sln.8*
 %{_mandir}/man8/tzselect.8*
 %{_mandir}/man8/zdump.8*
@@ -1743,7 +1336,9 @@ fi
 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
 %lang(es) %{_mandir}/es/man5/tzfile.5*
 %lang(es) %{_mandir}/es/man7/*
-%lang(es) %{_mandir}/es/man8/ld*.8*
+%lang(es) %{_mandir}/es/man8/ld-linux.8*
+%lang(es) %{_mandir}/es/man8/ld-linux.so.8*
+%lang(es) %{_mandir}/es/man8/ld.so.8*
 %lang(es) %{_mandir}/es/man8/tzselect.8*
 %lang(es) %{_mandir}/es/man8/zdump.8*
 %lang(es) %{_mandir}/es/man8/zic.8*
@@ -1753,13 +1348,17 @@ fi
 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
 %lang(fr) %{_mandir}/fr/man7/*
-%lang(fr) %{_mandir}/fr/man8/ld*.8*
+%lang(fr) %{_mandir}/fr/man8/ld-linux.8*
+%lang(fr) %{_mandir}/fr/man8/ld-linux.so.8*
+%lang(fr) %{_mandir}/fr/man8/ld.so.8*
 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
 %lang(fr) %{_mandir}/fr/man8/zdump.8*
 %lang(fr) %{_mandir}/fr/man8/zic.8*
 %lang(hu) %{_mandir}/hu/man1/ldd.1*
 %lang(hu) %{_mandir}/hu/man7/*
-%lang(hu) %{_mandir}/hu/man8/ld*.8*
+%lang(hu) %{_mandir}/hu/man8/ld-linux.8*
+%lang(hu) %{_mandir}/hu/man8/ld-linux.so.8*
+%lang(hu) %{_mandir}/hu/man8/ld.so.8*
 %lang(hu) %{_mandir}/hu/man8/zdump.8*
 %lang(it) %{_mandir}/it/man5/locale.5*
 %lang(it) %{_mandir}/it/man7/*
@@ -1771,8 +1370,9 @@ fi
 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
 %lang(ja) %{_mandir}/ja/man7/*
-%lang(ja) %{_mandir}/ja/man8/ld*.8*
-%lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
+%lang(ja) %{_mandir}/ja/man8/ld-linux.8*
+%lang(ja) %{_mandir}/ja/man8/ld-linux.so.8*
+%lang(ja) %{_mandir}/ja/man8/ld.so.8*
 %lang(ja) %{_mandir}/ja/man8/sln.8*
 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
 %lang(ja) %{_mandir}/ja/man8/zdump.8*
@@ -1786,12 +1386,13 @@ fi
 %lang(pl) %{_mandir}/pl/man1/ldd.1*
 %lang(pl) %{_mandir}/pl/man5/locale.5*
 %lang(pl) %{_mandir}/pl/man7/*
-%lang(pl) %{_mandir}/pl/man8/ld*.8*
+%lang(pl) %{_mandir}/pl/man8/ld-linux.8*
+%lang(pl) %{_mandir}/pl/man8/ld-linux.so.8*
+%lang(pl) %{_mandir}/pl/man8/ld.so.8*
 %lang(pt) %{_mandir}/pt/man5/locale.5*
 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
 %lang(pt) %{_mandir}/pt/man7/*
-%lang(pt) %{_mandir}/pt/man8/ld*.8*
 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
 %lang(pt) %{_mandir}/pt/man8/zdump.8*
 %lang(pt) %{_mandir}/pt/man8/zic.8*
@@ -1804,8 +1405,8 @@ fi
 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
 %lang(ru) %{_mandir}/ru/man7/*
-%lang(ru) %{_mandir}/ru/man8/ld*.8*
-%lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
+%lang(ru) %{_mandir}/ru/man8/ld-linux.so.8*
+%lang(ru) %{_mandir}/ru/man8/ld.so.8*
 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
 %lang(ru) %{_mandir}/ru/man8/zdump.8*
 %lang(ru) %{_mandir}/ru/man8/zic.8*
@@ -1822,20 +1423,23 @@ fi
 
 %files -n nss_compat
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libnss_compat*.so*
+%attr(755,root,root) /%{_lib}/libnss_compat-%{version}.so
+%attr(755,root,root) /%{_lib}/libnss_compat.so.2
 
 %files -n nss_hesiod
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
+%attr(755,root,root) /%{_lib}/libnss_hesiod-%{version}.so
+%attr(755,root,root) /%{_lib}/libnss_hesiod.so.2
 
 %files -n nss_nis
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libnss_nis.so.*
-%attr(755,root,root) /%{_lib}/libnss_nis-*.so
+%attr(755,root,root) /%{_lib}/libnss_nis-%{version}.so
+%attr(755,root,root) /%{_lib}/libnss_nis.so.2
 
 %files -n nss_nisplus
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
+%attr(755,root,root) /%{_lib}/libnss_nisplus-%{version}.so
+%attr(755,root,root) /%{_lib}/libnss_nisplus.so.2
 
 %if %{with memusage}
 %files memusage
@@ -1846,14 +1450,23 @@ fi
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib[!cmp]*.so
+%attr(755,root,root) %{_libdir}/libBrokenLocale.so
+%attr(755,root,root) %{_libdir}/libanl.so
 %attr(755,root,root) %{_libdir}/libcrypt.so
+%attr(755,root,root) %{_libdir}/libdl.so
 %attr(755,root,root) %{_libdir}/libm.so
+%attr(755,root,root) %{_libdir}/libnsl.so
 %attr(755,root,root) %{_libdir}/libpcprofile.so
-%attr(755,root,root) %{_libdir}/*crt*.o
+%attr(755,root,root) %{_libdir}/libresolv.so
+%attr(755,root,root) %{_libdir}/librt.so
+%attr(755,root,root) %{_libdir}/libthread_db.so
+%attr(755,root,root) %{_libdir}/libutil.so
+%attr(755,root,root) %{_libdir}/crt[1in].o
+%attr(755,root,root) %{_libdir}/[MSg]crt1.o
 # ld scripts
 %{_libdir}/libc.so
 %{_libdir}/libpthread.so
+# static-only libs
 %{_libdir}/libbsd-compat.a
 %{_libdir}/libbsd.a
 %{_libdir}/libc_nonshared.a
@@ -1865,6 +1478,7 @@ fi
 %{_libdir}/libpthread_nonshared.a
 %{_libdir}/librpcsvc.a
 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
+# ABI-dependent headers
 %{_includedir}/gnu/stubs-*.h
 %endif
 
This page took 0.197315 seconds and 4 git commands to generate.