2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
6 %bcond_without fp # 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 # glibc-kernel-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
12 %bcond_with tls # use tls
13 %bcond_with tests # do not perform "make test"
17 # - localedb-gen man pages(?)
18 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
21 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
22 # in order to use this version!
25 %{!?min_kernel:%global min_kernel 2.4.6}
28 # it seems that nptl uses cmpxchgl (available since i486) on x86
29 %ifarch i486 i586 i686 athlon amd64 ia64 s390 s390x sparcv9 ppc ppc64
30 %if "%{min_kernel}" < "2.6.0"
31 %global min_kernel 2.6.0
39 %ifnarch %{ix86} amd64 ia64 s390 s390x sparc sparcv9 ppc ppc64
44 %define gkh_version 7:2.6.0.3
49 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
51 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
53 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
56 Release: 0.20040101.10%{?with_nptl:+nptl}
61 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
62 Source0: %{name}-%{version}.tar.bz2
63 # Source0-md5: b4e3f037a0b36afc705af344033a91c7
64 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
65 Source1: %{name}-linuxthreads-%{version}.tar.bz2
66 # Source1-md5: 97c30992592f854a67107579dcef61dd
68 Source3: nscd.sysconfig
69 Source4: nscd.logrotate
70 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
71 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
72 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
73 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
74 # borrowed from util-linux
76 Source8: %{name}-localedb-gen
77 Patch0: %{name}-info.patch
78 Patch1: %{name}-pl.po-update.patch
79 Patch2: %{name}-pld.patch
80 Patch3: %{name}-crypt-blowfish.patch
81 Patch4: %{name}-linuxthreads-lock.patch
82 Patch5: %{name}-pthread_create-manpage.patch
83 Patch6: %{name}-paths.patch
84 Patch7: %{name}-getaddrinfo-workaround.patch
85 Patch8: %{name}-postshell.patch
86 Patch9: %{name}-missing-nls.patch
87 Patch10: %{name}-java-libc-wait.patch
88 Patch11: %{name}-lthrds_noomit.patch
89 Patch12: %{name}-no_opt_override.patch
90 # this is broken (hardcoded /usr/src/linux)
91 Patch13: %{name}-kernel_includes.patch
92 Patch14: %{name}-includes.patch
93 Patch15: %{name}-soinit-EH_FRAME.patch
94 Patch16: %{name}-fix-asserts.patch
95 Patch17: %{name}-sparc-errno_fix.patch
96 Patch18: %{name}-make.patch
97 Patch19: %{name}-tests-io-tmp.patch
98 Patch20: %{name}-tests-noproc.patch
99 Patch21: %{name}-linuxthreads-ppc-fix.patch
100 Patch22: %{name}-alpha-sigaction.patch
101 Patch23: %{name}-new-charsets.patch
102 Patch24: %{name}-lg_UG.patch
103 Patch25: %{name}-UTF8-locales.patch
104 Patch26: %{name}-sr_CS.patch
105 URL: http://www.gnu.org/software/libc/
106 BuildRequires: automake
107 BuildRequires: binutils >= 2.13.90.0.2
108 BuildRequires: gcc >= 3.2
109 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
110 BuildRequires: gettext-devel >= 0.10.36
111 %if %{with kernelheaders}
112 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
114 BuildRequires: glibc-kernel-headers >= %{gkh_version}
116 BuildRequires: perl-base
117 BuildRequires: rpm-build >= 4.3-0.20030610.28
118 BuildRequires: rpm-perlprov
119 BuildRequires: sed >= 4.0.5
120 BuildRequires: texinfo
123 Requires: glibc-misc = %{epoch}:%{version}-%{release}
126 Provides: /sbin/ldconfig
127 Obsoletes: %{name}-common
128 Obsoletes: %{name}-debug
130 Conflicts: kernel < %{min_kernel}
131 Conflicts: ld.so < 1.9.9-10
132 Conflicts: man-pages < 1.43
133 Conflicts: rc-scripts < 0.3.1-13
135 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
137 %define debugcflags -O1 -g
139 %undefine with_memusage
140 %define specflags_sparc64 -mvis -fcall-used-g6
141 %define _libdir /usr/lib64
143 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
144 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
145 # patched not to crash on partial hardlinks too)
146 %define _hack_dontneed_PartialHardlinkSets 1
149 Contains the standard libraries that are used by multiple programs on
150 the system. In order to save disk space and memory, as well as to ease
151 upgrades, common system code is kept in one place and shared between
152 programs. This package contains the most important sets of shared
153 libraries, the standard C library and the standard math library.
154 Without these, a Linux system will not function. It also contains
155 national language (locale) support and timezone databases.
157 Can be used on: Linux kernel >= %{min_kernel}.
160 Contiene las bibliotecas estándared que son usadas por varios programas
161 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
162 para facilitar actualizaciones, código común del sistema se guarda en un
163 sitio y es compartido entre los programas. Este paquete contiene las
164 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
165 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
166 podrá funcionar. También está incluido soporte de idiomas nacionales
167 (locale) y bases de datos de zona de tiempo.
169 Puede usarse con: núcleo Linux >= %{min_kernel}.
172 Enthält die Standard-Libraries, die von verschiedenen Programmen im
173 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
174 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
175 einer einzigen Stelle gespeichert und wird von den Programmen
176 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
177 shared Libraries, die Standard-C-Library und die
178 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
179 Ferner enthält es den Support für die verschiedenen Sprachgregionen
180 (locale) und die Zeitzonen-Datenbank.
182 Can be used on: Linux kernel >= %{min_kernel}.
185 Contient les bibliothèques standards utilisées par de nombreux
186 programmes du système. Afin d'économiser l'espace disque et mémoire,
187 et de faciliter les mises à jour, le code commun au système est mis à
188 un endroit et partagé entre les programmes. Ce paquetage contient les
189 bibliothèques partagées les plus importantes, la bibliothèque standard
190 du C et la bibliothèque mathématique standard. Sans celles-ci, un
191 système Linux ne peut fonctionner. Il contient aussi la gestion des
192 langues nationales (locales) et les bases de données des zones
195 Can be used on: Linux kernel >= %{min_kernel}.
199 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
200 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
201 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
202 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
203 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
204 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
205 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
206 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
208 Can be used on: Linux kernel >= %{min_kernel}.
211 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
212 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
213 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
214 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
215 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
216 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
217 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
218 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
219 jêzyków (locale) oraz definicje stref czasowych.
221 Przeznaczony dla j±dra Linux >= %{min_kernel}.
224 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
225 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
226 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
227 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
228 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
229 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
230 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
231 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
232 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
234 Can be used on: Linux kernel >= %{min_kernel}.
237 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
238 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
239 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
240 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
241 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
242 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
243 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
245 Can be used on: Linux kernel >= %{min_kernel}.
248 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
249 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
250 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
251 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
252 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
253 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
254 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
255 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
256 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
258 Can be used on: Linux kernel >= %{min_kernel}.
261 Summary: Utilities and data used by glibc
262 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
263 Group: Development/Libraries
265 Requires: %{name} = %{epoch}:%{version}-%{release}
268 Utilities and data used by glibc.
270 %description misc -l pl
271 Narzêdzia i dane u¿ywane przez glibc.
274 Summary: Additional libraries required to compile
275 Summary(de): Weitere Libraries zum Kompilieren
276 Summary(es): Bibliotecas adicionales necesarias para la compilación
277 Summary(fr): Librairies supplémentaires nécessaires à la compilation
278 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
279 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
280 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
281 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
282 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
283 Group: Development/Libraries
284 Requires: %{name} = %{epoch}:%{version}-%{release}
285 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
288 To develop programs which use the standard C libraries (which nearly
289 all programs do), the system needs to have these standard header files
290 and object files available for creating the executables.
292 %description devel -l de
293 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
294 verwenden (also fast alle), benötigt das System diese Standard-Header-
295 und Objektdateien zum Erstellen der ausführbaren Programme.
297 %description devel -l es
298 Para desarrollar programas que utilizan las bibliotecas C estándar
299 (lo cual hacen prácticamente todos los programas), el sistema necesita
300 disponer de estos ficheros de cabecera y de objetos para crear los
303 %description devel -l fr
304 Pour développer des programmes utilisant les bibliothèques standard du
305 C (ce que presque tous les programmes font), le système doit posséder
306 ces fichiers en-têtes et objets standards pour créer les exécutables.
308 %description devel -l ja
309 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
310 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
311 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
312 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
313 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
316 %description devel -l pl
317 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
318 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
319 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
320 wykonywalnych i innych bibliotek.
322 %description devel -l ru
323 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
324 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
325 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
328 %description devel -l tr
329 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
330 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
333 %description devel -l uk
334 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
335 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
336 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
340 Summary: Name Service Caching Daemon
341 Summary(es): Demonio de caché del servicio de nombres
342 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
343 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
344 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
345 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
346 Group: Networking/Daemons
347 PreReq: rc-scripts >= 0.2.0
348 Requires(post,preun): /sbin/chkconfig
349 Requires(post): fileutils
350 Requires: %{name} = %{epoch}:%{version}-%{release}
353 nscd caches name service lookups; it can dramatically improve
354 performance with NIS+, and may help with DNS as well. You cannot use
355 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
356 nscd happens to hit these bugs particularly hard.
358 %description -n nscd -l es
359 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
360 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
361 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
362 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
365 %description -n nscd -l ja
366 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
367 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
368 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
369 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
370 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
372 %description -n nscd -l pl
373 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
374 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
375 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
378 %description -n nscd -l ru
379 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
380 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
383 %description -n nscd -l uk
384 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
385 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
387 %package -n localedb-src
388 Summary: locale database source code
389 Summary(es): Código fuente de la base de datos de los locales
390 Summary(pl): Kod ¼ród³owy bazy locale
392 Requires: %{name} = %{epoch}:%{version}-%{release}
394 %description -n localedb-src
395 This add-on package contains the data needed to build the locale data
396 files to use the internationalization features of the GNU libc.
398 %description -n localedb-src -l es
399 Este paquete adicional contiene los datos necesarios para construir
400 los ficheros de locale, imprescindibles para usar las cualidades de
401 internacionalización de GNU libc.
403 %description -n localedb-src -l pl
404 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
405 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
408 %package localedb-all
409 Summary: locale database for all locales supported by glibc
410 Summary(es): Base de datos de todos los locales soportados por glibc
411 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
413 Requires: %{name} = %{epoch}:%{version}-%{release}
415 %description localedb-all
416 This package contains locale database for all locales supported by
417 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
418 something smaller with support for chosen locales only, consider
419 installing localedb-src and regenerating database using localedb-gen
420 script (when database is generated, localedb-src can be uninstalled).
422 %description localedb-all -l es
423 Este paquete contiene una base de datos de todos los locales soportados
424 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 39 MB) -- si
425 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
426 considérese instalar localedb-src y regenerar la base de datos usando
427 el escript localedb-gen (una vez que la base de datos esté creada,
428 localedb-src se podrá desinstalar).
430 %description localedb-all -l pl
431 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
432 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
433 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
434 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
435 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
436 pakiet localedb-src mo¿na odinstalowaæ).
439 Summary: Convert encoding of given files from one encoding to another
440 Summary(es): Convierte entre varias codificaciones de los ficheros dados
441 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
442 Group: Applications/Text
443 Requires: %{name} = %{epoch}:%{version}-%{release}
445 %description -n iconv
446 Convert encoding of given files from one encoding to another. You need
447 this package if you want to convert some document from one encoding to
448 another or if you have installed some programs which use Generic
449 Character Set Conversion Interface.
451 %description -n iconv -l es
452 Convierte la codificación de dados ficheros. Necesita este paquete si
453 quiere convertir un documento entre una codificación (juego de
454 caracteres) y otra, o si tiene instalado algún programa que usa el
455 Generic Character Set Conversion Interface (interfaz genérica de
456 conversión de juegos de caracteres).
458 %description -n iconv -l pl
459 Program do konwersji plików tekstowych z jednego kodowania do innego.
460 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
461 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
462 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
463 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
464 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
467 Summary: Static libraries
468 Summary(es): Bibliotecas estáticas
469 Summary(pl): Biblioteki statyczne
470 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
471 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
472 Group: Development/Libraries
473 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
476 GNU libc static libraries.
478 %description static -l es
479 Bibliotecas estáticas de GNU libc.
481 %description static -l pl
482 Biblioteki statyczne GNU libc.
484 %description static -l ru
485 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
486 ×ÈÏÄÑÔ × glibc-devel.
488 %description static -l uk
489 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
493 Summary: glibc with profiling support
494 Summary(de): glibc mit Profil-Unterstützung
495 Summary(es): glibc con soporte de perfilamiento
496 Summary(fr): glibc avec support pour profiling
497 Summary(pl): glibc ze wsparciem dla profilowania
498 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
499 Summary(tr): Ölçüm desteði olan glibc
500 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
501 Group: Development/Libraries/Libc
502 Obsoletes: libc-profile
503 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
506 When programs are being profiled using gprof, they must use these
507 libraries instead of the standard C libraries for gprof to be able to
508 profile them correctly.
510 %description profile -l de
511 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
512 Libraries anstelle der üblichen C-Libraries verwendet werden.
514 %description profile -l es
515 Cuando programas son perfilidas usando gprof, tienen que usar estas
516 biblioteces en vez de las estándares para que gprof pueda perfilarlas
519 %description profile -l pl
520 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
521 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
524 %description profile -l uk
525 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
526 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
527 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
528 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
531 %description profile -l tr
532 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
533 kitaplýðý kullanmak zorundadýrlar.
535 %description profile -l ru
536 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
537 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
538 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
539 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
543 Summary: glibc PIC archive
544 Summary(es): Archivo PIC de glibc
545 Summary(pl): Archiwum PIC glibc
546 Group: Development/Libraries/Libc
547 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
550 GNU C Library PIC archive contains an archive library (ar file)
551 composed of individual shared objects. This is used for creating a
552 library which is a smaller subset of the standard libc shared library.
554 %description pic -l es
555 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
556 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
557 para crear una biblioteca que sea un subconjunto más pequeño de la
558 biblioteca libc compartida estándar.
560 %description pic -l pl
561 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
562 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
563 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
564 biblioteki wspó³dzielonej libc.
566 %package -n nss_compat
567 Summary: Old style NYS NSS glibc module
568 Summary(es): El antiguo módulo NYS NSS de glibc
569 Summary(pl): Stary modu³ NYS NSS glibc
571 Requires: %{name} = %{epoch}:%{version}-%{release}
573 %description -n nss_compat
574 Old style NYS NSS glibc module.
576 %description -n nss_compat -l es
577 El antiguo módulo NYS NSS de glibc
579 %description -n nss_compat -l pl
580 Stary modu³ NYS NSS glibc.
583 Summary: BIND NSS glibc module
584 Summary(es): Módulo BIND NSS de glibc
585 Summary(pl): Modu³ BIND NSS glibc
587 Requires: %{name} = %{epoch}:%{version}-%{release}
589 %description -n nss_dns
590 BIND NSS glibc module.
592 %description -n nss_dns -l es
593 Módulo BIND NSS de glibc.
595 %description -n nss_dns -l pl
596 Modu³ BIND NSS glibc.
598 %package -n nss_files
599 Summary: Traditional files databases NSS glibc module
600 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
601 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
603 Requires: %{name} = %{epoch}:%{version}-%{release}
605 %description -n nss_files
606 Traditional files databases NSS glibc module.
608 %description -n nss_files -l es
609 Módulo de tradicionales bases de datos en ficheros para glibc.
611 %description -n nss_files -l pl
612 Modu³ tradycyjnych plikowych baz danych NSS glibc.
614 %package -n nss_hesiod
615 Summary: hesiod NSS glibc module
616 Summary(es): Módulo hesiod NSS de glibc
617 Summary(pl): Modu³ hesiod NSS glibc
619 Requires: %{name} = %{epoch}:%{version}-%{release}
621 %description -n nss_hesiod
622 glibc NSS (Name Service Switch) module for databases access.
624 %description -n nss_hesiod -l es
625 Módulo hesiod NSS de glibc.
627 %description -n nss_hesiod -l pl
628 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
631 Summary: NIS(YP) NSS glibc module
632 Summary(es): Módulo NIS(YP) NSS de glibc
633 Summary(pl): Modu³ NIS(YP) NSS glibc
635 Requires: %{name} = %{epoch}:%{version}-%{release}
637 %description -n nss_nis
638 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
640 %description -n nss_nis -l es
641 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
643 %description -n nss_nis -l pl
644 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
646 %package -n nss_nisplus
647 Summary: NIS+ NSS module
648 Summary(es): Módulo NIS+ NSS
649 Summary(pl): Modu³ NIS+ NSS
651 Requires: %{name} = %{epoch}:%{version}-%{release}
653 %description -n nss_nisplus
654 glibc NSS (Name Service Switch) module for NIS+ databases access.
656 %description -n nss_nisplus -l es
657 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
659 %description -n nss_nisplus -l pl
660 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
664 Summary(es): Un juguete
667 Requires: %{name} = %{epoch}:%{version}-%{release}
670 %description memusage
673 %description memusage -l es
676 %description memusage -l pl
679 %package zoneinfo_right
680 Summary: Non-POSIX (real) time zones
681 Summary(es): Zonas de tiempo reales (no de POSIX)
682 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
684 Requires: %{name} = %{epoch}:%{version}-%{release}
686 %description zoneinfo_right
687 You don't want this. Details at:
688 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
690 %description zoneinfo_right -l es
691 No lo necesita. Encontrará los detalles en:
692 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
694 %description zoneinfo_right -l pl
695 Nie potrzebujesz tego. Szczegó³y pod:
696 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
698 %package -n %{name}64
699 Summary: GNU libc - 64-bit libraries
700 Summary(es): GNU libc - bibliotecas de 64 bits
701 Summary(pl): GNU libc - biblioteki 64-bitowe
704 Provides: glibc = %{epoch}:%{version}-%{release}
705 Requires: glibc-misc = %{epoch}:%{version}-%{release}
707 Requires: %{name} = %{epoch}:%{version}-%{release}
710 %description -n %{name}64
711 64-bit GNU libc libraries for 64bit architecture.
713 %description -n %{name}64 -l es
714 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
716 %description -n %{name}64 -l pl
717 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
719 %package -n %{name}64-devel
720 Summary: Development files for 64-bit GNU libc libraries
721 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
722 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
723 Group: Development/Libraries
724 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
726 %description -n %{name}64-devel
727 Development files for 64-bit GNU libc libraries for 64bit
730 %description -n %{name}64-devel -l es
731 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
734 %description -n %{name}64-devel -l pl
735 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
738 %package -n %{name}64-static
739 Summary: Static 64-bit GNU libc libraries
740 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
741 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
742 Group: Development/Libraries
743 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
745 %description -n %{name}64-static
746 Static 64-bit GNU libc libraries.
748 %description -n %{name}64-static -l es
749 Bibliotecas estáticas GNU libc de 64 bits.
751 %description -n %{name}64-static -l pl
752 Statyczne 64-bitowe biblioteki GNU libc.
768 # don't know, if it is good idea, for brave ones
770 %{?with_kernelheaders:%patch13}
771 %{?!with_kernelheaders:%patch14 -p1}
781 mv -f localedata/locales/{lug_UG,lg_UG}
784 # not applied yet - not sure about default encodings
791 cp /usr/share/automake/config.sub .
792 cp /usr/share/automake/config.sub scripts
793 [ -d builddir ] || mkdir builddir
795 # avoid stripping ld.so by -s in rpmldflags
796 LDFLAGS=" " ; export LDFLAGS
798 --enable-kernel="%{min_kernel}" \
799 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
801 --enable-add-ons=nptl \
805 %{?with_tls:--with-tls} \
806 --enable-add-ons=linuxthreads \
809 %if %{with kernelheaders}
810 CPPFLAGS="-I%{_kernelsrcdir}/include" \
811 --with-headers=%{_kernelsrcdir}/include
813 CPPFLAGS="-I%{_includedir}" \
814 --with-headers=%{_includedir}
817 # problem compiling with --enable-bounded (must be reported to libc-alpha)
819 %{__make} %{?parallelmkflags}
822 env LANGUAGE=C LC_ALL=C \
823 %{__make} tests 2>&1 | awk '
826 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
828 gsub(/.*\[/, NIL, file);
829 gsub(/\].*/, NIL, file);
833 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
837 rm -rf $RPM_BUILD_ROOT
838 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
842 env LANGUAGE=C LC_ALL=C \
844 %{?parallelmkflags} \
845 install_root=$RPM_BUILD_ROOT \
846 infodir=%{_infodir} \
849 env LANGUAGE=C LC_ALL=C \
850 %{__make} localedata/install-locales \
851 %{?parallelmkflags} \
852 install_root=$RPM_BUILD_ROOT
854 PICFILES="libc_pic.a libc.map
855 math/libm_pic.a libm.map
856 resolv/libresolv_pic.a"
858 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
859 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
860 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
862 install elf/postshell $RPM_BUILD_ROOT/sbin
864 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
866 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
870 %{__make} -C ../linuxthreads/man
871 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
874 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
876 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
882 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
883 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
884 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
885 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
887 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
889 # make symlinks across top-level directories absolute
890 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
891 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
892 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
895 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
896 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
897 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
898 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
899 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
901 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
902 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
903 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
904 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
905 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
907 :> $RPM_BUILD_ROOT/var/log/nscd
909 rm -rf ../documentation
910 install -d ../documentation
913 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
914 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
915 cp -f ../linuxthreads/README ../documentation/README.threads
917 cp -f ../crypt/README.ufc-crypt ../documentation/
919 cp -f ../ChangeLog* ../documentation
921 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
923 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
925 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
928 # Collect locale files and mark them with %%lang()
930 # bokmaal has been renamed (no_NO -> nb_NO) in 2.3.3, but not in po
931 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
932 echo '%defattr(644,root,root,755)' > ../glibc.lang
933 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
935 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
937 # list of long %%lang values we do support
938 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
939 zh_CN zh_CN.gbk zh_HK zh_TW ; do
940 if [ $j = "$lang" ]; then
944 if [ -n "$twochar" ]; then
945 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
946 lang=`echo $lang | sed "s,\..*,,"`
948 lang=`echo $lang | sed "s,_.*,,"`
951 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
952 echo "%lang($lang) $dir" >> ../glibc.lang
955 # XXX: to be added when become supported by glibc
956 # ia,li,sr@Latn (used by GNOME)
957 # note: GNOME2 uses sr (and probably uz) as cyrillic!
958 # nso,ss,ven (used by KDE)
960 # bn is used for bn_BD or bn_IN?
961 # omitted here - already existing (with libc.mo):
962 # 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
963 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 \
964 gr he hi id is ja_JP.SJIS ka kn lg lt lv mk ml mn ms mt nn pt ro ru \
965 se sl sq sr sr@cyrillic ta tg th uk uz vi wa xh yi zu ; do
966 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
967 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
968 lang=`echo $i | sed -e 's/_.*//'`
969 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
972 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
974 # localedb-gen infrastructure
975 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
976 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
979 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
980 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
981 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
982 # we don't support kernel without ptys support
983 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
987 rm -rf $RPM_BUILD_ROOT
989 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
990 # when %%postun is run
994 %post -n %{name}64 -p /sbin/postshell
996 %post -p /sbin/postshell
1002 %postun -n %{name}64 -p /sbin/postshell
1004 %postun -p /sbin/postshell
1009 %post memusage -p /sbin/ldconfig
1010 %postun memusage -p /sbin/ldconfig
1012 %post -n iconv -p %{_sbindir}/iconvconfig
1015 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1018 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1021 /sbin/chkconfig --add nscd
1023 chmod 000 /var/log/nscd
1024 chown root:root /var/log/nscd
1025 chmod 640 /var/log/nscd
1026 if [ -f /var/lock/subsys/nscd ]; then
1027 /etc/rc.d/init.d/nscd restart 1>&2
1029 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1033 if [ "$1" = "0" ]; then
1034 if [ -f /var/lock/subsys/nscd ]; then
1035 /etc/rc.d/init.d/nscd stop 1>&2
1037 /sbin/chkconfig --del nscd
1047 %defattr(644,root,root,755)
1048 %doc README NEWS FAQ BUGS
1049 %attr(755,root,root) /sbin/postshell
1050 %attr(755,root,root) /sbin/ldconfig
1051 # ld* and libc.so.6 SONAME symlinks must be in package because of
1052 # chicken-egg problem (postshell is dynamically linked with libc);
1053 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1054 %attr(755,root,root) /%{_lib}/ld*
1055 %attr(755,root,root) /%{_lib}/libanl*
1056 %attr(755,root,root) /%{_lib}/libdl*
1057 %attr(755,root,root) /%{_lib}/libnsl*
1058 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1059 %dir %{_libdir}/locale
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1065 #%files -n nss_files
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1070 %files misc -f %{name}.lang
1071 %defattr(644,root,root,755)
1073 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1074 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1075 %config %{_sysconfdir}/rpc
1076 %ghost %{_sysconfdir}/ld.so.cache
1078 %attr(755,root,root) /sbin/sln
1079 %attr(755,root,root) %{_bindir}/catchsegv
1080 %attr(755,root,root) %{_bindir}/getent
1081 %attr(755,root,root) %{_bindir}/glibcbug
1082 %attr(755,root,root) %{_bindir}/iconv
1083 %attr(755,root,root) %{_bindir}/ldd
1084 %ifnarch alpha ppc sparc64 amd64
1085 %attr(755,root,root) %{_bindir}/lddlibc4
1087 %attr(755,root,root) %{_bindir}/locale
1088 %attr(755,root,root) %{_bindir}/rpcgen
1089 %attr(755,root,root) %{_bindir}/tzselect
1091 %attr(755,root,root) %{_sbindir}/rpcinfo
1092 %attr(755,root,root) %{_sbindir}/zdump
1093 %attr(755,root,root) %{_sbindir}/zic
1095 %dir %{_datadir}/locale
1096 %{_datadir}/locale/locale.alias
1097 %{_datadir}/zoneinfo
1098 %exclude %{_datadir}/zoneinfo/right
1101 %{_mandir}/man1/[!lsg]*
1102 %{_mandir}/man1/getent.1*
1103 %{_mandir}/man1/locale.1*
1104 %{_mandir}/man1/ldd.1*
1105 %{_mandir}/man5/???[!d]*
1107 %{_mandir}/man8/[!n]*
1108 %lang(cs) %{_mandir}/cs/man[578]/*
1109 %lang(de) %{_mandir}/de/man[578]/*
1110 %lang(es) %{_mandir}/es/man[578]/*
1111 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1112 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1113 %lang(fr) %{_mandir}/fr/man[578]/*
1114 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1115 %lang(hu) %{_mandir}/hu/man[578]/*
1116 %lang(it) %{_mandir}/it/man[578]/*
1117 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1118 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1119 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1120 %lang(ja) %{_mandir}/ja/man7/*
1121 %lang(ja) %{_mandir}/ja/man8/[!n]*
1122 %lang(ko) %{_mandir}/ko/man[578]/*
1123 # %lang(nl) %{_mandir}/nl/man[578]/*
1124 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1125 %lang(pl) %{_mandir}/pl/man[578]/*
1126 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1127 %lang(pt) %{_mandir}/pt/man7/*
1128 %lang(pt) %{_mandir}/pt/man8/[!n]*
1129 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1130 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1131 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1132 %lang(ru) %{_mandir}/ru/man[578]/*
1134 %files zoneinfo_right
1135 %defattr(644,root,root,755)
1136 %{_datadir}/zoneinfo/right
1138 %files -n nss_compat
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1142 %files -n nss_hesiod
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1149 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1151 %files -n nss_nisplus
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1155 %if %{with memusage}
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_bindir}/memusage*
1159 %attr(755,root,root) %{_libdir}/libmemusage.so
1163 %defattr(644,root,root,755)
1164 %doc documentation/* NOTES PROJECTS
1165 %attr(755,root,root) %{_bindir}/gencat
1166 %attr(755,root,root) %{_bindir}/getconf
1167 %attr(755,root,root) %{_bindir}/*prof*
1168 %attr(755,root,root) %{_bindir}/*trace
1172 %{_includedir}/alpha
1178 %{_includedir}/netash
1179 %{_includedir}/netatalk
1180 %{_includedir}/netax25
1181 %{_includedir}/neteconet
1182 %{_includedir}/netinet
1183 %{_includedir}/netipx
1184 %{_includedir}/netpacket
1185 %{_includedir}/netrom
1186 %{_includedir}/netrose
1188 %{_includedir}/protocols
1190 %{_includedir}/rpcsvc
1194 %{_infodir}/libc.info*
1196 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1197 %attr(755,root,root) %{_libdir}/libm.so
1198 %attr(755,root,root) %{_libdir}/*crt*.o
1199 %{_libdir}/libbsd-compat.a
1201 %{_libdir}/libc_nonshared.a
1203 %{_libdir}/libieee.a
1204 %{_libdir}/libpthread_nonshared.a
1205 %{_libdir}/librpcsvc.a
1207 %{_mandir}/man1/getconf*
1208 %{_mandir}/man1/sprof*
1210 %lang(cs) %{_mandir}/cs/man3/*
1211 %lang(de) %{_mandir}/de/man3/*
1212 %lang(es) %{_mandir}/es/man3/*
1213 %lang(fr) %{_mandir}/fr/man3/*
1214 %lang(hu) %{_mandir}/hu/man3/*
1215 # %lang(it) %{_mandir}/it/man3/*
1216 %lang(ja) %{_mandir}/ja/man3/*
1217 %lang(ko) %{_mandir}/ko/man3/*
1218 %lang(nl) %{_mandir}/nl/man3/*
1219 %lang(pl) %{_mandir}/pl/man3/*
1220 %lang(pt) %{_mandir}/pt/man3/*
1221 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1222 %lang(ru) %{_mandir}/ru/man3/*
1225 %defattr(644,root,root,755)
1226 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1227 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1228 %attr(754,root,root) /etc/rc.d/init.d/nscd
1229 %attr(755,root,root) %{_sbindir}/nscd*
1230 %attr(640,root,root) /etc/logrotate.d/nscd
1231 %attr(640,root,root) %ghost /var/log/nscd
1233 %{_mandir}/man5/nscd.conf*
1234 %{_mandir}/man8/nscd*
1235 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1236 %lang(ja) %{_mandir}/ja/man8/nscd*
1237 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1238 %lang(pt) %{_mandir}/pt/man8/nscd*
1239 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1240 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1242 %files -n localedb-src
1243 %defattr(644,root,root,755)
1244 %attr(755,root,root) %{_bindir}/localedef
1245 %attr(755,root,root) %{_bindir}/localedb-gen
1247 %{_mandir}/man1/localedef*
1250 %defattr(644,root,root,755)
1251 %{_libdir}/locale/locale-archive
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_sbindir}/iconvconfig
1256 %dir %{_libdir}/gconv
1257 %{_libdir}/gconv/gconv-modules
1258 %attr(755,root,root) %{_libdir}/gconv/*.so
1261 %defattr(644,root,root,755)
1263 %{_libdir}/libBrokenLocale.a
1265 %{_libdir}/libcrypt.a
1268 %{_libdir}/libmcheck.a
1270 %{_libdir}/libpthread.a
1271 %{_libdir}/libresolv.a
1273 %{_libdir}/libutil.a
1277 %defattr(644,root,root,755)
1282 %defattr(644,root,root,755)
1283 %{_libdir}/lib*_pic.a
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_libdir}/ld-*
1293 %attr(755,root,root) %{_libdir}/libanl*
1294 %attr(755,root,root) %{_libdir}/libdl*
1295 %attr(755,root,root) %{_libdir}/libnsl*
1296 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1297 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1298 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1300 %files -n glibc64-devel
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1303 %attr(755,root,root) %{_libdir}/libm.so
1304 %attr(755,root,root) %{_libdir}/*crt*.o
1305 %{_libdir}/libbsd-compat.a
1307 %{_libdir}/libc_nonshared.a
1309 %{_libdir}/libieee.a
1310 %{_libdir}/libpthread_nonshared.a
1311 %{_libdir}/librpcsvc.a
1313 %files -n glibc64-static
1314 %defattr(644,root,root,755)
1316 %{_libdir}/libBrokenLocale.a
1318 %{_libdir}/libcrypt.a
1321 %{_libdir}/libmcheck.a
1323 %{_libdir}/libpthread.a
1324 %{_libdir}/libresolv.a
1326 %{_libdir}/libutil.a