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