2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
6 %bcond_with omitfp # build without frame pointer (pass \--enable-omitfp)
7 %bcond_without memusage # don't build memusage utility
8 %bcond_with kernelheaders # use headers from kernel-headers instead of
9 # linux-libc-headers (evil, breakage etc., don't use)
10 %bcond_without dist_kernel # for above, allow non-distribution kernel
11 %bcond_with nptl # use nptl instead of linuxthreads (implies tls)
12 %bcond_with tls # use tls
13 %bcond_with tests # perform "make test"
17 # - localedb-gen man pages(?)
18 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
19 # - fix ld.so.conf (while upgrading glibc it do NOW mv ld.so.conf ld.so.conf.rpmsave)
22 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
23 # in order to use this version!
26 %{!?min_kernel:%global min_kernel 2.4.6}
29 # it seems that nptl uses cmpxchgl (available since i486) on x86
30 %ifarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 alpha s390 s390x sparcv9 ppc ppc64
31 %if "%{min_kernel}" < "2.6.0"
32 %global min_kernel 2.6.0
42 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc sparcv9 ppc ppc64
48 %undefine with_memusage
51 %define llh_version 7:2.6.6.0
52 %define _snap 20040623
58 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
60 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
62 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
65 Release: 0.%{_snap}.1%{?with_nptl:+nptl}%{!?with_nptl:%{?with_tls:+tls}
69 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
70 Source0: %{name}-%{_snap}.tar.bz2
71 # Source0-md5: a3632078c6a578c135d352d017180c82
72 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
73 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
75 Source3: nscd.sysconfig
76 Source4: nscd.logrotate
77 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
78 Source5: %{name}-man-pages.tar.bz2
79 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
80 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
81 Source6: %{name}-non-english-man-pages.tar.bz2
82 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
83 # borrowed from util-linux
84 Source7: %{name}-localedb-gen
85 Patch0: %{name}-info.patch
86 Patch1: %{name}-pl.po-update.patch
87 Patch2: %{name}-pld.patch
88 Patch3: %{name}-crypt-blowfish.patch
89 Patch4: %{name}-linuxthreads-lock.patch
90 Patch5: %{name}-pthread_create-manpage.patch
91 Patch6: %{name}-paths.patch
92 Patch7: %{name}-i786.patch
93 Patch8: %{name}-postshell.patch
94 Patch9: %{name}-missing-nls.patch
95 Patch10: %{name}-java-libc-wait.patch
96 Patch11: %{name}-lthrds_noomit.patch
97 Patch12: %{name}-no_opt_override.patch
98 # this is broken (hardcoded /usr/src/linux)
99 Patch13: %{name}-kernel_includes.patch
100 Patch14: %{name}-includes.patch
101 Patch15: %{name}-soinit-EH_FRAME.patch
102 Patch16: %{name}-sparc-errno_fix.patch
103 Patch17: %{name}-csu-quotes.patch
104 Patch18: %{name}-tests-noproc.patch
105 Patch19: %{name}-new-charsets.patch
106 Patch20: %{name}-sr_CS.patch
107 Patch21: %{name}-alpha-relro.patch
108 Patch22: %{name}-sparc64-dl-machine.patch
109 Patch23: %{name}-alpha-mq.patch
110 Patch24: %{name}-alpha-typo.patch
112 Patch30: %{name}-pax_iconvconfig.patch
113 Patch31: %{name}-pax_dl-execstack.patch
114 URL: http://www.gnu.org/software/libc/
115 BuildRequires: automake
116 BuildRequires: binutils >= 2.15.90.0.3
117 BuildRequires: gcc >= 3.2
118 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
119 BuildRequires: gettext-devel >= 0.10.36
120 %if %{with kernelheaders}
121 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
123 BuildRequires: linux-libc-headers >= %{llh_version}
125 BuildRequires: perl-base
126 BuildRequires: rpm-build >= 4.3-0.20030610.28
127 BuildRequires: rpm-perlprov
128 BuildRequires: sed >= 4.0.5
129 BuildRequires: texinfo
132 Requires: glibc-misc = %{epoch}:%{version}-%{release}
133 %{?with_tls:Provides: glibc(tls)}
136 Provides: /sbin/ldconfig
137 Obsoletes: %{name}-common
138 Obsoletes: %{name}-debug
140 Conflicts: kernel < %{min_kernel}
141 Conflicts: ld.so < 1.9.9-10
142 Conflicts: man-pages < 1.43
143 Conflicts: rc-scripts < 0.3.1-13
145 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
147 %define debugcflags -O1 -g
149 %define specflags_sparc64 -mvis -fcall-used-g6
150 %define _libdir /usr/lib64
152 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
153 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
154 # patched not to crash on partial hardlinks too)
155 %define _hack_dontneed_PartialHardlinkSets 1
158 Contains the standard libraries that are used by multiple programs on
159 the system. In order to save disk space and memory, as well as to ease
160 upgrades, common system code is kept in one place and shared between
161 programs. This package contains the most important sets of shared
162 libraries, the standard C library and the standard math library.
163 Without these, a Linux system will not function. It also contains
164 national language (locale) support and timezone databases.
166 Can be used on: Linux kernel >= %{min_kernel}.
169 Contiene las bibliotecas estándared que son usadas por varios
170 programas del sistema. Para ahorrar el espacio en el disco y la
171 memoria, igual que para facilitar actualizaciones, código común del
172 sistema se guarda en un sitio y es compartido entre los programas.
173 Este paquete contiene las bibliotecas compartidas más importantes, es
174 decir la biblioteca C estándar y la biblioteca estándar de matemática.
175 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
176 soporte de idiomas nacionales (locale) y bases de datos de zona de
179 Puede usarse con: núcleo Linux >= %{min_kernel}.
182 Enthält die Standard-Libraries, die von verschiedenen Programmen im
183 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
184 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
185 einer einzigen Stelle gespeichert und wird von den Programmen
186 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
187 shared Libraries, die Standard-C-Library und die
188 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
189 Ferner enthält es den Support für die verschiedenen Sprachgregionen
190 (locale) und die Zeitzonen-Datenbank.
192 Can be used on: Linux kernel >= %{min_kernel}.
195 Contient les bibliothèques standards utilisées par de nombreux
196 programmes du système. Afin d'économiser l'espace disque et mémoire,
197 et de faciliter les mises à jour, le code commun au système est mis à
198 un endroit et partagé entre les programmes. Ce paquetage contient les
199 bibliothèques partagées les plus importantes, la bibliothèque standard
200 du C et la bibliothèque mathématique standard. Sans celles-ci, un
201 système Linux ne peut fonctionner. Il contient aussi la gestion des
202 langues nationales (locales) et les bases de données des zones
205 Can be used on: Linux kernel >= %{min_kernel}.
209 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
210 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
211 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
212 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
213 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
214 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
215 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
216 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
218 Can be used on: Linux kernel >= %{min_kernel}.
221 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
222 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
223 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
224 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
225 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
226 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
227 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
228 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
229 jêzyków (locale) oraz definicje stref czasowych.
231 Przeznaczony dla j±dra Linux >= %{min_kernel}.
234 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
235 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
236 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
237 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
238 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
239 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
240 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
241 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
242 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
244 Can be used on: Linux kernel >= %{min_kernel}.
247 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
248 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
249 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
250 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
251 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
252 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
253 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
255 Can be used on: Linux kernel >= %{min_kernel}.
258 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
259 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
260 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
261 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
262 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
263 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
264 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
265 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
266 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
268 Can be used on: Linux kernel >= %{min_kernel}.
271 Summary: Utilities and data used by glibc
272 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
273 Group: Development/Libraries
275 Requires: %{name} = %{epoch}:%{version}-%{release}
278 Utilities and data used by glibc.
280 %description misc -l pl
281 Narzêdzia i dane u¿ywane przez glibc.
284 Summary: Additional libraries required to compile
285 Summary(de): Weitere Libraries zum Kompilieren
286 Summary(es): Bibliotecas adicionales necesarias para la compilación
287 Summary(fr): Librairies supplémentaires nécessaires à la compilation
288 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
289 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
290 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
291 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
292 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
293 Group: Development/Libraries
294 Requires: %{name} = %{epoch}:%{version}-%{release}
295 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
296 Obsoletes: libiconv-devel
299 To develop programs which use the standard C libraries (which nearly
300 all programs do), the system needs to have these standard header files
301 and object files available for creating the executables.
303 %description devel -l de
304 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
305 verwenden (also fast alle), benötigt das System diese Standard-Header-
306 und Objektdateien zum Erstellen der ausführbaren Programme.
308 %description devel -l es
309 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
310 cual hacen prácticamente todos los programas), el sistema necesita
311 disponer de estos ficheros de cabecera y de objetos para crear los
314 %description devel -l fr
315 Pour développer des programmes utilisant les bibliothèques standard du
316 C (ce que presque tous les programmes font), le système doit posséder
317 ces fichiers en-têtes et objets standards pour créer les exécutables.
319 %description devel -l ja
320 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
321 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
322 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
323 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
324 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
327 %description devel -l pl
328 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
329 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
330 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
331 wykonywalnych i innych bibliotek.
333 %description devel -l ru
334 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
335 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
336 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
339 %description devel -l tr
340 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
341 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
344 %description devel -l uk
345 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
346 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
347 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
351 Summary: Name Service Caching Daemon
352 Summary(es): Demonio de caché del servicio de nombres
353 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
354 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
355 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
356 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
357 Group: Networking/Daemons
358 PreReq: rc-scripts >= 0.2.0
359 Requires(post,preun): /sbin/chkconfig
360 Requires(post): fileutils
361 Requires: %{name} = %{epoch}:%{version}-%{release}
364 nscd caches name service lookups; it can dramatically improve
365 performance with NIS+, and may help with DNS as well. You cannot use
366 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
367 nscd happens to hit these bugs particularly hard.
369 %description -n nscd -l es
370 nscd guarda las peticiones del servicio de nombres en una caché; eso
371 puede aumentar drásticamente las prestaciones de NIS+, y también puede
372 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
373 errores en el soporte de hilos. Resulta que estos errores impactan el
374 nscd de manera realmente grave.
376 %description -n nscd -l ja
377 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
378 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
379 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
380 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
381 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
383 %description -n nscd -l pl
384 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
385 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
386 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
389 %description -n nscd -l ru
390 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
391 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
394 %description -n nscd -l uk
395 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
396 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
398 %package -n localedb-src
399 Summary: locale database source code
400 Summary(es): Código fuente de la base de datos de los locales
401 Summary(pl): Kod ¼ród³owy bazy locale
403 Requires: %{name} = %{epoch}:%{version}-%{release}
406 %description -n localedb-src
407 This add-on package contains the data needed to build the locale data
408 files to use the internationalization features of the GNU libc.
410 %description -n localedb-src -l es
411 Este paquete adicional contiene los datos necesarios para construir
412 los ficheros de locale, imprescindibles para usar las cualidades de
413 internacionalización de GNU libc.
415 %description -n localedb-src -l pl
416 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
417 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
420 %package localedb-all
421 Summary: locale database for all locales supported by glibc
422 Summary(es): Base de datos de todos los locales soportados por glibc
423 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
425 Requires: iconv = %{epoch}:%{version}-%{release}
426 Requires: %{name} = %{epoch}:%{version}-%{release}
428 %description localedb-all
429 This package contains locale database for all locales supported by
430 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
431 something smaller with support for chosen locales only, consider
432 installing localedb-src and regenerating database using localedb-gen
433 script (when database is generated, localedb-src can be uninstalled).
435 %description localedb-all -l es
436 Este paquete contiene una base de datos de todos los locales
437 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
438 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
439 locales elegidos, considérese instalar localedb-src y regenerar la
440 base de datos usando el escript localedb-gen (una vez que la base de
441 datos esté creada, localedb-src se podrá desinstalar).
443 %description localedb-all -l pl
444 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
445 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
446 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
447 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
448 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
449 pakiet localedb-src mo¿na odinstalowaæ).
452 Summary: Convert encoding of given files from one encoding to another
453 Summary(es): Convierte entre varias codificaciones de los ficheros dados
454 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
455 Group: Applications/Text
456 Requires: %{name} = %{epoch}:%{version}-%{release}
458 %description -n iconv
459 Convert encoding of given files from one encoding to another. You need
460 this package if you want to convert some document from one encoding to
461 another or if you have installed some programs which use Generic
462 Character Set Conversion Interface.
464 %description -n iconv -l es
465 Convierte la codificación de dados ficheros. Necesita este paquete si
466 quiere convertir un documento entre una codificación (juego de
467 caracteres) y otra, o si tiene instalado algún programa que usa el
468 Generic Character Set Conversion Interface (interfaz genérica de
469 conversión de juegos de caracteres).
471 %description -n iconv -l pl
472 Program do konwersji plików tekstowych z jednego kodowania do innego.
473 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
474 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
475 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
476 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
477 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
480 Summary: Static libraries
481 Summary(es): Bibliotecas estáticas
482 Summary(pl): Biblioteki statyczne
483 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
484 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
485 Group: Development/Libraries
486 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
487 Obsoletes: libiconv-static
490 GNU libc static libraries.
492 %description static -l es
493 Bibliotecas estáticas de GNU libc.
495 %description static -l pl
496 Biblioteki statyczne GNU libc.
498 %description static -l ru
499 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
500 ×ÈÏÄÑÔ × glibc-devel.
502 %description static -l uk
503 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
507 Summary: glibc with profiling support
508 Summary(de): glibc mit Profil-Unterstützung
509 Summary(es): glibc con soporte de perfilamiento
510 Summary(fr): glibc avec support pour profiling
511 Summary(pl): glibc ze wsparciem dla profilowania
512 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
513 Summary(tr): Ölçüm desteði olan glibc
514 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
515 Group: Development/Libraries/Libc
516 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
517 Obsoletes: libc-profile
520 When programs are being profiled using gprof, they must use these
521 libraries instead of the standard C libraries for gprof to be able to
522 profile them correctly.
524 %description profile -l de
525 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
526 Libraries anstelle der üblichen C-Libraries verwendet werden.
528 %description profile -l es
529 Cuando programas son perfilidas usando gprof, tienen que usar estas
530 biblioteces en vez de las estándares para que gprof pueda perfilarlas
533 %description profile -l pl
534 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
535 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
538 %description profile -l uk
539 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
540 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
541 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
542 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
545 %description profile -l tr
546 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
547 kitaplýðý kullanmak zorundadýrlar.
549 %description profile -l ru
550 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
551 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
552 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
553 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
557 Summary: glibc PIC archive
558 Summary(es): Archivo PIC de glibc
559 Summary(pl): Archiwum PIC glibc
560 Group: Development/Libraries/Libc
561 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
564 GNU C Library PIC archive contains an archive library (ar file)
565 composed of individual shared objects. This is used for creating a
566 library which is a smaller subset of the standard libc shared library.
568 %description pic -l es
569 El archivo PIC de la biblioteca glibc contiene una biblioteca
570 archivada (un fichero ar) compuesta de individuales objetos
571 compartidos. Es usado para crear una biblioteca que sea un subconjunto
572 más pequeño de la biblioteca libc compartida estándar.
574 %description pic -l pl
575 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
576 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
577 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
578 biblioteki wspó³dzielonej libc.
580 %package -n nss_compat
581 Summary: Old style NYS NSS glibc module
582 Summary(es): El antiguo módulo NYS NSS de glibc
583 Summary(pl): Stary modu³ NYS NSS glibc
585 Requires: %{name} = %{epoch}:%{version}-%{release}
587 %description -n nss_compat
588 Old style NYS NSS glibc module.
590 %description -n nss_compat -l es
591 El antiguo módulo NYS NSS de glibc
593 %description -n nss_compat -l pl
594 Stary modu³ NYS NSS glibc.
597 Summary: BIND NSS glibc module
598 Summary(es): Módulo BIND NSS de glibc
599 Summary(pl): Modu³ BIND NSS glibc
601 Requires: %{name} = %{epoch}:%{version}-%{release}
603 %description -n nss_dns
604 BIND NSS glibc module.
606 %description -n nss_dns -l es
607 Módulo BIND NSS de glibc.
609 %description -n nss_dns -l pl
610 Modu³ BIND NSS glibc.
612 %package -n nss_files
613 Summary: Traditional files databases NSS glibc module
614 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
615 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
617 Requires: %{name} = %{epoch}:%{version}-%{release}
619 %description -n nss_files
620 Traditional files databases NSS glibc module.
622 %description -n nss_files -l es
623 Módulo de tradicionales bases de datos en ficheros para glibc.
625 %description -n nss_files -l pl
626 Modu³ tradycyjnych plikowych baz danych NSS glibc.
628 %package -n nss_hesiod
629 Summary: hesiod NSS glibc module
630 Summary(es): Módulo hesiod NSS de glibc
631 Summary(pl): Modu³ hesiod NSS glibc
633 Requires: %{name} = %{epoch}:%{version}-%{release}
635 %description -n nss_hesiod
636 glibc NSS (Name Service Switch) module for databases access.
638 %description -n nss_hesiod -l es
639 Módulo hesiod NSS de glibc.
641 %description -n nss_hesiod -l pl
642 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
645 Summary: NIS(YP) NSS glibc module
646 Summary(es): Módulo NIS(YP) NSS de glibc
647 Summary(pl): Modu³ NIS(YP) NSS glibc
649 Requires: %{name} = %{epoch}:%{version}-%{release}
651 %description -n nss_nis
652 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
654 %description -n nss_nis -l es
655 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
657 %description -n nss_nis -l pl
658 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
660 %package -n nss_nisplus
661 Summary: NIS+ NSS module
662 Summary(es): Módulo NIS+ NSS
663 Summary(pl): Modu³ NIS+ NSS
665 Requires: %{name} = %{epoch}:%{version}-%{release}
667 %description -n nss_nisplus
668 glibc NSS (Name Service Switch) module for NIS+ databases access.
670 %description -n nss_nisplus -l es
671 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
674 %description -n nss_nisplus -l pl
675 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
679 Summary(es): Un juguete
682 Requires: %{name} = %{epoch}:%{version}-%{release}
685 %description memusage
688 %description memusage -l es
691 %description memusage -l pl
694 %package zoneinfo_right
695 Summary: Non-POSIX (real) time zones
696 Summary(es): Zonas de tiempo reales (no de POSIX)
697 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
699 Requires: %{name} = %{epoch}:%{version}-%{release}
701 %description zoneinfo_right
702 You don't want this. Details at:
703 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
705 %description zoneinfo_right -l es
706 No lo necesita. Encontrará los detalles en:
707 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
709 %description zoneinfo_right -l pl
710 Nie potrzebujesz tego. Szczegó³y pod:
711 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
713 %package -n %{name}64
714 Summary: GNU libc - 64-bit libraries
715 Summary(es): GNU libc - bibliotecas de 64 bits
716 Summary(pl): GNU libc - biblioteki 64-bitowe
719 Provides: glibc = %{epoch}:%{version}-%{release}
720 Requires: glibc-misc = %{epoch}:%{version}-%{release}
722 Requires: %{name} = %{epoch}:%{version}-%{release}
725 %description -n %{name}64
726 64-bit GNU libc libraries for 64bit architecture.
728 %description -n %{name}64 -l es
729 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
731 %description -n %{name}64 -l pl
732 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
734 %package -n %{name}64-devel
735 Summary: Development files for 64-bit GNU libc libraries
736 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
737 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
738 Group: Development/Libraries
739 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
741 %description -n %{name}64-devel
742 Development files for 64-bit GNU libc libraries for 64bit
745 %description -n %{name}64-devel -l es
746 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
747 la arquitectura 64bit.
749 %description -n %{name}64-devel -l pl
750 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
753 %package -n %{name}64-static
754 Summary: Static 64-bit GNU libc libraries
755 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
756 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
757 Group: Development/Libraries
758 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
760 %description -n %{name}64-static
761 Static 64-bit GNU libc libraries.
763 %description -n %{name}64-static -l es
764 Bibliotecas estáticas GNU libc de 64 bits.
766 %description -n %{name}64-static -l pl
767 Statyczne 64-bitowe biblioteki GNU libc.
770 #setup -q -a 1 -n libc
784 # don't know, if it is good idea, for brave ones
786 %{?with_kernelheaders:%patch13}
787 %{?!with_kernelheaders:%patch14 -p1}
806 cp %{_datadir}/automake/config.sub .
807 cp %{_datadir}/automake/config.sub scripts
810 # i786 (aka pentium4) hack
811 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
812 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
814 [ -d builddir ] || mkdir builddir
816 # avoid stripping ld.so by -s in rpmldflags
817 LDFLAGS=" " ; export LDFLAGS
819 --enable-kernel="%{min_kernel}" \
820 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
821 %{?with_tls:--with-tls} \
823 --enable-add-ons=nptl \
826 --enable-add-ons=linuxthreads \
829 %if %{with kernelheaders}
830 CPPFLAGS="-I%{_kernelsrcdir}/include" \
831 --with-headers=%{_kernelsrcdir}/include
833 CPPFLAGS="-I%{_includedir}" \
834 --with-headers=%{_includedir}
837 # problem compiling with --enable-bounded (must be reported to libc-alpha)
839 %{__make} %{?parallelmkflags}
842 env LANGUAGE=C LC_ALL=C \
843 %{__make} tests 2>&1 | awk '
846 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
848 gsub(/.*\[/, NIL, file);
849 gsub(/\].*/, NIL, file);
853 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
857 rm -rf $RPM_BUILD_ROOT
858 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
862 env LANGUAGE=C LC_ALL=C \
864 %{?parallelmkflags} \
865 install_root=$RPM_BUILD_ROOT \
866 infodir=%{_infodir} \
869 env LANGUAGE=C LC_ALL=C \
870 %{__make} localedata/install-locales \
871 %{?parallelmkflags} \
872 install_root=$RPM_BUILD_ROOT
874 PICFILES="libc_pic.a libc.map
875 math/libm_pic.a libm.map
876 resolv/libresolv_pic.a"
878 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
879 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
880 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
882 install elf/postshell $RPM_BUILD_ROOT/sbin
884 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
886 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
890 %{__make} -C ../linuxthreads/man
891 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
894 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
896 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
902 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
903 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
904 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
905 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
907 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
909 # make symlinks across top-level directories absolute
910 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
911 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
912 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
915 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
916 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
917 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
918 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
919 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
921 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
922 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
923 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
924 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
925 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
927 :> $RPM_BUILD_ROOT/var/log/nscd
929 rm -rf ../documentation
930 install -d ../documentation
933 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
934 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
935 cp -f ../linuxthreads/README ../documentation/README.threads
937 cp -f ../crypt/README.ufc-crypt ../documentation/
939 cp -f ../ChangeLog* ../documentation
941 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
943 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
945 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
948 # Collect locale files and mark them with %%lang()
950 echo '%defattr(644,root,root,755)' > ../glibc.lang
951 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
953 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
955 # list of long %%lang values we do support
956 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
957 zh_CN zh_CN.gbk zh_HK zh_TW ; do
958 if [ $j = "$lang" ]; then
962 if [ -n "$twochar" ]; then
963 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
964 lang=`echo $lang | sed "s,\..*,,"`
966 lang=`echo $lang | sed "s,_.*,,"`
969 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
970 echo "%lang($lang) $dir" >> ../glibc.lang
973 # XXX: to be added when become supported by glibc
974 # ia,li (used by GNOME)
975 # nso,ss,ven (used by KDE)
977 # bn is used for bn_BD or bn_IN?
978 # omitted here - already existing (with libc.mo):
979 # 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
980 for i in af am ar az bg bn br bs cy de_AT en en_AU eo es_AR es_MX et eu fa ga \
981 gr he hi id is ja_JP.SJIS ka kn lg lt lv mk ml mn ms mt nn pt ro ru \
982 se sl sq sr sr@Latn ta tg th uk uz vi wa xh yi zu ; do
983 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
984 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
985 lang=`echo $i | sed -e 's/_.*//'`
986 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
990 # localedb-gen infrastructure
991 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
992 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
995 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
996 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
997 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
998 # we don't support kernel without ptys support
999 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1001 # no longer supported (/dev/null has the same, but expected behaviour)
1002 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1005 rm -rf $RPM_BUILD_ROOT
1007 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1008 # when %%postun is run
1012 %post -n %{name}64 -p /sbin/postshell
1014 %post -p /sbin/postshell
1020 %postun -n %{name}64 -p /sbin/postshell
1022 %postun -p /sbin/postshell
1028 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1030 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1032 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1034 %post memusage -p /sbin/ldconfig
1035 %postun memusage -p /sbin/ldconfig
1037 %post -n iconv -p %{_sbindir}/iconvconfig
1040 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1043 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1046 /sbin/chkconfig --add nscd
1048 chmod 000 /var/log/nscd
1049 chown root:root /var/log/nscd
1050 chmod 640 /var/log/nscd
1051 if [ -f /var/lock/subsys/nscd ]; then
1052 /etc/rc.d/init.d/nscd restart 1>&2
1054 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1058 if [ "$1" = "0" ]; then
1059 if [ -f /var/lock/subsys/nscd ]; then
1060 /etc/rc.d/init.d/nscd stop 1>&2
1062 /sbin/chkconfig --del nscd
1069 %defattr(644,root,root,755)
1072 %defattr(644,root,root,755)
1074 %defattr(644,root,root,755)
1075 %doc README NEWS FAQ BUGS
1076 %attr(755,root,root) /sbin/postshell
1077 %attr(755,root,root) /sbin/ldconfig
1078 # ld* and libc.so.6 SONAME symlinks must be in package because of
1079 # chicken-egg problem (postshell is dynamically linked with libc);
1080 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1081 %attr(755,root,root) /%{_lib}/ld*
1082 %attr(755,root,root) /%{_lib}/libanl*
1083 %attr(755,root,root) /%{_lib}/libdl*
1084 %attr(755,root,root) /%{_lib}/libnsl*
1085 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1086 %dir %{_libdir}/locale
1087 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1088 %ghost %{_sysconfdir}/ld.so.cache
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1094 #%files -n nss_files
1095 %defattr(644,root,root,755)
1096 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1099 %files misc -f %{name}.lang
1100 %defattr(644,root,root,755)
1102 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1103 %config %{_sysconfdir}/rpc
1105 %attr(755,root,root) /sbin/sln
1106 %attr(755,root,root) %{_bindir}/catchsegv
1107 %attr(755,root,root) %{_bindir}/getent
1108 %attr(755,root,root) %{_bindir}/iconv
1109 %attr(755,root,root) %{_bindir}/ldd
1110 %ifnarch alpha ppc sparc64 amd64
1111 %attr(755,root,root) %{_bindir}/lddlibc4
1113 %attr(755,root,root) %{_bindir}/locale
1114 %attr(755,root,root) %{_bindir}/rpcgen
1115 %attr(755,root,root) %{_bindir}/tzselect
1117 %attr(755,root,root) %{_sbindir}/rpcinfo
1118 %attr(755,root,root) %{_sbindir}/zdump
1119 %attr(755,root,root) %{_sbindir}/zic
1121 %dir %{_datadir}/locale
1122 %{_datadir}/locale/locale.alias
1123 %{_datadir}/zoneinfo
1124 %exclude %{_datadir}/zoneinfo/right
1126 %{_mandir}/man1/catchsegv.1*
1127 %{_mandir}/man1/getent.1*
1128 %{_mandir}/man1/iconv.1*
1129 %{_mandir}/man1/ldd.1*
1130 %{_mandir}/man1/locale.1*
1131 %{_mandir}/man1/rpcgen.1*
1132 %{_mandir}/man5/locale.5*
1133 %{_mandir}/man5/nsswitch.conf.5*
1134 %{_mandir}/man5/tzfile.5*
1136 %{_mandir}/man8/ld*.8*
1137 %{_mandir}/man8/rpcinfo.8*
1138 %{_mandir}/man8/sln.8*
1139 %{_mandir}/man8/tzselect.8*
1140 %{_mandir}/man8/zdump.8*
1141 %{_mandir}/man8/zic.8*
1142 %lang(cs) %{_mandir}/cs/man7/*
1143 %lang(de) %{_mandir}/de/man5/tzfile.5*
1144 %lang(de) %{_mandir}/de/man7/*
1145 %lang(es) %{_mandir}/es/man5/locale.5*
1146 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1147 %lang(es) %{_mandir}/es/man5/tzfile.5*
1148 %lang(es) %{_mandir}/es/man7/*
1149 %lang(es) %{_mandir}/es/man8/ld*.8*
1150 %lang(es) %{_mandir}/es/man8/tzselect.8*
1151 %lang(es) %{_mandir}/es/man8/zdump.8*
1152 %lang(es) %{_mandir}/es/man8/zic.8*
1153 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1154 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1155 %lang(fr) %{_mandir}/fr/man5/locale.5*
1156 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1157 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1158 %lang(fr) %{_mandir}/fr/man7/*
1159 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1160 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1161 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1162 %lang(fr) %{_mandir}/fr/man8/zic.8*
1163 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1164 %lang(hu) %{_mandir}/hu/man7/*
1165 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1166 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1167 %lang(it) %{_mandir}/it/man5/locale.5*
1168 %lang(it) %{_mandir}/it/man7/*
1169 %lang(it) %{_mandir}/it/man8/tzselect.8*
1170 %lang(it) %{_mandir}/it/man8/zdump.8*
1171 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1172 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1173 %lang(ja) %{_mandir}/ja/man5/locale.5*
1174 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1175 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1176 %lang(ja) %{_mandir}/ja/man7/*
1177 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1178 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1179 %lang(ja) %{_mandir}/ja/man8/sln.8*
1180 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1181 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1182 %lang(ja) %{_mandir}/ja/man8/zic.8*
1183 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1184 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1185 %lang(ko) %{_mandir}/ko/man7/*
1186 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1187 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1188 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1189 %lang(pl) %{_mandir}/pl/man5/locale.5*
1190 %lang(pl) %{_mandir}/pl/man7/*
1191 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1192 %lang(pt) %{_mandir}/pt/man5/locale.5*
1193 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1194 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1195 %lang(pt) %{_mandir}/pt/man7/*
1196 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1197 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1198 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1199 %lang(pt) %{_mandir}/pt/man8/zic.8*
1200 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1201 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1202 %lang(ru) %{_mandir}/ru/man7/*
1203 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1204 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1205 %lang(ru) %{_mandir}/ru/man8/zic.8*
1206 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1207 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1208 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1209 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1210 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1211 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1212 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1213 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1215 %files zoneinfo_right
1216 %defattr(644,root,root,755)
1217 %{_datadir}/zoneinfo/right
1219 %files -n nss_compat
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1223 %files -n nss_hesiod
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1230 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1232 %files -n nss_nisplus
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1236 %if %{with memusage}
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_bindir}/memusage*
1240 %attr(755,root,root) %{_libdir}/libmemusage.so
1244 %defattr(644,root,root,755)
1245 %doc documentation/* NOTES PROJECTS
1246 %attr(755,root,root) %{_bindir}/gencat
1247 %attr(755,root,root) %{_bindir}/getconf
1248 %attr(755,root,root) %{_bindir}/*prof*
1249 %attr(755,root,root) %{_bindir}/*trace
1253 %{_includedir}/alpha
1259 %{_includedir}/netash
1260 %{_includedir}/netatalk
1261 %{_includedir}/netax25
1262 %{_includedir}/neteconet
1263 %{_includedir}/netinet
1264 %{_includedir}/netipx
1265 %{_includedir}/netpacket
1266 %{_includedir}/netrom
1267 %{_includedir}/netrose
1269 %{_includedir}/protocols
1271 %{_includedir}/rpcsvc
1275 %{_infodir}/libc.info*
1277 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1278 %attr(755,root,root) %{_libdir}/libm.so
1279 %attr(755,root,root) %{_libdir}/*crt*.o
1280 %{_libdir}/libbsd-compat.a
1282 %{_libdir}/libc_nonshared.a
1284 %{_libdir}/libieee.a
1285 %{_libdir}/libpthread_nonshared.a
1286 %{_libdir}/librpcsvc.a
1288 %{_mandir}/man1/getconf.1*
1289 %{_mandir}/man1/sprof.1*
1291 %lang(cs) %{_mandir}/cs/man3/*
1292 %lang(de) %{_mandir}/de/man3/*
1293 %lang(es) %{_mandir}/es/man3/*
1294 %lang(fr) %{_mandir}/fr/man3/*
1295 %lang(hu) %{_mandir}/hu/man3/*
1296 %lang(it) %{_mandir}/it/man3/*
1297 %lang(ja) %{_mandir}/ja/man3/*
1298 %lang(ko) %{_mandir}/ko/man3/*
1299 %lang(nl) %{_mandir}/nl/man3/*
1300 %lang(pl) %{_mandir}/pl/man3/*
1301 %lang(pt) %{_mandir}/pt/man3/*
1302 %lang(ru) %{_mandir}/ru/man3/*
1303 %lang(uk) %{_mandir}/uk/man3/*
1304 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1307 %defattr(644,root,root,755)
1308 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1309 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1310 %attr(754,root,root) /etc/rc.d/init.d/nscd
1311 %attr(755,root,root) %{_sbindir}/nscd*
1312 %attr(640,root,root) /etc/logrotate.d/nscd
1313 %attr(640,root,root) %ghost /var/log/nscd
1315 %{_mandir}/man5/nscd.conf.5*
1316 %{_mandir}/man8/nscd.8*
1317 %{_mandir}/man8/nscd_nischeck.8*
1318 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1319 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1320 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1321 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1322 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1323 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1325 %files -n localedb-src
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_bindir}/localedef
1328 %attr(755,root,root) %{_bindir}/localedb-gen
1330 %{_mandir}/man1/localedef.1*
1333 %defattr(644,root,root,755)
1334 %{_libdir}/locale/locale-archive
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_sbindir}/iconvconfig
1339 %dir %{_libdir}/gconv
1340 %{_libdir}/gconv/gconv-modules
1341 %attr(755,root,root) %{_libdir}/gconv/*.so
1344 %defattr(644,root,root,755)
1346 %{_libdir}/libBrokenLocale.a
1348 %{_libdir}/libcrypt.a
1351 %{_libdir}/libmcheck.a
1353 %{_libdir}/libpthread.a
1354 %{_libdir}/libresolv.a
1356 %{_libdir}/libutil.a
1360 %defattr(644,root,root,755)
1365 %defattr(644,root,root,755)
1366 %{_libdir}/lib*_pic.a
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_libdir}/ld-*
1376 %attr(755,root,root) %{_libdir}/libanl*
1377 %attr(755,root,root) %{_libdir}/libdl*
1378 %attr(755,root,root) %{_libdir}/libnsl*
1379 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1380 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1381 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1383 %files -n glibc64-devel
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1386 %attr(755,root,root) %{_libdir}/libm.so
1387 %attr(755,root,root) %{_libdir}/*crt*.o
1388 %{_libdir}/libbsd-compat.a
1390 %{_libdir}/libc_nonshared.a
1392 %{_libdir}/libieee.a
1393 %{_libdir}/libpthread_nonshared.a
1394 %{_libdir}/librpcsvc.a
1396 %files -n glibc64-static
1397 %defattr(644,root,root,755)
1399 %{_libdir}/libBrokenLocale.a
1401 %{_libdir}/libcrypt.a
1404 %{_libdir}/libmcheck.a
1406 %{_libdir}/libpthread.a
1407 %{_libdir}/libresolv.a
1409 %{_libdir}/libutil.a