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 # _without_dist_kernel build without kernel from the distribution;
7 # headers will be searched in %_kernelsrcdir/include.
8 # _without_fp build without frame pointer (pass --enable-omitfp)
9 # _without_memusage build without memusage
11 # _with_kernheaders use "kernheaders" as user-space kernel headers
12 # (instead of copying from kernel-headers 2.4.x)
13 # [broken at the moment]
15 %bcond_with idn # build with included libidn
18 # - localedb-gen man pages(?)
19 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
23 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
24 # in order to use this version!
26 %{!?min_kernel:%global min_kernel 2.2.0}
31 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
33 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
35 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
43 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
44 # Source0-md5: ede969aad568f48083e413384f20753c
45 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
46 # Source1-md5: 894b8969cfbdf787c73e139782167607
48 Source3: nscd.sysconfig
49 Source4: nscd.logrotate
50 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
51 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
52 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
53 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
54 # borrowed from util-linux
56 Source8: %{name}-localedb-gen
57 # Kernel headers for userspace
58 Source9: %{name}-kernheaders.tar.bz2
59 # Source9-md5: b48fec281f854627d6b8781cd1dd72d2
60 Source10: http://josefsson.org/libidn/releases/libidn-0.3.0rc3.tar.gz
61 # Source10-md5: ded0b439efe16dd29ce5a24d3d3dcebf
62 Patch0: %{name}-info.patch
63 Patch1: %{name}-initgroups-overflow.patch
64 Patch2: %{name}-pld.patch
65 Patch3: %{name}-crypt-blowfish.patch
66 Patch4: %{name}-string2-pointer-arith.patch
67 Patch5: %{name}-linuxthreads-lock.patch
68 Patch6: %{name}-pthread_create-manpage.patch
69 Patch9: %{name}-paths.patch
70 Patch10: %{name}-vaargs.patch
71 Patch11: %{name}-getaddrinfo-workaround.patch
72 Patch12: %{name}-postshell.patch
73 Patch13: %{name}-pl.po-update.patch
74 Patch14: %{name}-missing-nls.patch
75 Patch16: %{name}-java-libc-wait.patch
76 Patch17: %{name}-morelocales.patch
77 Patch18: %{name}-lthrds_noomit.patch
78 Patch19: %{name}-no_opt_override.patch
79 Patch20: %{name}-gcc33.patch
80 #Patch21: %{name}-sanity.patch
81 Patch22: %{name}-secureexec.patch
82 Patch23: %{name}-kernel_includes.patch
83 Patch24: %{name}-sparc64_pause.patch
84 Patch25: %{name}-linuxthreads.patch
85 Patch26: %{name}-alpha-fix-as-syntax.patch
86 URL: http://www.gnu.org/software/libc/
87 BuildRequires: binutils >= 2.13.90.0.2
88 BuildRequires: gcc >= 3.2
89 %{!?_without_memusage:BuildRequires: gd-devel >= 2.0.1}
90 BuildRequires: gettext-devel >= 0.10.36
91 %if 0%{!?_with_kernheaders:1}
92 %{!?_without_dist_kernel:BuildRequires: kernel-headers < 2.5}
94 BuildRequires: perl-base
95 BuildRequires: rpm-build >= 4.0.2-46
96 BuildRequires: rpm-perlprov
97 BuildRequires: sed >= 4.0.5
98 BuildRequires: texinfo
102 Provides: /sbin/ldconfig
103 Obsoletes: %{name}-common
104 Obsoletes: %{name}-debug
107 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 Conflicts: kernel < %{min_kernel}
109 Conflicts: ld.so < 1.9.9-10
110 Conflicts: man-pages < 1.43
111 Conflicts: rc-scripts < 0.3.1-13
114 %define debugcflags -O1 -g
116 %define _without_memusage 1
119 %define new_target_cpu %(echo "%{_target_cpu}" | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/athlon/i386/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/s390x/s390/)
121 # Define to build a biarch package
122 %global with_biarch 0
123 %ifarch x86_64 sparc64
124 %{!?min_kernel:%global min_kernel 2.4.10}
125 %global with_biarch 1
129 Contains the standard libraries that are used by multiple programs on
130 the system. In order to save disk space and memory, as well as to ease
131 upgrades, common system code is kept in one place and shared between
132 programs. This package contains the most important sets of shared
133 libraries, the standard C library and the standard math library.
134 Without these, a Linux system will not function. It also contains
135 national language (locale) support and timezone databases.
137 Can be used on: Linux kernel >= %{min_kernel}.
140 Contiene las bibliotecas estándared que son usadas por varios programas
141 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
142 para facilitar actualizaciones, código común del sistema se guarda en un
143 sitio y es compartido entre los programas. Este paquete contiene las
144 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
145 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
146 podrá funcionar. También está incluido soporte de idiomas nacionales
147 (locale) y bases de datos de zona de tiempo.
149 Puede usarse con: núcleo Linux >= %{min_kernel}.
152 Enthält die Standard-Libraries, die von verschiedenen Programmen im
153 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
154 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
155 einer einzigen Stelle gespeichert und wird von den Programmen
156 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
157 shared Libraries, die Standard-C-Library und die
158 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
159 Ferner enthält es den Support für die verschiedenen Sprachgregionen
160 (locale) und die Zeitzonen-Datenbank.
162 Can be used on: Linux kernel >= %{min_kernel}.
165 Contient les bibliothèques standards utilisées par de nombreux
166 programmes du système. Afin d'économiser l'espace disque et mémoire,
167 et de faciliter les mises à jour, le code commun au système est mis à
168 un endroit et partagé entre les programmes. Ce paquetage contient les
169 bibliothèques partagées les plus importantes, la bibliothèque standard
170 du C et la bibliothèque mathématique standard. Sans celles-ci, un
171 système Linux ne peut fonctionner. Il contient aussi la gestion des
172 langues nationales (locales) et les bases de données des zones
175 Can be used on: Linux kernel >= %{min_kernel}.
179 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
180 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
181 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
182 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
183 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
184 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
185 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
186 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
188 Can be used on: Linux kernel >= %{min_kernel}.
191 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
192 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
193 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
194 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
195 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
196 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
197 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
198 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
199 jêzyków (locale) oraz definicje stref czasowych.
201 Przeznaczony dla j±dra Linux >= %{min_kernel}.
204 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
205 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
206 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
207 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
208 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
209 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
210 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
211 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
212 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
214 Can be used on: Linux kernel >= %{min_kernel}.
217 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
218 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
219 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
220 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
221 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
222 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
223 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
225 Can be used on: Linux kernel >= %{min_kernel}.
228 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
229 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
230 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
231 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
232 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
233 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
234 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
235 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
236 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
238 Can be used on: Linux kernel >= %{min_kernel}.
241 Summary: Additional libraries required to compile
242 Summary(de): Weitere Libraries zum Kompilieren
243 Summary(es): Bibliotecas adicionales necesarias para la compilación
244 Summary(fr): Librairies supplémentaires nécessaires à la compilation
245 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
246 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
247 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
248 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
249 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
250 Group: Development/Libraries
251 Requires: %{name} = %{epoch}:%{version}
254 To develop programs which use the standard C libraries (which nearly
255 all programs do), the system needs to have these standard header files
256 and object files available for creating the executables.
258 %description devel -l de
259 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
260 verwenden (also fast alle), benötigt das System diese Standard-Header-
261 und Objektdateien zum Erstellen der ausführbaren Programme.
263 %description devel -l es
264 Para desarrollar programas que utilizan las bibliotecas C estándar
265 (lo cual hacen prácticamente todos los programas), el sistema necesita
266 disponer de estos ficheros de cabecera y de objetos para crear los
269 %description devel -l fr
270 Pour développer des programmes utilisant les bibliothèques standard du
271 C (ce que presque tous les programmes font), le système doit posséder
272 ces fichiers en-têtes et objets standards pour créer les exécutables.
274 %description devel -l ja
275 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
276 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
277 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
278 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
279 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
282 %description devel -l pl
283 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
284 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
285 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
286 wykonywalnych i innych bibliotek.
288 %description devel -l ru
289 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
290 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
291 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
294 %description devel -l tr
295 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
296 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
299 %description devel -l uk
300 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
301 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
302 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
305 %package kernel-headers
306 Summary: Kernel header files the glibc has been built with
307 Summary(es): Los ficheros de cabecera del núcleo con los que se ha construido glibc
308 Summary(pl): Pliki nag³ówkowe j±dra, z którymi zosta³a zbudowana ta wersja glibc
310 Group: Development/Libraries
312 %description kernel-headers
313 Kernel header files for userspace.
315 %description kernel-headers -l es
316 Los ficheros de cabecera del núcleo para el espacio del usuario.
318 %description kernel-headers -l pl
319 Pliki nag³ówkowe j±dra dla przestrzeni u¿ytkownika
322 Summary: Name Service Caching Daemon
323 Summary(es): Demonio de caché del servicio de nombres
324 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
325 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
326 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
327 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
329 Group: Networking/Daemons
330 PreReq: rc-scripts >= 0.2.0
331 Requires(post,preun): /sbin/chkconfig
332 Requires(post): fileutils
333 Requires: %{name} = %{epoch}:%{version}
336 nscd caches name service lookups; it can dramatically improve
337 performance with NIS+, and may help with DNS as well. You cannot use
338 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
339 nscd happens to hit these bugs particularly hard.
341 %description -n nscd -l es
342 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
343 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
344 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
345 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
348 %description -n nscd -l ja
349 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
350 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
351 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
352 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
353 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
355 %description -n nscd -l pl
356 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
357 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
358 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
361 %description -n nscd -l ru
362 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
363 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
366 %description -n nscd -l uk
367 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
368 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
370 %package -n localedb-src
371 Summary: locale database source code
372 Summary(es): Código fuente de la base de datos de los locales
373 Summary(pl): Kod ¼ród³owy bazy locale
376 Requires: %{name} = %{epoch}:%{version}
378 %description -n localedb-src
379 This add-on package contains the data needed to build the locale data
380 files to use the internationalization features of the GNU libc.
382 %description -n localedb-src -l es
383 Este paquete adicional contiene los datos necesarios para construir
384 los ficheros de locale, imprescindibles para usar las cualidades de
385 internacionalización de GNU libc.
387 %description -n localedb-src -l pl
388 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
389 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
392 %package localedb-all
393 Summary: locale database for all locales supported by glibc
394 Summary(es): Base de datos de todos los locales soportados por glibc
395 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
398 Requires: %{name} = %{epoch}:%{version}
400 %description localedb-all
401 This package contains locale database for all locales supported by
402 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
403 something smaller with support for chosen locales only, consider
404 installing localedb-src and regenerating database using localedb-gen
405 script (when database is generated, localedb-src can be uninstalled).
407 %description localedb-all -l es
408 Este paquete contiene una base de datos de todos los locales soportados
409 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 19 MB) -- si
410 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
411 considérese instalar localedb-src y regenerar la base de datos usando
412 el escript localedb-gen (una vez que la base de datos esté creada,
413 localedb-src se podrá desinstalar).
415 %description localedb-all -l pl
416 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
417 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
418 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
419 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
420 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
421 pakiet localedb-src mo¿na odinstalowaæ).
424 Summary: Convert encoding of given files from one encoding to another
425 Summary(es): Convierte entre varias codificaciones de los ficheros dados
426 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
428 Group: Applications/Text
429 Requires: %{name} = %{epoch}:%{version}
431 %description -n iconv
432 Convert encoding of given files from one encoding to another. You need
433 this package if you want to convert some document from one encoding to
434 another or if you have installed some programs which use Generic
435 Character Set Conversion Interface.
437 %description -n iconv -l es
438 Convierte la codificación de dados ficheros. Necesita este paquete si
439 quiere convertir un documento entre una codificación (juego de
440 caracteres) y otra, o si tiene instalado algún programa que usa el
441 Generic Character Set Conversion Interface (interfaz genérica de
442 conversión de juegos de caracteres).
444 %description -n iconv -l pl
445 Program do konwersji plików tekstowych z jednego kodowania do innego.
446 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
447 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
448 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
449 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
450 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
453 Summary: Static libraries
454 Summary(es): Bibliotecas estáticas
455 Summary(pl): Biblioteki statyczne
456 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
457 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
459 Group: Development/Libraries
460 Requires: %{name}-devel = %{epoch}:%{version}
463 GNU libc static libraries.
465 %description static -l es
466 Bibliotecas estáticas de GNU libc.
468 %description static -l pl
469 Biblioteki statyczne GNU libc.
471 %description static -l ru
472 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
473 ×ÈÏÄÑÔ × glibc-devel.
475 %description static -l uk
476 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
480 Summary: glibc with profiling support
481 Summary(de): glibc mit Profil-Unterstützung
482 Summary(es): glibc con soporte de perfilamiento
483 Summary(fr): glibc avec support pour profiling
484 Summary(pl): glibc ze wsparciem dla profilowania
485 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
486 Summary(tr): Ölçüm desteði olan glibc
487 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
489 Group: Development/Libraries/Libc
490 Obsoletes: libc-profile
491 Requires: %{name}-devel = %{epoch}:%{version}
494 When programs are being profiled using gprof, they must use these
495 libraries instead of the standard C libraries for gprof to be able to
496 profile them correctly.
498 %description profile -l de
499 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
500 Libraries anstelle der üblichen C-Libraries verwendet werden.
502 %description profile -l es
503 Cuando programas son perfilidas usando gprof, tienen que usar estas
504 biblioteces en vez de las estándares para que gprof pueda perfilarlas
507 %description profile -l pl
508 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
509 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
512 %description profile -l uk
513 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
514 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
515 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
516 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
519 %description profile -l tr
520 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
521 kitaplýðý kullanmak zorundadýrlar.
523 %description profile -l ru
524 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
525 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
526 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
527 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
531 Summary: glibc PIC archive
532 Summary(es): Archivo PIC de glibc
533 Summary(pl): Archiwum PIC glibc
535 Group: Development/Libraries/Libc
536 Requires: %{name}-devel = %{epoch}:%{version}
539 GNU C Library PIC archive contains an archive library (ar file)
540 composed of individual shared objects. This is used for creating a
541 library which is a smaller subset of the standard libc shared library.
543 %description pic -l es
544 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
545 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
546 para crear una biblioteca que sea un subconjunto más pequeño de la
547 biblioteca libc compartida estándar.
549 %description pic -l pl
550 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
551 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
552 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
553 biblioteki wspó³dzielonej libc.
555 %package -n nss_compat
556 Summary: Old style NYS NSS glibc module
557 Summary(es): El antiguo módulo NYS NSS de glibc
558 Summary(pl): Stary modu³ NYS NSS glibc
561 Requires: %{name} = %{epoch}:%{version}
563 %description -n nss_compat
564 Old style NYS NSS glibc module.
566 %description -n nss_compat -l es
567 El antiguo módulo NYS NSS de glibc
569 %description -n nss_compat -l pl
570 Stary modu³ NYS NSS glibc.
573 Summary: BIND NSS glibc module
574 Summary(es): Módulo BIND NSS de glibc
575 Summary(pl): Modu³ BIND NSS glibc
578 Requires: %{name} = %{epoch}:%{version}
580 %description -n nss_dns
581 BIND NSS glibc module.
583 %description -n nss_dns -l es
584 Módulo BIND NSS de glibc.
586 %description -n nss_dns -l pl
587 Modu³ BIND NSS glibc.
589 %package -n nss_files
590 Summary: Traditional files databases NSS glibc module
591 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
592 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
595 Requires: %{name} = %{epoch}:%{version}
597 %description -n nss_files
598 Traditional files databases NSS glibc module.
600 %description -n nss_files -l es
601 Módulo de tradicionales bases de datos en ficheros para glibc.
603 %description -n nss_files -l pl
604 Modu³ tradycyjnych plikowych baz danych NSS glibc.
606 %package -n nss_hesiod
607 Summary: hesiod NSS glibc module
608 Summary(es): Módulo hesiod NSS de glibc
609 Summary(pl): Modu³ hesiod NSS glibc
612 Requires: %{name} = %{epoch}:%{version}
614 %description -n nss_hesiod
615 glibc NSS (Name Service Switch) module for databases access.
617 %description -n nss_hesiod -l es
618 Módulo hesiod NSS de glibc.
620 %description -n nss_hesiod -l pl
621 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
624 Summary: NIS(YP) NSS glibc module
625 Summary(es): Módulo NIS(YP) NSS de glibc
626 Summary(pl): Modu³ NIS(YP) NSS glibc
629 Requires: %{name} = %{epoch}:%{version}
631 %description -n nss_nis
632 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
634 %description -n nss_nis -l es
635 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
637 %description -n nss_nis -l pl
638 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
640 %package -n nss_nisplus
641 Summary: NIS+ NSS module
642 Summary(es): Módulo NIS+ NSS
643 Summary(pl): Modu³ NIS+ NSS
646 Requires: %{name} = %{epoch}:%{version}
648 %description -n nss_nisplus
649 glibc NSS (Name Service Switch) module for NIS+ databases access.
651 %description -n nss_nisplus -l es
652 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
654 %description -n nss_nisplus -l pl
655 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
659 Summary(es): Un juguete
663 Requires: %{name} = %{epoch}:%{version}
666 %description memusage
669 %description memusage -l es
672 %description memusage -l pl
675 %package zoneinfo_right
676 Summary: Non-POSIX (real) time zones
677 Summary(es): Zonas de tiempo reales (no de POSIX)
678 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
681 Requires: %{name} = %{epoch}:%{version}
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 Requires: %{name} = %{epoch}:%{version}
703 %description -n %{name}64
704 64-bit GNU libc libraries for sparc64 architecture.
706 %description -n %{name}64 -l es
707 Bibliotecas GNU libc de 64 bits para la arquitectura sparc64.
709 %description -n %{name}64 -l pl
710 Biblioteki 64-bitowe GNU libc dla architektury sparc64.
712 %package -n %{name}64-devel
713 Summary: Development files for 64-bit GNU libc libraries
714 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
715 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
717 Group: Development/Libraries
718 Requires: %{name}-devel = %{epoch}:%{version}
720 %description -n %{name}64-devel
721 Development files for 64-bit GNU libc libraries for sparc64
724 %description -n %{name}64-devel -l es
725 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
726 arquitectura sparc64.
728 %description -n %{name}64-devel -l pl
729 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
730 architektury sparc64.
732 %package -n %{name}64-static
733 Summary: Static 64-bit GNU libc libraries
734 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
735 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
737 Group: Development/Libraries
738 Requires: %{name}64-devel = %{epoch}:%{version}
740 %description -n %{name}64-static
741 Static 64-bit GNU libc libraries.
743 %description -n %{name}64-static -l es
744 Bibliotecas estáticas GNU libc de 64 bits.
746 %description -n %{name}64-static -l pl
747 Statyczne 64-bitowe biblioteki GNU libc.
750 %setup -q -a 1 -a 9 -a 10
767 # don't know, if it is good idea, for brave ones
772 %{!?_with_kernheaders:%patch23}
783 mv -f localedata/locales/{lug_UG,lg_UG}
786 cp -r libidn-*/lib libidn
787 cp libidn-*/libc/{Makefile,configure,Banner,Versions} libidn
788 cp libidn-*/lib/*.{c,h} libidn
789 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/idna.h > libidn/idna.h
790 ln -sf ../libidn/idna.h include/idna.h
791 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/stringprep.h > libidn/stringprep.h
792 sed -e 's/idn-int.h/stdint.h/g' libidn-*/lib/punycode.h > libidn/punycode.h
793 sed -e 's/stringprep_generic/rfc3454/g' libidn-*/libc/Makefile > libidn/Makefile
795 #cp libidn-*/libc/getaddrinfo.c sysdeps/posix/
796 #cp libidn-*/libc/netdb.h resolv/
798 cp libidn-*/libc/*.patch libc-idn.patch
799 patch -p0 < libc-idn.patch
801 touch libidn/libidn.texi
804 #make proper symlink for asm in headers
813 # Prepare kernel headers
814 _headers_dir=`pwd`/usr/include; export _headers_dir;
815 (cd $_headers_dir && ln -s asm-%{new_target_cpu} asm)
824 if [ "`uname -m`" = "x86_64" -o "`uname -m`" = "amd64" ]; then
825 BuildCC="$BuildCC -m32"
829 BuildCC="$BuildCC -m64"
830 BuildCCFlags="$BuildCCFlags -mvis -fcall-used-g6"
833 BuildCC="$BuildCC -m32"
838 glibc_cv_cc_64bit_output=no
839 if echo ".text" | $BuildCC -c -o test.o -xassembler -; then
840 case `/usr/bin/file test.o` in
842 glibc_cv_cc_64bit_output=yes
847 case $arch:$glibc_cv_cc_64bit_output in
848 powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes | amd64:yes)
849 glibc_libname="lib64"
857 rm -rf builddir-${arch}
858 mkdir builddir-${arch}
860 # avoid stripping ld.so by -s in rpmldflags
861 LDFLAGS=" " ; export LDFLAGS
862 #CFLAGS="-I $_headers_dir %{rpmcflags}"; export CFLAGS
865 CFLAGS="${BuildCCFlags}" \
866 --libexecdir="%{_prefix}/$glibc_libname" \
867 --enable-add-ons=linuxthreads%{?with_idn:,libidn} \
868 --enable-kernel="%{min_kernel}" \
870 --%{?_without_fp:en}%{!?_without_fp:dis}able-omitfp \
871 %if 0%{!?_with_kernheaders:1}
872 CPPFLAGS="-I%{_kernelsrcdir}/include" \
873 --with-headers=%{_kernelsrcdir}/include
875 CPPFLAGS="-I$_headers_dir" \
876 --with-headers=$_headers_dir
879 # problem compiling with --enable-bounded (must be reported to libc-alpha)
881 %{__make} %{?parallelmkflags}
887 BuildGlibc "%{new_target_cpu}"
896 rm -rf $RPM_BUILD_ROOT
898 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
900 _headers_dir=`pwd`/usr/include; export _headers_dir;
902 cd builddir-%{new_target_cpu}
904 env LANGUAGE=C LC_ALL=C \
906 %{?parallelmkflags} \
907 install_root=$RPM_BUILD_ROOT \
908 infodir=%{_infodir} \
911 env LANGUAGE=C LC_ALL=C \
912 %{__make} localedata/install-locales \
913 %{?parallelmkflags} \
914 install_root=$RPM_BUILD_ROOT
916 PICFILES="libc_pic.a libc.map
917 math/libm_pic.a libm.map
918 resolv/libresolv_pic.a"
920 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
921 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
922 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
924 install elf/postshell $RPM_BUILD_ROOT/sbin
926 %{!?_without_memusage:mv -f $RPM_BUILD_ROOT/lib/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
928 mv -f $RPM_BUILD_ROOT/lib/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
931 %{__make} -C ../linuxthreads/man
932 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
934 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
936 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
942 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
943 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
944 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
945 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
947 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
949 # make symlinks across top-level directories absolute
950 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
951 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
952 ln -sf /lib/`cd $RPM_BUILD_ROOT/lib ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
955 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
956 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
957 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
958 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
959 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
961 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
962 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
963 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
964 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
965 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
967 :> $RPM_BUILD_ROOT/var/log/nscd
969 rm -rf ../documentation
970 install -d ../documentation
972 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
973 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
974 cp -f ../linuxthreads/README ../documentation/README.threads
975 cp -f ../crypt/README.ufc-crypt ../documentation/
977 cp -f ../ChangeLog* ../documentation
979 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
981 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
983 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/lib/ld-%{version}.so}
986 # Collect locale files and mark them with %%lang()
988 echo '%defattr(644,root,root,755)' > ../glibc.lang
989 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
991 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
993 # list of long %%lang values we do support
994 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
995 zh_CN zh_CN.gbk zh_HK zh_TW ; do
996 if [ $j = "$lang" ]; then
1000 if [ -n "$twochar" ]; then
1001 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1002 lang=`echo $lang | sed "s,\..*,,"`
1004 lang=`echo $lang | sed "s,_.*,,"`
1007 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1008 echo "%lang($lang) $dir" >> ../glibc.lang
1011 # XXX: to be added when become supported by glibc
1012 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
1013 # ia,kn,li,mn,sr@Latn (used by GNOME)
1014 # note: GNOME2 uses sr as cyrillic!
1015 # nso,ss,ven,xh,zu (used by KDE)
1016 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 \
1017 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
1018 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
1019 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1020 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1021 lang=`echo $i | sed -e 's/_.*//'`
1022 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
1025 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
1027 # localedb-gen infrastructure
1028 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1029 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1031 # shutup check-files
1032 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1033 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1034 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1035 # we don't support kernel without ptys support
1036 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1038 # copy actual kernel headers for glibc-kernel-headers
1039 %if 0%{!?_with_kernheaders:1}
1040 %{__mkdir} -p $RPM_BUILD_ROOT%{_includedir}
1041 %{__cp} -Hr %{_kernelsrcdir}/include/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
1042 if [ -d %{_kernelsrcdir}/include/asm-generic ] ; then
1043 %{__cp} -Hr %{_kernelsrcdir}/include/asm-generic $RPM_BUILD_ROOT%{_includedir}
1046 %{__cp} -Hr $_headers_dir/{asm,linux} $RPM_BUILD_ROOT%{_includedir}
1050 rm -rf $RPM_BUILD_ROOT
1052 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1053 # when %%postun is run
1056 %post -p /sbin/postshell
1060 %postun -p /sbin/postshell
1064 %post memusage -p /sbin/ldconfig
1065 %postun memusage -p /sbin/ldconfig
1067 %post -n iconv -p %{_sbindir}/iconvconfig
1070 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1071 echo "Please install glibc-kernel-headers or, if you are a brave man,"
1072 echo "make appropriate links in /usr/include pointing to an already"
1073 echo "installed previously chosen kernel-headers package or other"
1074 echo "kernel headers you have."
1077 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1080 # useful if these are symlinks
1081 if [ -h %{_includedir}/asm ]; then rm -f %{_includedir}/asm; fi
1082 if [ -h %{_includedir}/linux ]; then rm -f %{_includedir}/linux; fi
1085 /sbin/chkconfig --add nscd
1087 chmod 000 /var/log/nscd
1088 chown root:root /var/log/nscd
1089 chmod 640 /var/log/nscd
1090 if [ -f /var/lock/subsys/nscd ]; then
1091 /etc/rc.d/init.d/nscd restart 1>&2
1093 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1097 if [ "$1" = "0" ]; then
1098 if [ -f /var/lock/subsys/nscd ]; then
1099 /etc/rc.d/init.d/nscd stop 1>&2
1101 /sbin/chkconfig --del nscd
1106 %files -f %{name}.lang
1107 %defattr(644,root,root,755)
1108 %doc README NEWS FAQ BUGS
1110 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1111 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1112 %config %{_sysconfdir}/rpc
1113 %ghost %{_sysconfdir}/ld.so.cache
1115 %attr(755,root,root) /sbin/*
1116 %attr(755,root,root) %{_bindir}/catchsegv
1117 %attr(755,root,root) %{_bindir}/getent
1118 %attr(755,root,root) %{_bindir}/glibcbug
1119 %attr(755,root,root) %{_bindir}/iconv
1120 %attr(755,root,root) %{_bindir}/ldd
1121 %ifnarch alpha ppc sparc64
1122 %attr(755,root,root) %{_bindir}/lddlibc4
1124 %attr(755,root,root) %{_bindir}/locale
1125 %attr(755,root,root) %{_bindir}/rpcgen
1126 %attr(755,root,root) %{_bindir}/tzselect
1128 %attr(755,root,root) %{_sbindir}/rpcinfo
1129 %attr(755,root,root) %{_sbindir}/zdump
1130 %attr(755,root,root) %{_sbindir}/zic
1132 # ld* and libc.so.6 SONAME symlinks must be in package because of
1133 # chicken-egg problem (postshell is dynamically linked with libc);
1134 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1135 %attr(755,root,root) /lib/ld*
1136 %attr(755,root,root) /lib/libanl*
1137 %attr(755,root,root) /lib/libdl*
1138 %attr(755,root,root) /lib/libnsl*
1139 %attr(755,root,root) /lib/lib[BScmprtu]*
1141 %dir %{_datadir}/locale
1142 %{_datadir}/locale/locale.alias
1143 %{_datadir}/zoneinfo
1144 %exclude %{_datadir}/zoneinfo/right
1146 %dir %{_libdir}/locale
1148 %{_mandir}/man1/[!lsg]*
1149 %{_mandir}/man1/getent.1*
1150 %{_mandir}/man1/locale.1*
1151 %{_mandir}/man1/ldd.1*
1152 %{_mandir}/man5/???[!d]*
1154 %{_mandir}/man8/[!n]*
1155 %lang(cs) %{_mandir}/cs/man[578]/*
1156 %lang(de) %{_mandir}/de/man[578]/*
1157 %lang(es) %{_mandir}/es/man[578]/*
1158 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1159 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1160 %lang(fr) %{_mandir}/fr/man[578]/*
1161 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1162 %lang(hu) %{_mandir}/hu/man[578]/*
1163 %lang(it) %{_mandir}/it/man[578]/*
1164 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1165 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1166 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1167 %lang(ja) %{_mandir}/ja/man7/*
1168 %lang(ja) %{_mandir}/ja/man8/[!n]*
1169 %lang(ko) %{_mandir}/ko/man[578]/*
1170 # %lang(nl) %{_mandir}/nl/man[578]/*
1171 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1172 %lang(pl) %{_mandir}/pl/man[578]/*
1173 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1174 %lang(pt) %{_mandir}/pt/man7/*
1175 %lang(pt) %{_mandir}/pt/man8/[!n]*
1176 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1177 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1178 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1179 %lang(ru) %{_mandir}/ru/man[578]/*
1182 %defattr(644,root,root,755)
1183 %attr(755,root,root) /lib/libnss_dns*.so*
1185 #%files -n nss_files
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) /lib/libnss_files*.so*
1189 %files zoneinfo_right
1190 %defattr(644,root,root,755)
1191 %{_datadir}/zoneinfo/right
1193 %files -n nss_compat
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) /lib/libnss_compat*.so*
1197 %files -n nss_hesiod
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) /lib/libnss_hesiod*.so*
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) /lib/libnss_nis.so.*
1204 %attr(755,root,root) /lib/libnss_nis-*.so
1206 %files -n nss_nisplus
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) /lib/libnss_nisplus*.so*
1210 %if %{?_without_memusage:0}%{!?_without_memusage:1}
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_bindir}/memusage*
1214 %attr(755,root,root) %{_libdir}/libmemusage*
1218 %defattr(644,root,root,755)
1219 %doc documentation/* NOTES PROJECTS
1220 %attr(755,root,root) %{_bindir}/gencat
1221 %attr(755,root,root) %{_bindir}/getconf
1222 %attr(755,root,root) %{_bindir}/*prof*
1223 %attr(755,root,root) %{_bindir}/*trace
1227 %{_includedir}/alpha
1233 %{_includedir}/netash
1234 %{_includedir}/netatalk
1235 %{_includedir}/netax25
1236 %{_includedir}/neteconet
1237 %{_includedir}/netinet
1238 %{_includedir}/netipx
1239 %{_includedir}/netpacket
1240 %{_includedir}/netrom
1241 %{_includedir}/netrose
1243 %{_includedir}/protocols
1245 %{_includedir}/rpcsvc
1249 %{_infodir}/libc.info*
1251 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1252 %attr(755,root,root) %{_libdir}/libm.so
1253 %attr(755,root,root) %{_libdir}/*crt*.o
1254 %{_libdir}/libbsd-compat.a
1256 %{_libdir}/libc_nonshared.a
1258 %{_libdir}/libieee.a
1259 %{_libdir}/libpthread_nonshared.a
1260 %{_libdir}/librpcsvc.a
1262 %{_mandir}/man1/getconf*
1263 %{_mandir}/man1/sprof*
1265 %lang(cs) %{_mandir}/cs/man3/*
1266 %lang(de) %{_mandir}/de/man3/*
1267 %lang(es) %{_mandir}/es/man3/*
1268 %lang(fr) %{_mandir}/fr/man3/*
1269 %lang(hu) %{_mandir}/hu/man3/*
1270 # %lang(it) %{_mandir}/it/man3/*
1271 %lang(ja) %{_mandir}/ja/man3/*
1272 %lang(ko) %{_mandir}/ko/man3/*
1273 %lang(nl) %{_mandir}/nl/man3/*
1274 %lang(pl) %{_mandir}/pl/man3/*
1275 %lang(pt) %{_mandir}/pt/man3/*
1276 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1277 %lang(ru) %{_mandir}/ru/man3/*
1279 %files kernel-headers
1280 %defattr(644,root,root,755)
1282 %{_includedir}/linux
1285 %defattr(644,root,root,755)
1286 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1287 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1288 %attr(754,root,root) /etc/rc.d/init.d/nscd
1289 %attr(755,root,root) %{_sbindir}/nscd*
1290 %attr(640,root,root) /etc/logrotate.d/nscd
1291 %attr(640,root,root) %ghost /var/log/nscd
1292 %{_mandir}/man5/nscd.conf*
1293 %{_mandir}/man8/nscd*
1294 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1295 %lang(ja) %{_mandir}/ja/man8/nscd*
1296 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1297 %lang(pt) %{_mandir}/pt/man8/nscd*
1298 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1299 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1301 %files -n localedb-src
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_bindir}/localedef
1304 %attr(755,root,root) %{_bindir}/localedb-gen
1306 %{_mandir}/man1/localedef*
1309 %defattr(644,root,root,755)
1310 %{_libdir}/locale/locale-archive
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_sbindir}/iconvconfig
1315 %dir %{_libdir}/gconv
1316 %{_libdir}/gconv/gconv-modules
1317 %attr(755,root,root) %{_libdir}/gconv/*.so
1320 %defattr(644,root,root,755)
1322 %{_libdir}/libBrokenLocale.a
1324 %{_libdir}/libcrypt.a
1327 %{_libdir}/libmcheck.a
1329 %{_libdir}/libpthread.a
1330 %{_libdir}/libresolv.a
1332 %{_libdir}/libutil.a
1335 %defattr(644,root,root,755)
1339 %defattr(644,root,root,755)
1340 %{_libdir}/lib*_pic.a
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/ld-*
1350 %attr(755,root,root) %{_libdir}/libanl*
1351 %attr(755,root,root) %{_libdir}/libdl*
1352 %attr(755,root,root) %{_libdir}/libnsl*
1353 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1354 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1355 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1357 %files -n glibc64-devel
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1360 %attr(755,root,root) %{_libdir}/libm.so
1361 %attr(755,root,root) %{_libdir}/*crt*.o
1362 %{_libdir}/libbsd-compat.a
1364 %{_libdir}/libc_nonshared.a
1366 %{_libdir}/libieee.a
1367 %{_libdir}/libpthread_nonshared.a
1368 %{_libdir}/librpcsvc.a
1370 %files -n glibc64-static
1371 %defattr(644,root,root,755)
1373 %{_libdir}/libBrokenLocale.a
1375 %{_libdir}/libcrypt.a
1378 %{_libdir}/libmcheck.a
1380 %{_libdir}/libpthread.a
1381 %{_libdir}/libresolv.a
1383 %{_libdir}/libutil.a