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 idn # build with included libidn
12 %bcond_with nptl # use nptl instead of linuxthreads
13 %bcond_without 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 # We dont have all those archs, but just in case and
26 %define _nptl_arches i686 athlon amd64 ia64 s390 s390x sparcv9 ppc ppc64
28 %ifnarch %{_nptl_arches}
33 %{!?min_kernel:%global min_kernel 2.6.0}
34 # Doesnt go through checks.
37 %{!?min_kernel:%global min_kernel 2.4.6}
41 %define gkh_version 7:2.6.0.3
46 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
48 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
50 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
53 Release: 0.20040101.2%{?_with_nptl:+nptl}
58 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
59 Source0: %{name}-%{version}.tar.bz2
60 # Source0-md5: b4e3f037a0b36afc705af344033a91c7
61 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
62 Source1: %{name}-linuxthreads-%{version}.tar.bz2
63 # Source1-md5: 97c30992592f854a67107579dcef61dd
65 Source3: nscd.sysconfig
66 Source4: nscd.logrotate
67 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
68 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
69 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
70 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
71 # borrowed from util-linux
73 Source8: %{name}-localedb-gen
74 Patch0: %{name}-info.patch
75 Patch1: %{name}-initgroups-overflow.patch
76 Patch2: %{name}-pld.patch
77 Patch3: %{name}-crypt-blowfish.patch
78 Patch4: %{name}-string2-pointer-arith.patch
79 Patch5: %{name}-linuxthreads-lock.patch
80 Patch6: %{name}-pthread_create-manpage.patch
81 Patch9: %{name}-paths.patch
82 Patch10: %{name}-vaargs.patch
83 Patch11: %{name}-getaddrinfo-workaround.patch
84 Patch12: %{name}-postshell.patch
85 Patch14: %{name}-missing-nls.patch
86 Patch16: %{name}-java-libc-wait.patch
87 Patch18: %{name}-lthrds_noomit.patch
88 Patch19: %{name}-no_opt_override.patch
89 Patch23: %{name}-kernel_includes.patch
90 Patch24: %{name}-includes.patch
91 Patch26: %{name}-alpha-fix-as-syntax.patch
92 Patch27: %{name}-soinit-EH_FRAME.patch
93 Patch28: %{name}-fix-asserts.patch
94 Patch30: %{name}-sparc-errno_fix.patch
95 Patch31: %{name}-make.patch
96 Patch32: %{name}-tests-io-tmp.patch
97 URL: http://www.gnu.org/software/libc/
98 BuildRequires: automake
99 BuildRequires: binutils >= 2.13.90.0.2
100 BuildRequires: gcc >= 3.2
101 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
102 BuildRequires: gettext-devel >= 0.10.36
103 %if %{with kernelheaders}
104 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
106 BuildRequires: glibc-kernel-headers >= %{gkh_version}
108 BuildRequires: perl-base
109 BuildRequires: rpm-build >= 4.3-0.20030610.28
110 BuildRequires: rpm-perlprov
111 BuildRequires: sed >= 4.0.5
112 BuildRequires: texinfo
116 Provides: /sbin/ldconfig
117 Obsoletes: %{name}-common
118 Obsoletes: %{name}-debug
121 Requires: glibc-misc = %{epoch}:%{version}-%{release}
122 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
123 Conflicts: kernel < %{min_kernel}
124 Conflicts: ld.so < 1.9.9-10
125 Conflicts: man-pages < 1.43
126 Conflicts: rc-scripts < 0.3.1-13
129 %define debugcflags -O1 -g
131 %undefine with_memusage
132 %define specflags_sparc64 -mvis -fcall-used-g6
133 %define _libdir /usr/lib64
135 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
136 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
137 # patched not to crash on partial hardlinks too)
138 %define _hack_dontneed_PartialHardlinkSets 1
141 Contains the standard libraries that are used by multiple programs on
142 the system. In order to save disk space and memory, as well as to ease
143 upgrades, common system code is kept in one place and shared between
144 programs. This package contains the most important sets of shared
145 libraries, the standard C library and the standard math library.
146 Without these, a Linux system will not function. It also contains
147 national language (locale) support and timezone databases.
149 Can be used on: Linux kernel >= %{min_kernel}.
152 Contiene las bibliotecas estándared que son usadas por varios programas
153 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
154 para facilitar actualizaciones, código común del sistema se guarda en un
155 sitio y es compartido entre los programas. Este paquete contiene las
156 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
157 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
158 podrá funcionar. También está incluido soporte de idiomas nacionales
159 (locale) y bases de datos de zona de tiempo.
161 Puede usarse con: núcleo Linux >= %{min_kernel}.
164 Enthält die Standard-Libraries, die von verschiedenen Programmen im
165 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
166 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
167 einer einzigen Stelle gespeichert und wird von den Programmen
168 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
169 shared Libraries, die Standard-C-Library und die
170 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
171 Ferner enthält es den Support für die verschiedenen Sprachgregionen
172 (locale) und die Zeitzonen-Datenbank.
174 Can be used on: Linux kernel >= %{min_kernel}.
177 Contient les bibliothèques standards utilisées par de nombreux
178 programmes du système. Afin d'économiser l'espace disque et mémoire,
179 et de faciliter les mises à jour, le code commun au système est mis à
180 un endroit et partagé entre les programmes. Ce paquetage contient les
181 bibliothèques partagées les plus importantes, la bibliothèque standard
182 du C et la bibliothèque mathématique standard. Sans celles-ci, un
183 système Linux ne peut fonctionner. Il contient aussi la gestion des
184 langues nationales (locales) et les bases de données des zones
187 Can be used on: Linux kernel >= %{min_kernel}.
191 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
192 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
193 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
194 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
195 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
196 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
197 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
198 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
200 Can be used on: Linux kernel >= %{min_kernel}.
203 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
204 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
205 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
206 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
207 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
208 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
209 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
210 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
211 jêzyków (locale) oraz definicje stref czasowych.
213 Przeznaczony dla j±dra Linux >= %{min_kernel}.
216 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
217 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
218 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
219 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
220 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
221 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
222 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
223 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
224 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
226 Can be used on: Linux kernel >= %{min_kernel}.
229 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
230 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
231 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
232 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
233 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
234 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
235 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
237 Can be used on: Linux kernel >= %{min_kernel}.
240 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
241 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
242 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
243 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
244 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
245 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
246 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
247 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
248 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
250 Can be used on: Linux kernel >= %{min_kernel}.
253 Summary: Utilities and data used by glibc
254 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
255 Group: Development/Libraries
256 Requires: %{name} = %{epoch}:%{version}-%{release}
259 Utilities and data used by glibc.
261 %description misc -l pl
262 Narzêdzia i dane u¿ywane przez glibc.
265 Summary: Additional libraries required to compile
266 Summary(de): Weitere Libraries zum Kompilieren
267 Summary(es): Bibliotecas adicionales necesarias para la compilación
268 Summary(fr): Librairies supplémentaires nécessaires à la compilation
269 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
270 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
271 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
272 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
273 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
274 Group: Development/Libraries
275 Requires: %{name} = %{epoch}:%{version}-%{release}
276 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
279 To develop programs which use the standard C libraries (which nearly
280 all programs do), the system needs to have these standard header files
281 and object files available for creating the executables.
283 %description devel -l de
284 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
285 verwenden (also fast alle), benötigt das System diese Standard-Header-
286 und Objektdateien zum Erstellen der ausführbaren Programme.
288 %description devel -l es
289 Para desarrollar programas que utilizan las bibliotecas C estándar
290 (lo cual hacen prácticamente todos los programas), el sistema necesita
291 disponer de estos ficheros de cabecera y de objetos para crear los
294 %description devel -l fr
295 Pour développer des programmes utilisant les bibliothèques standard du
296 C (ce que presque tous les programmes font), le système doit posséder
297 ces fichiers en-têtes et objets standards pour créer les exécutables.
299 %description devel -l ja
300 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
301 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
302 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
303 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
304 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
307 %description devel -l pl
308 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
309 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
310 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
311 wykonywalnych i innych bibliotek.
313 %description devel -l ru
314 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
315 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
316 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
319 %description devel -l tr
320 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
321 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
324 %description devel -l uk
325 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
326 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
327 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
331 Summary: Name Service Caching Daemon
332 Summary(es): Demonio de caché del servicio de nombres
333 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
334 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
335 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
336 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
337 Group: Networking/Daemons
338 PreReq: rc-scripts >= 0.2.0
339 Requires(post,preun): /sbin/chkconfig
340 Requires(post): fileutils
341 Requires: %{name} = %{epoch}:%{version}-%{release}
344 nscd caches name service lookups; it can dramatically improve
345 performance with NIS+, and may help with DNS as well. You cannot use
346 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
347 nscd happens to hit these bugs particularly hard.
349 %description -n nscd -l es
350 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
351 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
352 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
353 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
356 %description -n nscd -l ja
357 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
358 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
359 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
360 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
361 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
363 %description -n nscd -l pl
364 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
365 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
366 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
369 %description -n nscd -l ru
370 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
371 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
374 %description -n nscd -l uk
375 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
376 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
378 %package -n localedb-src
379 Summary: locale database source code
380 Summary(es): Código fuente de la base de datos de los locales
381 Summary(pl): Kod ¼ród³owy bazy locale
383 Requires: %{name} = %{epoch}:%{version}-%{release}
385 %description -n localedb-src
386 This add-on package contains the data needed to build the locale data
387 files to use the internationalization features of the GNU libc.
389 %description -n localedb-src -l es
390 Este paquete adicional contiene los datos necesarios para construir
391 los ficheros de locale, imprescindibles para usar las cualidades de
392 internacionalización de GNU libc.
394 %description -n localedb-src -l pl
395 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
396 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
399 %package localedb-all
400 Summary: locale database for all locales supported by glibc
401 Summary(es): Base de datos de todos los locales soportados por glibc
402 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
404 Requires: %{name} = %{epoch}:%{version}-%{release}
406 %description localedb-all
407 This package contains locale database for all locales supported by
408 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
409 something smaller with support for chosen locales only, consider
410 installing localedb-src and regenerating database using localedb-gen
411 script (when database is generated, localedb-src can be uninstalled).
413 %description localedb-all -l es
414 Este paquete contiene una base de datos de todos los locales soportados
415 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 19 MB) -- si
416 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
417 considérese instalar localedb-src y regenerar la base de datos usando
418 el escript localedb-gen (una vez que la base de datos esté creada,
419 localedb-src se podrá desinstalar).
421 %description localedb-all -l pl
422 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
423 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
424 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
425 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
426 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
427 pakiet localedb-src mo¿na odinstalowaæ).
430 Summary: Convert encoding of given files from one encoding to another
431 Summary(es): Convierte entre varias codificaciones de los ficheros dados
432 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
433 Group: Applications/Text
434 Requires: %{name} = %{epoch}:%{version}-%{release}
436 %description -n iconv
437 Convert encoding of given files from one encoding to another. You need
438 this package if you want to convert some document from one encoding to
439 another or if you have installed some programs which use Generic
440 Character Set Conversion Interface.
442 %description -n iconv -l es
443 Convierte la codificación de dados ficheros. Necesita este paquete si
444 quiere convertir un documento entre una codificación (juego de
445 caracteres) y otra, o si tiene instalado algún programa que usa el
446 Generic Character Set Conversion Interface (interfaz genérica de
447 conversión de juegos de caracteres).
449 %description -n iconv -l pl
450 Program do konwersji plików tekstowych z jednego kodowania do innego.
451 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
452 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
453 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
454 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
455 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
458 Summary: Static libraries
459 Summary(es): Bibliotecas estáticas
460 Summary(pl): Biblioteki statyczne
461 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
462 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
463 Group: Development/Libraries
464 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
467 GNU libc static libraries.
469 %description static -l es
470 Bibliotecas estáticas de GNU libc.
472 %description static -l pl
473 Biblioteki statyczne GNU libc.
475 %description static -l ru
476 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
477 ×ÈÏÄÑÔ × glibc-devel.
479 %description static -l uk
480 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
484 Summary: glibc with profiling support
485 Summary(de): glibc mit Profil-Unterstützung
486 Summary(es): glibc con soporte de perfilamiento
487 Summary(fr): glibc avec support pour profiling
488 Summary(pl): glibc ze wsparciem dla profilowania
489 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
490 Summary(tr): Ölçüm desteði olan glibc
491 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
492 Group: Development/Libraries/Libc
493 Obsoletes: libc-profile
494 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
497 When programs are being profiled using gprof, they must use these
498 libraries instead of the standard C libraries for gprof to be able to
499 profile them correctly.
501 %description profile -l de
502 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
503 Libraries anstelle der üblichen C-Libraries verwendet werden.
505 %description profile -l es
506 Cuando programas son perfilidas usando gprof, tienen que usar estas
507 biblioteces en vez de las estándares para que gprof pueda perfilarlas
510 %description profile -l pl
511 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
512 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
515 %description profile -l uk
516 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
517 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
518 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
519 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
522 %description profile -l tr
523 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
524 kitaplýðý kullanmak zorundadýrlar.
526 %description profile -l ru
527 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
528 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
529 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
530 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
534 Summary: glibc PIC archive
535 Summary(es): Archivo PIC de glibc
536 Summary(pl): Archiwum PIC glibc
537 Group: Development/Libraries/Libc
538 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
541 GNU C Library PIC archive contains an archive library (ar file)
542 composed of individual shared objects. This is used for creating a
543 library which is a smaller subset of the standard libc shared library.
545 %description pic -l es
546 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
547 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
548 para crear una biblioteca que sea un subconjunto más pequeño de la
549 biblioteca libc compartida estándar.
551 %description pic -l pl
552 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
553 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
554 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
555 biblioteki wspó³dzielonej libc.
557 %package -n nss_compat
558 Summary: Old style NYS NSS glibc module
559 Summary(es): El antiguo módulo NYS NSS de glibc
560 Summary(pl): Stary modu³ NYS NSS glibc
562 Requires: %{name} = %{epoch}:%{version}-%{release}
564 %description -n nss_compat
565 Old style NYS NSS glibc module.
567 %description -n nss_compat -l es
568 El antiguo módulo NYS NSS de glibc
570 %description -n nss_compat -l pl
571 Stary modu³ NYS NSS glibc.
574 Summary: BIND NSS glibc module
575 Summary(es): Módulo BIND NSS de glibc
576 Summary(pl): Modu³ BIND NSS glibc
578 Requires: %{name} = %{epoch}:%{version}-%{release}
580 %description -n nss_dns
581 BIND NSS glibc module.
583 %description -n nss_dns -l es
584 Módulo BIND NSS de glibc.
586 %description -n nss_dns -l pl
587 Modu³ BIND NSS glibc.
589 %package -n nss_files
590 Summary: Traditional files databases NSS glibc module
591 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
592 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
594 Requires: %{name} = %{epoch}:%{version}-%{release}
596 %description -n nss_files
597 Traditional files databases NSS glibc module.
599 %description -n nss_files -l es
600 Módulo de tradicionales bases de datos en ficheros para glibc.
602 %description -n nss_files -l pl
603 Modu³ tradycyjnych plikowych baz danych NSS glibc.
605 %package -n nss_hesiod
606 Summary: hesiod NSS glibc module
607 Summary(es): Módulo hesiod NSS de glibc
608 Summary(pl): Modu³ hesiod NSS glibc
610 Requires: %{name} = %{epoch}:%{version}-%{release}
612 %description -n nss_hesiod
613 glibc NSS (Name Service Switch) module for databases access.
615 %description -n nss_hesiod -l es
616 Módulo hesiod NSS de glibc.
618 %description -n nss_hesiod -l pl
619 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
622 Summary: NIS(YP) NSS glibc module
623 Summary(es): Módulo NIS(YP) NSS de glibc
624 Summary(pl): Modu³ NIS(YP) NSS glibc
626 Requires: %{name} = %{epoch}:%{version}-%{release}
628 %description -n nss_nis
629 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
631 %description -n nss_nis -l es
632 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
634 %description -n nss_nis -l pl
635 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
637 %package -n nss_nisplus
638 Summary: NIS+ NSS module
639 Summary(es): Módulo NIS+ NSS
640 Summary(pl): Modu³ NIS+ NSS
642 Requires: %{name} = %{epoch}:%{version}-%{release}
644 %description -n nss_nisplus
645 glibc NSS (Name Service Switch) module for NIS+ databases access.
647 %description -n nss_nisplus -l es
648 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
650 %description -n nss_nisplus -l pl
651 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
655 Summary(es): Un juguete
658 Requires: %{name} = %{epoch}:%{version}-%{release}
661 %description memusage
664 %description memusage -l es
667 %description memusage -l pl
670 %package zoneinfo_right
671 Summary: Non-POSIX (real) time zones
672 Summary(es): Zonas de tiempo reales (no de POSIX)
673 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
675 Requires: %{name} = %{epoch}:%{version}-%{release}
677 %description zoneinfo_right
678 You don't want this. Details at:
679 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
681 %description zoneinfo_right -l es
682 No lo necesita. Encontrará los detalles en:
683 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
685 %description zoneinfo_right -l pl
686 Nie potrzebujesz tego. Szczegó³y pod:
687 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
689 %package -n %{name}64
690 Summary: GNU libc - 64-bit libraries
691 Summary(es): GNU libc - bibliotecas de 64 bits
692 Summary(pl): GNU libc - biblioteki 64-bitowe
695 Provides: glibc = %{epoch}:%{version}-%{release}
697 Requires: %{name} = %{epoch}:%{version}-%{release}
700 %description -n %{name}64
701 64-bit GNU libc libraries for sparc64 architecture.
703 %description -n %{name}64 -l es
704 Bibliotecas GNU libc de 64 bits para la arquitectura sparc64.
706 %description -n %{name}64 -l pl
707 Biblioteki 64-bitowe GNU libc dla architektury sparc64.
709 %package -n %{name}64-devel
710 Summary: Development files for 64-bit GNU libc libraries
711 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
712 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
713 Group: Development/Libraries
714 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
716 %description -n %{name}64-devel
717 Development files for 64-bit GNU libc libraries for sparc64
720 %description -n %{name}64-devel -l es
721 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
722 arquitectura sparc64.
724 %description -n %{name}64-devel -l pl
725 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
726 architektury sparc64.
728 %package -n %{name}64-static
729 Summary: Static 64-bit GNU libc libraries
730 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
731 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
732 Group: Development/Libraries
733 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
735 %description -n %{name}64-static
736 Static 64-bit GNU libc libraries.
738 %description -n %{name}64-static -l es
739 Bibliotecas estáticas GNU libc de 64 bits.
741 %description -n %{name}64-static -l pl
742 Statyczne 64-bitowe biblioteki GNU libc.
759 # don't know, if it is good idea, for brave ones
761 %{?with_kernelheaders:%patch23}
762 %{?!with_kernelheaders:%patch24 -p1}
774 cp /usr/share/automake/config.sub .
775 cp /usr/share/automake/config.sub scripts
776 [ -d builddir ] || mkdir builddir
778 # avoid stripping ld.so by -s in rpmldflags
779 LDFLAGS=" " ; export LDFLAGS
781 --enable-kernel="%{min_kernel}" \
782 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
784 --enable-add-ons=nptl \
786 --disable-sanity-checks \
789 --enable-add-ons=linuxthreads \
792 %if %{with kernelheaders}
793 CPPFLAGS="-I%{_kernelsrcdir}/include" \
794 --with-headers=%{_kernelsrcdir}/include
796 CPPFLAGS="-I%{_includedir}" \
797 --with-headers=%{_includedir}
800 # problem compiling with --enable-bounded (must be reported to libc-alpha)
802 %{__make} %{?parallelmkflags}
806 %{__make} subdirs=elf others
807 %{__make} subdirs=nptl check
811 env LANGUAGE=C LC_ALL=C \
812 %{__make} tests 2>&1 | awk '
815 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
817 gsub(/.*\[/, NIL, file);
818 gsub(/\].*/, NIL, file);
822 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
826 rm -rf $RPM_BUILD_ROOT
827 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
831 env LANGUAGE=C LC_ALL=C \
833 %{?parallelmkflags} \
834 install_root=$RPM_BUILD_ROOT \
835 infodir=%{_infodir} \
839 env LANGUAGE=C LC_ALL=C \
842 %{?parallelmkflags} \
843 install_root=$RPM_BUILD_ROOT \
844 infodir=%{_infodir} \
847 env LANGUAGE=C LC_ALL=C \
850 %{?parallelmkflags} \
851 install_root=$RPM_BUILD_ROOT \
852 infodir=%{_infodir} \
857 env LANGUAGE=C LC_ALL=C \
858 %{__make} localedata/install-locales \
859 %{?parallelmkflags} \
860 install_root=$RPM_BUILD_ROOT
862 PICFILES="libc_pic.a libc.map
863 math/libm_pic.a libm.map
864 resolv/libresolv_pic.a"
866 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
867 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
868 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
870 install elf/postshell $RPM_BUILD_ROOT/%{_lib}
871 mv $RPM_BUILD_ROOT/sbin/ldconfig $RPM_BUILD_ROOT/%{_lib}
872 ln -s /%{_lib}/ldconfig $RPM_BUILD_ROOT/sbin
874 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
876 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
880 %{__make} -C ../linuxthreads/man
881 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
884 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
886 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
892 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
893 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
894 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
895 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
897 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
899 # make symlinks across top-level directories absolute
900 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
901 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
902 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
906 rm -f $RPM_BUILD_ROOT%{_libdir}/libpthread.so
907 ln -sf /lib/libpthread-*.so $RPM_BUILD_ROOT%{_libdir}/libpthread.so
910 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
911 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
912 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
913 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
914 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
916 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
917 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
918 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
919 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
920 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
922 :> $RPM_BUILD_ROOT/var/log/nscd
924 rm -rf ../documentation
925 install -d ../documentation
928 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
929 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
930 cp -f ../linuxthreads/README ../documentation/README.threads
931 cp -f ../crypt/README.ufc-crypt ../documentation/
934 cp -f ../ChangeLog* ../documentation
936 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
938 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
940 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
943 # Collect locale files and mark them with %%lang()
945 echo '%defattr(644,root,root,755)' > ../glibc.lang
946 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
948 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
950 # list of long %%lang values we do support
951 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
952 zh_CN zh_CN.gbk zh_HK zh_TW ; do
953 if [ $j = "$lang" ]; then
957 if [ -n "$twochar" ]; then
958 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
959 lang=`echo $lang | sed "s,\..*,,"`
961 lang=`echo $lang | sed "s,_.*,,"`
964 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
965 echo "%lang($lang) $dir" >> ../glibc.lang
968 # XXX: to be added when become supported by glibc
969 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
970 # ia,kn,li,mn,sr@Latn (used by GNOME)
971 # note: GNOME2 uses sr as cyrillic!
972 # nso,ss,ven,xh,zu (used by KDE)
973 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 \
974 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
975 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; 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
982 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
984 # localedb-gen infrastructure
985 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
986 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
989 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
990 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
991 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
992 # we don't support kernel without ptys support
993 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
997 rm -rf $RPM_BUILD_ROOT
999 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1000 # when %%postun is run
1004 %post -n %{name}64 -p /%{_lib}/postshell
1006 %post -p /%{_lib}/postshell
1012 %postun -n %{name}64 -p /%{_lib}/postshell
1014 %postun -p /%{_lib}/postshell
1019 %post memusage -p /sbin/ldconfig
1020 %postun memusage -p /sbin/ldconfig
1022 %post -n iconv -p %{_sbindir}/iconvconfig
1025 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1028 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1031 /sbin/chkconfig --add nscd
1033 chmod 000 /var/log/nscd
1034 chown root:root /var/log/nscd
1035 chmod 640 /var/log/nscd
1036 if [ -f /var/lock/subsys/nscd ]; then
1037 /etc/rc.d/init.d/nscd restart 1>&2
1039 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1043 if [ "$1" = "0" ]; then
1044 if [ -f /var/lock/subsys/nscd ]; then
1045 /etc/rc.d/init.d/nscd stop 1>&2
1047 /sbin/chkconfig --del nscd
1057 %defattr(644,root,root,755)
1058 %doc README NEWS FAQ BUGS
1059 # ld* and libc.so.6 SONAME symlinks must be in package because of
1060 # chicken-egg problem (postshell is dynamically linked with libc);
1061 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1062 %attr(755,root,root) /%{_lib}/postshell
1063 %attr(755,root,root) /%{_lib}/ld*
1064 %attr(755,root,root) /%{_lib}/libanl*
1065 %attr(755,root,root) /%{_lib}/libdl*
1066 %attr(755,root,root) /%{_lib}/libnsl*
1067 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1068 %dir %{_libdir}/locale
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1074 #%files -n nss_files
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1079 %files misc -f %{name}.lang
1080 %defattr(644,root,root,755)
1082 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1083 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1084 %config %{_sysconfdir}/rpc
1085 %ghost %{_sysconfdir}/ld.so.cache
1087 %attr(755,root,root) /sbin/*
1088 %attr(755,root,root) %{_bindir}/catchsegv
1089 %attr(755,root,root) %{_bindir}/getent
1090 %attr(755,root,root) %{_bindir}/glibcbug
1091 %attr(755,root,root) %{_bindir}/iconv
1092 %attr(755,root,root) %{_bindir}/ldd
1093 %ifnarch alpha ppc sparc64 amd64
1094 %attr(755,root,root) %{_bindir}/lddlibc4
1096 %attr(755,root,root) %{_bindir}/locale
1097 %attr(755,root,root) %{_bindir}/rpcgen
1098 %attr(755,root,root) %{_bindir}/tzselect
1100 %attr(755,root,root) %{_sbindir}/rpcinfo
1101 %attr(755,root,root) %{_sbindir}/zdump
1102 %attr(755,root,root) %{_sbindir}/zic
1104 %dir %{_datadir}/locale
1105 %{_datadir}/locale/locale.alias
1106 %{_datadir}/zoneinfo
1107 %exclude %{_datadir}/zoneinfo/right
1110 %{_mandir}/man1/[!lsg]*
1111 %{_mandir}/man1/getent.1*
1112 %{_mandir}/man1/locale.1*
1113 %{_mandir}/man1/ldd.1*
1114 %{_mandir}/man5/???[!d]*
1116 %{_mandir}/man8/[!n]*
1117 %lang(cs) %{_mandir}/cs/man[578]/*
1118 %lang(de) %{_mandir}/de/man[578]/*
1119 %lang(es) %{_mandir}/es/man[578]/*
1120 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1121 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1122 %lang(fr) %{_mandir}/fr/man[578]/*
1123 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1124 %lang(hu) %{_mandir}/hu/man[578]/*
1125 %lang(it) %{_mandir}/it/man[578]/*
1126 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1127 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1128 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1129 %lang(ja) %{_mandir}/ja/man7/*
1130 %lang(ja) %{_mandir}/ja/man8/[!n]*
1131 %lang(ko) %{_mandir}/ko/man[578]/*
1132 # %lang(nl) %{_mandir}/nl/man[578]/*
1133 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1134 %lang(pl) %{_mandir}/pl/man[578]/*
1135 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1136 %lang(pt) %{_mandir}/pt/man7/*
1137 %lang(pt) %{_mandir}/pt/man8/[!n]*
1138 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1139 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1140 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1141 %lang(ru) %{_mandir}/ru/man[578]/*
1143 %files zoneinfo_right
1144 %defattr(644,root,root,755)
1145 %{_datadir}/zoneinfo/right
1147 %files -n nss_compat
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1151 %files -n nss_hesiod
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1158 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1160 %files -n nss_nisplus
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1164 %if %{with memusage}
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_bindir}/memusage*
1168 %attr(755,root,root) %{_libdir}/libmemusage.so
1172 %defattr(644,root,root,755)
1173 %doc documentation/* NOTES PROJECTS
1174 %attr(755,root,root) %{_bindir}/gencat
1175 %attr(755,root,root) %{_bindir}/getconf
1176 %attr(755,root,root) %{_bindir}/*prof*
1177 %attr(755,root,root) %{_bindir}/*trace
1181 %{_includedir}/alpha
1187 %{_includedir}/netash
1188 %{_includedir}/netatalk
1189 %{_includedir}/netax25
1190 %{_includedir}/neteconet
1191 %{_includedir}/netinet
1192 %{_includedir}/netipx
1193 %{_includedir}/netpacket
1194 %{_includedir}/netrom
1195 %{_includedir}/netrose
1197 %{_includedir}/protocols
1199 %{_includedir}/rpcsvc
1203 %{_infodir}/libc.info*
1205 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1206 %attr(755,root,root) %{_libdir}/libm.so
1207 %attr(755,root,root) %{_libdir}/*crt*.o
1208 %{_libdir}/libbsd-compat.a
1210 %{_libdir}/libc_nonshared.a
1212 %{_libdir}/libieee.a
1213 %{_libdir}/libpthread_nonshared.a
1214 %{_libdir}/librpcsvc.a
1216 %{_mandir}/man1/getconf*
1217 %{_mandir}/man1/sprof*
1219 %lang(cs) %{_mandir}/cs/man3/*
1220 %lang(de) %{_mandir}/de/man3/*
1221 %lang(es) %{_mandir}/es/man3/*
1222 %lang(fr) %{_mandir}/fr/man3/*
1223 %lang(hu) %{_mandir}/hu/man3/*
1224 # %lang(it) %{_mandir}/it/man3/*
1225 %lang(ja) %{_mandir}/ja/man3/*
1226 %lang(ko) %{_mandir}/ko/man3/*
1227 %lang(nl) %{_mandir}/nl/man3/*
1228 %lang(pl) %{_mandir}/pl/man3/*
1229 %lang(pt) %{_mandir}/pt/man3/*
1230 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1231 %lang(ru) %{_mandir}/ru/man3/*
1234 %defattr(644,root,root,755)
1235 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1236 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1237 %attr(754,root,root) /etc/rc.d/init.d/nscd
1238 %attr(755,root,root) %{_sbindir}/nscd*
1239 %attr(640,root,root) /etc/logrotate.d/nscd
1240 %attr(640,root,root) %ghost /var/log/nscd
1241 %{_mandir}/man5/nscd.conf*
1242 %{_mandir}/man8/nscd*
1243 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1244 %lang(ja) %{_mandir}/ja/man8/nscd*
1245 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1246 %lang(pt) %{_mandir}/pt/man8/nscd*
1247 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1248 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1250 %files -n localedb-src
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_bindir}/localedef
1253 %attr(755,root,root) %{_bindir}/localedb-gen
1255 %{_mandir}/man1/localedef*
1258 %defattr(644,root,root,755)
1259 %{_libdir}/locale/locale-archive
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_sbindir}/iconvconfig
1264 %dir %{_libdir}/gconv
1265 %{_libdir}/gconv/gconv-modules
1266 %attr(755,root,root) %{_libdir}/gconv/*.so
1269 %defattr(644,root,root,755)
1271 %{_libdir}/libBrokenLocale.a
1273 %{_libdir}/libcrypt.a
1276 %{_libdir}/libmcheck.a
1278 %{_libdir}/libpthread.a
1279 %{_libdir}/libresolv.a
1281 %{_libdir}/libutil.a
1284 %defattr(644,root,root,755)
1288 %defattr(644,root,root,755)
1289 %{_libdir}/lib*_pic.a
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/ld-*
1299 %attr(755,root,root) %{_libdir}/libanl*
1300 %attr(755,root,root) %{_libdir}/libdl*
1301 %attr(755,root,root) %{_libdir}/libnsl*
1302 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1303 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1304 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1306 %files -n glibc64-devel
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1309 %attr(755,root,root) %{_libdir}/libm.so
1310 %attr(755,root,root) %{_libdir}/*crt*.o
1311 %{_libdir}/libbsd-compat.a
1313 %{_libdir}/libc_nonshared.a
1315 %{_libdir}/libieee.a
1316 %{_libdir}/libpthread_nonshared.a
1317 %{_libdir}/librpcsvc.a
1319 %files -n glibc64-static
1320 %defattr(644,root,root,755)
1322 %{_libdir}/libBrokenLocale.a
1324 %{_libdir}/libcrypt.a
1327 %{_libdir}/libmcheck.a
1329 %{_libdir}/libpthread.a
1330 %{_libdir}/libresolv.a
1332 %{_libdir}/libutil.a