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 s390 s390x sparcv9 ppc ppc64
31 %if "%{min_kernel}" < "2.6.0"
32 %global min_kernel 2.6.0
42 %ifnarch %{ix86} amd64 ia64 s390 s390x sparc sparcv9 ppc ppc64
47 %define llh_version 7:2.6.4.0
48 %define _snap 20040612
54 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
56 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
58 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
61 Release: 0.%{_snap}.2%{?with_nptl:+nptl}
65 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
66 Source0: %{name}-%{_snap}.tar.bz2
67 # Source0-md5: 60535f129045dc1176388e930b1998d2
68 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
69 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
71 Source3: nscd.sysconfig
72 Source4: nscd.logrotate
73 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
74 Source5: %{name}-man-pages.tar.bz2
75 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
76 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
77 Source6: %{name}-non-english-man-pages.tar.bz2
78 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
79 # borrowed from util-linux
80 Source7: %{name}-localedb-gen
81 Patch0: %{name}-info.patch
82 Patch1: %{name}-pl.po-update.patch
83 Patch2: %{name}-pld.patch
84 Patch3: %{name}-crypt-blowfish.patch
85 Patch4: %{name}-linuxthreads-lock.patch
86 Patch5: %{name}-pthread_create-manpage.patch
87 Patch6: %{name}-paths.patch
88 Patch7: %{name}-i786.patch
89 Patch8: %{name}-postshell.patch
90 Patch9: %{name}-missing-nls.patch
91 Patch10: %{name}-java-libc-wait.patch
92 Patch11: %{name}-lthrds_noomit.patch
93 Patch12: %{name}-no_opt_override.patch
94 # this is broken (hardcoded /usr/src/linux)
95 Patch13: %{name}-kernel_includes.patch
96 Patch14: %{name}-includes.patch
97 Patch15: %{name}-soinit-EH_FRAME.patch
98 Patch16: %{name}-sparc-errno_fix.patch
99 Patch17: %{name}-make.patch
100 Patch18: %{name}-tests-noproc.patch
101 Patch19: %{name}-new-charsets.patch
102 Patch20: %{name}-sr_CS.patch
103 Patch21: %{name}-alpha-div.patch
104 Patch22: %{name}-alpha-relro.patch
105 Patch23: %{name}-sparc64-dl-machine.patch
106 Patch24: %{name}-csu-quotes.patch
108 Patch30: %{name}-pax_iconvconfig.patch
109 Patch31: %{name}-pax_dl-execstack.patch
110 URL: http://www.gnu.org/software/libc/
111 BuildRequires: automake
112 BuildRequires: binutils >= 2.15.90.0.3
113 BuildRequires: gcc >= 3.2
114 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
115 BuildRequires: gettext-devel >= 0.10.36
116 %if %{with kernelheaders}
117 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
119 BuildRequires: linux-libc-headers >= %{llh_version}
121 BuildRequires: perl-base
122 BuildRequires: rpm-build >= 4.3-0.20030610.28
123 BuildRequires: rpm-perlprov
124 BuildRequires: sed >= 4.0.5
125 BuildRequires: texinfo
128 Requires: glibc-misc = %{epoch}:%{version}-%{release}
129 %{?with_tls:Provides: glibc(tls)}
132 Provides: /sbin/ldconfig
133 Obsoletes: %{name}-common
134 Obsoletes: %{name}-debug
136 Conflicts: kernel < %{min_kernel}
137 Conflicts: ld.so < 1.9.9-10
138 Conflicts: man-pages < 1.43
139 Conflicts: rc-scripts < 0.3.1-13
141 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
143 %define debugcflags -O1 -g
145 %undefine with_memusage
146 %define specflags_sparc64 -mvis -fcall-used-g6
147 %define _libdir /usr/lib64
149 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
150 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
151 # patched not to crash on partial hardlinks too)
152 %define _hack_dontneed_PartialHardlinkSets 1
155 Contains the standard libraries that are used by multiple programs on
156 the system. In order to save disk space and memory, as well as to ease
157 upgrades, common system code is kept in one place and shared between
158 programs. This package contains the most important sets of shared
159 libraries, the standard C library and the standard math library.
160 Without these, a Linux system will not function. It also contains
161 national language (locale) support and timezone databases.
163 Can be used on: Linux kernel >= %{min_kernel}.
166 Contiene las bibliotecas estándared que son usadas por varios
167 programas del sistema. Para ahorrar el espacio en el disco y la
168 memoria, igual que para facilitar actualizaciones, código común del
169 sistema se guarda en un sitio y es compartido entre los programas.
170 Este paquete contiene las bibliotecas compartidas más importantes, es
171 decir la biblioteca C estándar y la biblioteca estándar de matemática.
172 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
173 soporte de idiomas nacionales (locale) y bases de datos de zona de
176 Puede usarse con: núcleo Linux >= %{min_kernel}.
179 Enthält die Standard-Libraries, die von verschiedenen Programmen im
180 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
181 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
182 einer einzigen Stelle gespeichert und wird von den Programmen
183 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
184 shared Libraries, die Standard-C-Library und die
185 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
186 Ferner enthält es den Support für die verschiedenen Sprachgregionen
187 (locale) und die Zeitzonen-Datenbank.
189 Can be used on: Linux kernel >= %{min_kernel}.
192 Contient les bibliothèques standards utilisées par de nombreux
193 programmes du système. Afin d'économiser l'espace disque et mémoire,
194 et de faciliter les mises à jour, le code commun au système est mis à
195 un endroit et partagé entre les programmes. Ce paquetage contient les
196 bibliothèques partagées les plus importantes, la bibliothèque standard
197 du C et la bibliothèque mathématique standard. Sans celles-ci, un
198 système Linux ne peut fonctionner. Il contient aussi la gestion des
199 langues nationales (locales) et les bases de données des zones
202 Can be used on: Linux kernel >= %{min_kernel}.
206 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
207 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
208 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
209 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
210 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
211 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
212 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
213 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
215 Can be used on: Linux kernel >= %{min_kernel}.
218 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
219 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
220 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
221 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
222 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
223 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
224 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
225 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
226 jêzyków (locale) oraz definicje stref czasowych.
228 Przeznaczony dla j±dra Linux >= %{min_kernel}.
231 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
232 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
233 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
234 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
235 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
236 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
237 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
238 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
239 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
241 Can be used on: Linux kernel >= %{min_kernel}.
244 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
245 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
246 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
247 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
248 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
249 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
250 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
252 Can be used on: Linux kernel >= %{min_kernel}.
255 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
256 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
257 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
258 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
259 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
260 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
261 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
262 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
263 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
265 Can be used on: Linux kernel >= %{min_kernel}.
268 Summary: Utilities and data used by glibc
269 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
270 Group: Development/Libraries
272 Requires: %{name} = %{epoch}:%{version}-%{release}
275 Utilities and data used by glibc.
277 %description misc -l pl
278 Narzêdzia i dane u¿ywane przez glibc.
281 Summary: Additional libraries required to compile
282 Summary(de): Weitere Libraries zum Kompilieren
283 Summary(es): Bibliotecas adicionales necesarias para la compilación
284 Summary(fr): Librairies supplémentaires nécessaires à la compilation
285 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
286 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
287 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
288 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
289 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
290 Group: Development/Libraries
291 Requires: %{name} = %{epoch}:%{version}-%{release}
292 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
293 Obsoletes: libiconv-devel
296 To develop programs which use the standard C libraries (which nearly
297 all programs do), the system needs to have these standard header files
298 and object files available for creating the executables.
300 %description devel -l de
301 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
302 verwenden (also fast alle), benötigt das System diese Standard-Header-
303 und Objektdateien zum Erstellen der ausführbaren Programme.
305 %description devel -l es
306 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
307 cual hacen prácticamente todos los programas), el sistema necesita
308 disponer de estos ficheros de cabecera y de objetos para crear los
311 %description devel -l fr
312 Pour développer des programmes utilisant les bibliothèques standard du
313 C (ce que presque tous les programmes font), le système doit posséder
314 ces fichiers en-têtes et objets standards pour créer les exécutables.
316 %description devel -l ja
317 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
318 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
319 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
320 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
321 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
324 %description devel -l pl
325 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
326 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
327 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
328 wykonywalnych i innych bibliotek.
330 %description devel -l ru
331 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
332 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
333 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
336 %description devel -l tr
337 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
338 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
341 %description devel -l uk
342 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
343 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
344 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
348 Summary: Name Service Caching Daemon
349 Summary(es): Demonio de caché del servicio de nombres
350 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
351 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
352 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
353 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
354 Group: Networking/Daemons
355 PreReq: rc-scripts >= 0.2.0
356 Requires(post,preun): /sbin/chkconfig
357 Requires(post): fileutils
358 Requires: %{name} = %{epoch}:%{version}-%{release}
361 nscd caches name service lookups; it can dramatically improve
362 performance with NIS+, and may help with DNS as well. You cannot use
363 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
364 nscd happens to hit these bugs particularly hard.
366 %description -n nscd -l es
367 nscd guarda las peticiones del servicio de nombres en una caché; eso
368 puede aumentar drásticamente las prestaciones de NIS+, y también puede
369 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
370 errores en el soporte de hilos. Resulta que estos errores impactan el
371 nscd de manera realmente grave.
373 %description -n nscd -l ja
374 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
375 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
376 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
377 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
378 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
380 %description -n nscd -l pl
381 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
382 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
383 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
386 %description -n nscd -l ru
387 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
388 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
391 %description -n nscd -l uk
392 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
393 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
395 %package -n localedb-src
396 Summary: locale database source code
397 Summary(es): Código fuente de la base de datos de los locales
398 Summary(pl): Kod ¼ród³owy bazy locale
400 Requires: %{name} = %{epoch}:%{version}-%{release}
403 %description -n localedb-src
404 This add-on package contains the data needed to build the locale data
405 files to use the internationalization features of the GNU libc.
407 %description -n localedb-src -l es
408 Este paquete adicional contiene los datos necesarios para construir
409 los ficheros de locale, imprescindibles para usar las cualidades de
410 internacionalización de GNU libc.
412 %description -n localedb-src -l pl
413 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
414 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
417 %package localedb-all
418 Summary: locale database for all locales supported by glibc
419 Summary(es): Base de datos de todos los locales soportados por glibc
420 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
422 Requires: iconv = %{epoch}:%{version}-%{release}
423 Requires: %{name} = %{epoch}:%{version}-%{release}
425 %description localedb-all
426 This package contains locale database for all locales supported by
427 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
428 something smaller with support for chosen locales only, consider
429 installing localedb-src and regenerating database using localedb-gen
430 script (when database is generated, localedb-src can be uninstalled).
432 %description localedb-all -l es
433 Este paquete contiene una base de datos de todos los locales
434 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
435 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
436 locales elegidos, considérese instalar localedb-src y regenerar la
437 base de datos usando el escript localedb-gen (una vez que la base de
438 datos esté creada, localedb-src se podrá desinstalar).
440 %description localedb-all -l pl
441 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
442 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
443 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
444 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
445 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
446 pakiet localedb-src mo¿na odinstalowaæ).
449 Summary: Convert encoding of given files from one encoding to another
450 Summary(es): Convierte entre varias codificaciones de los ficheros dados
451 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
452 Group: Applications/Text
453 Requires: %{name} = %{epoch}:%{version}-%{release}
455 %description -n iconv
456 Convert encoding of given files from one encoding to another. You need
457 this package if you want to convert some document from one encoding to
458 another or if you have installed some programs which use Generic
459 Character Set Conversion Interface.
461 %description -n iconv -l es
462 Convierte la codificación de dados ficheros. Necesita este paquete si
463 quiere convertir un documento entre una codificación (juego de
464 caracteres) y otra, o si tiene instalado algún programa que usa el
465 Generic Character Set Conversion Interface (interfaz genérica de
466 conversión de juegos de caracteres).
468 %description -n iconv -l pl
469 Program do konwersji plików tekstowych z jednego kodowania do innego.
470 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
471 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
472 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
473 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
474 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
477 Summary: Static libraries
478 Summary(es): Bibliotecas estáticas
479 Summary(pl): Biblioteki statyczne
480 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
481 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
482 Group: Development/Libraries
483 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
484 Obsoletes: libiconv-static
487 GNU libc static libraries.
489 %description static -l es
490 Bibliotecas estáticas de GNU libc.
492 %description static -l pl
493 Biblioteki statyczne GNU libc.
495 %description static -l ru
496 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
497 ×ÈÏÄÑÔ × glibc-devel.
499 %description static -l uk
500 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
504 Summary: glibc with profiling support
505 Summary(de): glibc mit Profil-Unterstützung
506 Summary(es): glibc con soporte de perfilamiento
507 Summary(fr): glibc avec support pour profiling
508 Summary(pl): glibc ze wsparciem dla profilowania
509 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
510 Summary(tr): Ölçüm desteði olan glibc
511 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
512 Group: Development/Libraries/Libc
513 Obsoletes: libc-profile
514 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
517 When programs are being profiled using gprof, they must use these
518 libraries instead of the standard C libraries for gprof to be able to
519 profile them correctly.
521 %description profile -l de
522 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
523 Libraries anstelle der üblichen C-Libraries verwendet werden.
525 %description profile -l es
526 Cuando programas son perfilidas usando gprof, tienen que usar estas
527 biblioteces en vez de las estándares para que gprof pueda perfilarlas
530 %description profile -l pl
531 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
532 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
535 %description profile -l uk
536 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
537 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
538 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
539 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
542 %description profile -l tr
543 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
544 kitaplýðý kullanmak zorundadýrlar.
546 %description profile -l ru
547 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
548 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
549 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
550 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
554 Summary: glibc PIC archive
555 Summary(es): Archivo PIC de glibc
556 Summary(pl): Archiwum PIC glibc
557 Group: Development/Libraries/Libc
558 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
561 GNU C Library PIC archive contains an archive library (ar file)
562 composed of individual shared objects. This is used for creating a
563 library which is a smaller subset of the standard libc shared library.
565 %description pic -l es
566 El archivo PIC de la biblioteca glibc contiene una biblioteca
567 archivada (un fichero ar) compuesta de individuales objetos
568 compartidos. Es usado para crear una biblioteca que sea un subconjunto
569 más pequeño de la biblioteca libc compartida estándar.
571 %description pic -l pl
572 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
573 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
574 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
575 biblioteki wspó³dzielonej libc.
577 %package -n nss_compat
578 Summary: Old style NYS NSS glibc module
579 Summary(es): El antiguo módulo NYS NSS de glibc
580 Summary(pl): Stary modu³ NYS NSS glibc
582 Requires: %{name} = %{epoch}:%{version}-%{release}
584 %description -n nss_compat
585 Old style NYS NSS glibc module.
587 %description -n nss_compat -l es
588 El antiguo módulo NYS NSS de glibc
590 %description -n nss_compat -l pl
591 Stary modu³ NYS NSS glibc.
594 Summary: BIND NSS glibc module
595 Summary(es): Módulo BIND NSS de glibc
596 Summary(pl): Modu³ BIND NSS glibc
598 Requires: %{name} = %{epoch}:%{version}-%{release}
600 %description -n nss_dns
601 BIND NSS glibc module.
603 %description -n nss_dns -l es
604 Módulo BIND NSS de glibc.
606 %description -n nss_dns -l pl
607 Modu³ BIND NSS glibc.
609 %package -n nss_files
610 Summary: Traditional files databases NSS glibc module
611 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
612 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
614 Requires: %{name} = %{epoch}:%{version}-%{release}
616 %description -n nss_files
617 Traditional files databases NSS glibc module.
619 %description -n nss_files -l es
620 Módulo de tradicionales bases de datos en ficheros para glibc.
622 %description -n nss_files -l pl
623 Modu³ tradycyjnych plikowych baz danych NSS glibc.
625 %package -n nss_hesiod
626 Summary: hesiod NSS glibc module
627 Summary(es): Módulo hesiod NSS de glibc
628 Summary(pl): Modu³ hesiod NSS glibc
630 Requires: %{name} = %{epoch}:%{version}-%{release}
632 %description -n nss_hesiod
633 glibc NSS (Name Service Switch) module for databases access.
635 %description -n nss_hesiod -l es
636 Módulo hesiod NSS de glibc.
638 %description -n nss_hesiod -l pl
639 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
642 Summary: NIS(YP) NSS glibc module
643 Summary(es): Módulo NIS(YP) NSS de glibc
644 Summary(pl): Modu³ NIS(YP) NSS glibc
646 Requires: %{name} = %{epoch}:%{version}-%{release}
648 %description -n nss_nis
649 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
651 %description -n nss_nis -l es
652 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
654 %description -n nss_nis -l pl
655 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
657 %package -n nss_nisplus
658 Summary: NIS+ NSS module
659 Summary(es): Módulo NIS+ NSS
660 Summary(pl): Modu³ NIS+ NSS
662 Requires: %{name} = %{epoch}:%{version}-%{release}
664 %description -n nss_nisplus
665 glibc NSS (Name Service Switch) module for NIS+ databases access.
667 %description -n nss_nisplus -l es
668 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
671 %description -n nss_nisplus -l pl
672 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
676 Summary(es): Un juguete
679 Requires: %{name} = %{epoch}:%{version}-%{release}
682 %description memusage
685 %description memusage -l es
688 %description memusage -l pl
691 %package zoneinfo_right
692 Summary: Non-POSIX (real) time zones
693 Summary(es): Zonas de tiempo reales (no de POSIX)
694 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
696 Requires: %{name} = %{epoch}:%{version}-%{release}
698 %description zoneinfo_right
699 You don't want this. Details at:
700 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
702 %description zoneinfo_right -l es
703 No lo necesita. Encontrará los detalles en:
704 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
706 %description zoneinfo_right -l pl
707 Nie potrzebujesz tego. Szczegó³y pod:
708 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
710 %package -n %{name}64
711 Summary: GNU libc - 64-bit libraries
712 Summary(es): GNU libc - bibliotecas de 64 bits
713 Summary(pl): GNU libc - biblioteki 64-bitowe
716 Provides: glibc = %{epoch}:%{version}-%{release}
717 Requires: glibc-misc = %{epoch}:%{version}-%{release}
719 Requires: %{name} = %{epoch}:%{version}-%{release}
722 %description -n %{name}64
723 64-bit GNU libc libraries for 64bit architecture.
725 %description -n %{name}64 -l es
726 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
728 %description -n %{name}64 -l pl
729 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
731 %package -n %{name}64-devel
732 Summary: Development files for 64-bit GNU libc libraries
733 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
734 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
735 Group: Development/Libraries
736 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
738 %description -n %{name}64-devel
739 Development files for 64-bit GNU libc libraries for 64bit
742 %description -n %{name}64-devel -l es
743 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
744 la arquitectura 64bit.
746 %description -n %{name}64-devel -l pl
747 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
750 %package -n %{name}64-static
751 Summary: Static 64-bit GNU libc libraries
752 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
753 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
754 Group: Development/Libraries
755 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
757 %description -n %{name}64-static
758 Static 64-bit GNU libc libraries.
760 %description -n %{name}64-static -l es
761 Bibliotecas estáticas GNU libc de 64 bits.
763 %description -n %{name}64-static -l pl
764 Statyczne 64-bitowe biblioteki GNU libc.
767 #setup -q -a 1 -n libc
781 # don't know, if it is good idea, for brave ones
783 %{?with_kernelheaders:%patch13}
784 %{?!with_kernelheaders:%patch14 -p1}
803 cp %{_datadir}/automake/config.sub .
804 cp %{_datadir}/automake/config.sub scripts
807 # i786 (aka pentium4) hack
808 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
809 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
811 [ -d builddir ] || mkdir builddir
813 # avoid stripping ld.so by -s in rpmldflags
814 LDFLAGS=" " ; export LDFLAGS
816 --enable-kernel="%{min_kernel}" \
817 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
818 %{?with_tls:--with-tls} \
820 --enable-add-ons=nptl \
823 --enable-add-ons=linuxthreads \
826 %if %{with kernelheaders}
827 CPPFLAGS="-I%{_kernelsrcdir}/include" \
828 --with-headers=%{_kernelsrcdir}/include
830 CPPFLAGS="-I%{_includedir}" \
831 --with-headers=%{_includedir}
834 # problem compiling with --enable-bounded (must be reported to libc-alpha)
836 %{__make} %{?parallelmkflags}
839 env LANGUAGE=C LC_ALL=C \
840 %{__make} tests 2>&1 | awk '
843 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
845 gsub(/.*\[/, NIL, file);
846 gsub(/\].*/, NIL, file);
850 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
854 rm -rf $RPM_BUILD_ROOT
855 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
859 env LANGUAGE=C LC_ALL=C \
861 %{?parallelmkflags} \
862 install_root=$RPM_BUILD_ROOT \
863 infodir=%{_infodir} \
866 env LANGUAGE=C LC_ALL=C \
867 %{__make} localedata/install-locales \
868 %{?parallelmkflags} \
869 install_root=$RPM_BUILD_ROOT
871 PICFILES="libc_pic.a libc.map
872 math/libm_pic.a libm.map
873 resolv/libresolv_pic.a"
875 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
876 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
877 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
879 install elf/postshell $RPM_BUILD_ROOT/sbin
881 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
883 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
887 %{__make} -C ../linuxthreads/man
888 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
891 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
893 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
899 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
900 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
901 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
902 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
904 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
906 # make symlinks across top-level directories absolute
907 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
908 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
909 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
912 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
913 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
914 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
915 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
916 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
918 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
919 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
920 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
921 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
922 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
924 :> $RPM_BUILD_ROOT/var/log/nscd
926 rm -rf ../documentation
927 install -d ../documentation
930 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
931 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
932 cp -f ../linuxthreads/README ../documentation/README.threads
934 cp -f ../crypt/README.ufc-crypt ../documentation/
936 cp -f ../ChangeLog* ../documentation
938 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
940 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
942 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
945 # Collect locale files and mark them with %%lang()
947 echo '%defattr(644,root,root,755)' > ../glibc.lang
948 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
950 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
952 # list of long %%lang values we do support
953 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
954 zh_CN zh_CN.gbk zh_HK zh_TW ; do
955 if [ $j = "$lang" ]; then
959 if [ -n "$twochar" ]; then
960 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
961 lang=`echo $lang | sed "s,\..*,,"`
963 lang=`echo $lang | sed "s,_.*,,"`
966 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
967 echo "%lang($lang) $dir" >> ../glibc.lang
970 # XXX: to be added when become supported by glibc
971 # ia,li (used by GNOME)
972 # nso,ss,ven (used by KDE)
974 # bn is used for bn_BD or bn_IN?
975 # omitted here - already existing (with libc.mo):
976 # 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
977 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 \
978 gr he hi id is ja_JP.SJIS ka kn lg lt lv mk ml mn ms mt nn pt ro ru \
979 se sl sq sr sr@Latn ta tg th uk uz vi wa xh yi zu ; do
980 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
981 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
982 lang=`echo $i | sed -e 's/_.*//'`
983 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
987 # localedb-gen infrastructure
988 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
989 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
992 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
993 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
994 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
995 # we don't support kernel without ptys support
996 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
998 # no longer supported (/dev/null has the same, but expected behaviour)
999 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1002 rm -rf $RPM_BUILD_ROOT
1004 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1005 # when %%postun is run
1009 %post -n %{name}64 -p /sbin/postshell
1011 %post -p /sbin/postshell
1017 %postun -n %{name}64 -p /sbin/postshell
1019 %postun -p /sbin/postshell
1025 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1027 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1029 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1031 %post memusage -p /sbin/ldconfig
1032 %postun memusage -p /sbin/ldconfig
1034 %post -n iconv -p %{_sbindir}/iconvconfig
1037 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1040 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1043 /sbin/chkconfig --add nscd
1045 chmod 000 /var/log/nscd
1046 chown root:root /var/log/nscd
1047 chmod 640 /var/log/nscd
1048 if [ -f /var/lock/subsys/nscd ]; then
1049 /etc/rc.d/init.d/nscd restart 1>&2
1051 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1055 if [ "$1" = "0" ]; then
1056 if [ -f /var/lock/subsys/nscd ]; then
1057 /etc/rc.d/init.d/nscd stop 1>&2
1059 /sbin/chkconfig --del nscd
1066 %defattr(644,root,root,755)
1069 %defattr(644,root,root,755)
1071 %defattr(644,root,root,755)
1072 %doc README NEWS FAQ BUGS
1073 %attr(755,root,root) /sbin/postshell
1074 %attr(755,root,root) /sbin/ldconfig
1075 # ld* and libc.so.6 SONAME symlinks must be in package because of
1076 # chicken-egg problem (postshell is dynamically linked with libc);
1077 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1078 %attr(755,root,root) /%{_lib}/ld*
1079 %attr(755,root,root) /%{_lib}/libanl*
1080 %attr(755,root,root) /%{_lib}/libdl*
1081 %attr(755,root,root) /%{_lib}/libnsl*
1082 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1083 %dir %{_libdir}/locale
1084 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1085 %ghost %{_sysconfdir}/ld.so.cache
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1091 #%files -n nss_files
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1096 %files misc -f %{name}.lang
1097 %defattr(644,root,root,755)
1099 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1100 %config %{_sysconfdir}/rpc
1102 %attr(755,root,root) /sbin/sln
1103 %attr(755,root,root) %{_bindir}/catchsegv
1104 %attr(755,root,root) %{_bindir}/getent
1105 %attr(755,root,root) %{_bindir}/iconv
1106 %attr(755,root,root) %{_bindir}/ldd
1107 %ifnarch alpha ppc sparc64 amd64
1108 %attr(755,root,root) %{_bindir}/lddlibc4
1110 %attr(755,root,root) %{_bindir}/locale
1111 %attr(755,root,root) %{_bindir}/rpcgen
1112 %attr(755,root,root) %{_bindir}/tzselect
1114 %attr(755,root,root) %{_sbindir}/rpcinfo
1115 %attr(755,root,root) %{_sbindir}/zdump
1116 %attr(755,root,root) %{_sbindir}/zic
1118 %dir %{_datadir}/locale
1119 %{_datadir}/locale/locale.alias
1120 %{_datadir}/zoneinfo
1121 %exclude %{_datadir}/zoneinfo/right
1123 %{_mandir}/man1/catchsegv.1*
1124 %{_mandir}/man1/getent.1*
1125 %{_mandir}/man1/iconv.1*
1126 %{_mandir}/man1/ldd.1*
1127 %{_mandir}/man1/locale.1*
1128 %{_mandir}/man1/rpcgen.1*
1129 %{_mandir}/man5/locale.5*
1130 %{_mandir}/man5/nsswitch.conf.5*
1131 %{_mandir}/man5/tzfile.5*
1133 %{_mandir}/man8/ld*.8*
1134 %{_mandir}/man8/rpcinfo.8*
1135 %{_mandir}/man8/sln.8*
1136 %{_mandir}/man8/tzselect.8*
1137 %{_mandir}/man8/zdump.8*
1138 %{_mandir}/man8/zic.8*
1139 %lang(cs) %{_mandir}/cs/man7/*
1140 %lang(de) %{_mandir}/de/man5/tzfile.5*
1141 %lang(de) %{_mandir}/de/man7/*
1142 %lang(es) %{_mandir}/es/man5/locale.5*
1143 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1144 %lang(es) %{_mandir}/es/man5/tzfile.5*
1145 %lang(es) %{_mandir}/es/man7/*
1146 %lang(es) %{_mandir}/es/man8/ld*.8*
1147 %lang(es) %{_mandir}/es/man8/tzselect.8*
1148 %lang(es) %{_mandir}/es/man8/zdump.8*
1149 %lang(es) %{_mandir}/es/man8/zic.8*
1150 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1151 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1152 %lang(fr) %{_mandir}/fr/man5/locale.5*
1153 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1154 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1155 %lang(fr) %{_mandir}/fr/man7/*
1156 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1157 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1158 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1159 %lang(fr) %{_mandir}/fr/man8/zic.8*
1160 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1161 %lang(hu) %{_mandir}/hu/man7/*
1162 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1163 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1164 %lang(it) %{_mandir}/it/man5/locale.5*
1165 %lang(it) %{_mandir}/it/man7/*
1166 %lang(it) %{_mandir}/it/man8/tzselect.8*
1167 %lang(it) %{_mandir}/it/man8/zdump.8*
1168 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1169 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1170 %lang(ja) %{_mandir}/ja/man5/locale.5*
1171 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1172 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1173 %lang(ja) %{_mandir}/ja/man7/*
1174 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1175 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1176 %lang(ja) %{_mandir}/ja/man8/sln.8*
1177 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1178 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1179 %lang(ja) %{_mandir}/ja/man8/zic.8*
1180 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1181 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1182 %lang(ko) %{_mandir}/ko/man7/*
1183 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1184 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1185 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1186 %lang(pl) %{_mandir}/pl/man5/locale.5*
1187 %lang(pl) %{_mandir}/pl/man7/*
1188 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1189 %lang(pt) %{_mandir}/pt/man5/locale.5*
1190 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1191 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1192 %lang(pt) %{_mandir}/pt/man7/*
1193 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1194 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1195 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1196 %lang(pt) %{_mandir}/pt/man8/zic.8*
1197 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1198 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1199 %lang(ru) %{_mandir}/ru/man7/*
1200 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1201 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1202 %lang(ru) %{_mandir}/ru/man8/zic.8*
1203 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1204 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1205 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1206 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1207 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1208 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1209 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1210 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1212 %files zoneinfo_right
1213 %defattr(644,root,root,755)
1214 %{_datadir}/zoneinfo/right
1216 %files -n nss_compat
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1220 %files -n nss_hesiod
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1227 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1229 %files -n nss_nisplus
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1233 %if %{with memusage}
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_bindir}/memusage*
1237 %attr(755,root,root) %{_libdir}/libmemusage.so
1241 %defattr(644,root,root,755)
1242 %doc documentation/* NOTES PROJECTS
1243 %attr(755,root,root) %{_bindir}/gencat
1244 %attr(755,root,root) %{_bindir}/getconf
1245 %attr(755,root,root) %{_bindir}/*prof*
1246 %attr(755,root,root) %{_bindir}/*trace
1250 %{_includedir}/alpha
1256 %{_includedir}/netash
1257 %{_includedir}/netatalk
1258 %{_includedir}/netax25
1259 %{_includedir}/neteconet
1260 %{_includedir}/netinet
1261 %{_includedir}/netipx
1262 %{_includedir}/netpacket
1263 %{_includedir}/netrom
1264 %{_includedir}/netrose
1266 %{_includedir}/protocols
1268 %{_includedir}/rpcsvc
1272 %{_infodir}/libc.info*
1274 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1275 %attr(755,root,root) %{_libdir}/libm.so
1276 %attr(755,root,root) %{_libdir}/*crt*.o
1277 %{_libdir}/libbsd-compat.a
1279 %{_libdir}/libc_nonshared.a
1281 %{_libdir}/libieee.a
1282 %{_libdir}/libpthread_nonshared.a
1283 %{_libdir}/librpcsvc.a
1285 %{_mandir}/man1/getconf.1*
1286 %{_mandir}/man1/sprof.1*
1288 %lang(cs) %{_mandir}/cs/man3/*
1289 %lang(de) %{_mandir}/de/man3/*
1290 %lang(es) %{_mandir}/es/man3/*
1291 %lang(fr) %{_mandir}/fr/man3/*
1292 %lang(hu) %{_mandir}/hu/man3/*
1293 %lang(it) %{_mandir}/it/man3/*
1294 %lang(ja) %{_mandir}/ja/man3/*
1295 %lang(ko) %{_mandir}/ko/man3/*
1296 %lang(nl) %{_mandir}/nl/man3/*
1297 %lang(pl) %{_mandir}/pl/man3/*
1298 %lang(pt) %{_mandir}/pt/man3/*
1299 %lang(ru) %{_mandir}/ru/man3/*
1300 %lang(uk) %{_mandir}/uk/man3/*
1301 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1306 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1307 %attr(754,root,root) /etc/rc.d/init.d/nscd
1308 %attr(755,root,root) %{_sbindir}/nscd*
1309 %attr(640,root,root) /etc/logrotate.d/nscd
1310 %attr(640,root,root) %ghost /var/log/nscd
1312 %{_mandir}/man5/nscd.conf.5*
1313 %{_mandir}/man8/nscd.8*
1314 %{_mandir}/man8/nscd_nischeck.8*
1315 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1316 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1317 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1318 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1319 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1320 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1322 %files -n localedb-src
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_bindir}/localedef
1325 %attr(755,root,root) %{_bindir}/localedb-gen
1327 %{_mandir}/man1/localedef.1*
1330 %defattr(644,root,root,755)
1331 %{_libdir}/locale/locale-archive
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_sbindir}/iconvconfig
1336 %dir %{_libdir}/gconv
1337 %{_libdir}/gconv/gconv-modules
1338 %attr(755,root,root) %{_libdir}/gconv/*.so
1341 %defattr(644,root,root,755)
1343 %{_libdir}/libBrokenLocale.a
1345 %{_libdir}/libcrypt.a
1348 %{_libdir}/libmcheck.a
1350 %{_libdir}/libpthread.a
1351 %{_libdir}/libresolv.a
1353 %{_libdir}/libutil.a
1357 %defattr(644,root,root,755)
1362 %defattr(644,root,root,755)
1363 %{_libdir}/lib*_pic.a
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_libdir}/ld-*
1373 %attr(755,root,root) %{_libdir}/libanl*
1374 %attr(755,root,root) %{_libdir}/libdl*
1375 %attr(755,root,root) %{_libdir}/libnsl*
1376 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1377 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1378 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1380 %files -n glibc64-devel
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1383 %attr(755,root,root) %{_libdir}/libm.so
1384 %attr(755,root,root) %{_libdir}/*crt*.o
1385 %{_libdir}/libbsd-compat.a
1387 %{_libdir}/libc_nonshared.a
1389 %{_libdir}/libieee.a
1390 %{_libdir}/libpthread_nonshared.a
1391 %{_libdir}/librpcsvc.a
1393 %files -n glibc64-static
1394 %defattr(644,root,root,755)
1396 %{_libdir}/libBrokenLocale.a
1398 %{_libdir}/libcrypt.a
1401 %{_libdir}/libmcheck.a
1403 %{_libdir}/libpthread.a
1404 %{_libdir}/libresolv.a
1406 %{_libdir}/libutil.a