2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
3 # default is 2.2.0 (no changes up to 2.3.25)
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 idn # build with included libidn
14 # - localedb-gen man pages(?)
15 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
18 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
19 # in order to use this version!
21 %{!?min_kernel:%global min_kernel 2.2.0}
22 %define gkh_version 7:2.6.0.2
27 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
29 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
31 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
38 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
39 # Source0-md5: ede969aad568f48083e413384f20753c
40 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
41 # Source1-md5: 894b8969cfbdf787c73e139782167607
43 Source3: nscd.sysconfig
44 Source4: nscd.logrotate
45 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
46 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
47 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
48 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
49 # borrowed from util-linux
51 Source8: %{name}-localedb-gen
52 Source10: http://josefsson.org/libidn/releases/libidn-0.3.0rc3.tar.gz
53 # Source10-md5: ded0b439efe16dd29ce5a24d3d3dcebf
54 Patch0: %{name}-info.patch
55 Patch1: %{name}-initgroups-overflow.patch
56 Patch2: %{name}-pld.patch
57 Patch3: %{name}-crypt-blowfish.patch
58 Patch4: %{name}-string2-pointer-arith.patch
59 Patch5: %{name}-linuxthreads-lock.patch
60 Patch6: %{name}-pthread_create-manpage.patch
61 Patch9: %{name}-paths.patch
62 Patch10: %{name}-vaargs.patch
63 Patch11: %{name}-getaddrinfo-workaround.patch
64 Patch12: %{name}-postshell.patch
65 Patch13: %{name}-pl.po-update.patch
66 Patch14: %{name}-missing-nls.patch
67 Patch16: %{name}-java-libc-wait.patch
68 Patch17: %{name}-morelocales.patch
69 Patch18: %{name}-lthrds_noomit.patch
70 Patch19: %{name}-no_opt_override.patch
71 Patch20: %{name}-gcc33.patch
72 #Patch21: %{name}-sanity.patch
73 Patch22: %{name}-secureexec.patch
74 Patch23: %{name}-kernel_includes.patch
75 Patch24: %{name}-sparc64_pause.patch
76 Patch25: %{name}-linuxthreads.patch
77 Patch26: %{name}-alpha-fix-as-syntax.patch
78 Patch27: %{name}-soinit-EH_FRAME.patch
79 Patch28: %{name}-alpha-pwrite.patch
80 Patch29: %{name}-alpha-tv64.patch
81 Patch30: %{name}-sparc-errno_fix.patch
82 URL: http://www.gnu.org/software/libc/
83 BuildRequires: automake
84 BuildRequires: binutils >= 2.13.90.0.2
85 BuildRequires: gcc >= 3.2
86 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
87 BuildRequires: gettext-devel >= 0.10.36
88 %if %{with kernelheaders}
89 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
91 BuildRequires: glibc-kernel-headers >= %{gkh_version}
93 BuildRequires: perl-base
94 BuildRequires: rpm-build >= 4.3-0.20030610.28
95 BuildRequires: rpm-perlprov
96 BuildRequires: sed >= 4.0.5
97 BuildRequires: texinfo
101 Provides: /sbin/ldconfig
102 Obsoletes: %{name}-common
103 Obsoletes: %{name}-debug
106 Requires: glibc-misc = %{epoch}:%{version}-%{release}
107 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 Conflicts: kernel < %{min_kernel}
109 Conflicts: ld.so < 1.9.9-10
110 Conflicts: man-pages < 1.43
111 Conflicts: rc-scripts < 0.3.1-13
114 %define debugcflags -O1 -g
116 %undefine with_memusage
117 %define specflags_sparc64 -mvis -fcall-used-g6
118 %define _libdir /usr/lib64
120 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
121 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
122 # patched not to crash on partial hardlinks too)
123 %define _hack_dontneed_PartialHardlinkSets 1
126 Contains the standard libraries that are used by multiple programs on
127 the system. In order to save disk space and memory, as well as to ease
128 upgrades, common system code is kept in one place and shared between
129 programs. This package contains the most important sets of shared
130 libraries, the standard C library and the standard math library.
131 Without these, a Linux system will not function. It also contains
132 national language (locale) support and timezone databases.
134 Can be used on: Linux kernel >= %{min_kernel}.
137 Contiene las bibliotecas estándared que son usadas por varios programas
138 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
139 para facilitar actualizaciones, código común del sistema se guarda en un
140 sitio y es compartido entre los programas. Este paquete contiene las
141 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
142 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
143 podrá funcionar. También está incluido soporte de idiomas nacionales
144 (locale) y bases de datos de zona de tiempo.
146 Puede usarse con: núcleo Linux >= %{min_kernel}.
149 Enthält die Standard-Libraries, die von verschiedenen Programmen im
150 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
151 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
152 einer einzigen Stelle gespeichert und wird von den Programmen
153 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
154 shared Libraries, die Standard-C-Library und die
155 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
156 Ferner enthält es den Support für die verschiedenen Sprachgregionen
157 (locale) und die Zeitzonen-Datenbank.
159 Can be used on: Linux kernel >= %{min_kernel}.
162 Contient les bibliothèques standards utilisées par de nombreux
163 programmes du système. Afin d'économiser l'espace disque et mémoire,
164 et de faciliter les mises à jour, le code commun au système est mis à
165 un endroit et partagé entre les programmes. Ce paquetage contient les
166 bibliothèques partagées les plus importantes, la bibliothèque standard
167 du C et la bibliothèque mathématique standard. Sans celles-ci, un
168 système Linux ne peut fonctionner. Il contient aussi la gestion des
169 langues nationales (locales) et les bases de données des zones
172 Can be used on: Linux kernel >= %{min_kernel}.
176 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
177 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
178 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
179 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
180 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
181 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
182 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
183 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
185 Can be used on: Linux kernel >= %{min_kernel}.
188 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
189 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
190 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
191 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
192 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
193 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
194 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
195 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
196 jêzyków (locale) oraz definicje stref czasowych.
198 Przeznaczony dla j±dra Linux >= %{min_kernel}.
201 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
202 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
203 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
204 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
205 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
206 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
207 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
208 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
209 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
211 Can be used on: Linux kernel >= %{min_kernel}.
214 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
215 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
216 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
217 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
218 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
219 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
220 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
222 Can be used on: Linux kernel >= %{min_kernel}.
225 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
226 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
227 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
228 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
229 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
230 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
231 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
232 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
233 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
235 Can be used on: Linux kernel >= %{min_kernel}.
238 Summary: Utilities and data used by glibc
239 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
240 Group: Development/Libraries
241 Requires: %{name} = %{epoch}:%{version}-%{release}
244 Utilities and data used by glibc.
246 %description misc -l pl
247 Narzêdzia i dane u¿ywane przez glibc.
250 Summary: Additional libraries required to compile
251 Summary(de): Weitere Libraries zum Kompilieren
252 Summary(es): Bibliotecas adicionales necesarias para la compilación
253 Summary(fr): Librairies supplémentaires nécessaires à la compilation
254 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
255 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
256 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
257 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
258 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
259 Group: Development/Libraries
260 Requires: %{name} = %{epoch}:%{version}-%{release}
261 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
264 To develop programs which use the standard C libraries (which nearly
265 all programs do), the system needs to have these standard header files
266 and object files available for creating the executables.
268 %description devel -l de
269 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
270 verwenden (also fast alle), benötigt das System diese Standard-Header-
271 und Objektdateien zum Erstellen der ausführbaren Programme.
273 %description devel -l es
274 Para desarrollar programas que utilizan las bibliotecas C estándar
275 (lo cual hacen prácticamente todos los programas), el sistema necesita
276 disponer de estos ficheros de cabecera y de objetos para crear los
279 %description devel -l fr
280 Pour développer des programmes utilisant les bibliothèques standard du
281 C (ce que presque tous les programmes font), le système doit posséder
282 ces fichiers en-têtes et objets standards pour créer les exécutables.
284 %description devel -l ja
285 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
286 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
287 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
288 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
289 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
292 %description devel -l pl
293 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
294 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
295 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
296 wykonywalnych i innych bibliotek.
298 %description devel -l ru
299 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
300 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
301 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
304 %description devel -l tr
305 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
306 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
309 %description devel -l uk
310 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
311 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
312 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
316 Summary: Name Service Caching Daemon
317 Summary(es): Demonio de caché del servicio de nombres
318 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
319 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
320 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
321 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
322 Group: Networking/Daemons
323 PreReq: rc-scripts >= 0.2.0
324 Requires(post,preun): /sbin/chkconfig
325 Requires(post): fileutils
326 Requires: %{name} = %{epoch}:%{version}-%{release}
329 nscd caches name service lookups; it can dramatically improve
330 performance with NIS+, and may help with DNS as well. You cannot use
331 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
332 nscd happens to hit these bugs particularly hard.
334 %description -n nscd -l es
335 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
336 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
337 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
338 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
341 %description -n nscd -l ja
342 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
343 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
344 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
345 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
346 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
348 %description -n nscd -l pl
349 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
350 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
351 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
354 %description -n nscd -l ru
355 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
356 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
359 %description -n nscd -l uk
360 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
361 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
363 %package -n localedb-src
364 Summary: locale database source code
365 Summary(es): Código fuente de la base de datos de los locales
366 Summary(pl): Kod ¼ród³owy bazy locale
368 Requires: %{name} = %{epoch}:%{version}-%{release}
370 %description -n localedb-src
371 This add-on package contains the data needed to build the locale data
372 files to use the internationalization features of the GNU libc.
374 %description -n localedb-src -l es
375 Este paquete adicional contiene los datos necesarios para construir
376 los ficheros de locale, imprescindibles para usar las cualidades de
377 internacionalización de GNU libc.
379 %description -n localedb-src -l pl
380 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
381 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
384 %package localedb-all
385 Summary: locale database for all locales supported by glibc
386 Summary(es): Base de datos de todos los locales soportados por glibc
387 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
389 Requires: %{name} = %{epoch}:%{version}-%{release}
391 %description localedb-all
392 This package contains locale database for all locales supported by
393 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
394 something smaller with support for chosen locales only, consider
395 installing localedb-src and regenerating database using localedb-gen
396 script (when database is generated, localedb-src can be uninstalled).
398 %description localedb-all -l es
399 Este paquete contiene una base de datos de todos los locales soportados
400 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 19 MB) -- si
401 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
402 considérese instalar localedb-src y regenerar la base de datos usando
403 el escript localedb-gen (una vez que la base de datos esté creada,
404 localedb-src se podrá desinstalar).
406 %description localedb-all -l pl
407 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
408 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
409 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
410 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
411 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
412 pakiet localedb-src mo¿na odinstalowaæ).
415 Summary: Convert encoding of given files from one encoding to another
416 Summary(es): Convierte entre varias codificaciones de los ficheros dados
417 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
418 Group: Applications/Text
419 Requires: %{name} = %{epoch}:%{version}-%{release}
421 %description -n iconv
422 Convert encoding of given files from one encoding to another. You need
423 this package if you want to convert some document from one encoding to
424 another or if you have installed some programs which use Generic
425 Character Set Conversion Interface.
427 %description -n iconv -l es
428 Convierte la codificación de dados ficheros. Necesita este paquete si
429 quiere convertir un documento entre una codificación (juego de
430 caracteres) y otra, o si tiene instalado algún programa que usa el
431 Generic Character Set Conversion Interface (interfaz genérica de
432 conversión de juegos de caracteres).
434 %description -n iconv -l pl
435 Program do konwersji plików tekstowych z jednego kodowania do innego.
436 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
437 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
438 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
439 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
440 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
443 Summary: Static libraries
444 Summary(es): Bibliotecas estáticas
445 Summary(pl): Biblioteki statyczne
446 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
447 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
448 Group: Development/Libraries
449 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
452 GNU libc static libraries.
454 %description static -l es
455 Bibliotecas estáticas de GNU libc.
457 %description static -l pl
458 Biblioteki statyczne GNU libc.
460 %description static -l ru
461 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
462 ×ÈÏÄÑÔ × glibc-devel.
464 %description static -l uk
465 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
469 Summary: glibc with profiling support
470 Summary(de): glibc mit Profil-Unterstützung
471 Summary(es): glibc con soporte de perfilamiento
472 Summary(fr): glibc avec support pour profiling
473 Summary(pl): glibc ze wsparciem dla profilowania
474 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
475 Summary(tr): Ölçüm desteði olan glibc
476 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
477 Group: Development/Libraries/Libc
478 Obsoletes: libc-profile
479 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
482 When programs are being profiled using gprof, they must use these
483 libraries instead of the standard C libraries for gprof to be able to
484 profile them correctly.
486 %description profile -l de
487 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
488 Libraries anstelle der üblichen C-Libraries verwendet werden.
490 %description profile -l es
491 Cuando programas son perfilidas usando gprof, tienen que usar estas
492 biblioteces en vez de las estándares para que gprof pueda perfilarlas
495 %description profile -l pl
496 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
497 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
500 %description profile -l uk
501 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
502 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
503 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
504 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
507 %description profile -l tr
508 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
509 kitaplýðý kullanmak zorundadýrlar.
511 %description profile -l ru
512 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
513 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
514 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
515 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
519 Summary: glibc PIC archive
520 Summary(es): Archivo PIC de glibc
521 Summary(pl): Archiwum PIC glibc
522 Group: Development/Libraries/Libc
523 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
526 GNU C Library PIC archive contains an archive library (ar file)
527 composed of individual shared objects. This is used for creating a
528 library which is a smaller subset of the standard libc shared library.
530 %description pic -l es
531 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
532 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
533 para crear una biblioteca que sea un subconjunto más pequeño de la
534 biblioteca libc compartida estándar.
536 %description pic -l pl
537 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
538 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
539 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
540 biblioteki wspó³dzielonej libc.
542 %package -n nss_compat
543 Summary: Old style NYS NSS glibc module
544 Summary(es): El antiguo módulo NYS NSS de glibc
545 Summary(pl): Stary modu³ NYS NSS glibc
547 Requires: %{name} = %{epoch}:%{version}-%{release}
549 %description -n nss_compat
550 Old style NYS NSS glibc module.
552 %description -n nss_compat -l es
553 El antiguo módulo NYS NSS de glibc
555 %description -n nss_compat -l pl
556 Stary modu³ NYS NSS glibc.
559 Summary: BIND NSS glibc module
560 Summary(es): Módulo BIND NSS de glibc
561 Summary(pl): Modu³ BIND NSS glibc
563 Requires: %{name} = %{epoch}:%{version}-%{release}
565 %description -n nss_dns
566 BIND NSS glibc module.
568 %description -n nss_dns -l es
569 Módulo BIND NSS de glibc.
571 %description -n nss_dns -l pl
572 Modu³ BIND NSS glibc.
574 %package -n nss_files
575 Summary: Traditional files databases NSS glibc module
576 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
577 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
579 Requires: %{name} = %{epoch}:%{version}-%{release}
581 %description -n nss_files
582 Traditional files databases NSS glibc module.
584 %description -n nss_files -l es
585 Módulo de tradicionales bases de datos en ficheros para glibc.
587 %description -n nss_files -l pl
588 Modu³ tradycyjnych plikowych baz danych NSS glibc.
590 %package -n nss_hesiod
591 Summary: hesiod NSS glibc module
592 Summary(es): Módulo hesiod NSS de glibc
593 Summary(pl): Modu³ hesiod NSS glibc
595 Requires: %{name} = %{epoch}:%{version}-%{release}
597 %description -n nss_hesiod
598 glibc NSS (Name Service Switch) module for databases access.
600 %description -n nss_hesiod -l es
601 Módulo hesiod NSS de glibc.
603 %description -n nss_hesiod -l pl
604 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
607 Summary: NIS(YP) NSS glibc module
608 Summary(es): Módulo NIS(YP) NSS de glibc
609 Summary(pl): Modu³ NIS(YP) NSS glibc
611 Requires: %{name} = %{epoch}:%{version}-%{release}
613 %description -n nss_nis
614 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
616 %description -n nss_nis -l es
617 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
619 %description -n nss_nis -l pl
620 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
622 %package -n nss_nisplus
623 Summary: NIS+ NSS module
624 Summary(es): Módulo NIS+ NSS
625 Summary(pl): Modu³ NIS+ NSS
627 Requires: %{name} = %{epoch}:%{version}-%{release}
629 %description -n nss_nisplus
630 glibc NSS (Name Service Switch) module for NIS+ databases access.
632 %description -n nss_nisplus -l es
633 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
635 %description -n nss_nisplus -l pl
636 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
640 Summary(es): Un juguete
643 Requires: %{name} = %{epoch}:%{version}-%{release}
646 %description memusage
649 %description memusage -l es
652 %description memusage -l pl
655 %package zoneinfo_right
656 Summary: Non-POSIX (real) time zones
657 Summary(es): Zonas de tiempo reales (no de POSIX)
658 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
660 Requires: %{name} = %{epoch}:%{version}-%{release}
662 %description zoneinfo_right
663 You don't want this. Details at:
664 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
666 %description zoneinfo_right -l es
667 No lo necesita. Encontrará los detalles en:
668 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
670 %description zoneinfo_right -l pl
671 Nie potrzebujesz tego. Szczegó³y pod:
672 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
674 %package -n %{name}64
675 Summary: GNU libc - 64-bit libraries
676 Summary(es): GNU libc - bibliotecas de 64 bits
677 Summary(pl): GNU libc - biblioteki 64-bitowe
680 Provides: glibc = %{epoch}:%{version}-%{release}
682 Requires: %{name} = %{epoch}:%{version}-%{release}
685 %description -n %{name}64
686 64-bit GNU libc libraries for sparc64 architecture.
688 %description -n %{name}64 -l es
689 Bibliotecas GNU libc de 64 bits para la arquitectura sparc64.
691 %description -n %{name}64 -l pl
692 Biblioteki 64-bitowe GNU libc dla architektury sparc64.
694 %package -n %{name}64-devel
695 Summary: Development files for 64-bit GNU libc libraries
696 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
697 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
698 Group: Development/Libraries
699 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
701 %description -n %{name}64-devel
702 Development files for 64-bit GNU libc libraries for sparc64
705 %description -n %{name}64-devel -l es
706 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
707 arquitectura sparc64.
709 %description -n %{name}64-devel -l pl
710 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
711 architektury sparc64.
713 %package -n %{name}64-static
714 Summary: Static 64-bit GNU libc libraries
715 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
716 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
717 Group: Development/Libraries
718 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
720 %description -n %{name}64-static
721 Static 64-bit GNU libc libraries.
723 %description -n %{name}64-static -l es
724 Bibliotecas estáticas GNU libc de 64 bits.
726 %description -n %{name}64-static -l pl
727 Statyczne 64-bitowe biblioteki GNU libc.
747 # don't know, if it is good idea, for brave ones
752 %{?with_kernelheaders:%patch23}
767 mv -f localedata/locales/{lug_UG,lg_UG}
770 cp -r libidn-*/lib libidn
771 cp libidn-*/libc/{Makefile,configure,Banner,Versions} libidn
772 cp libidn-*/lib/*.{c,h} libidn
773 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/idna.h > libidn/idna.h
774 ln -sf ../libidn/idna.h include/idna.h
775 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/stringprep.h > libidn/stringprep.h
776 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/punycode.h > libidn/punycode.h
777 sed -e 's/stringprep_generic/rfc3454/g' libidn-*/libc/Makefile > libidn/Makefile
779 #cp libidn-*/libc/getaddrinfo.c sysdeps/posix/
780 #cp libidn-*/libc/netdb.h resolv/
782 cp libidn-*/libc/*.patch libc-idn.patch
783 patch -p0 < libc-idn.patch
785 touch libidn/libidn.texi
788 #make proper symlink for asm in headers
797 cp /usr/share/automake/config.sub .
798 cp /usr/share/automake/config.sub scripts
799 cp /usr/share/automake/config.sub libidn-*
800 [ -d builddir ] || mkdir builddir
802 # avoid stripping ld.so by -s in rpmldflags
803 LDFLAGS=" " ; export LDFLAGS
805 --enable-add-ons=linuxthreads%{?with_idn:,libidn} \
806 --enable-kernel="%{min_kernel}" \
808 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
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 rm -rf $RPM_BUILD_ROOT
823 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
827 env LANGUAGE=C LC_ALL=C \
829 %{?parallelmkflags} \
830 install_root=$RPM_BUILD_ROOT \
831 infodir=%{_infodir} \
834 env LANGUAGE=C LC_ALL=C \
835 %{__make} localedata/install-locales \
836 %{?parallelmkflags} \
837 install_root=$RPM_BUILD_ROOT
839 PICFILES="libc_pic.a libc.map
840 math/libm_pic.a libm.map
841 resolv/libresolv_pic.a"
843 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
844 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
845 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
847 install elf/postshell $RPM_BUILD_ROOT/%{_lib}
848 mv $RPM_BUILD_ROOT/sbin/ldconfig $RPM_BUILD_ROOT/%{_lib}
849 ln -s /%{_lib}/ldconfig $RPM_BUILD_ROOT/sbin
851 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
853 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
856 %{__make} -C ../linuxthreads/man
857 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
859 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
861 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
867 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
868 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
869 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
870 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
872 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
874 # make symlinks across top-level directories absolute
875 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
876 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
877 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
880 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
881 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
882 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
883 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
884 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
886 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
887 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
888 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
889 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
890 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
892 :> $RPM_BUILD_ROOT/var/log/nscd
894 rm -rf ../documentation
895 install -d ../documentation
897 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
898 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
899 cp -f ../linuxthreads/README ../documentation/README.threads
900 cp -f ../crypt/README.ufc-crypt ../documentation/
902 cp -f ../ChangeLog* ../documentation
904 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
906 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
908 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
911 # Collect locale files and mark them with %%lang()
913 echo '%defattr(644,root,root,755)' > ../glibc.lang
914 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
916 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
918 # list of long %%lang values we do support
919 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
920 zh_CN zh_CN.gbk zh_HK zh_TW ; do
921 if [ $j = "$lang" ]; then
925 if [ -n "$twochar" ]; then
926 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
927 lang=`echo $lang | sed "s,\..*,,"`
929 lang=`echo $lang | sed "s,_.*,,"`
932 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
933 echo "%lang($lang) $dir" >> ../glibc.lang
936 # XXX: to be added when become supported by glibc
937 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
938 # ia,kn,li,mn,sr@Latn (used by GNOME)
939 # note: GNOME2 uses sr as cyrillic!
940 # nso,ss,ven,xh,zu (used by KDE)
941 for i in af ar az be bg br bs cy de_AT el en en_AU eo es_AR es_MX et eu fa fi \
942 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
943 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
944 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
945 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
946 lang=`echo $i | sed -e 's/_.*//'`
947 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
950 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
952 # localedb-gen infrastructure
953 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
954 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
957 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
958 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
959 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
960 # we don't support kernel without ptys support
961 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
965 rm -rf $RPM_BUILD_ROOT
967 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
968 # when %%postun is run
972 %post -n %{name}64 -p /%{_lib}/postshell
974 %post -p /%{_lib}/postshell
980 %postun -n %{name}64 -p /%{_lib}/postshell
982 %postun -p /%{_lib}/postshell
987 %post memusage -p /sbin/ldconfig
988 %postun memusage -p /sbin/ldconfig
990 %post -n iconv -p %{_sbindir}/iconvconfig
993 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
996 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
999 /sbin/chkconfig --add nscd
1001 chmod 000 /var/log/nscd
1002 chown root:root /var/log/nscd
1003 chmod 640 /var/log/nscd
1004 if [ -f /var/lock/subsys/nscd ]; then
1005 /etc/rc.d/init.d/nscd restart 1>&2
1007 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1011 if [ "$1" = "0" ]; then
1012 if [ -f /var/lock/subsys/nscd ]; then
1013 /etc/rc.d/init.d/nscd stop 1>&2
1015 /sbin/chkconfig --del nscd
1025 %defattr(644,root,root,755)
1026 %doc README NEWS FAQ BUGS
1027 # ld* and libc.so.6 SONAME symlinks must be in package because of
1028 # chicken-egg problem (postshell is dynamically linked with libc);
1029 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1030 %attr(755,root,root) /%{_lib}/postshell
1031 %attr(755,root,root) /%{_lib}/ld*
1032 %attr(755,root,root) /%{_lib}/libanl*
1033 %attr(755,root,root) /%{_lib}/libdl*
1034 %attr(755,root,root) /%{_lib}/libnsl*
1035 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1036 %dir %{_libdir}/locale
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1042 #%files -n nss_files
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1047 %files misc -f %{name}.lang
1048 %defattr(644,root,root,755)
1050 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1051 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1052 %config %{_sysconfdir}/rpc
1053 %ghost %{_sysconfdir}/ld.so.cache
1055 %attr(755,root,root) /sbin/*
1056 %attr(755,root,root) %{_bindir}/catchsegv
1057 %attr(755,root,root) %{_bindir}/getent
1058 %attr(755,root,root) %{_bindir}/glibcbug
1059 %attr(755,root,root) %{_bindir}/iconv
1060 %attr(755,root,root) %{_bindir}/ldd
1061 %ifnarch alpha ppc sparc64 amd64
1062 %attr(755,root,root) %{_bindir}/lddlibc4
1064 %attr(755,root,root) %{_bindir}/locale
1065 %attr(755,root,root) %{_bindir}/rpcgen
1066 %attr(755,root,root) %{_bindir}/tzselect
1068 %attr(755,root,root) %{_sbindir}/rpcinfo
1069 %attr(755,root,root) %{_sbindir}/zdump
1070 %attr(755,root,root) %{_sbindir}/zic
1072 %dir %{_datadir}/locale
1073 %{_datadir}/locale/locale.alias
1074 %{_datadir}/zoneinfo
1075 %exclude %{_datadir}/zoneinfo/right
1078 %{_mandir}/man1/[!lsg]*
1079 %{_mandir}/man1/getent.1*
1080 %{_mandir}/man1/locale.1*
1081 %{_mandir}/man1/ldd.1*
1082 %{_mandir}/man5/???[!d]*
1084 %{_mandir}/man8/[!n]*
1085 %lang(cs) %{_mandir}/cs/man[578]/*
1086 %lang(de) %{_mandir}/de/man[578]/*
1087 %lang(es) %{_mandir}/es/man[578]/*
1088 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1089 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1090 %lang(fr) %{_mandir}/fr/man[578]/*
1091 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1092 %lang(hu) %{_mandir}/hu/man[578]/*
1093 %lang(it) %{_mandir}/it/man[578]/*
1094 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1095 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1096 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1097 %lang(ja) %{_mandir}/ja/man7/*
1098 %lang(ja) %{_mandir}/ja/man8/[!n]*
1099 %lang(ko) %{_mandir}/ko/man[578]/*
1100 # %lang(nl) %{_mandir}/nl/man[578]/*
1101 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1102 %lang(pl) %{_mandir}/pl/man[578]/*
1103 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1104 %lang(pt) %{_mandir}/pt/man7/*
1105 %lang(pt) %{_mandir}/pt/man8/[!n]*
1106 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1107 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1108 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1109 %lang(ru) %{_mandir}/ru/man[578]/*
1111 %files zoneinfo_right
1112 %defattr(644,root,root,755)
1113 %{_datadir}/zoneinfo/right
1115 %files -n nss_compat
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1119 %files -n nss_hesiod
1120 %defattr(644,root,root,755)
1121 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1124 %defattr(644,root,root,755)
1125 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1126 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1128 %files -n nss_nisplus
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1132 %if %{with memusage}
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_bindir}/memusage*
1136 %attr(755,root,root) %{_libdir}/libmemusage.so
1140 %defattr(644,root,root,755)
1141 %doc documentation/* NOTES PROJECTS
1142 %attr(755,root,root) %{_bindir}/gencat
1143 %attr(755,root,root) %{_bindir}/getconf
1144 %attr(755,root,root) %{_bindir}/*prof*
1145 %attr(755,root,root) %{_bindir}/*trace
1149 %{_includedir}/alpha
1155 %{_includedir}/netash
1156 %{_includedir}/netatalk
1157 %{_includedir}/netax25
1158 %{_includedir}/neteconet
1159 %{_includedir}/netinet
1160 %{_includedir}/netipx
1161 %{_includedir}/netpacket
1162 %{_includedir}/netrom
1163 %{_includedir}/netrose
1165 %{_includedir}/protocols
1167 %{_includedir}/rpcsvc
1171 %{_infodir}/libc.info*
1173 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1174 %attr(755,root,root) %{_libdir}/libm.so
1175 %attr(755,root,root) %{_libdir}/*crt*.o
1176 %{_libdir}/libbsd-compat.a
1178 %{_libdir}/libc_nonshared.a
1180 %{_libdir}/libieee.a
1181 %{_libdir}/libpthread_nonshared.a
1182 %{_libdir}/librpcsvc.a
1184 %{_mandir}/man1/getconf*
1185 %{_mandir}/man1/sprof*
1187 %lang(cs) %{_mandir}/cs/man3/*
1188 %lang(de) %{_mandir}/de/man3/*
1189 %lang(es) %{_mandir}/es/man3/*
1190 %lang(fr) %{_mandir}/fr/man3/*
1191 %lang(hu) %{_mandir}/hu/man3/*
1192 # %lang(it) %{_mandir}/it/man3/*
1193 %lang(ja) %{_mandir}/ja/man3/*
1194 %lang(ko) %{_mandir}/ko/man3/*
1195 %lang(nl) %{_mandir}/nl/man3/*
1196 %lang(pl) %{_mandir}/pl/man3/*
1197 %lang(pt) %{_mandir}/pt/man3/*
1198 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1199 %lang(ru) %{_mandir}/ru/man3/*
1202 %defattr(644,root,root,755)
1203 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1204 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1205 %attr(754,root,root) /etc/rc.d/init.d/nscd
1206 %attr(755,root,root) %{_sbindir}/nscd*
1207 %attr(640,root,root) /etc/logrotate.d/nscd
1208 %attr(640,root,root) %ghost /var/log/nscd
1209 %{_mandir}/man5/nscd.conf*
1210 %{_mandir}/man8/nscd*
1211 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1212 %lang(ja) %{_mandir}/ja/man8/nscd*
1213 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1214 %lang(pt) %{_mandir}/pt/man8/nscd*
1215 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1216 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1218 %files -n localedb-src
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_bindir}/localedef
1221 %attr(755,root,root) %{_bindir}/localedb-gen
1223 %{_mandir}/man1/localedef*
1226 %defattr(644,root,root,755)
1227 %{_libdir}/locale/locale-archive
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_sbindir}/iconvconfig
1232 %dir %{_libdir}/gconv
1233 %{_libdir}/gconv/gconv-modules
1234 %attr(755,root,root) %{_libdir}/gconv/*.so
1237 %defattr(644,root,root,755)
1239 %{_libdir}/libBrokenLocale.a
1241 %{_libdir}/libcrypt.a
1244 %{_libdir}/libmcheck.a
1246 %{_libdir}/libpthread.a
1247 %{_libdir}/libresolv.a
1249 %{_libdir}/libutil.a
1252 %defattr(644,root,root,755)
1256 %defattr(644,root,root,755)
1257 %{_libdir}/lib*_pic.a
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_libdir}/ld-*
1267 %attr(755,root,root) %{_libdir}/libanl*
1268 %attr(755,root,root) %{_libdir}/libdl*
1269 %attr(755,root,root) %{_libdir}/libnsl*
1270 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1271 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1272 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1274 %files -n glibc64-devel
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1277 %attr(755,root,root) %{_libdir}/libm.so
1278 %attr(755,root,root) %{_libdir}/*crt*.o
1279 %{_libdir}/libbsd-compat.a
1281 %{_libdir}/libc_nonshared.a
1283 %{_libdir}/libieee.a
1284 %{_libdir}/libpthread_nonshared.a
1285 %{_libdir}/librpcsvc.a
1287 %files -n glibc64-static
1288 %defattr(644,root,root,755)
1290 %{_libdir}/libBrokenLocale.a
1292 %{_libdir}/libcrypt.a
1295 %{_libdir}/libmcheck.a
1297 %{_libdir}/libpthread.a
1298 %{_libdir}/libresolv.a
1300 %{_libdir}/libutil.a