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.7%{?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 URL: http://www.gnu.org/software/libc/
103 BuildRequires: automake
104 BuildRequires: binutils >= 2.13.90.0.2
105 BuildRequires: gcc >= 3.2
106 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
107 BuildRequires: gettext-devel >= 0.10.36
108 %if %{with kernelheaders}
109 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
111 BuildRequires: glibc-kernel-headers >= %{gkh_version}
113 BuildRequires: perl-base
114 BuildRequires: rpm-build >= 4.3-0.20030610.28
115 BuildRequires: rpm-perlprov
116 BuildRequires: sed >= 4.0.5
117 BuildRequires: texinfo
120 Requires: glibc-misc = %{epoch}:%{version}-%{release}
123 Provides: /sbin/ldconfig
124 Obsoletes: %{name}-common
125 Obsoletes: %{name}-debug
127 Conflicts: kernel < %{min_kernel}
128 Conflicts: ld.so < 1.9.9-10
129 Conflicts: man-pages < 1.43
130 Conflicts: rc-scripts < 0.3.1-13
132 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
134 %define debugcflags -O1 -g
136 %undefine with_memusage
137 %define specflags_sparc64 -mvis -fcall-used-g6
138 %define _libdir /usr/lib64
140 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
141 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
142 # patched not to crash on partial hardlinks too)
143 %define _hack_dontneed_PartialHardlinkSets 1
146 Contains the standard libraries that are used by multiple programs on
147 the system. In order to save disk space and memory, as well as to ease
148 upgrades, common system code is kept in one place and shared between
149 programs. This package contains the most important sets of shared
150 libraries, the standard C library and the standard math library.
151 Without these, a Linux system will not function. It also contains
152 national language (locale) support and timezone databases.
154 Can be used on: Linux kernel >= %{min_kernel}.
157 Contiene las bibliotecas estándared que son usadas por varios programas
158 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
159 para facilitar actualizaciones, código común del sistema se guarda en un
160 sitio y es compartido entre los programas. Este paquete contiene las
161 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
162 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
163 podrá funcionar. También está incluido soporte de idiomas nacionales
164 (locale) y bases de datos de zona de tiempo.
166 Puede usarse con: núcleo Linux >= %{min_kernel}.
169 Enthält die Standard-Libraries, die von verschiedenen Programmen im
170 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
171 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
172 einer einzigen Stelle gespeichert und wird von den Programmen
173 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
174 shared Libraries, die Standard-C-Library und die
175 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
176 Ferner enthält es den Support für die verschiedenen Sprachgregionen
177 (locale) und die Zeitzonen-Datenbank.
179 Can be used on: Linux kernel >= %{min_kernel}.
182 Contient les bibliothèques standards utilisées par de nombreux
183 programmes du système. Afin d'économiser l'espace disque et mémoire,
184 et de faciliter les mises à jour, le code commun au système est mis à
185 un endroit et partagé entre les programmes. Ce paquetage contient les
186 bibliothèques partagées les plus importantes, la bibliothèque standard
187 du C et la bibliothèque mathématique standard. Sans celles-ci, un
188 système Linux ne peut fonctionner. Il contient aussi la gestion des
189 langues nationales (locales) et les bases de données des zones
192 Can be used on: Linux kernel >= %{min_kernel}.
196 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
197 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
198 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
199 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
200 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
201 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
202 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
203 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
205 Can be used on: Linux kernel >= %{min_kernel}.
208 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
209 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
210 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
211 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
212 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
213 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
214 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
215 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
216 jêzyków (locale) oraz definicje stref czasowych.
218 Przeznaczony dla j±dra Linux >= %{min_kernel}.
221 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
222 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
223 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
224 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
225 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
226 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
227 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
228 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
229 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
231 Can be used on: Linux kernel >= %{min_kernel}.
234 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
235 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
236 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
237 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
238 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
239 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
240 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
242 Can be used on: Linux kernel >= %{min_kernel}.
245 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
246 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
247 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
248 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
249 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
250 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
251 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
252 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
253 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
255 Can be used on: Linux kernel >= %{min_kernel}.
258 Summary: Utilities and data used by glibc
259 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
260 Group: Development/Libraries
262 Requires: %{name} = %{epoch}:%{version}-%{release}
265 Utilities and data used by glibc.
267 %description misc -l pl
268 Narzêdzia i dane u¿ywane przez glibc.
271 Summary: Additional libraries required to compile
272 Summary(de): Weitere Libraries zum Kompilieren
273 Summary(es): Bibliotecas adicionales necesarias para la compilación
274 Summary(fr): Librairies supplémentaires nécessaires à la compilation
275 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
276 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
277 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
278 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
279 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
280 Group: Development/Libraries
281 Requires: %{name} = %{epoch}:%{version}-%{release}
282 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
285 To develop programs which use the standard C libraries (which nearly
286 all programs do), the system needs to have these standard header files
287 and object files available for creating the executables.
289 %description devel -l de
290 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
291 verwenden (also fast alle), benötigt das System diese Standard-Header-
292 und Objektdateien zum Erstellen der ausführbaren Programme.
294 %description devel -l es
295 Para desarrollar programas que utilizan las bibliotecas C estándar
296 (lo cual hacen prácticamente todos los programas), el sistema necesita
297 disponer de estos ficheros de cabecera y de objetos para crear los
300 %description devel -l fr
301 Pour développer des programmes utilisant les bibliothèques standard du
302 C (ce que presque tous les programmes font), le système doit posséder
303 ces fichiers en-têtes et objets standards pour créer les exécutables.
305 %description devel -l ja
306 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
307 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
308 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
309 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
310 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
313 %description devel -l pl
314 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
315 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
316 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
317 wykonywalnych i innych bibliotek.
319 %description devel -l ru
320 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
321 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
322 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
325 %description devel -l tr
326 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
327 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
330 %description devel -l uk
331 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
332 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
333 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
337 Summary: Name Service Caching Daemon
338 Summary(es): Demonio de caché del servicio de nombres
339 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
340 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
341 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
342 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
343 Group: Networking/Daemons
344 PreReq: rc-scripts >= 0.2.0
345 Requires(post,preun): /sbin/chkconfig
346 Requires(post): fileutils
347 Requires: %{name} = %{epoch}:%{version}-%{release}
350 nscd caches name service lookups; it can dramatically improve
351 performance with NIS+, and may help with DNS as well. You cannot use
352 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
353 nscd happens to hit these bugs particularly hard.
355 %description -n nscd -l es
356 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
357 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
358 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
359 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
362 %description -n nscd -l ja
363 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
364 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
365 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
366 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
367 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
369 %description -n nscd -l pl
370 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
371 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
372 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
375 %description -n nscd -l ru
376 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
377 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
380 %description -n nscd -l uk
381 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
382 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
384 %package -n localedb-src
385 Summary: locale database source code
386 Summary(es): Código fuente de la base de datos de los locales
387 Summary(pl): Kod ¼ród³owy bazy locale
389 Requires: %{name} = %{epoch}:%{version}-%{release}
391 %description -n localedb-src
392 This add-on package contains the data needed to build the locale data
393 files to use the internationalization features of the GNU libc.
395 %description -n localedb-src -l es
396 Este paquete adicional contiene los datos necesarios para construir
397 los ficheros de locale, imprescindibles para usar las cualidades de
398 internacionalización de GNU libc.
400 %description -n localedb-src -l pl
401 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
402 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
405 %package localedb-all
406 Summary: locale database for all locales supported by glibc
407 Summary(es): Base de datos de todos los locales soportados por glibc
408 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
410 Requires: %{name} = %{epoch}:%{version}-%{release}
412 %description localedb-all
413 This package contains locale database for all locales supported by
414 glibc. In glibc 2.3.x it's one large file (about 27MB) - if you want
415 something smaller with support for chosen locales only, consider
416 installing localedb-src and regenerating database using localedb-gen
417 script (when database is generated, localedb-src can be uninstalled).
419 %description localedb-all -l es
420 Este paquete contiene una base de datos de todos los locales soportados
421 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 27 MB) -- si
422 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
423 considérese instalar localedb-src y regenerar la base de datos usando
424 el escript localedb-gen (una vez que la base de datos esté creada,
425 localedb-src se podrá desinstalar).
427 %description localedb-all -l pl
428 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
429 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
430 (oko³o 27MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
431 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
432 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
433 pakiet localedb-src mo¿na odinstalowaæ).
436 Summary: Convert encoding of given files from one encoding to another
437 Summary(es): Convierte entre varias codificaciones de los ficheros dados
438 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
439 Group: Applications/Text
440 Requires: %{name} = %{epoch}:%{version}-%{release}
442 %description -n iconv
443 Convert encoding of given files from one encoding to another. You need
444 this package if you want to convert some document from one encoding to
445 another or if you have installed some programs which use Generic
446 Character Set Conversion Interface.
448 %description -n iconv -l es
449 Convierte la codificación de dados ficheros. Necesita este paquete si
450 quiere convertir un documento entre una codificación (juego de
451 caracteres) y otra, o si tiene instalado algún programa que usa el
452 Generic Character Set Conversion Interface (interfaz genérica de
453 conversión de juegos de caracteres).
455 %description -n iconv -l pl
456 Program do konwersji plików tekstowych z jednego kodowania do innego.
457 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
458 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
459 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
460 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
461 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
464 Summary: Static libraries
465 Summary(es): Bibliotecas estáticas
466 Summary(pl): Biblioteki statyczne
467 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
468 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
469 Group: Development/Libraries
470 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
473 GNU libc static libraries.
475 %description static -l es
476 Bibliotecas estáticas de GNU libc.
478 %description static -l pl
479 Biblioteki statyczne GNU libc.
481 %description static -l ru
482 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
483 ×ÈÏÄÑÔ × glibc-devel.
485 %description static -l uk
486 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
490 Summary: glibc with profiling support
491 Summary(de): glibc mit Profil-Unterstützung
492 Summary(es): glibc con soporte de perfilamiento
493 Summary(fr): glibc avec support pour profiling
494 Summary(pl): glibc ze wsparciem dla profilowania
495 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
496 Summary(tr): Ölçüm desteði olan glibc
497 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
498 Group: Development/Libraries/Libc
499 Obsoletes: libc-profile
500 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
503 When programs are being profiled using gprof, they must use these
504 libraries instead of the standard C libraries for gprof to be able to
505 profile them correctly.
507 %description profile -l de
508 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
509 Libraries anstelle der üblichen C-Libraries verwendet werden.
511 %description profile -l es
512 Cuando programas son perfilidas usando gprof, tienen que usar estas
513 biblioteces en vez de las estándares para que gprof pueda perfilarlas
516 %description profile -l pl
517 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
518 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
521 %description profile -l uk
522 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
523 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
524 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
525 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
528 %description profile -l tr
529 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
530 kitaplýðý kullanmak zorundadýrlar.
532 %description profile -l ru
533 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
534 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
535 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
536 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
540 Summary: glibc PIC archive
541 Summary(es): Archivo PIC de glibc
542 Summary(pl): Archiwum PIC glibc
543 Group: Development/Libraries/Libc
544 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
547 GNU C Library PIC archive contains an archive library (ar file)
548 composed of individual shared objects. This is used for creating a
549 library which is a smaller subset of the standard libc shared library.
551 %description pic -l es
552 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
553 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
554 para crear una biblioteca que sea un subconjunto más pequeño de la
555 biblioteca libc compartida estándar.
557 %description pic -l pl
558 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
559 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
560 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
561 biblioteki wspó³dzielonej libc.
563 %package -n nss_compat
564 Summary: Old style NYS NSS glibc module
565 Summary(es): El antiguo módulo NYS NSS de glibc
566 Summary(pl): Stary modu³ NYS NSS glibc
568 Requires: %{name} = %{epoch}:%{version}-%{release}
570 %description -n nss_compat
571 Old style NYS NSS glibc module.
573 %description -n nss_compat -l es
574 El antiguo módulo NYS NSS de glibc
576 %description -n nss_compat -l pl
577 Stary modu³ NYS NSS glibc.
580 Summary: BIND NSS glibc module
581 Summary(es): Módulo BIND NSS de glibc
582 Summary(pl): Modu³ BIND NSS glibc
584 Requires: %{name} = %{epoch}:%{version}-%{release}
586 %description -n nss_dns
587 BIND NSS glibc module.
589 %description -n nss_dns -l es
590 Módulo BIND NSS de glibc.
592 %description -n nss_dns -l pl
593 Modu³ BIND NSS glibc.
595 %package -n nss_files
596 Summary: Traditional files databases NSS glibc module
597 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
598 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
600 Requires: %{name} = %{epoch}:%{version}-%{release}
602 %description -n nss_files
603 Traditional files databases NSS glibc module.
605 %description -n nss_files -l es
606 Módulo de tradicionales bases de datos en ficheros para glibc.
608 %description -n nss_files -l pl
609 Modu³ tradycyjnych plikowych baz danych NSS glibc.
611 %package -n nss_hesiod
612 Summary: hesiod NSS glibc module
613 Summary(es): Módulo hesiod NSS de glibc
614 Summary(pl): Modu³ hesiod NSS glibc
616 Requires: %{name} = %{epoch}:%{version}-%{release}
618 %description -n nss_hesiod
619 glibc NSS (Name Service Switch) module for databases access.
621 %description -n nss_hesiod -l es
622 Módulo hesiod NSS de glibc.
624 %description -n nss_hesiod -l pl
625 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
628 Summary: NIS(YP) NSS glibc module
629 Summary(es): Módulo NIS(YP) NSS de glibc
630 Summary(pl): Modu³ NIS(YP) NSS glibc
632 Requires: %{name} = %{epoch}:%{version}-%{release}
634 %description -n nss_nis
635 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
637 %description -n nss_nis -l es
638 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
640 %description -n nss_nis -l pl
641 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
643 %package -n nss_nisplus
644 Summary: NIS+ NSS module
645 Summary(es): Módulo NIS+ NSS
646 Summary(pl): Modu³ NIS+ NSS
648 Requires: %{name} = %{epoch}:%{version}-%{release}
650 %description -n nss_nisplus
651 glibc NSS (Name Service Switch) module for NIS+ databases access.
653 %description -n nss_nisplus -l es
654 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
656 %description -n nss_nisplus -l pl
657 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
661 Summary(es): Un juguete
664 Requires: %{name} = %{epoch}:%{version}-%{release}
667 %description memusage
670 %description memusage -l es
673 %description memusage -l pl
676 %package zoneinfo_right
677 Summary: Non-POSIX (real) time zones
678 Summary(es): Zonas de tiempo reales (no de POSIX)
679 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
681 Requires: %{name} = %{epoch}:%{version}-%{release}
683 %description zoneinfo_right
684 You don't want this. Details at:
685 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
687 %description zoneinfo_right -l es
688 No lo necesita. Encontrará los detalles en:
689 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
691 %description zoneinfo_right -l pl
692 Nie potrzebujesz tego. Szczegó³y pod:
693 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
695 %package -n %{name}64
696 Summary: GNU libc - 64-bit libraries
697 Summary(es): GNU libc - bibliotecas de 64 bits
698 Summary(pl): GNU libc - biblioteki 64-bitowe
701 Provides: glibc = %{epoch}:%{version}-%{release}
702 Requires: glibc-misc = %{epoch}:%{version}-%{release}
704 Requires: %{name} = %{epoch}:%{version}-%{release}
707 %description -n %{name}64
708 64-bit GNU libc libraries for 64bit architecture.
710 %description -n %{name}64 -l es
711 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
713 %description -n %{name}64 -l pl
714 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
716 %package -n %{name}64-devel
717 Summary: Development files for 64-bit GNU libc libraries
718 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
719 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
720 Group: Development/Libraries
721 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
723 %description -n %{name}64-devel
724 Development files for 64-bit GNU libc libraries for 64bit
727 %description -n %{name}64-devel -l es
728 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
731 %description -n %{name}64-devel -l pl
732 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
735 %package -n %{name}64-static
736 Summary: Static 64-bit GNU libc libraries
737 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
738 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
739 Group: Development/Libraries
740 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
742 %description -n %{name}64-static
743 Static 64-bit GNU libc libraries.
745 %description -n %{name}64-static -l es
746 Bibliotecas estáticas GNU libc de 64 bits.
748 %description -n %{name}64-static -l pl
749 Statyczne 64-bitowe biblioteki GNU libc.
765 # don't know, if it is good idea, for brave ones
767 %{?with_kernelheaders:%patch13}
768 %{?!with_kernelheaders:%patch14 -p1}
783 cp /usr/share/automake/config.sub .
784 cp /usr/share/automake/config.sub scripts
785 [ -d builddir ] || mkdir builddir
787 # avoid stripping ld.so by -s in rpmldflags
788 LDFLAGS=" " ; export LDFLAGS
790 --enable-kernel="%{min_kernel}" \
791 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
793 --enable-add-ons=nptl \
797 %{?with_tls:--with-tls} \
798 --enable-add-ons=linuxthreads \
801 %if %{with kernelheaders}
802 CPPFLAGS="-I%{_kernelsrcdir}/include" \
803 --with-headers=%{_kernelsrcdir}/include
805 CPPFLAGS="-I%{_includedir}" \
806 --with-headers=%{_includedir}
809 # problem compiling with --enable-bounded (must be reported to libc-alpha)
811 %{__make} %{?parallelmkflags}
814 env LANGUAGE=C LC_ALL=C \
815 %{__make} tests 2>&1 | awk '
818 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
820 gsub(/.*\[/, NIL, file);
821 gsub(/\].*/, NIL, file);
825 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
829 rm -rf $RPM_BUILD_ROOT
830 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
834 env LANGUAGE=C LC_ALL=C \
836 %{?parallelmkflags} \
837 install_root=$RPM_BUILD_ROOT \
838 infodir=%{_infodir} \
841 env LANGUAGE=C LC_ALL=C \
842 %{__make} localedata/install-locales \
843 %{?parallelmkflags} \
844 install_root=$RPM_BUILD_ROOT
846 PICFILES="libc_pic.a libc.map
847 math/libm_pic.a libm.map
848 resolv/libresolv_pic.a"
850 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
851 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
852 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
854 install elf/postshell $RPM_BUILD_ROOT/%{_lib}
855 mv $RPM_BUILD_ROOT/sbin/ldconfig $RPM_BUILD_ROOT/%{_lib}
856 ln -s /%{_lib}/ldconfig $RPM_BUILD_ROOT/sbin
858 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
860 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
864 %{__make} -C ../linuxthreads/man
865 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
868 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
870 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
876 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
877 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
878 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
879 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
881 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
883 # make symlinks across top-level directories absolute
884 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
885 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
886 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
889 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
890 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
891 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
892 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
893 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
895 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
896 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
897 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
898 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
899 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
901 :> $RPM_BUILD_ROOT/var/log/nscd
903 rm -rf ../documentation
904 install -d ../documentation
907 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
908 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
909 cp -f ../linuxthreads/README ../documentation/README.threads
911 cp -f ../crypt/README.ufc-crypt ../documentation/
913 cp -f ../ChangeLog* ../documentation
915 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
917 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
919 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
922 # Collect locale files and mark them with %%lang()
924 # bokmaal has been renamed (no_NO -> nb_NO) in 2.3.3, but not in po
925 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
926 echo '%defattr(644,root,root,755)' > ../glibc.lang
927 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
929 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
931 # list of long %%lang values we do support
932 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
933 zh_CN zh_CN.gbk zh_HK zh_TW ; do
934 if [ $j = "$lang" ]; then
938 if [ -n "$twochar" ]; then
939 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
940 lang=`echo $lang | sed "s,\..*,,"`
942 lang=`echo $lang | sed "s,_.*,,"`
945 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
946 echo "%lang($lang) $dir" >> ../glibc.lang
949 # XXX: to be added when become supported by glibc
950 # ia,li,sr@Latn (used by GNOME)
951 # note: GNOME2 uses sr (and probably uz) as cyrillic!
952 # nso,ss,ven (used by KDE)
954 # bn is used for bn_BD or bn_IN?
955 # omitted here - already existing (with libc.mo):
956 # 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
957 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 \
958 gr he hi id is ja_JP.SJIS ka kn lg lt lv mk ml mn ms mt nn pt ro ru \
959 se sl sq sr sr@cyrillic ta tg th uk uz vi wa xh yi zu ; do
960 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
961 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
962 lang=`echo $i | sed -e 's/_.*//'`
963 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
966 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
968 # localedb-gen infrastructure
969 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
970 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
973 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
974 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
975 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
976 # we don't support kernel without ptys support
977 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
981 rm -rf $RPM_BUILD_ROOT
983 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
984 # when %%postun is run
988 %post -n %{name}64 -p /%{_lib}/postshell
990 %post -p /%{_lib}/postshell
996 %postun -n %{name}64 -p /%{_lib}/postshell
998 %postun -p /%{_lib}/postshell
1003 %post memusage -p /sbin/ldconfig
1004 %postun memusage -p /sbin/ldconfig
1006 %post -n iconv -p %{_sbindir}/iconvconfig
1009 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1012 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1015 /sbin/chkconfig --add nscd
1017 chmod 000 /var/log/nscd
1018 chown root:root /var/log/nscd
1019 chmod 640 /var/log/nscd
1020 if [ -f /var/lock/subsys/nscd ]; then
1021 /etc/rc.d/init.d/nscd restart 1>&2
1023 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1027 if [ "$1" = "0" ]; then
1028 if [ -f /var/lock/subsys/nscd ]; then
1029 /etc/rc.d/init.d/nscd stop 1>&2
1031 /sbin/chkconfig --del nscd
1041 %defattr(644,root,root,755)
1042 %doc README NEWS FAQ BUGS
1043 # ld* and libc.so.6 SONAME symlinks must be in package because of
1044 # chicken-egg problem (postshell is dynamically linked with libc);
1045 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1046 %attr(755,root,root) /%{_lib}/postshell
1047 %attr(755,root,root) /%{_lib}/ld*
1048 %attr(755,root,root) /%{_lib}/libanl*
1049 %attr(755,root,root) /%{_lib}/libdl*
1050 %attr(755,root,root) /%{_lib}/libnsl*
1051 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1052 %dir %{_libdir}/locale
1055 %defattr(644,root,root,755)
1056 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1058 #%files -n nss_files
1059 %defattr(644,root,root,755)
1060 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1063 %files misc -f %{name}.lang
1064 %defattr(644,root,root,755)
1066 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1067 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1068 %config %{_sysconfdir}/rpc
1069 %ghost %{_sysconfdir}/ld.so.cache
1071 %attr(755,root,root) /sbin/*
1072 %attr(755,root,root) %{_bindir}/catchsegv
1073 %attr(755,root,root) %{_bindir}/getent
1074 %attr(755,root,root) %{_bindir}/glibcbug
1075 %attr(755,root,root) %{_bindir}/iconv
1076 %attr(755,root,root) %{_bindir}/ldd
1077 %ifnarch alpha ppc sparc64 amd64
1078 %attr(755,root,root) %{_bindir}/lddlibc4
1080 %attr(755,root,root) %{_bindir}/locale
1081 %attr(755,root,root) %{_bindir}/rpcgen
1082 %attr(755,root,root) %{_bindir}/tzselect
1084 %attr(755,root,root) %{_sbindir}/rpcinfo
1085 %attr(755,root,root) %{_sbindir}/zdump
1086 %attr(755,root,root) %{_sbindir}/zic
1088 %dir %{_datadir}/locale
1089 %{_datadir}/locale/locale.alias
1090 %{_datadir}/zoneinfo
1091 %exclude %{_datadir}/zoneinfo/right
1094 %{_mandir}/man1/[!lsg]*
1095 %{_mandir}/man1/getent.1*
1096 %{_mandir}/man1/locale.1*
1097 %{_mandir}/man1/ldd.1*
1098 %{_mandir}/man5/???[!d]*
1100 %{_mandir}/man8/[!n]*
1101 %lang(cs) %{_mandir}/cs/man[578]/*
1102 %lang(de) %{_mandir}/de/man[578]/*
1103 %lang(es) %{_mandir}/es/man[578]/*
1104 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1105 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1106 %lang(fr) %{_mandir}/fr/man[578]/*
1107 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1108 %lang(hu) %{_mandir}/hu/man[578]/*
1109 %lang(it) %{_mandir}/it/man[578]/*
1110 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1111 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1112 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1113 %lang(ja) %{_mandir}/ja/man7/*
1114 %lang(ja) %{_mandir}/ja/man8/[!n]*
1115 %lang(ko) %{_mandir}/ko/man[578]/*
1116 # %lang(nl) %{_mandir}/nl/man[578]/*
1117 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1118 %lang(pl) %{_mandir}/pl/man[578]/*
1119 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1120 %lang(pt) %{_mandir}/pt/man7/*
1121 %lang(pt) %{_mandir}/pt/man8/[!n]*
1122 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1123 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1124 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1125 %lang(ru) %{_mandir}/ru/man[578]/*
1127 %files zoneinfo_right
1128 %defattr(644,root,root,755)
1129 %{_datadir}/zoneinfo/right
1131 %files -n nss_compat
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1135 %files -n nss_hesiod
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1142 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1144 %files -n nss_nisplus
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1148 %if %{with memusage}
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_bindir}/memusage*
1152 %attr(755,root,root) %{_libdir}/libmemusage.so
1156 %defattr(644,root,root,755)
1157 %doc documentation/* NOTES PROJECTS
1158 %attr(755,root,root) %{_bindir}/gencat
1159 %attr(755,root,root) %{_bindir}/getconf
1160 %attr(755,root,root) %{_bindir}/*prof*
1161 %attr(755,root,root) %{_bindir}/*trace
1165 %{_includedir}/alpha
1171 %{_includedir}/netash
1172 %{_includedir}/netatalk
1173 %{_includedir}/netax25
1174 %{_includedir}/neteconet
1175 %{_includedir}/netinet
1176 %{_includedir}/netipx
1177 %{_includedir}/netpacket
1178 %{_includedir}/netrom
1179 %{_includedir}/netrose
1181 %{_includedir}/protocols
1183 %{_includedir}/rpcsvc
1187 %{_infodir}/libc.info*
1189 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1190 %attr(755,root,root) %{_libdir}/libm.so
1191 %attr(755,root,root) %{_libdir}/*crt*.o
1192 %{_libdir}/libbsd-compat.a
1194 %{_libdir}/libc_nonshared.a
1196 %{_libdir}/libieee.a
1197 %{_libdir}/libpthread_nonshared.a
1198 %{_libdir}/librpcsvc.a
1200 %{_mandir}/man1/getconf*
1201 %{_mandir}/man1/sprof*
1203 %lang(cs) %{_mandir}/cs/man3/*
1204 %lang(de) %{_mandir}/de/man3/*
1205 %lang(es) %{_mandir}/es/man3/*
1206 %lang(fr) %{_mandir}/fr/man3/*
1207 %lang(hu) %{_mandir}/hu/man3/*
1208 # %lang(it) %{_mandir}/it/man3/*
1209 %lang(ja) %{_mandir}/ja/man3/*
1210 %lang(ko) %{_mandir}/ko/man3/*
1211 %lang(nl) %{_mandir}/nl/man3/*
1212 %lang(pl) %{_mandir}/pl/man3/*
1213 %lang(pt) %{_mandir}/pt/man3/*
1214 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1215 %lang(ru) %{_mandir}/ru/man3/*
1218 %defattr(644,root,root,755)
1219 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1220 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1221 %attr(754,root,root) /etc/rc.d/init.d/nscd
1222 %attr(755,root,root) %{_sbindir}/nscd*
1223 %attr(640,root,root) /etc/logrotate.d/nscd
1224 %attr(640,root,root) %ghost /var/log/nscd
1225 %{_mandir}/man5/nscd.conf*
1226 %{_mandir}/man8/nscd*
1227 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1228 %lang(ja) %{_mandir}/ja/man8/nscd*
1229 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1230 %lang(pt) %{_mandir}/pt/man8/nscd*
1231 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1232 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1234 %files -n localedb-src
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_bindir}/localedef
1237 %attr(755,root,root) %{_bindir}/localedb-gen
1239 %{_mandir}/man1/localedef*
1242 %defattr(644,root,root,755)
1243 %{_libdir}/locale/locale-archive
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_sbindir}/iconvconfig
1248 %dir %{_libdir}/gconv
1249 %{_libdir}/gconv/gconv-modules
1250 %attr(755,root,root) %{_libdir}/gconv/*.so
1253 %defattr(644,root,root,755)
1255 %{_libdir}/libBrokenLocale.a
1257 %{_libdir}/libcrypt.a
1260 %{_libdir}/libmcheck.a
1262 %{_libdir}/libpthread.a
1263 %{_libdir}/libresolv.a
1265 %{_libdir}/libutil.a
1269 %defattr(644,root,root,755)
1274 %defattr(644,root,root,755)
1275 %{_libdir}/lib*_pic.a
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/ld-*
1285 %attr(755,root,root) %{_libdir}/libanl*
1286 %attr(755,root,root) %{_libdir}/libdl*
1287 %attr(755,root,root) %{_libdir}/libnsl*
1288 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1289 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1290 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1292 %files -n glibc64-devel
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1295 %attr(755,root,root) %{_libdir}/libm.so
1296 %attr(755,root,root) %{_libdir}/*crt*.o
1297 %{_libdir}/libbsd-compat.a
1299 %{_libdir}/libc_nonshared.a
1301 %{_libdir}/libieee.a
1302 %{_libdir}/libpthread_nonshared.a
1303 %{_libdir}/librpcsvc.a
1305 %files -n glibc64-static
1306 %defattr(644,root,root,755)
1308 %{_libdir}/libBrokenLocale.a
1310 %{_libdir}/libcrypt.a
1313 %{_libdir}/libmcheck.a
1315 %{_libdir}/libpthread.a
1316 %{_libdir}/libresolv.a
1318 %{_libdir}/libutil.a