2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
3 # default is 2.4.6 for linuxthreads, 2.6.0 for NPTL
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 nptl # don't use NPTL (implies using linuxthreads)
11 %bcond_without tls # don't use tls (implies no NPTL)
12 %bcond_with tests # perform "make test"
13 %bcond_without localedb # don't build localedb-all (is time consuming)
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
35 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc sparcv9 ppc ppc64
46 %undefine with_memusage
54 %define llh_version 7:2.6.6.0
55 %define _snap 20041122
61 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
63 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
65 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
68 Release: 0.%{_snap}.1%{!?with_nptl:+nonptl}%{!?with_nptl:%{!?with_tls:+notls}}
72 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
73 Source0: %{name}-%{_snap}.tar.bz2
74 # Source0-md5: f001b42f639d5030d2c4dd16803b393d
75 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
76 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
78 Source3: nscd.sysconfig
79 Source4: nscd.logrotate
80 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
81 Source5: %{name}-man-pages.tar.bz2
82 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
83 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
84 Source6: %{name}-non-english-man-pages.tar.bz2
85 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
86 # borrowed from util-linux
87 Source7: %{name}-localedb-gen
88 Patch0: %{name}-info.patch
89 Patch1: %{name}-pl.po-update.patch
90 Patch2: %{name}-pld.patch
91 Patch3: %{name}-crypt-blowfish.patch
92 Patch4: %{name}-linuxthreads-lock.patch
93 Patch5: %{name}-pthread_create-manpage.patch
94 Patch6: %{name}-paths.patch
95 Patch7: %{name}-postshell.patch
96 Patch8: %{name}-missing-nls.patch
97 Patch9: %{name}-java-libc-wait.patch
98 Patch10: %{name}-lthrds_noomit.patch
99 Patch11: %{name}-no_opt_override.patch
100 # this is broken (hardcoded /usr/src/linux)
101 Patch12: %{name}-kernel_includes.patch
102 Patch13: %{name}-includes.patch
103 Patch14: %{name}-soinit-EH_FRAME.patch
104 Patch15: %{name}-sparc-errno_fix.patch
105 Patch16: %{name}-csu-quotes.patch
106 Patch17: %{name}-tests-noproc.patch
107 Patch18: %{name}-new-charsets.patch
108 Patch19: %{name}-sr_CS.patch
109 Patch20: %{name}-sparc64-dl-machine.patch
110 Patch21: %{name}-tzfile-noassert.patch
111 Patch22: %{name}-morelocales.patch
112 Patch23: %{name}-locale_ZA.patch
113 Patch24: %{name}-locale_fixes.patch
114 Patch25: %{name}-LD_DEBUG.patch
116 Patch26: %{name}-pax_iconvconfig.patch
117 Patch27: %{name}-pax_dl-execstack.patch
118 Patch28: %{name}-sparc_comdat.patch
119 Patch29: %{name}-ia64_unwind.patch
120 Patch30: %{name}-ZA_collate.patch
121 URL: http://www.gnu.org/software/libc/
122 BuildRequires: automake
123 BuildRequires: binutils >= 2:2.15.90.0.3
124 BuildRequires: gcc >= 3.2
125 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
126 BuildRequires: gettext-devel >= 0.10.36
127 %if %{without kernelheaders}
128 BuildRequires: linux-libc-headers >= %{llh_version}
130 BuildRequires: libselinux-devel
131 BuildRequires: perl-base
132 BuildRequires: rpm-build >= 4.3-0.20030610.28
133 BuildRequires: rpm-perlprov
134 BuildRequires: sed >= 4.0.5
135 BuildRequires: texinfo
138 Requires: glibc-misc = %{epoch}:%{version}-%{release}
139 %{?with_tls:Provides: glibc(tls)}
141 Provides: /sbin/ldconfig
142 Obsoletes: %{name}-common
143 Obsoletes: %{name}-debug
145 Conflicts: kernel < %{min_kernel}
146 Conflicts: ld.so < 1.9.9-10
147 Conflicts: man-pages < 1.43
148 Conflicts: rc-scripts < 0.3.1-13
150 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
152 %define debugcflags -O1 -g
153 # avoid -s here (ld.so must not be stripped to allow any program debugging)
154 %define rpmldflags %{nil}
156 %define specflags_sparc64 -mvis -fcall-used-g6
157 %define _libdir /usr/lib64
159 # we don't want perl dependency in glibc-devel
160 %define _noautoreqfiles %{_bindir}/mtrace
161 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
162 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
163 # patched not to crash on partial hardlinks too)
164 %define _hack_dontneed_PartialHardlinkSets 1
165 %define _noautochrpath .*\\(ldconfig\\|sln\\)
168 Contains the standard libraries that are used by multiple programs on
169 the system. In order to save disk space and memory, as well as to ease
170 upgrades, common system code is kept in one place and shared between
171 programs. This package contains the most important sets of shared
172 libraries, the standard C library and the standard math library.
173 Without these, a Linux system will not function. It also contains
174 national language (locale) support and timezone databases.
176 Can be used on: Linux kernel >= %{min_kernel}.
179 Contiene las bibliotecas estándared que son usadas por varios
180 programas del sistema. Para ahorrar el espacio en el disco y la
181 memoria, igual que para facilitar actualizaciones, código común del
182 sistema se guarda en un sitio y es compartido entre los programas.
183 Este paquete contiene las bibliotecas compartidas más importantes, es
184 decir la biblioteca C estándar y la biblioteca estándar de matemática.
185 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
186 soporte de idiomas nacionales (locale) y bases de datos de zona de
189 Puede usarse con: núcleo Linux >= %{min_kernel}.
192 Enthält die Standard-Libraries, die von verschiedenen Programmen im
193 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
194 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
195 einer einzigen Stelle gespeichert und wird von den Programmen
196 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
197 shared Libraries, die Standard-C-Library und die
198 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
199 Ferner enthält es den Support für die verschiedenen Sprachgregionen
200 (locale) und die Zeitzonen-Datenbank.
202 Can be used on: Linux kernel >= %{min_kernel}.
205 Contient les bibliothèques standards utilisées par de nombreux
206 programmes du système. Afin d'économiser l'espace disque et mémoire,
207 et de faciliter les mises à jour, le code commun au système est mis à
208 un endroit et partagé entre les programmes. Ce paquetage contient les
209 bibliothèques partagées les plus importantes, la bibliothèque standard
210 du C et la bibliothèque mathématique standard. Sans celles-ci, un
211 système Linux ne peut fonctionner. Il contient aussi la gestion des
212 langues nationales (locales) et les bases de données des zones
215 Can be used on: Linux kernel >= %{min_kernel}.
219 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
220 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
221 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
222 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
223 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
224 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
225 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
226 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
228 Can be used on: Linux kernel >= %{min_kernel}.
231 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
232 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
233 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
234 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
235 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
236 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
237 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
238 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
239 jêzyków (locale) oraz definicje stref czasowych.
241 Przeznaczony dla j±dra Linux >= %{min_kernel}.
244 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
245 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
246 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
247 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
248 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
249 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
250 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
251 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
252 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
254 Can be used on: Linux kernel >= %{min_kernel}.
257 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
258 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
259 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
260 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
261 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
262 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
263 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
265 Can be used on: Linux kernel >= %{min_kernel}.
268 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
269 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
270 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
271 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
272 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
273 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
274 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
275 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
276 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
278 Can be used on: Linux kernel >= %{min_kernel}.
281 Summary: Utilities and data used by glibc
282 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
283 Group: Development/Libraries
285 PreReq: %{name} = %{epoch}:%{version}-%{release}
288 Utilities and data used by glibc.
290 %description misc -l pl
291 Narzêdzia i dane u¿ywane przez glibc.
294 Summary: Additional libraries required to compile
295 Summary(de): Weitere Libraries zum Kompilieren
296 Summary(es): Bibliotecas adicionales necesarias para la compilación
297 Summary(fr): Librairies supplémentaires nécessaires à la compilation
298 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
299 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
300 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
301 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
302 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
303 Group: Development/Libraries
304 Requires: %{name} = %{epoch}:%{version}-%{release}
305 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
306 Obsoletes: libiconv-devel
309 To develop programs which use the standard C libraries (which nearly
310 all programs do), the system needs to have these standard header files
311 and object files available for creating the executables.
313 %description devel -l de
314 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
315 verwenden (also fast alle), benötigt das System diese Standard-Header-
316 und Objektdateien zum Erstellen der ausführbaren Programme.
318 %description devel -l es
319 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
320 cual hacen prácticamente todos los programas), el sistema necesita
321 disponer de estos ficheros de cabecera y de objetos para crear los
324 %description devel -l fr
325 Pour développer des programmes utilisant les bibliothèques standard du
326 C (ce que presque tous les programmes font), le système doit posséder
327 ces fichiers en-têtes et objets standards pour créer les exécutables.
329 %description devel -l ja
330 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
331 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
332 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
333 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
334 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
337 %description devel -l pl
338 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
339 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
340 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
341 wykonywalnych i innych bibliotek.
343 %description devel -l ru
344 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
345 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
346 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
349 %description devel -l tr
350 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
351 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
354 %description devel -l uk
355 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
356 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
357 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
361 Summary: Name Service Caching Daemon
362 Summary(es): Demonio de caché del servicio de nombres
363 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
364 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
365 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
366 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
367 Group: Networking/Daemons
368 PreReq: rc-scripts >= 0.2.0
369 Requires(post,preun): /sbin/chkconfig
370 Requires(post): fileutils
371 Requires: %{name} = %{epoch}:%{version}-%{release}
374 nscd caches name service lookups; it can dramatically improve
375 performance with NIS+, and may help with DNS as well. You cannot use
376 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
377 nscd happens to hit these bugs particularly hard.
379 %description -n nscd -l es
380 nscd guarda las peticiones del servicio de nombres en una caché; eso
381 puede aumentar drásticamente las prestaciones de NIS+, y también puede
382 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
383 errores en el soporte de hilos. Resulta que estos errores impactan el
384 nscd de manera realmente grave.
386 %description -n nscd -l ja
387 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
388 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
389 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
390 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
391 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
393 %description -n nscd -l pl
394 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
395 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
396 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
399 %description -n nscd -l ru
400 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
401 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
404 %description -n nscd -l uk
405 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
406 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
408 %package -n localedb-src
409 Summary: locale database source code
410 Summary(es): Código fuente de la base de datos de los locales
411 Summary(pl): Kod ¼ród³owy bazy locale
413 Requires: %{name} = %{epoch}:%{version}-%{release}
417 %description -n localedb-src
418 This add-on package contains the data needed to build the locale data
419 files to use the internationalization features of the GNU libc.
421 %description -n localedb-src -l es
422 Este paquete adicional contiene los datos necesarios para construir
423 los ficheros de locale, imprescindibles para usar las cualidades de
424 internacionalización de GNU libc.
426 %description -n localedb-src -l pl
427 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
428 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
431 %package localedb-all
432 Summary: locale database for all locales supported by glibc
433 Summary(es): Base de datos de todos los locales soportados por glibc
434 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
436 Requires: iconv = %{epoch}:%{version}-%{release}
437 Requires: %{name} = %{epoch}:%{version}-%{release}
439 %description localedb-all
440 This package contains locale database for all locales supported by
441 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
442 something smaller with support for chosen locales only, consider
443 installing localedb-src and regenerating database using localedb-gen
444 script (when database is generated, localedb-src can be uninstalled).
446 %description localedb-all -l es
447 Este paquete contiene una base de datos de todos los locales
448 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
449 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
450 locales elegidos, considérese instalar localedb-src y regenerar la
451 base de datos usando el escript localedb-gen (una vez que la base de
452 datos esté creada, localedb-src se podrá desinstalar).
454 %description localedb-all -l pl
455 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
456 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
457 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
458 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
459 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
460 pakiet localedb-src mo¿na odinstalowaæ).
463 Summary: Convert encoding of given files from one encoding to another
464 Summary(es): Convierte entre varias codificaciones de los ficheros dados
465 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
466 Group: Applications/Text
467 Requires: %{name} = %{epoch}:%{version}-%{release}
469 %description -n iconv
470 Convert encoding of given files from one encoding to another. You need
471 this package if you want to convert some document from one encoding to
472 another or if you have installed some programs which use Generic
473 Character Set Conversion Interface.
475 %description -n iconv -l es
476 Convierte la codificación de dados ficheros. Necesita este paquete si
477 quiere convertir un documento entre una codificación (juego de
478 caracteres) y otra, o si tiene instalado algún programa que usa el
479 Generic Character Set Conversion Interface (interfaz genérica de
480 conversión de juegos de caracteres).
482 %description -n iconv -l pl
483 Program do konwersji plików tekstowych z jednego kodowania do innego.
484 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
485 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
486 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
487 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
488 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
491 Summary: Static libraries
492 Summary(es): Bibliotecas estáticas
493 Summary(pl): Biblioteki statyczne
494 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
495 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
496 Group: Development/Libraries
497 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
498 Obsoletes: libiconv-static
501 GNU libc static libraries.
503 %description static -l es
504 Bibliotecas estáticas de GNU libc.
506 %description static -l pl
507 Biblioteki statyczne GNU libc.
509 %description static -l ru
510 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
511 ×ÈÏÄÑÔ × glibc-devel.
513 %description static -l uk
514 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
518 Summary: glibc with profiling support
519 Summary(de): glibc mit Profil-Unterstützung
520 Summary(es): glibc con soporte de perfilamiento
521 Summary(fr): glibc avec support pour profiling
522 Summary(pl): glibc ze wsparciem dla profilowania
523 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
524 Summary(tr): Ölçüm desteði olan glibc
525 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
526 Group: Development/Libraries/Libc
527 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
528 Obsoletes: libc-profile
531 When programs are being profiled using gprof, they must use these
532 libraries instead of the standard C libraries for gprof to be able to
533 profile them correctly.
535 %description profile -l de
536 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
537 Libraries anstelle der üblichen C-Libraries verwendet werden.
539 %description profile -l es
540 Cuando programas son perfilidas usando gprof, tienen que usar estas
541 biblioteces en vez de las estándares para que gprof pueda perfilarlas
544 %description profile -l pl
545 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
546 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
549 %description profile -l uk
550 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
551 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
552 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
553 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
556 %description profile -l tr
557 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
558 kitaplýðý kullanmak zorundadýrlar.
560 %description profile -l ru
561 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
562 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
563 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
564 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
568 Summary: glibc PIC archive
569 Summary(es): Archivo PIC de glibc
570 Summary(pl): Archiwum PIC glibc
571 Group: Development/Libraries/Libc
572 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
575 GNU C Library PIC archive contains an archive library (ar file)
576 composed of individual shared objects. This is used for creating a
577 library which is a smaller subset of the standard libc shared library.
579 %description pic -l es
580 El archivo PIC de la biblioteca glibc contiene una biblioteca
581 archivada (un fichero ar) compuesta de individuales objetos
582 compartidos. Es usado para crear una biblioteca que sea un subconjunto
583 más pequeño de la biblioteca libc compartida estándar.
585 %description pic -l pl
586 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
587 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
588 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
589 biblioteki wspó³dzielonej libc.
591 %package -n nss_compat
592 Summary: Old style NYS NSS glibc module
593 Summary(es): El antiguo módulo NYS NSS de glibc
594 Summary(pl): Stary modu³ NYS NSS glibc
596 Requires: %{name} = %{epoch}:%{version}-%{release}
598 %description -n nss_compat
599 Old style NYS NSS glibc module.
601 %description -n nss_compat -l es
602 El antiguo módulo NYS NSS de glibc
604 %description -n nss_compat -l pl
605 Stary modu³ NYS NSS glibc.
608 Summary: BIND NSS glibc module
609 Summary(es): Módulo BIND NSS de glibc
610 Summary(pl): Modu³ BIND NSS glibc
612 Requires: %{name} = %{epoch}:%{version}-%{release}
614 %description -n nss_dns
615 BIND NSS glibc module.
617 %description -n nss_dns -l es
618 Módulo BIND NSS de glibc.
620 %description -n nss_dns -l pl
621 Modu³ BIND NSS glibc.
623 %package -n nss_files
624 Summary: Traditional files databases NSS glibc module
625 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
626 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
628 Requires: %{name} = %{epoch}:%{version}-%{release}
630 %description -n nss_files
631 Traditional files databases NSS glibc module.
633 %description -n nss_files -l es
634 Módulo de tradicionales bases de datos en ficheros para glibc.
636 %description -n nss_files -l pl
637 Modu³ tradycyjnych plikowych baz danych NSS glibc.
639 %package -n nss_hesiod
640 Summary: hesiod NSS glibc module
641 Summary(es): Módulo hesiod NSS de glibc
642 Summary(pl): Modu³ hesiod NSS glibc
644 Requires: %{name} = %{epoch}:%{version}-%{release}
646 %description -n nss_hesiod
647 glibc NSS (Name Service Switch) module for databases access.
649 %description -n nss_hesiod -l es
650 Módulo hesiod NSS de glibc.
652 %description -n nss_hesiod -l pl
653 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
656 Summary: NIS(YP) NSS glibc module
657 Summary(es): Módulo NIS(YP) NSS de glibc
658 Summary(pl): Modu³ NIS(YP) NSS glibc
660 Requires: %{name} = %{epoch}:%{version}-%{release}
662 %description -n nss_nis
663 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
665 %description -n nss_nis -l es
666 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
668 %description -n nss_nis -l pl
669 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
671 %package -n nss_nisplus
672 Summary: NIS+ NSS module
673 Summary(es): Módulo NIS+ NSS
674 Summary(pl): Modu³ NIS+ NSS
676 Requires: %{name} = %{epoch}:%{version}-%{release}
678 %description -n nss_nisplus
679 glibc NSS (Name Service Switch) module for NIS+ databases access.
681 %description -n nss_nisplus -l es
682 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
685 %description -n nss_nisplus -l pl
686 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
690 Summary(es): Un juguete
693 Requires: %{name} = %{epoch}:%{version}-%{release}
696 %description memusage
699 %description memusage -l es
702 %description memusage -l pl
705 %package zoneinfo_right
706 Summary: Non-POSIX (real) time zones
707 Summary(es): Zonas de tiempo reales (no de POSIX)
708 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
710 Requires: %{name} = %{epoch}:%{version}-%{release}
712 %description zoneinfo_right
713 You don't want this. Details at:
714 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
716 %description zoneinfo_right -l es
717 No lo necesita. Encontrará los detalles en:
718 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
720 %description zoneinfo_right -l pl
721 Nie potrzebujesz tego. Szczegó³y pod:
722 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
724 %package -n %{name}64
725 Summary: GNU libc - 64-bit libraries
726 Summary(es): GNU libc - bibliotecas de 64 bits
727 Summary(pl): GNU libc - biblioteki 64-bitowe
730 Provides: glibc = %{epoch}:%{version}-%{release}
731 Requires: glibc-misc = %{epoch}:%{version}-%{release}
733 Requires: %{name} = %{epoch}:%{version}-%{release}
736 %description -n %{name}64
737 64-bit GNU libc libraries for 64bit architecture.
739 %description -n %{name}64 -l es
740 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
742 %description -n %{name}64 -l pl
743 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
745 %package -n %{name}64-devel
746 Summary: Development files for 64-bit GNU libc libraries
747 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
748 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
749 Group: Development/Libraries
750 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
752 %description -n %{name}64-devel
753 Development files for 64-bit GNU libc libraries for 64bit
756 %description -n %{name}64-devel -l es
757 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
758 la arquitectura 64bit.
760 %description -n %{name}64-devel -l pl
761 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
764 %package -n %{name}64-static
765 Summary: Static 64-bit GNU libc libraries
766 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
767 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
768 Group: Development/Libraries
769 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
771 %description -n %{name}64-static
772 Static 64-bit GNU libc libraries.
774 %description -n %{name}64-static -l es
775 Bibliotecas estáticas GNU libc de 64 bits.
777 %description -n %{name}64-static -l pl
778 Statyczne 64-bitowe biblioteki GNU libc.
781 #setup -q -a 1 -n libc
794 # don't know, if it is good idea, for brave ones
796 %{?with_kernelheaders:%patch12}
797 %{?!with_kernelheaders:%patch13 -p1}
823 cp -f /usr/share/automake/config.sub scripts
826 # i786 (aka pentium4) hack
827 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
828 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
830 [ -d builddir ] || mkdir builddir
833 --enable-kernel="%{min_kernel}" \
834 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
835 --with%{!?with_tls:out}-tls \
838 --enable-add-ons=nptl \
841 --enable-add-ons=linuxthreads \
844 %if %{with kernelheaders}
845 CPPFLAGS="-I%{_kernelsrcdir}/include" \
846 --with-headers=%{_kernelsrcdir}/include
848 CPPFLAGS="-I%{_includedir}" \
849 --with-headers=%{_includedir}
852 # problem compiling with --enable-bounded (must be reported to libc-alpha)
854 %{__make} %{?parallelmkflags}
857 env LANGUAGE=C LC_ALL=C \
858 %{__make} tests 2>&1 | awk '
861 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
863 gsub(/.*\[/, NIL, file);
864 gsub(/\].*/, NIL, file);
868 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
872 rm -rf $RPM_BUILD_ROOT
873 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
877 env LANGUAGE=C LC_ALL=C \
879 %{?parallelmkflags} \
880 install_root=$RPM_BUILD_ROOT \
881 infodir=%{_infodir} \
885 env LANGUAGE=C LC_ALL=C \
886 %{__make} localedata/install-locales \
887 %{?parallelmkflags} \
888 install_root=$RPM_BUILD_ROOT
891 PICFILES="libc_pic.a libc.map
892 math/libm_pic.a libm.map
893 resolv/libresolv_pic.a"
895 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
896 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
897 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
899 install elf/postshell $RPM_BUILD_ROOT/sbin
901 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
903 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
907 %{__make} -C ../linuxthreads/man
908 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
911 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
913 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
919 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
920 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
921 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
922 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
924 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
926 # make symlinks across top-level directories absolute
927 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
928 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
929 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
932 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
933 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
934 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
935 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
936 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
938 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
939 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
940 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
941 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
942 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
944 :> $RPM_BUILD_ROOT/var/log/nscd
946 rm -rf ../documentation
947 install -d ../documentation
950 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
951 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
952 cp -f ../linuxthreads/README ../documentation/README.threads
954 cp -f ../crypt/README.ufc-crypt ../documentation/
956 cp -f ../ChangeLog* ../documentation
958 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
960 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
962 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
965 # Collect locale files and mark them with %%lang()
967 echo '%defattr(644,root,root,755)' > ../glibc.lang
968 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
970 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
972 # list of long %%lang values we do support
973 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
974 zh_CN zh_CN.gbk zh_HK zh_TW ; do
975 if [ $j = "$lang" ]; then
979 if [ -n "$twochar" ]; then
980 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
981 lang=`echo $lang | sed "s,\..*,,"`
983 lang=`echo $lang | sed "s,_.*,,"`
986 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
987 echo "%lang($lang) $dir" >> ../glibc.lang
990 # XXX: to be added when become supported by glibc
991 # tk, yo (used by GNOME)
992 # ven -> ve (used by KDE)
994 # bn is used for bn_BD or bn_IN?
995 # omitted here - already existing (with libc.mo):
996 # 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
997 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
998 en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn \
999 leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn nso or pa pt ro ru se \
1000 sl sq sr sr@Latn sr@ije ss ta tg th tlh uk uz ve vi wa xh yi zu ; do
1001 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1002 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1003 lang=`echo $i | sed -e 's/_.*//'`
1004 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
1007 cd $RPM_BUILD_ROOT%{_datadir}/locale
1012 # localedb-gen infrastructure
1013 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1014 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1016 # shutup check-files
1017 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1018 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1019 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1020 # we don't support kernel without ptys support
1021 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1023 # no longer supported (/dev/null has the same, but expected behaviour)
1024 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1027 rm -rf $RPM_BUILD_ROOT
1029 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1030 # when %%postun is run
1034 %post -n %{name}64 -p /sbin/postshell
1036 %post -p /sbin/postshell
1042 %postun -n %{name}64 -p /sbin/postshell
1044 %postun -p /sbin/postshell
1050 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1052 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1054 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1056 %post memusage -p /sbin/ldconfig
1057 %postun memusage -p /sbin/ldconfig
1059 %post -n iconv -p %{_sbindir}/iconvconfig
1062 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1065 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1068 /sbin/chkconfig --add nscd
1070 chmod 000 /var/log/nscd
1071 chown root:root /var/log/nscd
1072 chmod 640 /var/log/nscd
1073 if [ -f /var/lock/subsys/nscd ]; then
1074 /etc/rc.d/init.d/nscd restart 1>&2
1076 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1080 if [ "$1" = "0" ]; then
1081 if [ -f /var/lock/subsys/nscd ]; then
1082 /etc/rc.d/init.d/nscd stop 1>&2
1084 /sbin/chkconfig --del nscd
1091 %defattr(644,root,root,755)
1094 %defattr(644,root,root,755)
1096 %defattr(644,root,root,755)
1097 %doc README NEWS FAQ BUGS
1098 %attr(755,root,root) /sbin/postshell
1099 %attr(755,root,root) /sbin/ldconfig
1100 # ld* and libc.so.6 SONAME symlinks must be in package because of
1101 # chicken-egg problem (postshell is dynamically linked with libc);
1102 # ld-*.so SONAME is:
1104 # ld64.so.1 on ppc64,s390x
1105 # ld-linux-ia64.so.2 on ia64
1106 # ld-linux-x86-64.so.2 on amd64
1107 # ld-linux.so.2 on other archs
1108 %attr(755,root,root) /%{_lib}/ld*
1109 %attr(755,root,root) /%{_lib}/libanl*
1110 %attr(755,root,root) /%{_lib}/libdl*
1111 %attr(755,root,root) /%{_lib}/libnsl*
1112 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1113 %{?with_localedb:%dir %{_libdir}/locale}
1114 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1115 %ghost %{_sysconfdir}/ld.so.cache
1118 %defattr(644,root,root,755)
1119 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1121 #%files -n nss_files
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1126 %files misc -f %{name}.lang
1127 %defattr(644,root,root,755)
1129 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1130 %config %{_sysconfdir}/rpc
1132 %attr(755,root,root) /sbin/sln
1133 %attr(755,root,root) %{_bindir}/catchsegv
1134 %attr(755,root,root) %{_bindir}/getent
1135 %attr(755,root,root) %{_bindir}/iconv
1136 %attr(755,root,root) %{_bindir}/ldd
1137 %ifnarch alpha amd64 ia64 ppc sparc64
1138 %attr(755,root,root) %{_bindir}/lddlibc4
1140 %attr(755,root,root) %{_bindir}/locale
1141 %attr(755,root,root) %{_bindir}/rpcgen
1142 %attr(755,root,root) %{_bindir}/tzselect
1144 %attr(755,root,root) %{_sbindir}/rpcinfo
1145 %attr(755,root,root) %{_sbindir}/zdump
1146 %attr(755,root,root) %{_sbindir}/zic
1148 %dir %{_datadir}/locale
1149 %{_datadir}/locale/locale.alias
1150 %{_datadir}/zoneinfo
1151 %exclude %{_datadir}/zoneinfo/right
1153 %{_mandir}/man1/catchsegv.1*
1154 %{_mandir}/man1/getent.1*
1155 %{_mandir}/man1/iconv.1*
1156 %{_mandir}/man1/ldd.1*
1157 %{_mandir}/man1/locale.1*
1158 %{_mandir}/man1/rpcgen.1*
1159 %{_mandir}/man5/locale.5*
1160 %{_mandir}/man5/nsswitch.conf.5*
1161 %{_mandir}/man5/tzfile.5*
1163 %{_mandir}/man8/ld*.8*
1164 %{_mandir}/man8/rpcinfo.8*
1165 %{_mandir}/man8/sln.8*
1166 %{_mandir}/man8/tzselect.8*
1167 %{_mandir}/man8/zdump.8*
1168 %{_mandir}/man8/zic.8*
1169 %lang(cs) %{_mandir}/cs/man7/*
1170 %lang(de) %{_mandir}/de/man5/tzfile.5*
1171 %lang(de) %{_mandir}/de/man7/*
1172 %lang(es) %{_mandir}/es/man5/locale.5*
1173 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1174 %lang(es) %{_mandir}/es/man5/tzfile.5*
1175 %lang(es) %{_mandir}/es/man7/*
1176 %lang(es) %{_mandir}/es/man8/ld*.8*
1177 %lang(es) %{_mandir}/es/man8/tzselect.8*
1178 %lang(es) %{_mandir}/es/man8/zdump.8*
1179 %lang(es) %{_mandir}/es/man8/zic.8*
1180 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1181 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1182 %lang(fr) %{_mandir}/fr/man5/locale.5*
1183 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1184 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1185 %lang(fr) %{_mandir}/fr/man7/*
1186 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1187 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1188 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1189 %lang(fr) %{_mandir}/fr/man8/zic.8*
1190 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1191 %lang(hu) %{_mandir}/hu/man7/*
1192 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1193 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1194 %lang(it) %{_mandir}/it/man5/locale.5*
1195 %lang(it) %{_mandir}/it/man7/*
1196 %lang(it) %{_mandir}/it/man8/tzselect.8*
1197 %lang(it) %{_mandir}/it/man8/zdump.8*
1198 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1199 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1200 %lang(ja) %{_mandir}/ja/man5/locale.5*
1201 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1202 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1203 %lang(ja) %{_mandir}/ja/man7/*
1204 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1205 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1206 %lang(ja) %{_mandir}/ja/man8/sln.8*
1207 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1208 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1209 %lang(ja) %{_mandir}/ja/man8/zic.8*
1210 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1211 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1212 %lang(ko) %{_mandir}/ko/man7/*
1213 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1214 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1215 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1216 %lang(pl) %{_mandir}/pl/man5/locale.5*
1217 %lang(pl) %{_mandir}/pl/man7/*
1218 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1219 %lang(pt) %{_mandir}/pt/man5/locale.5*
1220 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1221 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1222 %lang(pt) %{_mandir}/pt/man7/*
1223 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1224 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1225 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1226 %lang(pt) %{_mandir}/pt/man8/zic.8*
1227 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1228 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1229 %lang(ru) %{_mandir}/ru/man7/*
1230 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1231 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1232 %lang(ru) %{_mandir}/ru/man8/zic.8*
1233 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1234 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1235 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1236 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1237 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1238 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1239 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1240 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1242 %files zoneinfo_right
1243 %defattr(644,root,root,755)
1244 %{_datadir}/zoneinfo/right
1246 %files -n nss_compat
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1250 %files -n nss_hesiod
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1257 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1259 %files -n nss_nisplus
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1263 %if %{with memusage}
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_bindir}/memusage*
1267 %attr(755,root,root) %{_libdir}/libmemusage.so
1271 %defattr(644,root,root,755)
1272 %doc documentation/* NOTES PROJECTS
1273 %attr(755,root,root) %{_bindir}/gencat
1274 %attr(755,root,root) %{_bindir}/getconf
1275 %attr(755,root,root) %{_bindir}/*prof*
1276 %attr(755,root,root) %{_bindir}/*trace
1280 %{_includedir}/alpha
1286 %{_includedir}/netash
1287 %{_includedir}/netatalk
1288 %{_includedir}/netax25
1289 %{_includedir}/neteconet
1290 %{_includedir}/netinet
1291 %{_includedir}/netipx
1292 %{_includedir}/netpacket
1293 %{_includedir}/netrom
1294 %{_includedir}/netrose
1296 %{_includedir}/protocols
1298 %{_includedir}/rpcsvc
1302 %{_infodir}/libc.info*
1304 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1305 %attr(755,root,root) %{_libdir}/libm.so
1306 %attr(755,root,root) %{_libdir}/*crt*.o
1307 %{_libdir}/libbsd-compat.a
1309 %{_libdir}/libc_nonshared.a
1311 %{_libdir}/libieee.a
1312 %{_libdir}/libpthread_nonshared.a
1313 %{_libdir}/librpcsvc.a
1315 %{_mandir}/man1/getconf.1*
1316 %{_mandir}/man1/sprof.1*
1318 %lang(cs) %{_mandir}/cs/man3/*
1319 %lang(de) %{_mandir}/de/man3/*
1320 %lang(es) %{_mandir}/es/man3/*
1321 %lang(fr) %{_mandir}/fr/man3/*
1322 %lang(hu) %{_mandir}/hu/man3/*
1323 %lang(it) %{_mandir}/it/man3/*
1324 %lang(ja) %{_mandir}/ja/man3/*
1325 %lang(ko) %{_mandir}/ko/man3/*
1326 %lang(nl) %{_mandir}/nl/man3/*
1327 %lang(pl) %{_mandir}/pl/man3/*
1328 %lang(pt) %{_mandir}/pt/man3/*
1329 %lang(ru) %{_mandir}/ru/man3/*
1330 %lang(uk) %{_mandir}/uk/man3/*
1331 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1334 %defattr(644,root,root,755)
1335 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1336 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1337 %attr(754,root,root) /etc/rc.d/init.d/nscd
1338 %attr(755,root,root) %{_sbindir}/nscd*
1339 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/nscd
1340 %attr(640,root,root) %ghost /var/log/nscd
1342 %{_mandir}/man5/nscd.conf.5*
1343 %{_mandir}/man8/nscd.8*
1344 %{_mandir}/man8/nscd_nischeck.8*
1345 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1346 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1347 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1348 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1349 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1350 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1352 %files -n localedb-src
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_bindir}/localedef
1355 %attr(755,root,root) %{_bindir}/localedb-gen
1357 %{_mandir}/man1/localedef.1*
1359 %if %{with localedb}
1361 %defattr(644,root,root,755)
1362 %{_libdir}/locale/locale-archive
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_sbindir}/iconvconfig
1368 %dir %{_libdir}/gconv
1369 %{_libdir}/gconv/gconv-modules
1370 %attr(755,root,root) %{_libdir}/gconv/*.so
1373 %defattr(644,root,root,755)
1375 %{_libdir}/libBrokenLocale.a
1377 %{_libdir}/libcrypt.a
1380 %{_libdir}/libmcheck.a
1382 %{_libdir}/libpthread.a
1383 %{_libdir}/libresolv.a
1385 %{_libdir}/libutil.a
1389 %defattr(644,root,root,755)
1394 %defattr(644,root,root,755)
1395 %{_libdir}/lib*_pic.a
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_libdir}/ld-*
1405 %attr(755,root,root) %{_libdir}/libanl*
1406 %attr(755,root,root) %{_libdir}/libdl*
1407 %attr(755,root,root) %{_libdir}/libnsl*
1408 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1409 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1410 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1412 %files -n glibc64-devel
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1415 %attr(755,root,root) %{_libdir}/libm.so
1416 %attr(755,root,root) %{_libdir}/*crt*.o
1417 %{_libdir}/libbsd-compat.a
1419 %{_libdir}/libc_nonshared.a
1421 %{_libdir}/libieee.a
1422 %{_libdir}/libpthread_nonshared.a
1423 %{_libdir}/librpcsvc.a
1425 %files -n glibc64-static
1426 %defattr(644,root,root,755)
1428 %{_libdir}/libBrokenLocale.a
1430 %{_libdir}/libcrypt.a
1433 %{_libdir}/libmcheck.a
1435 %{_libdir}/libpthread.a
1436 %{_libdir}/libresolv.a
1438 %{_libdir}/libutil.a