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
12 %bcond_without tests # do not perform "make test"
15 # - localedb-gen man pages(?)
16 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
19 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
20 # in order to use this version!
22 %{!?min_kernel:%global min_kernel 2.4.6}
23 %define gkh_version 7:2.6.0.3
28 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
30 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
32 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
40 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
41 Source0: %{name}-%{version}.tar.bz2
42 # Source0-md5: b4e3f037a0b36afc705af344033a91c7
43 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
44 Source1: %{name}-linuxthreads-%{version}.tar.bz2
45 # Source1-md5: 97c30992592f854a67107579dcef61dd
47 Source3: nscd.sysconfig
48 Source4: nscd.logrotate
49 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
50 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
51 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
52 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
53 # borrowed from util-linux
55 Source8: %{name}-localedb-gen
56 Patch0: %{name}-info.patch
57 Patch1: %{name}-initgroups-overflow.patch
58 Patch2: %{name}-pld.patch
59 Patch3: %{name}-crypt-blowfish.patch
60 Patch4: %{name}-string2-pointer-arith.patch
61 Patch5: %{name}-linuxthreads-lock.patch
62 Patch6: %{name}-pthread_create-manpage.patch
63 Patch9: %{name}-paths.patch
64 Patch10: %{name}-vaargs.patch
65 Patch11: %{name}-getaddrinfo-workaround.patch
66 Patch12: %{name}-postshell.patch
67 Patch14: %{name}-missing-nls.patch
68 Patch16: %{name}-java-libc-wait.patch
69 Patch18: %{name}-lthrds_noomit.patch
70 Patch19: %{name}-no_opt_override.patch
71 Patch23: %{name}-kernel_includes.patch
72 Patch24: %{name}-includes.patch
73 Patch26: %{name}-alpha-fix-as-syntax.patch
74 Patch27: %{name}-soinit-EH_FRAME.patch
75 Patch30: %{name}-sparc-errno_fix.patch
76 Patch31: %{name}-make.patch
77 URL: http://www.gnu.org/software/libc/
78 BuildRequires: automake
79 BuildRequires: binutils >= 2.13.90.0.2
80 BuildRequires: gcc >= 3.2
81 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
82 BuildRequires: gettext-devel >= 0.10.36
83 %if %{with kernelheaders}
84 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
86 BuildRequires: glibc-kernel-headers >= %{gkh_version}
88 BuildRequires: perl-base
89 BuildRequires: rpm-build >= 4.3-0.20030610.28
90 BuildRequires: rpm-perlprov
91 BuildRequires: sed >= 4.0.5
92 BuildRequires: texinfo
96 Provides: /sbin/ldconfig
97 Obsoletes: %{name}-common
98 Obsoletes: %{name}-debug
101 Requires: glibc-misc = %{epoch}:%{version}-%{release}
102 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
103 Conflicts: kernel < %{min_kernel}
104 Conflicts: ld.so < 1.9.9-10
105 Conflicts: man-pages < 1.43
106 Conflicts: rc-scripts < 0.3.1-13
109 %define debugcflags -O1 -g
111 %undefine with_memusage
112 %define specflags_sparc64 -mvis -fcall-used-g6
113 %define _libdir /usr/lib64
115 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
116 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
117 # patched not to crash on partial hardlinks too)
118 %define _hack_dontneed_PartialHardlinkSets 1
121 Contains the standard libraries that are used by multiple programs on
122 the system. In order to save disk space and memory, as well as to ease
123 upgrades, common system code is kept in one place and shared between
124 programs. This package contains the most important sets of shared
125 libraries, the standard C library and the standard math library.
126 Without these, a Linux system will not function. It also contains
127 national language (locale) support and timezone databases.
129 Can be used on: Linux kernel >= %{min_kernel}.
132 Contiene las bibliotecas estándared que son usadas por varios programas
133 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
134 para facilitar actualizaciones, código común del sistema se guarda en un
135 sitio y es compartido entre los programas. Este paquete contiene las
136 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
137 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
138 podrá funcionar. También está incluido soporte de idiomas nacionales
139 (locale) y bases de datos de zona de tiempo.
141 Puede usarse con: núcleo Linux >= %{min_kernel}.
144 Enthält die Standard-Libraries, die von verschiedenen Programmen im
145 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
146 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
147 einer einzigen Stelle gespeichert und wird von den Programmen
148 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
149 shared Libraries, die Standard-C-Library und die
150 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
151 Ferner enthält es den Support für die verschiedenen Sprachgregionen
152 (locale) und die Zeitzonen-Datenbank.
154 Can be used on: Linux kernel >= %{min_kernel}.
157 Contient les bibliothèques standards utilisées par de nombreux
158 programmes du système. Afin d'économiser l'espace disque et mémoire,
159 et de faciliter les mises à jour, le code commun au système est mis à
160 un endroit et partagé entre les programmes. Ce paquetage contient les
161 bibliothèques partagées les plus importantes, la bibliothèque standard
162 du C et la bibliothèque mathématique standard. Sans celles-ci, un
163 système Linux ne peut fonctionner. Il contient aussi la gestion des
164 langues nationales (locales) et les bases de données des zones
167 Can be used on: Linux kernel >= %{min_kernel}.
171 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
172 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
173 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
174 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
175 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
176 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
177 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
178 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
180 Can be used on: Linux kernel >= %{min_kernel}.
183 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
184 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
185 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
186 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
187 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
188 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
189 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
190 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
191 jêzyków (locale) oraz definicje stref czasowych.
193 Przeznaczony dla j±dra Linux >= %{min_kernel}.
196 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
197 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
198 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
199 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
200 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
201 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
202 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
203 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
204 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
206 Can be used on: Linux kernel >= %{min_kernel}.
209 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
210 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
211 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
212 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
213 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
214 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
215 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
217 Can be used on: Linux kernel >= %{min_kernel}.
220 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
221 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
222 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
223 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
224 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
225 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
226 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
227 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
228 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
230 Can be used on: Linux kernel >= %{min_kernel}.
233 Summary: Utilities and data used by glibc
234 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
235 Group: Development/Libraries
236 Requires: %{name} = %{epoch}:%{version}-%{release}
239 Utilities and data used by glibc.
241 %description misc -l pl
242 Narzêdzia i dane u¿ywane przez glibc.
245 Summary: Additional libraries required to compile
246 Summary(de): Weitere Libraries zum Kompilieren
247 Summary(es): Bibliotecas adicionales necesarias para la compilación
248 Summary(fr): Librairies supplémentaires nécessaires à la compilation
249 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
250 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
251 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
252 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
253 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
254 Group: Development/Libraries
255 Requires: %{name} = %{epoch}:%{version}-%{release}
256 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
259 To develop programs which use the standard C libraries (which nearly
260 all programs do), the system needs to have these standard header files
261 and object files available for creating the executables.
263 %description devel -l de
264 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
265 verwenden (also fast alle), benötigt das System diese Standard-Header-
266 und Objektdateien zum Erstellen der ausführbaren Programme.
268 %description devel -l es
269 Para desarrollar programas que utilizan las bibliotecas C estándar
270 (lo cual hacen prácticamente todos los programas), el sistema necesita
271 disponer de estos ficheros de cabecera y de objetos para crear los
274 %description devel -l fr
275 Pour développer des programmes utilisant les bibliothèques standard du
276 C (ce que presque tous les programmes font), le système doit posséder
277 ces fichiers en-têtes et objets standards pour créer les exécutables.
279 %description devel -l ja
280 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
281 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
282 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
283 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
284 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
287 %description devel -l pl
288 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
289 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
290 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
291 wykonywalnych i innych bibliotek.
293 %description devel -l ru
294 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
295 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
296 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
299 %description devel -l tr
300 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
301 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
304 %description devel -l uk
305 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
306 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
307 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
311 Summary: Name Service Caching Daemon
312 Summary(es): Demonio de caché del servicio de nombres
313 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
314 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
315 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
316 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
317 Group: Networking/Daemons
318 PreReq: rc-scripts >= 0.2.0
319 Requires(post,preun): /sbin/chkconfig
320 Requires(post): fileutils
321 Requires: %{name} = %{epoch}:%{version}-%{release}
324 nscd caches name service lookups; it can dramatically improve
325 performance with NIS+, and may help with DNS as well. You cannot use
326 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
327 nscd happens to hit these bugs particularly hard.
329 %description -n nscd -l es
330 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
331 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
332 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
333 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
336 %description -n nscd -l ja
337 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
338 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
339 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
340 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
341 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
343 %description -n nscd -l pl
344 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
345 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
346 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
349 %description -n nscd -l ru
350 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
351 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
354 %description -n nscd -l uk
355 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
356 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
358 %package -n localedb-src
359 Summary: locale database source code
360 Summary(es): Código fuente de la base de datos de los locales
361 Summary(pl): Kod ¼ród³owy bazy locale
363 Requires: %{name} = %{epoch}:%{version}-%{release}
365 %description -n localedb-src
366 This add-on package contains the data needed to build the locale data
367 files to use the internationalization features of the GNU libc.
369 %description -n localedb-src -l es
370 Este paquete adicional contiene los datos necesarios para construir
371 los ficheros de locale, imprescindibles para usar las cualidades de
372 internacionalización de GNU libc.
374 %description -n localedb-src -l pl
375 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
376 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
379 %package localedb-all
380 Summary: locale database for all locales supported by glibc
381 Summary(es): Base de datos de todos los locales soportados por glibc
382 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
384 Requires: %{name} = %{epoch}:%{version}-%{release}
386 %description localedb-all
387 This package contains locale database for all locales supported by
388 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
389 something smaller with support for chosen locales only, consider
390 installing localedb-src and regenerating database using localedb-gen
391 script (when database is generated, localedb-src can be uninstalled).
393 %description localedb-all -l es
394 Este paquete contiene una base de datos de todos los locales soportados
395 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 19 MB) -- si
396 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
397 considérese instalar localedb-src y regenerar la base de datos usando
398 el escript localedb-gen (una vez que la base de datos esté creada,
399 localedb-src se podrá desinstalar).
401 %description localedb-all -l pl
402 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
403 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
404 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
405 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
406 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
407 pakiet localedb-src mo¿na odinstalowaæ).
410 Summary: Convert encoding of given files from one encoding to another
411 Summary(es): Convierte entre varias codificaciones de los ficheros dados
412 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
413 Group: Applications/Text
414 Requires: %{name} = %{epoch}:%{version}-%{release}
416 %description -n iconv
417 Convert encoding of given files from one encoding to another. You need
418 this package if you want to convert some document from one encoding to
419 another or if you have installed some programs which use Generic
420 Character Set Conversion Interface.
422 %description -n iconv -l es
423 Convierte la codificación de dados ficheros. Necesita este paquete si
424 quiere convertir un documento entre una codificación (juego de
425 caracteres) y otra, o si tiene instalado algún programa que usa el
426 Generic Character Set Conversion Interface (interfaz genérica de
427 conversión de juegos de caracteres).
429 %description -n iconv -l pl
430 Program do konwersji plików tekstowych z jednego kodowania do innego.
431 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
432 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
433 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
434 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
435 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
438 Summary: Static libraries
439 Summary(es): Bibliotecas estáticas
440 Summary(pl): Biblioteki statyczne
441 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
442 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
443 Group: Development/Libraries
444 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
447 GNU libc static libraries.
449 %description static -l es
450 Bibliotecas estáticas de GNU libc.
452 %description static -l pl
453 Biblioteki statyczne GNU libc.
455 %description static -l ru
456 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
457 ×ÈÏÄÑÔ × glibc-devel.
459 %description static -l uk
460 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
464 Summary: glibc with profiling support
465 Summary(de): glibc mit Profil-Unterstützung
466 Summary(es): glibc con soporte de perfilamiento
467 Summary(fr): glibc avec support pour profiling
468 Summary(pl): glibc ze wsparciem dla profilowania
469 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
470 Summary(tr): Ölçüm desteði olan glibc
471 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
472 Group: Development/Libraries/Libc
473 Obsoletes: libc-profile
474 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
477 When programs are being profiled using gprof, they must use these
478 libraries instead of the standard C libraries for gprof to be able to
479 profile them correctly.
481 %description profile -l de
482 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
483 Libraries anstelle der üblichen C-Libraries verwendet werden.
485 %description profile -l es
486 Cuando programas son perfilidas usando gprof, tienen que usar estas
487 biblioteces en vez de las estándares para que gprof pueda perfilarlas
490 %description profile -l pl
491 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
492 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
495 %description profile -l uk
496 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
497 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
498 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
499 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
502 %description profile -l tr
503 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
504 kitaplýðý kullanmak zorundadýrlar.
506 %description profile -l ru
507 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
508 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
509 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
510 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
514 Summary: glibc PIC archive
515 Summary(es): Archivo PIC de glibc
516 Summary(pl): Archiwum PIC glibc
517 Group: Development/Libraries/Libc
518 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
521 GNU C Library PIC archive contains an archive library (ar file)
522 composed of individual shared objects. This is used for creating a
523 library which is a smaller subset of the standard libc shared library.
525 %description pic -l es
526 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
527 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
528 para crear una biblioteca que sea un subconjunto más pequeño de la
529 biblioteca libc compartida estándar.
531 %description pic -l pl
532 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
533 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
534 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
535 biblioteki wspó³dzielonej libc.
537 %package -n nss_compat
538 Summary: Old style NYS NSS glibc module
539 Summary(es): El antiguo módulo NYS NSS de glibc
540 Summary(pl): Stary modu³ NYS NSS glibc
542 Requires: %{name} = %{epoch}:%{version}-%{release}
544 %description -n nss_compat
545 Old style NYS NSS glibc module.
547 %description -n nss_compat -l es
548 El antiguo módulo NYS NSS de glibc
550 %description -n nss_compat -l pl
551 Stary modu³ NYS NSS glibc.
554 Summary: BIND NSS glibc module
555 Summary(es): Módulo BIND NSS de glibc
556 Summary(pl): Modu³ BIND NSS glibc
558 Requires: %{name} = %{epoch}:%{version}-%{release}
560 %description -n nss_dns
561 BIND NSS glibc module.
563 %description -n nss_dns -l es
564 Módulo BIND NSS de glibc.
566 %description -n nss_dns -l pl
567 Modu³ BIND NSS glibc.
569 %package -n nss_files
570 Summary: Traditional files databases NSS glibc module
571 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
572 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
574 Requires: %{name} = %{epoch}:%{version}-%{release}
576 %description -n nss_files
577 Traditional files databases NSS glibc module.
579 %description -n nss_files -l es
580 Módulo de tradicionales bases de datos en ficheros para glibc.
582 %description -n nss_files -l pl
583 Modu³ tradycyjnych plikowych baz danych NSS glibc.
585 %package -n nss_hesiod
586 Summary: hesiod NSS glibc module
587 Summary(es): Módulo hesiod NSS de glibc
588 Summary(pl): Modu³ hesiod NSS glibc
590 Requires: %{name} = %{epoch}:%{version}-%{release}
592 %description -n nss_hesiod
593 glibc NSS (Name Service Switch) module for databases access.
595 %description -n nss_hesiod -l es
596 Módulo hesiod NSS de glibc.
598 %description -n nss_hesiod -l pl
599 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
602 Summary: NIS(YP) NSS glibc module
603 Summary(es): Módulo NIS(YP) NSS de glibc
604 Summary(pl): Modu³ NIS(YP) NSS glibc
606 Requires: %{name} = %{epoch}:%{version}-%{release}
608 %description -n nss_nis
609 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
611 %description -n nss_nis -l es
612 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
614 %description -n nss_nis -l pl
615 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
617 %package -n nss_nisplus
618 Summary: NIS+ NSS module
619 Summary(es): Módulo NIS+ NSS
620 Summary(pl): Modu³ NIS+ NSS
622 Requires: %{name} = %{epoch}:%{version}-%{release}
624 %description -n nss_nisplus
625 glibc NSS (Name Service Switch) module for NIS+ databases access.
627 %description -n nss_nisplus -l es
628 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
630 %description -n nss_nisplus -l pl
631 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
635 Summary(es): Un juguete
638 Requires: %{name} = %{epoch}:%{version}-%{release}
641 %description memusage
644 %description memusage -l es
647 %description memusage -l pl
650 %package zoneinfo_right
651 Summary: Non-POSIX (real) time zones
652 Summary(es): Zonas de tiempo reales (no de POSIX)
653 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
655 Requires: %{name} = %{epoch}:%{version}-%{release}
657 %description zoneinfo_right
658 You don't want this. Details at:
659 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
661 %description zoneinfo_right -l es
662 No lo necesita. Encontrará los detalles en:
663 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
665 %description zoneinfo_right -l pl
666 Nie potrzebujesz tego. Szczegó³y pod:
667 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
669 %package -n %{name}64
670 Summary: GNU libc - 64-bit libraries
671 Summary(es): GNU libc - bibliotecas de 64 bits
672 Summary(pl): GNU libc - biblioteki 64-bitowe
675 Provides: glibc = %{epoch}:%{version}-%{release}
677 Requires: %{name} = %{epoch}:%{version}-%{release}
680 %description -n %{name}64
681 64-bit GNU libc libraries for sparc64 architecture.
683 %description -n %{name}64 -l es
684 Bibliotecas GNU libc de 64 bits para la arquitectura sparc64.
686 %description -n %{name}64 -l pl
687 Biblioteki 64-bitowe GNU libc dla architektury sparc64.
689 %package -n %{name}64-devel
690 Summary: Development files for 64-bit GNU libc libraries
691 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
692 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
693 Group: Development/Libraries
694 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
696 %description -n %{name}64-devel
697 Development files for 64-bit GNU libc libraries for sparc64
700 %description -n %{name}64-devel -l es
701 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
702 arquitectura sparc64.
704 %description -n %{name}64-devel -l pl
705 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
706 architektury sparc64.
708 %package -n %{name}64-static
709 Summary: Static 64-bit GNU libc libraries
710 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
711 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
712 Group: Development/Libraries
713 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
715 %description -n %{name}64-static
716 Static 64-bit GNU libc libraries.
718 %description -n %{name}64-static -l es
719 Bibliotecas estáticas GNU libc de 64 bits.
721 %description -n %{name}64-static -l pl
722 Statyczne 64-bitowe biblioteki GNU libc.
739 # don't know, if it is good idea, for brave ones
741 %{?with_kernelheaders:%patch23}
742 %{?!with_kernelheaders:%patch24 -p1}
752 cp /usr/share/automake/config.sub .
753 cp /usr/share/automake/config.sub scripts
754 [ -d builddir ] || mkdir builddir
756 # avoid stripping ld.so by -s in rpmldflags
757 LDFLAGS=" " ; export LDFLAGS
759 --enable-add-ons=linuxthreads \
760 --enable-kernel="%{min_kernel}" \
762 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
763 %if %{with kernelheaders}
764 CPPFLAGS="-I%{_kernelsrcdir}/include" \
765 --with-headers=%{_kernelsrcdir}/include
767 CPPFLAGS="-I%{_includedir}" \
768 --with-headers=%{_includedir}
771 # problem compiling with --enable-bounded (must be reported to libc-alpha)
773 %{__make} %{?parallelmkflags}
775 %{?with_tests:%{__make} tests}
778 rm -rf $RPM_BUILD_ROOT
779 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
783 env LANGUAGE=C LC_ALL=C \
785 %{?parallelmkflags} \
786 install_root=$RPM_BUILD_ROOT \
787 infodir=%{_infodir} \
790 env LANGUAGE=C LC_ALL=C \
791 %{__make} localedata/install-locales \
792 %{?parallelmkflags} \
793 install_root=$RPM_BUILD_ROOT
795 PICFILES="libc_pic.a libc.map
796 math/libm_pic.a libm.map
797 resolv/libresolv_pic.a"
799 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
800 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
801 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
803 install elf/postshell $RPM_BUILD_ROOT/%{_lib}
804 mv $RPM_BUILD_ROOT/sbin/ldconfig $RPM_BUILD_ROOT/%{_lib}
805 ln -s /%{_lib}/ldconfig $RPM_BUILD_ROOT/sbin
807 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
809 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
812 %{__make} -C ../linuxthreads/man
813 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
815 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
817 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
823 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
824 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
825 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
826 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
828 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
830 # make symlinks across top-level directories absolute
831 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
832 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
833 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
836 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
837 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
838 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
839 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
840 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
842 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
843 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
844 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
845 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
846 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
848 :> $RPM_BUILD_ROOT/var/log/nscd
850 rm -rf ../documentation
851 install -d ../documentation
853 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
854 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
855 cp -f ../linuxthreads/README ../documentation/README.threads
856 cp -f ../crypt/README.ufc-crypt ../documentation/
858 cp -f ../ChangeLog* ../documentation
860 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
862 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
864 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
867 # Collect locale files and mark them with %%lang()
869 echo '%defattr(644,root,root,755)' > ../glibc.lang
870 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
872 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
874 # list of long %%lang values we do support
875 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
876 zh_CN zh_CN.gbk zh_HK zh_TW ; do
877 if [ $j = "$lang" ]; then
881 if [ -n "$twochar" ]; then
882 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
883 lang=`echo $lang | sed "s,\..*,,"`
885 lang=`echo $lang | sed "s,_.*,,"`
888 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
889 echo "%lang($lang) $dir" >> ../glibc.lang
892 # XXX: to be added when become supported by glibc
893 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
894 # ia,kn,li,mn,sr@Latn (used by GNOME)
895 # note: GNOME2 uses sr as cyrillic!
896 # nso,ss,ven,xh,zu (used by KDE)
897 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 \
898 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
899 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
900 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
901 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
902 lang=`echo $i | sed -e 's/_.*//'`
903 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
906 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
908 # localedb-gen infrastructure
909 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
910 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
913 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
914 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
915 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
916 # we don't support kernel without ptys support
917 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
921 rm -rf $RPM_BUILD_ROOT
923 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
924 # when %%postun is run
928 %post -n %{name}64 -p /%{_lib}/postshell
930 %post -p /%{_lib}/postshell
936 %postun -n %{name}64 -p /%{_lib}/postshell
938 %postun -p /%{_lib}/postshell
943 %post memusage -p /sbin/ldconfig
944 %postun memusage -p /sbin/ldconfig
946 %post -n iconv -p %{_sbindir}/iconvconfig
949 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
952 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
955 /sbin/chkconfig --add nscd
957 chmod 000 /var/log/nscd
958 chown root:root /var/log/nscd
959 chmod 640 /var/log/nscd
960 if [ -f /var/lock/subsys/nscd ]; then
961 /etc/rc.d/init.d/nscd restart 1>&2
963 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
967 if [ "$1" = "0" ]; then
968 if [ -f /var/lock/subsys/nscd ]; then
969 /etc/rc.d/init.d/nscd stop 1>&2
971 /sbin/chkconfig --del nscd
981 %defattr(644,root,root,755)
982 %doc README NEWS FAQ BUGS
983 # ld* and libc.so.6 SONAME symlinks must be in package because of
984 # chicken-egg problem (postshell is dynamically linked with libc);
985 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
986 %attr(755,root,root) /%{_lib}/postshell
987 %attr(755,root,root) /%{_lib}/ld*
988 %attr(755,root,root) /%{_lib}/libanl*
989 %attr(755,root,root) /%{_lib}/libdl*
990 %attr(755,root,root) /%{_lib}/libnsl*
991 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
992 %dir %{_libdir}/locale
995 %defattr(644,root,root,755)
996 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
999 %defattr(644,root,root,755)
1000 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1003 %files misc -f %{name}.lang
1004 %defattr(644,root,root,755)
1006 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1007 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1008 %config %{_sysconfdir}/rpc
1009 %ghost %{_sysconfdir}/ld.so.cache
1011 %attr(755,root,root) /sbin/*
1012 %attr(755,root,root) %{_bindir}/catchsegv
1013 %attr(755,root,root) %{_bindir}/getent
1014 %attr(755,root,root) %{_bindir}/glibcbug
1015 %attr(755,root,root) %{_bindir}/iconv
1016 %attr(755,root,root) %{_bindir}/ldd
1017 %ifnarch alpha ppc sparc64 amd64
1018 %attr(755,root,root) %{_bindir}/lddlibc4
1020 %attr(755,root,root) %{_bindir}/locale
1021 %attr(755,root,root) %{_bindir}/rpcgen
1022 %attr(755,root,root) %{_bindir}/tzselect
1024 %attr(755,root,root) %{_sbindir}/rpcinfo
1025 %attr(755,root,root) %{_sbindir}/zdump
1026 %attr(755,root,root) %{_sbindir}/zic
1028 %dir %{_datadir}/locale
1029 %{_datadir}/locale/locale.alias
1030 %{_datadir}/zoneinfo
1031 %exclude %{_datadir}/zoneinfo/right
1034 %{_mandir}/man1/[!lsg]*
1035 %{_mandir}/man1/getent.1*
1036 %{_mandir}/man1/locale.1*
1037 %{_mandir}/man1/ldd.1*
1038 %{_mandir}/man5/???[!d]*
1040 %{_mandir}/man8/[!n]*
1041 %lang(cs) %{_mandir}/cs/man[578]/*
1042 %lang(de) %{_mandir}/de/man[578]/*
1043 %lang(es) %{_mandir}/es/man[578]/*
1044 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1045 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1046 %lang(fr) %{_mandir}/fr/man[578]/*
1047 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1048 %lang(hu) %{_mandir}/hu/man[578]/*
1049 %lang(it) %{_mandir}/it/man[578]/*
1050 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1051 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1052 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1053 %lang(ja) %{_mandir}/ja/man7/*
1054 %lang(ja) %{_mandir}/ja/man8/[!n]*
1055 %lang(ko) %{_mandir}/ko/man[578]/*
1056 # %lang(nl) %{_mandir}/nl/man[578]/*
1057 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1058 %lang(pl) %{_mandir}/pl/man[578]/*
1059 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1060 %lang(pt) %{_mandir}/pt/man7/*
1061 %lang(pt) %{_mandir}/pt/man8/[!n]*
1062 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1063 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1064 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1065 %lang(ru) %{_mandir}/ru/man[578]/*
1067 %files zoneinfo_right
1068 %defattr(644,root,root,755)
1069 %{_datadir}/zoneinfo/right
1071 %files -n nss_compat
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1075 %files -n nss_hesiod
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1080 %defattr(644,root,root,755)
1081 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1082 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1084 %files -n nss_nisplus
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1088 %if %{with memusage}
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_bindir}/memusage*
1092 %attr(755,root,root) %{_libdir}/libmemusage.so
1096 %defattr(644,root,root,755)
1097 %doc documentation/* NOTES PROJECTS
1098 %attr(755,root,root) %{_bindir}/gencat
1099 %attr(755,root,root) %{_bindir}/getconf
1100 %attr(755,root,root) %{_bindir}/*prof*
1101 %attr(755,root,root) %{_bindir}/*trace
1105 %{_includedir}/alpha
1111 %{_includedir}/netash
1112 %{_includedir}/netatalk
1113 %{_includedir}/netax25
1114 %{_includedir}/neteconet
1115 %{_includedir}/netinet
1116 %{_includedir}/netipx
1117 %{_includedir}/netpacket
1118 %{_includedir}/netrom
1119 %{_includedir}/netrose
1121 %{_includedir}/protocols
1123 %{_includedir}/rpcsvc
1127 %{_infodir}/libc.info*
1129 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1130 %attr(755,root,root) %{_libdir}/libm.so
1131 %attr(755,root,root) %{_libdir}/*crt*.o
1132 %{_libdir}/libbsd-compat.a
1134 %{_libdir}/libc_nonshared.a
1136 %{_libdir}/libieee.a
1137 %{_libdir}/libpthread_nonshared.a
1138 %{_libdir}/librpcsvc.a
1140 %{_mandir}/man1/getconf*
1141 %{_mandir}/man1/sprof*
1143 %lang(cs) %{_mandir}/cs/man3/*
1144 %lang(de) %{_mandir}/de/man3/*
1145 %lang(es) %{_mandir}/es/man3/*
1146 %lang(fr) %{_mandir}/fr/man3/*
1147 %lang(hu) %{_mandir}/hu/man3/*
1148 # %lang(it) %{_mandir}/it/man3/*
1149 %lang(ja) %{_mandir}/ja/man3/*
1150 %lang(ko) %{_mandir}/ko/man3/*
1151 %lang(nl) %{_mandir}/nl/man3/*
1152 %lang(pl) %{_mandir}/pl/man3/*
1153 %lang(pt) %{_mandir}/pt/man3/*
1154 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1155 %lang(ru) %{_mandir}/ru/man3/*
1158 %defattr(644,root,root,755)
1159 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1160 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1161 %attr(754,root,root) /etc/rc.d/init.d/nscd
1162 %attr(755,root,root) %{_sbindir}/nscd*
1163 %attr(640,root,root) /etc/logrotate.d/nscd
1164 %attr(640,root,root) %ghost /var/log/nscd
1165 %{_mandir}/man5/nscd.conf*
1166 %{_mandir}/man8/nscd*
1167 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1168 %lang(ja) %{_mandir}/ja/man8/nscd*
1169 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1170 %lang(pt) %{_mandir}/pt/man8/nscd*
1171 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1172 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1174 %files -n localedb-src
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_bindir}/localedef
1177 %attr(755,root,root) %{_bindir}/localedb-gen
1179 %{_mandir}/man1/localedef*
1182 %defattr(644,root,root,755)
1183 %{_libdir}/locale/locale-archive
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_sbindir}/iconvconfig
1188 %dir %{_libdir}/gconv
1189 %{_libdir}/gconv/gconv-modules
1190 %attr(755,root,root) %{_libdir}/gconv/*.so
1193 %defattr(644,root,root,755)
1195 %{_libdir}/libBrokenLocale.a
1197 %{_libdir}/libcrypt.a
1200 %{_libdir}/libmcheck.a
1202 %{_libdir}/libpthread.a
1203 %{_libdir}/libresolv.a
1205 %{_libdir}/libutil.a
1208 %defattr(644,root,root,755)
1212 %defattr(644,root,root,755)
1213 %{_libdir}/lib*_pic.a
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/ld-*
1223 %attr(755,root,root) %{_libdir}/libanl*
1224 %attr(755,root,root) %{_libdir}/libdl*
1225 %attr(755,root,root) %{_libdir}/libnsl*
1226 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1227 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1228 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1230 %files -n glibc64-devel
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1233 %attr(755,root,root) %{_libdir}/libm.so
1234 %attr(755,root,root) %{_libdir}/*crt*.o
1235 %{_libdir}/libbsd-compat.a
1237 %{_libdir}/libc_nonshared.a
1239 %{_libdir}/libieee.a
1240 %{_libdir}/libpthread_nonshared.a
1241 %{_libdir}/librpcsvc.a
1243 %files -n glibc64-static
1244 %defattr(644,root,root,755)
1246 %{_libdir}/libBrokenLocale.a
1248 %{_libdir}/libcrypt.a
1251 %{_libdir}/libmcheck.a
1253 %{_libdir}/libpthread.a
1254 %{_libdir}/libresolv.a
1256 %{_libdir}/libutil.a