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 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
20 # linuxthreads/tst-cancel8, debug/backtrace-tst(SEGV) fail on alpha
23 %{!?min_kernel:%global min_kernel 2.4.6}
26 # it seems that nptl uses cmpxchgl (available since i486) on x86
27 %ifarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 alpha s390 s390x sparcv9 ppc ppc64
28 %if "%{min_kernel}" < "2.6.0"
29 %global min_kernel 2.6.0
39 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc sparcv9 ppc ppc64
45 %undefine with_memusage
48 %define llh_version 7:2.6.6.0
49 %define _snap 20040722
55 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
57 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
59 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
62 Release: 0.%{_snap}.6%{?with_nptl:+nptl}%{!?with_nptl:%{?with_tls:+tls}}
66 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
67 Source0: %{name}-%{_snap}.tar.bz2
68 # Source0-md5: 492f7dbecb7f8e5c03d48dd5443a1e88
69 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
70 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
72 Source3: nscd.sysconfig
73 Source4: nscd.logrotate
74 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
75 Source5: %{name}-man-pages.tar.bz2
76 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
77 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
78 Source6: %{name}-non-english-man-pages.tar.bz2
79 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
80 # borrowed from util-linux
81 Source7: %{name}-localedb-gen
82 Patch0: %{name}-info.patch
83 Patch1: %{name}-pl.po-update.patch
84 Patch2: %{name}-pld.patch
85 Patch3: %{name}-crypt-blowfish.patch
86 Patch4: %{name}-linuxthreads-lock.patch
87 Patch5: %{name}-pthread_create-manpage.patch
88 Patch6: %{name}-paths.patch
89 Patch7: %{name}-i786.patch
90 Patch8: %{name}-postshell.patch
91 Patch9: %{name}-missing-nls.patch
92 Patch10: %{name}-java-libc-wait.patch
93 Patch11: %{name}-lthrds_noomit.patch
94 Patch12: %{name}-no_opt_override.patch
95 # this is broken (hardcoded /usr/src/linux)
96 Patch13: %{name}-kernel_includes.patch
97 Patch14: %{name}-includes.patch
98 Patch15: %{name}-soinit-EH_FRAME.patch
99 Patch16: %{name}-sparc-errno_fix.patch
100 Patch17: %{name}-csu-quotes.patch
101 Patch18: %{name}-tests-noproc.patch
102 Patch19: %{name}-new-charsets.patch
103 Patch20: %{name}-sr_CS.patch
104 Patch21: %{name}-sparc64-dl-machine.patch
105 Patch22: %{name}-tzfile-noassert.patch
106 Patch23: %{name}-ifreq.patch
107 Patch24: %{name}-morelocales.patch
108 Patch25: %{name}-ppc-getcontext.patch
109 Patch26: %{name}-locale_fixes.patch
110 Patch27: %{name}-LD_DEBUG.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: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 # we don't want perl dependency in glibc-devel
153 %define _noautoreqfiles %{_bindir}/mtrace
154 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
155 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
156 # patched not to crash on partial hardlinks too)
157 %define _hack_dontneed_PartialHardlinkSets 1
160 Contains the standard libraries that are used by multiple programs on
161 the system. In order to save disk space and memory, as well as to ease
162 upgrades, common system code is kept in one place and shared between
163 programs. This package contains the most important sets of shared
164 libraries, the standard C library and the standard math library.
165 Without these, a Linux system will not function. It also contains
166 national language (locale) support and timezone databases.
168 Can be used on: Linux kernel >= %{min_kernel}.
171 Contiene las bibliotecas estándared que son usadas por varios
172 programas del sistema. Para ahorrar el espacio en el disco y la
173 memoria, igual que para facilitar actualizaciones, código común del
174 sistema se guarda en un sitio y es compartido entre los programas.
175 Este paquete contiene las bibliotecas compartidas más importantes, es
176 decir la biblioteca C estándar y la biblioteca estándar de matemática.
177 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
178 soporte de idiomas nacionales (locale) y bases de datos de zona de
181 Puede usarse con: núcleo Linux >= %{min_kernel}.
184 Enthält die Standard-Libraries, die von verschiedenen Programmen im
185 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
186 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
187 einer einzigen Stelle gespeichert und wird von den Programmen
188 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
189 shared Libraries, die Standard-C-Library und die
190 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
191 Ferner enthält es den Support für die verschiedenen Sprachgregionen
192 (locale) und die Zeitzonen-Datenbank.
194 Can be used on: Linux kernel >= %{min_kernel}.
197 Contient les bibliothèques standards utilisées par de nombreux
198 programmes du système. Afin d'économiser l'espace disque et mémoire,
199 et de faciliter les mises à jour, le code commun au système est mis à
200 un endroit et partagé entre les programmes. Ce paquetage contient les
201 bibliothèques partagées les plus importantes, la bibliothèque standard
202 du C et la bibliothèque mathématique standard. Sans celles-ci, un
203 système Linux ne peut fonctionner. Il contient aussi la gestion des
204 langues nationales (locales) et les bases de données des zones
207 Can be used on: Linux kernel >= %{min_kernel}.
211 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
212 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
213 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
214 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
215 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
216 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
217 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
218 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
220 Can be used on: Linux kernel >= %{min_kernel}.
223 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
224 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
225 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
226 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
227 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
228 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
229 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
230 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
231 jêzyków (locale) oraz definicje stref czasowych.
233 Przeznaczony dla j±dra Linux >= %{min_kernel}.
236 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
237 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
238 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
239 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
240 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
241 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
242 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
243 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
244 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
246 Can be used on: Linux kernel >= %{min_kernel}.
249 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
250 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
251 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
252 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
253 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
254 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
255 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
257 Can be used on: Linux kernel >= %{min_kernel}.
260 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
261 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
262 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
263 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
264 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
265 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
266 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
267 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
268 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
270 Can be used on: Linux kernel >= %{min_kernel}.
273 Summary: Utilities and data used by glibc
274 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
275 Group: Development/Libraries
277 PreReq: %{name} = %{epoch}:%{version}-%{release}
280 Utilities and data used by glibc.
282 %description misc -l pl
283 Narzêdzia i dane u¿ywane przez glibc.
286 Summary: Additional libraries required to compile
287 Summary(de): Weitere Libraries zum Kompilieren
288 Summary(es): Bibliotecas adicionales necesarias para la compilación
289 Summary(fr): Librairies supplémentaires nécessaires à la compilation
290 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
291 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
292 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
293 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
294 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
295 Group: Development/Libraries
296 Requires: %{name} = %{epoch}:%{version}-%{release}
297 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
298 Obsoletes: libiconv-devel
301 To develop programs which use the standard C libraries (which nearly
302 all programs do), the system needs to have these standard header files
303 and object files available for creating the executables.
305 %description devel -l de
306 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
307 verwenden (also fast alle), benötigt das System diese Standard-Header-
308 und Objektdateien zum Erstellen der ausführbaren Programme.
310 %description devel -l es
311 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
312 cual hacen prácticamente todos los programas), el sistema necesita
313 disponer de estos ficheros de cabecera y de objetos para crear los
316 %description devel -l fr
317 Pour développer des programmes utilisant les bibliothèques standard du
318 C (ce que presque tous les programmes font), le système doit posséder
319 ces fichiers en-têtes et objets standards pour créer les exécutables.
321 %description devel -l ja
322 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
323 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
324 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
325 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
326 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
329 %description devel -l pl
330 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
331 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
332 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
333 wykonywalnych i innych bibliotek.
335 %description devel -l ru
336 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
337 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
338 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
341 %description devel -l tr
342 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
343 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
346 %description devel -l uk
347 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
348 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
349 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
353 Summary: Name Service Caching Daemon
354 Summary(es): Demonio de caché del servicio de nombres
355 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
356 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
357 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
358 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
359 Group: Networking/Daemons
360 PreReq: rc-scripts >= 0.2.0
361 Requires(post,preun): /sbin/chkconfig
362 Requires(post): fileutils
363 Requires: %{name} = %{epoch}:%{version}-%{release}
366 nscd caches name service lookups; it can dramatically improve
367 performance with NIS+, and may help with DNS as well. You cannot use
368 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
369 nscd happens to hit these bugs particularly hard.
371 %description -n nscd -l es
372 nscd guarda las peticiones del servicio de nombres en una caché; eso
373 puede aumentar drásticamente las prestaciones de NIS+, y también puede
374 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
375 errores en el soporte de hilos. Resulta que estos errores impactan el
376 nscd de manera realmente grave.
378 %description -n nscd -l ja
379 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
380 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
381 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
382 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
383 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
385 %description -n nscd -l pl
386 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
387 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
388 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
391 %description -n nscd -l ru
392 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
393 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
396 %description -n nscd -l uk
397 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
398 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
400 %package -n localedb-src
401 Summary: locale database source code
402 Summary(es): Código fuente de la base de datos de los locales
403 Summary(pl): Kod ¼ród³owy bazy locale
405 Requires: %{name} = %{epoch}:%{version}-%{release}
408 %description -n localedb-src
409 This add-on package contains the data needed to build the locale data
410 files to use the internationalization features of the GNU libc.
412 %description -n localedb-src -l es
413 Este paquete adicional contiene los datos necesarios para construir
414 los ficheros de locale, imprescindibles para usar las cualidades de
415 internacionalización de GNU libc.
417 %description -n localedb-src -l pl
418 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
419 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
422 %package localedb-all
423 Summary: locale database for all locales supported by glibc
424 Summary(es): Base de datos de todos los locales soportados por glibc
425 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
427 Requires: iconv = %{epoch}:%{version}-%{release}
428 Requires: %{name} = %{epoch}:%{version}-%{release}
430 %description localedb-all
431 This package contains locale database for all locales supported by
432 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
433 something smaller with support for chosen locales only, consider
434 installing localedb-src and regenerating database using localedb-gen
435 script (when database is generated, localedb-src can be uninstalled).
437 %description localedb-all -l es
438 Este paquete contiene una base de datos de todos los locales
439 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
440 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
441 locales elegidos, considérese instalar localedb-src y regenerar la
442 base de datos usando el escript localedb-gen (una vez que la base de
443 datos esté creada, localedb-src se podrá desinstalar).
445 %description localedb-all -l pl
446 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
447 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
448 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
449 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
450 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
451 pakiet localedb-src mo¿na odinstalowaæ).
454 Summary: Convert encoding of given files from one encoding to another
455 Summary(es): Convierte entre varias codificaciones de los ficheros dados
456 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
457 Group: Applications/Text
458 Requires: %{name} = %{epoch}:%{version}-%{release}
460 %description -n iconv
461 Convert encoding of given files from one encoding to another. You need
462 this package if you want to convert some document from one encoding to
463 another or if you have installed some programs which use Generic
464 Character Set Conversion Interface.
466 %description -n iconv -l es
467 Convierte la codificación de dados ficheros. Necesita este paquete si
468 quiere convertir un documento entre una codificación (juego de
469 caracteres) y otra, o si tiene instalado algún programa que usa el
470 Generic Character Set Conversion Interface (interfaz genérica de
471 conversión de juegos de caracteres).
473 %description -n iconv -l pl
474 Program do konwersji plików tekstowych z jednego kodowania do innego.
475 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
476 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
477 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
478 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
479 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
482 Summary: Static libraries
483 Summary(es): Bibliotecas estáticas
484 Summary(pl): Biblioteki statyczne
485 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
486 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
487 Group: Development/Libraries
488 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
489 Obsoletes: libiconv-static
492 GNU libc static libraries.
494 %description static -l es
495 Bibliotecas estáticas de GNU libc.
497 %description static -l pl
498 Biblioteki statyczne GNU libc.
500 %description static -l ru
501 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
502 ×ÈÏÄÑÔ × glibc-devel.
504 %description static -l uk
505 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
509 Summary: glibc with profiling support
510 Summary(de): glibc mit Profil-Unterstützung
511 Summary(es): glibc con soporte de perfilamiento
512 Summary(fr): glibc avec support pour profiling
513 Summary(pl): glibc ze wsparciem dla profilowania
514 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
515 Summary(tr): Ölçüm desteði olan glibc
516 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
517 Group: Development/Libraries/Libc
518 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
519 Obsoletes: libc-profile
522 When programs are being profiled using gprof, they must use these
523 libraries instead of the standard C libraries for gprof to be able to
524 profile them correctly.
526 %description profile -l de
527 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
528 Libraries anstelle der üblichen C-Libraries verwendet werden.
530 %description profile -l es
531 Cuando programas son perfilidas usando gprof, tienen que usar estas
532 biblioteces en vez de las estándares para que gprof pueda perfilarlas
535 %description profile -l pl
536 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
537 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
540 %description profile -l uk
541 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
542 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
543 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
544 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
547 %description profile -l tr
548 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
549 kitaplýðý kullanmak zorundadýrlar.
551 %description profile -l ru
552 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
553 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
554 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
555 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
559 Summary: glibc PIC archive
560 Summary(es): Archivo PIC de glibc
561 Summary(pl): Archiwum PIC glibc
562 Group: Development/Libraries/Libc
563 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
566 GNU C Library PIC archive contains an archive library (ar file)
567 composed of individual shared objects. This is used for creating a
568 library which is a smaller subset of the standard libc shared library.
570 %description pic -l es
571 El archivo PIC de la biblioteca glibc contiene una biblioteca
572 archivada (un fichero ar) compuesta de individuales objetos
573 compartidos. Es usado para crear una biblioteca que sea un subconjunto
574 más pequeño de la biblioteca libc compartida estándar.
576 %description pic -l pl
577 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
578 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
579 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
580 biblioteki wspó³dzielonej libc.
582 %package -n nss_compat
583 Summary: Old style NYS NSS glibc module
584 Summary(es): El antiguo módulo NYS NSS de glibc
585 Summary(pl): Stary modu³ NYS NSS glibc
587 Requires: %{name} = %{epoch}:%{version}-%{release}
589 %description -n nss_compat
590 Old style NYS NSS glibc module.
592 %description -n nss_compat -l es
593 El antiguo módulo NYS NSS de glibc
595 %description -n nss_compat -l pl
596 Stary modu³ NYS NSS glibc.
599 Summary: BIND NSS glibc module
600 Summary(es): Módulo BIND NSS de glibc
601 Summary(pl): Modu³ BIND NSS glibc
603 Requires: %{name} = %{epoch}:%{version}-%{release}
605 %description -n nss_dns
606 BIND NSS glibc module.
608 %description -n nss_dns -l es
609 Módulo BIND NSS de glibc.
611 %description -n nss_dns -l pl
612 Modu³ BIND NSS glibc.
614 %package -n nss_files
615 Summary: Traditional files databases NSS glibc module
616 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
617 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
619 Requires: %{name} = %{epoch}:%{version}-%{release}
621 %description -n nss_files
622 Traditional files databases NSS glibc module.
624 %description -n nss_files -l es
625 Módulo de tradicionales bases de datos en ficheros para glibc.
627 %description -n nss_files -l pl
628 Modu³ tradycyjnych plikowych baz danych NSS glibc.
630 %package -n nss_hesiod
631 Summary: hesiod NSS glibc module
632 Summary(es): Módulo hesiod NSS de glibc
633 Summary(pl): Modu³ hesiod NSS glibc
635 Requires: %{name} = %{epoch}:%{version}-%{release}
637 %description -n nss_hesiod
638 glibc NSS (Name Service Switch) module for databases access.
640 %description -n nss_hesiod -l es
641 Módulo hesiod NSS de glibc.
643 %description -n nss_hesiod -l pl
644 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
647 Summary: NIS(YP) NSS glibc module
648 Summary(es): Módulo NIS(YP) NSS de glibc
649 Summary(pl): Modu³ NIS(YP) NSS glibc
651 Requires: %{name} = %{epoch}:%{version}-%{release}
653 %description -n nss_nis
654 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
656 %description -n nss_nis -l es
657 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
659 %description -n nss_nis -l pl
660 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
662 %package -n nss_nisplus
663 Summary: NIS+ NSS module
664 Summary(es): Módulo NIS+ NSS
665 Summary(pl): Modu³ NIS+ NSS
667 Requires: %{name} = %{epoch}:%{version}-%{release}
669 %description -n nss_nisplus
670 glibc NSS (Name Service Switch) module for NIS+ databases access.
672 %description -n nss_nisplus -l es
673 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
676 %description -n nss_nisplus -l pl
677 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
681 Summary(es): Un juguete
684 Requires: %{name} = %{epoch}:%{version}-%{release}
687 %description memusage
690 %description memusage -l es
693 %description memusage -l pl
696 %package zoneinfo_right
697 Summary: Non-POSIX (real) time zones
698 Summary(es): Zonas de tiempo reales (no de POSIX)
699 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
701 Requires: %{name} = %{epoch}:%{version}-%{release}
703 %description zoneinfo_right
704 You don't want this. Details at:
705 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
707 %description zoneinfo_right -l es
708 No lo necesita. Encontrará los detalles en:
709 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
711 %description zoneinfo_right -l pl
712 Nie potrzebujesz tego. Szczegó³y pod:
713 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
715 %package -n %{name}64
716 Summary: GNU libc - 64-bit libraries
717 Summary(es): GNU libc - bibliotecas de 64 bits
718 Summary(pl): GNU libc - biblioteki 64-bitowe
721 Provides: glibc = %{epoch}:%{version}-%{release}
722 Requires: glibc-misc = %{epoch}:%{version}-%{release}
724 Requires: %{name} = %{epoch}:%{version}-%{release}
727 %description -n %{name}64
728 64-bit GNU libc libraries for 64bit architecture.
730 %description -n %{name}64 -l es
731 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
733 %description -n %{name}64 -l pl
734 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
736 %package -n %{name}64-devel
737 Summary: Development files for 64-bit GNU libc libraries
738 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
739 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
740 Group: Development/Libraries
741 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
743 %description -n %{name}64-devel
744 Development files for 64-bit GNU libc libraries for 64bit
747 %description -n %{name}64-devel -l es
748 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
749 la arquitectura 64bit.
751 %description -n %{name}64-devel -l pl
752 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
755 %package -n %{name}64-static
756 Summary: Static 64-bit GNU libc libraries
757 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
758 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
759 Group: Development/Libraries
760 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
762 %description -n %{name}64-static
763 Static 64-bit GNU libc libraries.
765 %description -n %{name}64-static -l es
766 Bibliotecas estáticas GNU libc de 64 bits.
768 %description -n %{name}64-static -l pl
769 Statyczne 64-bitowe biblioteki GNU libc.
772 #setup -q -a 1 -n libc
786 # don't know, if it is good idea, for brave ones
788 %{?with_kernelheaders:%patch13}
789 %{?!with_kernelheaders:%patch14 -p1}
811 cp %{_datadir}/automake/config.sub .
812 cp %{_datadir}/automake/config.sub scripts
815 # i786 (aka pentium4) hack
816 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
817 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
819 [ -d builddir ] || mkdir builddir
821 # avoid stripping ld.so by -s in rpmldflags
822 LDFLAGS=" " ; export LDFLAGS
824 --enable-kernel="%{min_kernel}" \
825 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
826 --with%{!?with_tls:out}-tls \
828 --enable-add-ons=nptl \
831 --enable-add-ons=linuxthreads \
834 %if %{with kernelheaders}
835 CPPFLAGS="-I%{_kernelsrcdir}/include" \
836 --with-headers=%{_kernelsrcdir}/include
838 CPPFLAGS="-I%{_includedir}" \
839 --with-headers=%{_includedir}
842 # problem compiling with --enable-bounded (must be reported to libc-alpha)
844 %{__make} %{?parallelmkflags}
847 env LANGUAGE=C LC_ALL=C \
848 %{__make} tests 2>&1 | awk '
851 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
853 gsub(/.*\[/, NIL, file);
854 gsub(/\].*/, NIL, file);
858 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
862 rm -rf $RPM_BUILD_ROOT
863 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
867 env LANGUAGE=C LC_ALL=C \
869 %{?parallelmkflags} \
870 install_root=$RPM_BUILD_ROOT \
871 infodir=%{_infodir} \
874 env LANGUAGE=C LC_ALL=C \
875 %{__make} localedata/install-locales \
876 %{?parallelmkflags} \
877 install_root=$RPM_BUILD_ROOT
879 PICFILES="libc_pic.a libc.map
880 math/libm_pic.a libm.map
881 resolv/libresolv_pic.a"
883 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
884 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
885 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
887 install elf/postshell $RPM_BUILD_ROOT/sbin
889 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
891 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
895 %{__make} -C ../linuxthreads/man
896 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
899 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
901 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
907 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
908 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
909 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
910 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
912 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
914 # make symlinks across top-level directories absolute
915 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
916 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
917 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
920 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
921 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
922 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
923 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
924 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
926 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
927 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
928 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
929 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
930 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
932 :> $RPM_BUILD_ROOT/var/log/nscd
934 rm -rf ../documentation
935 install -d ../documentation
938 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
939 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
940 cp -f ../linuxthreads/README ../documentation/README.threads
942 cp -f ../crypt/README.ufc-crypt ../documentation/
944 cp -f ../ChangeLog* ../documentation
946 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
948 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
950 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
953 # Collect locale files and mark them with %%lang()
955 echo '%defattr(644,root,root,755)' > ../glibc.lang
956 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
958 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
960 # list of long %%lang values we do support
961 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
962 zh_CN zh_CN.gbk zh_HK zh_TW ; do
963 if [ $j = "$lang" ]; then
967 if [ -n "$twochar" ]; then
968 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
969 lang=`echo $lang | sed "s,\..*,,"`
971 lang=`echo $lang | sed "s,_.*,,"`
974 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
975 echo "%lang($lang) $dir" >> ../glibc.lang
978 # XXX: to be added when become supported by glibc
979 # ia,li (used by GNOME)
980 # nso,ss,ven (used by KDE)
982 # bn is used for bn_BD or bn_IN?
983 # omitted here - already existing (with libc.mo):
984 # 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
985 for i in af am ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU en_CA \
986 en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn leet lg \
987 li lo lt lv mi mk ml mn mr ms mt nds ne nn pa pt ro ru se sl sq sr sr@Latn \
988 sr@ije ta tg th uk uz vi wa xh yi zh_HK zu ; do
989 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
990 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
991 lang=`echo $i | sed -e 's/_.*//'`
992 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
995 cd $RPM_BUILD_ROOT%{_datadir}/locale
999 # localedb-gen infrastructure
1000 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1001 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1003 # shutup check-files
1004 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1005 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1006 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1007 # we don't support kernel without ptys support
1008 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1010 # no longer supported (/dev/null has the same, but expected behaviour)
1011 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1014 rm -rf $RPM_BUILD_ROOT
1016 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1017 # when %%postun is run
1021 %post -n %{name}64 -p /sbin/postshell
1023 %post -p /sbin/postshell
1029 %postun -n %{name}64 -p /sbin/postshell
1031 %postun -p /sbin/postshell
1037 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1039 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1041 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1043 %post memusage -p /sbin/ldconfig
1044 %postun memusage -p /sbin/ldconfig
1046 %post -n iconv -p %{_sbindir}/iconvconfig
1049 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1052 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1055 /sbin/chkconfig --add nscd
1057 chmod 000 /var/log/nscd
1058 chown root:root /var/log/nscd
1059 chmod 640 /var/log/nscd
1060 if [ -f /var/lock/subsys/nscd ]; then
1061 /etc/rc.d/init.d/nscd restart 1>&2
1063 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1067 if [ "$1" = "0" ]; then
1068 if [ -f /var/lock/subsys/nscd ]; then
1069 /etc/rc.d/init.d/nscd stop 1>&2
1071 /sbin/chkconfig --del nscd
1078 %defattr(644,root,root,755)
1081 %defattr(644,root,root,755)
1083 %defattr(644,root,root,755)
1084 %doc README NEWS FAQ BUGS
1085 %attr(755,root,root) /sbin/postshell
1086 %attr(755,root,root) /sbin/ldconfig
1087 # ld* and libc.so.6 SONAME symlinks must be in package because of
1088 # chicken-egg problem (postshell is dynamically linked with libc);
1089 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1090 %attr(755,root,root) /%{_lib}/ld*
1091 %attr(755,root,root) /%{_lib}/libanl*
1092 %attr(755,root,root) /%{_lib}/libdl*
1093 %attr(755,root,root) /%{_lib}/libnsl*
1094 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1095 %dir %{_libdir}/locale
1096 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1097 %ghost %{_sysconfdir}/ld.so.cache
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1103 #%files -n nss_files
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1108 %files misc -f %{name}.lang
1109 %defattr(644,root,root,755)
1111 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1112 %config %{_sysconfdir}/rpc
1114 %attr(755,root,root) /sbin/sln
1115 %attr(755,root,root) %{_bindir}/catchsegv
1116 %attr(755,root,root) %{_bindir}/getent
1117 %attr(755,root,root) %{_bindir}/iconv
1118 %attr(755,root,root) %{_bindir}/ldd
1119 %ifnarch alpha amd64 ia64 ppc sparc64
1120 %attr(755,root,root) %{_bindir}/lddlibc4
1122 %attr(755,root,root) %{_bindir}/locale
1123 %attr(755,root,root) %{_bindir}/rpcgen
1124 %attr(755,root,root) %{_bindir}/tzselect
1126 %attr(755,root,root) %{_sbindir}/rpcinfo
1127 %attr(755,root,root) %{_sbindir}/zdump
1128 %attr(755,root,root) %{_sbindir}/zic
1130 %dir %{_datadir}/locale
1131 %{_datadir}/locale/locale.alias
1132 %{_datadir}/zoneinfo
1133 %exclude %{_datadir}/zoneinfo/right
1135 %{_mandir}/man1/catchsegv.1*
1136 %{_mandir}/man1/getent.1*
1137 %{_mandir}/man1/iconv.1*
1138 %{_mandir}/man1/ldd.1*
1139 %{_mandir}/man1/locale.1*
1140 %{_mandir}/man1/rpcgen.1*
1141 %{_mandir}/man5/locale.5*
1142 %{_mandir}/man5/nsswitch.conf.5*
1143 %{_mandir}/man5/tzfile.5*
1145 %{_mandir}/man8/ld*.8*
1146 %{_mandir}/man8/rpcinfo.8*
1147 %{_mandir}/man8/sln.8*
1148 %{_mandir}/man8/tzselect.8*
1149 %{_mandir}/man8/zdump.8*
1150 %{_mandir}/man8/zic.8*
1151 %lang(cs) %{_mandir}/cs/man7/*
1152 %lang(de) %{_mandir}/de/man5/tzfile.5*
1153 %lang(de) %{_mandir}/de/man7/*
1154 %lang(es) %{_mandir}/es/man5/locale.5*
1155 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1156 %lang(es) %{_mandir}/es/man5/tzfile.5*
1157 %lang(es) %{_mandir}/es/man7/*
1158 %lang(es) %{_mandir}/es/man8/ld*.8*
1159 %lang(es) %{_mandir}/es/man8/tzselect.8*
1160 %lang(es) %{_mandir}/es/man8/zdump.8*
1161 %lang(es) %{_mandir}/es/man8/zic.8*
1162 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1163 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1164 %lang(fr) %{_mandir}/fr/man5/locale.5*
1165 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1166 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1167 %lang(fr) %{_mandir}/fr/man7/*
1168 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1169 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1170 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1171 %lang(fr) %{_mandir}/fr/man8/zic.8*
1172 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1173 %lang(hu) %{_mandir}/hu/man7/*
1174 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1175 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1176 %lang(it) %{_mandir}/it/man5/locale.5*
1177 %lang(it) %{_mandir}/it/man7/*
1178 %lang(it) %{_mandir}/it/man8/tzselect.8*
1179 %lang(it) %{_mandir}/it/man8/zdump.8*
1180 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1181 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1182 %lang(ja) %{_mandir}/ja/man5/locale.5*
1183 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1184 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1185 %lang(ja) %{_mandir}/ja/man7/*
1186 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1187 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1188 %lang(ja) %{_mandir}/ja/man8/sln.8*
1189 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1190 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1191 %lang(ja) %{_mandir}/ja/man8/zic.8*
1192 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1193 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1194 %lang(ko) %{_mandir}/ko/man7/*
1195 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1196 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1197 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1198 %lang(pl) %{_mandir}/pl/man5/locale.5*
1199 %lang(pl) %{_mandir}/pl/man7/*
1200 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1201 %lang(pt) %{_mandir}/pt/man5/locale.5*
1202 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1203 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1204 %lang(pt) %{_mandir}/pt/man7/*
1205 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1206 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1207 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1208 %lang(pt) %{_mandir}/pt/man8/zic.8*
1209 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1210 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1211 %lang(ru) %{_mandir}/ru/man7/*
1212 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1213 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1214 %lang(ru) %{_mandir}/ru/man8/zic.8*
1215 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1216 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1217 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1218 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1219 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1220 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1221 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1222 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1224 %files zoneinfo_right
1225 %defattr(644,root,root,755)
1226 %{_datadir}/zoneinfo/right
1228 %files -n nss_compat
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1232 %files -n nss_hesiod
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1239 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1241 %files -n nss_nisplus
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1245 %if %{with memusage}
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_bindir}/memusage*
1249 %attr(755,root,root) %{_libdir}/libmemusage.so
1253 %defattr(644,root,root,755)
1254 %doc documentation/* NOTES PROJECTS
1255 %attr(755,root,root) %{_bindir}/gencat
1256 %attr(755,root,root) %{_bindir}/getconf
1257 %attr(755,root,root) %{_bindir}/*prof*
1258 %attr(755,root,root) %{_bindir}/*trace
1262 %{_includedir}/alpha
1268 %{_includedir}/netash
1269 %{_includedir}/netatalk
1270 %{_includedir}/netax25
1271 %{_includedir}/neteconet
1272 %{_includedir}/netinet
1273 %{_includedir}/netipx
1274 %{_includedir}/netpacket
1275 %{_includedir}/netrom
1276 %{_includedir}/netrose
1278 %{_includedir}/protocols
1280 %{_includedir}/rpcsvc
1284 %{_infodir}/libc.info*
1286 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1287 %attr(755,root,root) %{_libdir}/libm.so
1288 %attr(755,root,root) %{_libdir}/*crt*.o
1289 %{_libdir}/libbsd-compat.a
1291 %{_libdir}/libc_nonshared.a
1293 %{_libdir}/libieee.a
1294 %{_libdir}/libpthread_nonshared.a
1295 %{_libdir}/librpcsvc.a
1297 %{_mandir}/man1/getconf.1*
1298 %{_mandir}/man1/sprof.1*
1300 %lang(cs) %{_mandir}/cs/man3/*
1301 %lang(de) %{_mandir}/de/man3/*
1302 %lang(es) %{_mandir}/es/man3/*
1303 %lang(fr) %{_mandir}/fr/man3/*
1304 %lang(hu) %{_mandir}/hu/man3/*
1305 %lang(it) %{_mandir}/it/man3/*
1306 %lang(ja) %{_mandir}/ja/man3/*
1307 %lang(ko) %{_mandir}/ko/man3/*
1308 %lang(nl) %{_mandir}/nl/man3/*
1309 %lang(pl) %{_mandir}/pl/man3/*
1310 %lang(pt) %{_mandir}/pt/man3/*
1311 %lang(ru) %{_mandir}/ru/man3/*
1312 %lang(uk) %{_mandir}/uk/man3/*
1313 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1316 %defattr(644,root,root,755)
1317 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1318 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1319 %attr(754,root,root) /etc/rc.d/init.d/nscd
1320 %attr(755,root,root) %{_sbindir}/nscd*
1321 %attr(640,root,root) /etc/logrotate.d/nscd
1322 %attr(640,root,root) %ghost /var/log/nscd
1324 %{_mandir}/man5/nscd.conf.5*
1325 %{_mandir}/man8/nscd.8*
1326 %{_mandir}/man8/nscd_nischeck.8*
1327 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1328 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1329 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1330 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1331 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1332 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1334 %files -n localedb-src
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_bindir}/localedef
1337 %attr(755,root,root) %{_bindir}/localedb-gen
1339 %{_mandir}/man1/localedef.1*
1342 %defattr(644,root,root,755)
1343 %{_libdir}/locale/locale-archive
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_sbindir}/iconvconfig
1348 %dir %{_libdir}/gconv
1349 %{_libdir}/gconv/gconv-modules
1350 %attr(755,root,root) %{_libdir}/gconv/*.so
1353 %defattr(644,root,root,755)
1355 %{_libdir}/libBrokenLocale.a
1357 %{_libdir}/libcrypt.a
1360 %{_libdir}/libmcheck.a
1362 %{_libdir}/libpthread.a
1363 %{_libdir}/libresolv.a
1365 %{_libdir}/libutil.a
1369 %defattr(644,root,root,755)
1374 %defattr(644,root,root,755)
1375 %{_libdir}/lib*_pic.a
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/ld-*
1385 %attr(755,root,root) %{_libdir}/libanl*
1386 %attr(755,root,root) %{_libdir}/libdl*
1387 %attr(755,root,root) %{_libdir}/libnsl*
1388 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1389 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1390 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1392 %files -n glibc64-devel
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1395 %attr(755,root,root) %{_libdir}/libm.so
1396 %attr(755,root,root) %{_libdir}/*crt*.o
1397 %{_libdir}/libbsd-compat.a
1399 %{_libdir}/libc_nonshared.a
1401 %{_libdir}/libieee.a
1402 %{_libdir}/libpthread_nonshared.a
1403 %{_libdir}/librpcsvc.a
1405 %files -n glibc64-static
1406 %defattr(644,root,root,755)
1408 %{_libdir}/libBrokenLocale.a
1410 %{_libdir}/libcrypt.a
1413 %{_libdir}/libmcheck.a
1415 %{_libdir}/libpthread.a
1416 %{_libdir}/libresolv.a
1418 %{_libdir}/libutil.a