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_without nptl # don't use NPTL (implies using linuxthreads)
12 %bcond_without tls # don't use tls (implies no NPTL)
13 %bcond_with tests # perform "make test"
14 %bcond_without localedb # don't build localedb-all (is time consuming)
18 # - localedb-gen man pages(?)
19 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
20 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
21 # linuxthreads/tst-cancel8, debug/backtrace-tst(SEGV) fail on alpha
24 %{!?min_kernel:%global min_kernel 2.4.6}
27 # it seems that nptl uses cmpxchgl (available since i486) on x86
28 %ifarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 alpha s390 s390x sparcv9 ppc ppc64
29 %if "%{min_kernel}" < "2.6.0"
30 %global min_kernel 2.6.0
36 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc sparcv9 ppc ppc64
47 %undefine with_memusage
55 %define llh_version 7:2.6.6.0
56 %define _snap 20041122
62 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
64 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
66 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
69 Release: 0.%{_snap}.1%{!?with_nptl:+nonptl}%{!?with_nptl:%{!?with_tls:+notls}}
73 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
74 Source0: %{name}-%{_snap}.tar.bz2
75 # Source0-md5: f001b42f639d5030d2c4dd16803b393d
76 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
77 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
79 Source3: nscd.sysconfig
80 Source4: nscd.logrotate
81 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
82 Source5: %{name}-man-pages.tar.bz2
83 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
84 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
85 Source6: %{name}-non-english-man-pages.tar.bz2
86 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
87 # borrowed from util-linux
88 Source7: %{name}-localedb-gen
89 Patch0: %{name}-info.patch
90 Patch1: %{name}-pl.po-update.patch
91 Patch2: %{name}-pld.patch
92 Patch3: %{name}-crypt-blowfish.patch
93 Patch4: %{name}-linuxthreads-lock.patch
94 Patch5: %{name}-pthread_create-manpage.patch
95 Patch6: %{name}-paths.patch
96 Patch7: %{name}-postshell.patch
97 Patch8: %{name}-missing-nls.patch
98 Patch9: %{name}-java-libc-wait.patch
99 Patch10: %{name}-lthrds_noomit.patch
100 Patch11: %{name}-no_opt_override.patch
101 # this is broken (hardcoded /usr/src/linux)
102 Patch12: %{name}-kernel_includes.patch
103 Patch13: %{name}-includes.patch
104 Patch14: %{name}-soinit-EH_FRAME.patch
105 Patch15: %{name}-sparc-errno_fix.patch
106 Patch16: %{name}-csu-quotes.patch
107 Patch17: %{name}-tests-noproc.patch
108 Patch18: %{name}-new-charsets.patch
109 Patch19: %{name}-sr_CS.patch
110 Patch20: %{name}-sparc64-dl-machine.patch
111 Patch21: %{name}-tzfile-noassert.patch
112 Patch22: %{name}-morelocales.patch
113 Patch23: %{name}-locale_ZA.patch
114 Patch24: %{name}-locale_fixes.patch
115 Patch25: %{name}-LD_DEBUG.patch
117 Patch26: %{name}-pax_iconvconfig.patch
118 Patch27: %{name}-pax_dl-execstack.patch
119 Patch28: %{name}-sparc_comdat.patch
120 Patch29: %{name}-ia64_unwind.patch
121 Patch30: %{name}-ZA_collate.patch
122 URL: http://www.gnu.org/software/libc/
123 BuildRequires: automake
124 BuildRequires: binutils >= 2:2.15.90.0.3
125 BuildRequires: gcc >= 3.2
126 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
127 BuildRequires: gettext-devel >= 0.10.36
128 %if %{with kernelheaders}
129 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
131 BuildRequires: linux-libc-headers >= %{llh_version}
133 BuildRequires: libselinux-devel
134 BuildRequires: perl-base
135 BuildRequires: rpm-build >= 4.3-0.20030610.28
136 BuildRequires: rpm-perlprov
137 BuildRequires: sed >= 4.0.5
138 BuildRequires: texinfo
141 Requires: glibc-misc = %{epoch}:%{version}-%{release}
142 %{?with_tls:Provides: glibc(tls)}
145 Provides: /sbin/ldconfig
146 Obsoletes: %{name}-common
147 Obsoletes: %{name}-debug
149 Conflicts: kernel < %{min_kernel}
150 Conflicts: ld.so < 1.9.9-10
151 Conflicts: man-pages < 1.43
152 Conflicts: rc-scripts < 0.3.1-13
154 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
156 %define debugcflags -O1 -g
158 %define specflags_sparc64 -mvis -fcall-used-g6
159 %define _libdir /usr/lib64
161 # we don't want perl dependency in glibc-devel
162 %define _noautoreqfiles %{_bindir}/mtrace
163 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
164 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
165 # patched not to crash on partial hardlinks too)
166 %define _hack_dontneed_PartialHardlinkSets 1
167 %define _noautochrpath .*\\(ldconfig\\|sln\\)
170 Contains the standard libraries that are used by multiple programs on
171 the system. In order to save disk space and memory, as well as to ease
172 upgrades, common system code is kept in one place and shared between
173 programs. This package contains the most important sets of shared
174 libraries, the standard C library and the standard math library.
175 Without these, a Linux system will not function. It also contains
176 national language (locale) support and timezone databases.
178 Can be used on: Linux kernel >= %{min_kernel}.
181 Contiene las bibliotecas estándared que son usadas por varios
182 programas del sistema. Para ahorrar el espacio en el disco y la
183 memoria, igual que para facilitar actualizaciones, código común del
184 sistema se guarda en un sitio y es compartido entre los programas.
185 Este paquete contiene las bibliotecas compartidas más importantes, es
186 decir la biblioteca C estándar y la biblioteca estándar de matemática.
187 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
188 soporte de idiomas nacionales (locale) y bases de datos de zona de
191 Puede usarse con: núcleo Linux >= %{min_kernel}.
194 Enthält die Standard-Libraries, die von verschiedenen Programmen im
195 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
196 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
197 einer einzigen Stelle gespeichert und wird von den Programmen
198 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
199 shared Libraries, die Standard-C-Library und die
200 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
201 Ferner enthält es den Support für die verschiedenen Sprachgregionen
202 (locale) und die Zeitzonen-Datenbank.
204 Can be used on: Linux kernel >= %{min_kernel}.
207 Contient les bibliothèques standards utilisées par de nombreux
208 programmes du système. Afin d'économiser l'espace disque et mémoire,
209 et de faciliter les mises à jour, le code commun au système est mis à
210 un endroit et partagé entre les programmes. Ce paquetage contient les
211 bibliothèques partagées les plus importantes, la bibliothèque standard
212 du C et la bibliothèque mathématique standard. Sans celles-ci, un
213 système Linux ne peut fonctionner. Il contient aussi la gestion des
214 langues nationales (locales) et les bases de données des zones
217 Can be used on: Linux kernel >= %{min_kernel}.
221 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
222 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
223 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
224 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
225 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
226 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
227 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
228 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
230 Can be used on: Linux kernel >= %{min_kernel}.
233 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
234 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
235 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
236 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
237 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
238 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
239 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
240 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
241 jêzyków (locale) oraz definicje stref czasowych.
243 Przeznaczony dla j±dra Linux >= %{min_kernel}.
246 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
247 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
248 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
249 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
250 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
251 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
252 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
253 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
254 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
256 Can be used on: Linux kernel >= %{min_kernel}.
259 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
260 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
261 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
262 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
263 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
264 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
265 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
267 Can be used on: Linux kernel >= %{min_kernel}.
270 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
271 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
272 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
273 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
274 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
275 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
276 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
277 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
278 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
280 Can be used on: Linux kernel >= %{min_kernel}.
283 Summary: Utilities and data used by glibc
284 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
285 Group: Development/Libraries
287 PreReq: %{name} = %{epoch}:%{version}-%{release}
290 Utilities and data used by glibc.
292 %description misc -l pl
293 Narzêdzia i dane u¿ywane przez glibc.
296 Summary: Additional libraries required to compile
297 Summary(de): Weitere Libraries zum Kompilieren
298 Summary(es): Bibliotecas adicionales necesarias para la compilación
299 Summary(fr): Librairies supplémentaires nécessaires à la compilation
300 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
301 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
302 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
303 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
304 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
305 Group: Development/Libraries
306 Requires: %{name} = %{epoch}:%{version}-%{release}
307 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
308 Obsoletes: libiconv-devel
311 To develop programs which use the standard C libraries (which nearly
312 all programs do), the system needs to have these standard header files
313 and object files available for creating the executables.
315 %description devel -l de
316 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
317 verwenden (also fast alle), benötigt das System diese Standard-Header-
318 und Objektdateien zum Erstellen der ausführbaren Programme.
320 %description devel -l es
321 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
322 cual hacen prácticamente todos los programas), el sistema necesita
323 disponer de estos ficheros de cabecera y de objetos para crear los
326 %description devel -l fr
327 Pour développer des programmes utilisant les bibliothèques standard du
328 C (ce que presque tous les programmes font), le système doit posséder
329 ces fichiers en-têtes et objets standards pour créer les exécutables.
331 %description devel -l ja
332 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
333 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
334 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
335 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
336 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
339 %description devel -l pl
340 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
341 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
342 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
343 wykonywalnych i innych bibliotek.
345 %description devel -l ru
346 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
347 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
348 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
351 %description devel -l tr
352 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
353 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
356 %description devel -l uk
357 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
358 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
359 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
363 Summary: Name Service Caching Daemon
364 Summary(es): Demonio de caché del servicio de nombres
365 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
366 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
367 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
368 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
369 Group: Networking/Daemons
370 PreReq: rc-scripts >= 0.2.0
371 Requires(post,preun): /sbin/chkconfig
372 Requires(post): fileutils
373 Requires: %{name} = %{epoch}:%{version}-%{release}
376 nscd caches name service lookups; it can dramatically improve
377 performance with NIS+, and may help with DNS as well. You cannot use
378 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
379 nscd happens to hit these bugs particularly hard.
381 %description -n nscd -l es
382 nscd guarda las peticiones del servicio de nombres en una caché; eso
383 puede aumentar drásticamente las prestaciones de NIS+, y también puede
384 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
385 errores en el soporte de hilos. Resulta que estos errores impactan el
386 nscd de manera realmente grave.
388 %description -n nscd -l ja
389 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
390 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
391 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
392 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
393 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
395 %description -n nscd -l pl
396 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
397 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
398 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
401 %description -n nscd -l ru
402 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
403 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
406 %description -n nscd -l uk
407 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
408 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
410 %package -n localedb-src
411 Summary: locale database source code
412 Summary(es): Código fuente de la base de datos de los locales
413 Summary(pl): Kod ¼ród³owy bazy locale
415 Requires: %{name} = %{epoch}:%{version}-%{release}
419 %description -n localedb-src
420 This add-on package contains the data needed to build the locale data
421 files to use the internationalization features of the GNU libc.
423 %description -n localedb-src -l es
424 Este paquete adicional contiene los datos necesarios para construir
425 los ficheros de locale, imprescindibles para usar las cualidades de
426 internacionalización de GNU libc.
428 %description -n localedb-src -l pl
429 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
430 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
433 %package localedb-all
434 Summary: locale database for all locales supported by glibc
435 Summary(es): Base de datos de todos los locales soportados por glibc
436 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
438 Requires: iconv = %{epoch}:%{version}-%{release}
439 Requires: %{name} = %{epoch}:%{version}-%{release}
441 %description localedb-all
442 This package contains locale database for all locales supported by
443 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
444 something smaller with support for chosen locales only, consider
445 installing localedb-src and regenerating database using localedb-gen
446 script (when database is generated, localedb-src can be uninstalled).
448 %description localedb-all -l es
449 Este paquete contiene una base de datos de todos los locales
450 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
451 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
452 locales elegidos, considérese instalar localedb-src y regenerar la
453 base de datos usando el escript localedb-gen (una vez que la base de
454 datos esté creada, localedb-src se podrá desinstalar).
456 %description localedb-all -l pl
457 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
458 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
459 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
460 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
461 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
462 pakiet localedb-src mo¿na odinstalowaæ).
465 Summary: Convert encoding of given files from one encoding to another
466 Summary(es): Convierte entre varias codificaciones de los ficheros dados
467 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
468 Group: Applications/Text
469 Requires: %{name} = %{epoch}:%{version}-%{release}
471 %description -n iconv
472 Convert encoding of given files from one encoding to another. You need
473 this package if you want to convert some document from one encoding to
474 another or if you have installed some programs which use Generic
475 Character Set Conversion Interface.
477 %description -n iconv -l es
478 Convierte la codificación de dados ficheros. Necesita este paquete si
479 quiere convertir un documento entre una codificación (juego de
480 caracteres) y otra, o si tiene instalado algún programa que usa el
481 Generic Character Set Conversion Interface (interfaz genérica de
482 conversión de juegos de caracteres).
484 %description -n iconv -l pl
485 Program do konwersji plików tekstowych z jednego kodowania do innego.
486 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
487 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
488 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
489 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
490 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
493 Summary: Static libraries
494 Summary(es): Bibliotecas estáticas
495 Summary(pl): Biblioteki statyczne
496 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
497 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
498 Group: Development/Libraries
499 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
500 Obsoletes: libiconv-static
503 GNU libc static libraries.
505 %description static -l es
506 Bibliotecas estáticas de GNU libc.
508 %description static -l pl
509 Biblioteki statyczne GNU libc.
511 %description static -l ru
512 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
513 ×ÈÏÄÑÔ × glibc-devel.
515 %description static -l uk
516 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
520 Summary: glibc with profiling support
521 Summary(de): glibc mit Profil-Unterstützung
522 Summary(es): glibc con soporte de perfilamiento
523 Summary(fr): glibc avec support pour profiling
524 Summary(pl): glibc ze wsparciem dla profilowania
525 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
526 Summary(tr): Ölçüm desteði olan glibc
527 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
528 Group: Development/Libraries/Libc
529 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
530 Obsoletes: libc-profile
533 When programs are being profiled using gprof, they must use these
534 libraries instead of the standard C libraries for gprof to be able to
535 profile them correctly.
537 %description profile -l de
538 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
539 Libraries anstelle der üblichen C-Libraries verwendet werden.
541 %description profile -l es
542 Cuando programas son perfilidas usando gprof, tienen que usar estas
543 biblioteces en vez de las estándares para que gprof pueda perfilarlas
546 %description profile -l pl
547 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
548 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
551 %description profile -l uk
552 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
553 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
554 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
555 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
558 %description profile -l tr
559 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
560 kitaplýðý kullanmak zorundadýrlar.
562 %description profile -l ru
563 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
564 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
565 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
566 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
570 Summary: glibc PIC archive
571 Summary(es): Archivo PIC de glibc
572 Summary(pl): Archiwum PIC glibc
573 Group: Development/Libraries/Libc
574 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
577 GNU C Library PIC archive contains an archive library (ar file)
578 composed of individual shared objects. This is used for creating a
579 library which is a smaller subset of the standard libc shared library.
581 %description pic -l es
582 El archivo PIC de la biblioteca glibc contiene una biblioteca
583 archivada (un fichero ar) compuesta de individuales objetos
584 compartidos. Es usado para crear una biblioteca que sea un subconjunto
585 más pequeño de la biblioteca libc compartida estándar.
587 %description pic -l pl
588 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
589 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
590 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
591 biblioteki wspó³dzielonej libc.
593 %package -n nss_compat
594 Summary: Old style NYS NSS glibc module
595 Summary(es): El antiguo módulo NYS NSS de glibc
596 Summary(pl): Stary modu³ NYS NSS glibc
598 Requires: %{name} = %{epoch}:%{version}-%{release}
600 %description -n nss_compat
601 Old style NYS NSS glibc module.
603 %description -n nss_compat -l es
604 El antiguo módulo NYS NSS de glibc
606 %description -n nss_compat -l pl
607 Stary modu³ NYS NSS glibc.
610 Summary: BIND NSS glibc module
611 Summary(es): Módulo BIND NSS de glibc
612 Summary(pl): Modu³ BIND NSS glibc
614 Requires: %{name} = %{epoch}:%{version}-%{release}
616 %description -n nss_dns
617 BIND NSS glibc module.
619 %description -n nss_dns -l es
620 Módulo BIND NSS de glibc.
622 %description -n nss_dns -l pl
623 Modu³ BIND NSS glibc.
625 %package -n nss_files
626 Summary: Traditional files databases NSS glibc module
627 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
628 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
630 Requires: %{name} = %{epoch}:%{version}-%{release}
632 %description -n nss_files
633 Traditional files databases NSS glibc module.
635 %description -n nss_files -l es
636 Módulo de tradicionales bases de datos en ficheros para glibc.
638 %description -n nss_files -l pl
639 Modu³ tradycyjnych plikowych baz danych NSS glibc.
641 %package -n nss_hesiod
642 Summary: hesiod NSS glibc module
643 Summary(es): Módulo hesiod NSS de glibc
644 Summary(pl): Modu³ hesiod NSS glibc
646 Requires: %{name} = %{epoch}:%{version}-%{release}
648 %description -n nss_hesiod
649 glibc NSS (Name Service Switch) module for databases access.
651 %description -n nss_hesiod -l es
652 Módulo hesiod NSS de glibc.
654 %description -n nss_hesiod -l pl
655 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
658 Summary: NIS(YP) NSS glibc module
659 Summary(es): Módulo NIS(YP) NSS de glibc
660 Summary(pl): Modu³ NIS(YP) NSS glibc
662 Requires: %{name} = %{epoch}:%{version}-%{release}
664 %description -n nss_nis
665 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
667 %description -n nss_nis -l es
668 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
670 %description -n nss_nis -l pl
671 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
673 %package -n nss_nisplus
674 Summary: NIS+ NSS module
675 Summary(es): Módulo NIS+ NSS
676 Summary(pl): Modu³ NIS+ NSS
678 Requires: %{name} = %{epoch}:%{version}-%{release}
680 %description -n nss_nisplus
681 glibc NSS (Name Service Switch) module for NIS+ databases access.
683 %description -n nss_nisplus -l es
684 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
687 %description -n nss_nisplus -l pl
688 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
692 Summary(es): Un juguete
695 Requires: %{name} = %{epoch}:%{version}-%{release}
698 %description memusage
701 %description memusage -l es
704 %description memusage -l pl
707 %package zoneinfo_right
708 Summary: Non-POSIX (real) time zones
709 Summary(es): Zonas de tiempo reales (no de POSIX)
710 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
712 Requires: %{name} = %{epoch}:%{version}-%{release}
714 %description zoneinfo_right
715 You don't want this. Details at:
716 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
718 %description zoneinfo_right -l es
719 No lo necesita. Encontrará los detalles en:
720 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
722 %description zoneinfo_right -l pl
723 Nie potrzebujesz tego. Szczegó³y pod:
724 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
726 %package -n %{name}64
727 Summary: GNU libc - 64-bit libraries
728 Summary(es): GNU libc - bibliotecas de 64 bits
729 Summary(pl): GNU libc - biblioteki 64-bitowe
732 Provides: glibc = %{epoch}:%{version}-%{release}
733 Requires: glibc-misc = %{epoch}:%{version}-%{release}
735 Requires: %{name} = %{epoch}:%{version}-%{release}
738 %description -n %{name}64
739 64-bit GNU libc libraries for 64bit architecture.
741 %description -n %{name}64 -l es
742 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
744 %description -n %{name}64 -l pl
745 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
747 %package -n %{name}64-devel
748 Summary: Development files for 64-bit GNU libc libraries
749 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
750 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
751 Group: Development/Libraries
752 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
754 %description -n %{name}64-devel
755 Development files for 64-bit GNU libc libraries for 64bit
758 %description -n %{name}64-devel -l es
759 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
760 la arquitectura 64bit.
762 %description -n %{name}64-devel -l pl
763 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
766 %package -n %{name}64-static
767 Summary: Static 64-bit GNU libc libraries
768 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
769 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
770 Group: Development/Libraries
771 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
773 %description -n %{name}64-static
774 Static 64-bit GNU libc libraries.
776 %description -n %{name}64-static -l es
777 Bibliotecas estáticas GNU libc de 64 bits.
779 %description -n %{name}64-static -l pl
780 Statyczne 64-bitowe biblioteki GNU libc.
783 #setup -q -a 1 -n libc
796 # don't know, if it is good idea, for brave ones
798 %{?with_kernelheaders:%patch12}
799 %{?!with_kernelheaders:%patch13 -p1}
825 cp -f /usr/share/automake/config.sub scripts
828 # i786 (aka pentium4) hack
829 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
830 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
832 [ -d builddir ] || mkdir builddir
834 # avoid stripping ld.so by -s in rpmldflags
835 LDFLAGS=" " ; export LDFLAGS
837 --enable-kernel="%{min_kernel}" \
838 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
839 --with%{!?with_tls:out}-tls \
842 --enable-add-ons=nptl \
845 --enable-add-ons=linuxthreads \
848 %if %{with kernelheaders}
849 CPPFLAGS="-I%{_kernelsrcdir}/include" \
850 --with-headers=%{_kernelsrcdir}/include
852 CPPFLAGS="-I%{_includedir}" \
853 --with-headers=%{_includedir}
856 # problem compiling with --enable-bounded (must be reported to libc-alpha)
858 %{__make} %{?parallelmkflags}
861 env LANGUAGE=C LC_ALL=C \
862 %{__make} tests 2>&1 | awk '
865 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
867 gsub(/.*\[/, NIL, file);
868 gsub(/\].*/, NIL, file);
872 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
876 rm -rf $RPM_BUILD_ROOT
877 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
881 env LANGUAGE=C LC_ALL=C \
883 %{?parallelmkflags} \
884 install_root=$RPM_BUILD_ROOT \
885 infodir=%{_infodir} \
889 env LANGUAGE=C LC_ALL=C \
890 %{__make} localedata/install-locales \
891 %{?parallelmkflags} \
892 install_root=$RPM_BUILD_ROOT
895 PICFILES="libc_pic.a libc.map
896 math/libm_pic.a libm.map
897 resolv/libresolv_pic.a"
899 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
900 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
901 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
903 install elf/postshell $RPM_BUILD_ROOT/sbin
905 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
907 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
911 %{__make} -C ../linuxthreads/man
912 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
915 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
917 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
923 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
924 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
925 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
926 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
928 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
930 # make symlinks across top-level directories absolute
931 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
932 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
933 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
936 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
937 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
938 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
939 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
940 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
942 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
943 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
944 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
945 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
946 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
948 :> $RPM_BUILD_ROOT/var/log/nscd
950 rm -rf ../documentation
951 install -d ../documentation
954 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
955 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
956 cp -f ../linuxthreads/README ../documentation/README.threads
958 cp -f ../crypt/README.ufc-crypt ../documentation/
960 cp -f ../ChangeLog* ../documentation
962 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
964 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
966 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
969 # Collect locale files and mark them with %%lang()
971 echo '%defattr(644,root,root,755)' > ../glibc.lang
972 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
974 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
976 # list of long %%lang values we do support
977 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
978 zh_CN zh_CN.gbk zh_HK zh_TW ; do
979 if [ $j = "$lang" ]; then
983 if [ -n "$twochar" ]; then
984 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
985 lang=`echo $lang | sed "s,\..*,,"`
987 lang=`echo $lang | sed "s,_.*,,"`
990 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
991 echo "%lang($lang) $dir" >> ../glibc.lang
994 # XXX: to be added when become supported by glibc
995 # tk, yo (used by GNOME)
996 # ven -> ve (used by KDE)
998 # bn is used for bn_BD or bn_IN?
999 # omitted here - already existing (with libc.mo):
1000 # 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
1001 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
1002 en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn \
1003 leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn nso or pa pt ro ru se \
1004 sl sq sr sr@Latn sr@ije ss ta tg th tlh uk uz ve vi wa xh yi zu ; do
1005 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1006 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1007 lang=`echo $i | sed -e 's/_.*//'`
1008 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
1011 cd $RPM_BUILD_ROOT%{_datadir}/locale
1016 # localedb-gen infrastructure
1017 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1018 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1020 # shutup check-files
1021 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1022 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1023 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1024 # we don't support kernel without ptys support
1025 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1027 # no longer supported (/dev/null has the same, but expected behaviour)
1028 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1031 rm -rf $RPM_BUILD_ROOT
1033 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1034 # when %%postun is run
1038 %post -n %{name}64 -p /sbin/postshell
1040 %post -p /sbin/postshell
1046 %postun -n %{name}64 -p /sbin/postshell
1048 %postun -p /sbin/postshell
1054 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1056 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1058 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1060 %post memusage -p /sbin/ldconfig
1061 %postun memusage -p /sbin/ldconfig
1063 %post -n iconv -p %{_sbindir}/iconvconfig
1066 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1069 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1072 /sbin/chkconfig --add nscd
1074 chmod 000 /var/log/nscd
1075 chown root:root /var/log/nscd
1076 chmod 640 /var/log/nscd
1077 if [ -f /var/lock/subsys/nscd ]; then
1078 /etc/rc.d/init.d/nscd restart 1>&2
1080 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1084 if [ "$1" = "0" ]; then
1085 if [ -f /var/lock/subsys/nscd ]; then
1086 /etc/rc.d/init.d/nscd stop 1>&2
1088 /sbin/chkconfig --del nscd
1095 %defattr(644,root,root,755)
1098 %defattr(644,root,root,755)
1100 %defattr(644,root,root,755)
1101 %doc README NEWS FAQ BUGS
1102 %attr(755,root,root) /sbin/postshell
1103 %attr(755,root,root) /sbin/ldconfig
1104 # ld* and libc.so.6 SONAME symlinks must be in package because of
1105 # chicken-egg problem (postshell is dynamically linked with libc);
1106 # ld-*.so SONAME is:
1108 # ld64.so.1 on ppc64,s390x
1109 # ld-linux-ia64.so.2 on ia64
1110 # ld-linux-x86-64.so.2 on amd64
1111 # ld-linux.so.2 on other archs
1112 %attr(755,root,root) /%{_lib}/ld*
1113 %attr(755,root,root) /%{_lib}/libanl*
1114 %attr(755,root,root) /%{_lib}/libdl*
1115 %attr(755,root,root) /%{_lib}/libnsl*
1116 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1117 %{?with_localedb:%dir %{_libdir}/locale}
1118 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1119 %ghost %{_sysconfdir}/ld.so.cache
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1125 #%files -n nss_files
1126 %defattr(644,root,root,755)
1127 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1130 %files misc -f %{name}.lang
1131 %defattr(644,root,root,755)
1133 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1134 %config %{_sysconfdir}/rpc
1136 %attr(755,root,root) /sbin/sln
1137 %attr(755,root,root) %{_bindir}/catchsegv
1138 %attr(755,root,root) %{_bindir}/getent
1139 %attr(755,root,root) %{_bindir}/iconv
1140 %attr(755,root,root) %{_bindir}/ldd
1141 %ifnarch alpha amd64 ia64 ppc sparc64
1142 %attr(755,root,root) %{_bindir}/lddlibc4
1144 %attr(755,root,root) %{_bindir}/locale
1145 %attr(755,root,root) %{_bindir}/rpcgen
1146 %attr(755,root,root) %{_bindir}/tzselect
1148 %attr(755,root,root) %{_sbindir}/rpcinfo
1149 %attr(755,root,root) %{_sbindir}/zdump
1150 %attr(755,root,root) %{_sbindir}/zic
1152 %dir %{_datadir}/locale
1153 %{_datadir}/locale/locale.alias
1154 %{_datadir}/zoneinfo
1155 %exclude %{_datadir}/zoneinfo/right
1157 %{_mandir}/man1/catchsegv.1*
1158 %{_mandir}/man1/getent.1*
1159 %{_mandir}/man1/iconv.1*
1160 %{_mandir}/man1/ldd.1*
1161 %{_mandir}/man1/locale.1*
1162 %{_mandir}/man1/rpcgen.1*
1163 %{_mandir}/man5/locale.5*
1164 %{_mandir}/man5/nsswitch.conf.5*
1165 %{_mandir}/man5/tzfile.5*
1167 %{_mandir}/man8/ld*.8*
1168 %{_mandir}/man8/rpcinfo.8*
1169 %{_mandir}/man8/sln.8*
1170 %{_mandir}/man8/tzselect.8*
1171 %{_mandir}/man8/zdump.8*
1172 %{_mandir}/man8/zic.8*
1173 %lang(cs) %{_mandir}/cs/man7/*
1174 %lang(de) %{_mandir}/de/man5/tzfile.5*
1175 %lang(de) %{_mandir}/de/man7/*
1176 %lang(es) %{_mandir}/es/man5/locale.5*
1177 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1178 %lang(es) %{_mandir}/es/man5/tzfile.5*
1179 %lang(es) %{_mandir}/es/man7/*
1180 %lang(es) %{_mandir}/es/man8/ld*.8*
1181 %lang(es) %{_mandir}/es/man8/tzselect.8*
1182 %lang(es) %{_mandir}/es/man8/zdump.8*
1183 %lang(es) %{_mandir}/es/man8/zic.8*
1184 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1185 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1186 %lang(fr) %{_mandir}/fr/man5/locale.5*
1187 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1188 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1189 %lang(fr) %{_mandir}/fr/man7/*
1190 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1191 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1192 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1193 %lang(fr) %{_mandir}/fr/man8/zic.8*
1194 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1195 %lang(hu) %{_mandir}/hu/man7/*
1196 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1197 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1198 %lang(it) %{_mandir}/it/man5/locale.5*
1199 %lang(it) %{_mandir}/it/man7/*
1200 %lang(it) %{_mandir}/it/man8/tzselect.8*
1201 %lang(it) %{_mandir}/it/man8/zdump.8*
1202 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1203 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1204 %lang(ja) %{_mandir}/ja/man5/locale.5*
1205 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1206 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1207 %lang(ja) %{_mandir}/ja/man7/*
1208 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1209 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1210 %lang(ja) %{_mandir}/ja/man8/sln.8*
1211 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1212 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1213 %lang(ja) %{_mandir}/ja/man8/zic.8*
1214 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1215 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1216 %lang(ko) %{_mandir}/ko/man7/*
1217 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1218 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1219 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1220 %lang(pl) %{_mandir}/pl/man5/locale.5*
1221 %lang(pl) %{_mandir}/pl/man7/*
1222 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1223 %lang(pt) %{_mandir}/pt/man5/locale.5*
1224 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1225 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1226 %lang(pt) %{_mandir}/pt/man7/*
1227 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1228 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1229 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1230 %lang(pt) %{_mandir}/pt/man8/zic.8*
1231 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1232 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1233 %lang(ru) %{_mandir}/ru/man7/*
1234 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1235 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1236 %lang(ru) %{_mandir}/ru/man8/zic.8*
1237 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1238 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1239 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1240 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1241 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1242 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1243 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1244 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1246 %files zoneinfo_right
1247 %defattr(644,root,root,755)
1248 %{_datadir}/zoneinfo/right
1250 %files -n nss_compat
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1254 %files -n nss_hesiod
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1261 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1263 %files -n nss_nisplus
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1267 %if %{with memusage}
1269 %defattr(644,root,root,755)
1270 %attr(755,root,root) %{_bindir}/memusage*
1271 %attr(755,root,root) %{_libdir}/libmemusage.so
1275 %defattr(644,root,root,755)
1276 %doc documentation/* NOTES PROJECTS
1277 %attr(755,root,root) %{_bindir}/gencat
1278 %attr(755,root,root) %{_bindir}/getconf
1279 %attr(755,root,root) %{_bindir}/*prof*
1280 %attr(755,root,root) %{_bindir}/*trace
1284 %{_includedir}/alpha
1290 %{_includedir}/netash
1291 %{_includedir}/netatalk
1292 %{_includedir}/netax25
1293 %{_includedir}/neteconet
1294 %{_includedir}/netinet
1295 %{_includedir}/netipx
1296 %{_includedir}/netpacket
1297 %{_includedir}/netrom
1298 %{_includedir}/netrose
1300 %{_includedir}/protocols
1302 %{_includedir}/rpcsvc
1306 %{_infodir}/libc.info*
1308 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1309 %attr(755,root,root) %{_libdir}/libm.so
1310 %attr(755,root,root) %{_libdir}/*crt*.o
1311 %{_libdir}/libbsd-compat.a
1313 %{_libdir}/libc_nonshared.a
1315 %{_libdir}/libieee.a
1316 %{_libdir}/libpthread_nonshared.a
1317 %{_libdir}/librpcsvc.a
1319 %{_mandir}/man1/getconf.1*
1320 %{_mandir}/man1/sprof.1*
1322 %lang(cs) %{_mandir}/cs/man3/*
1323 %lang(de) %{_mandir}/de/man3/*
1324 %lang(es) %{_mandir}/es/man3/*
1325 %lang(fr) %{_mandir}/fr/man3/*
1326 %lang(hu) %{_mandir}/hu/man3/*
1327 %lang(it) %{_mandir}/it/man3/*
1328 %lang(ja) %{_mandir}/ja/man3/*
1329 %lang(ko) %{_mandir}/ko/man3/*
1330 %lang(nl) %{_mandir}/nl/man3/*
1331 %lang(pl) %{_mandir}/pl/man3/*
1332 %lang(pt) %{_mandir}/pt/man3/*
1333 %lang(ru) %{_mandir}/ru/man3/*
1334 %lang(uk) %{_mandir}/uk/man3/*
1335 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1338 %defattr(644,root,root,755)
1339 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1340 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1341 %attr(754,root,root) /etc/rc.d/init.d/nscd
1342 %attr(755,root,root) %{_sbindir}/nscd*
1343 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/nscd
1344 %attr(640,root,root) %ghost /var/log/nscd
1346 %{_mandir}/man5/nscd.conf.5*
1347 %{_mandir}/man8/nscd.8*
1348 %{_mandir}/man8/nscd_nischeck.8*
1349 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1350 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1351 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1352 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1353 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1354 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1356 %files -n localedb-src
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_bindir}/localedef
1359 %attr(755,root,root) %{_bindir}/localedb-gen
1361 %{_mandir}/man1/localedef.1*
1363 %if %{with localedb}
1365 %defattr(644,root,root,755)
1366 %{_libdir}/locale/locale-archive
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_sbindir}/iconvconfig
1372 %dir %{_libdir}/gconv
1373 %{_libdir}/gconv/gconv-modules
1374 %attr(755,root,root) %{_libdir}/gconv/*.so
1377 %defattr(644,root,root,755)
1379 %{_libdir}/libBrokenLocale.a
1381 %{_libdir}/libcrypt.a
1384 %{_libdir}/libmcheck.a
1386 %{_libdir}/libpthread.a
1387 %{_libdir}/libresolv.a
1389 %{_libdir}/libutil.a
1393 %defattr(644,root,root,755)
1398 %defattr(644,root,root,755)
1399 %{_libdir}/lib*_pic.a
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_libdir}/ld-*
1409 %attr(755,root,root) %{_libdir}/libanl*
1410 %attr(755,root,root) %{_libdir}/libdl*
1411 %attr(755,root,root) %{_libdir}/libnsl*
1412 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1413 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1414 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1416 %files -n glibc64-devel
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1419 %attr(755,root,root) %{_libdir}/libm.so
1420 %attr(755,root,root) %{_libdir}/*crt*.o
1421 %{_libdir}/libbsd-compat.a
1423 %{_libdir}/libc_nonshared.a
1425 %{_libdir}/libieee.a
1426 %{_libdir}/libpthread_nonshared.a
1427 %{_libdir}/librpcsvc.a
1429 %files -n glibc64-static
1430 %defattr(644,root,root,755)
1432 %{_libdir}/libBrokenLocale.a
1434 %{_libdir}/libcrypt.a
1437 %{_libdir}/libmcheck.a
1439 %{_libdir}/libpthread.a
1440 %{_libdir}/libresolv.a
1442 %{_libdir}/libutil.a