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