2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
6 %bcond_without fp # build without frame pointer (pass \--enable-omitfp)
7 %bcond_without memusage # don't build memusage utility
8 %bcond_with kernelheaders # use headers from kernel-headers instead of
9 # glibc-kernel-headers (evil, breakage etc., don't use)
10 %bcond_without dist_kernel # for above, allow non-distribution kernel
11 %bcond_with nptl # use nptl instead of linuxthreads
12 %bcond_with tls # use tls
13 %bcond_with tests # do not perform "make test"
17 # - localedb-gen man pages(?)
18 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
21 # posix zoneinfo dir removed, /etc/rc.d/init.d/timezone must be changed
22 # in order to use this version!
25 %{!?min_kernel:%global min_kernel 2.4.6}
28 # it seems that nptl uses cmpxchgl (available since i486) on x86
29 %ifarch i486 i586 i686 athlon amd64 ia64 s390 s390x sparcv9 ppc ppc64
30 %if "%{min_kernel}" < "2.6.0"
31 %global min_kernel 2.6.0
39 %ifnarch %{ix86} amd64 ia64 s390 s390x sparc sparcv9 ppc ppc64
44 %define gkh_version 7:2.6.0.3
49 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
51 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
53 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
56 Release: 0.20040101.6%{?with_nptl:+nptl}
61 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
62 Source0: %{name}-%{version}.tar.bz2
63 # Source0-md5: b4e3f037a0b36afc705af344033a91c7
64 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
65 Source1: %{name}-linuxthreads-%{version}.tar.bz2
66 # Source1-md5: 97c30992592f854a67107579dcef61dd
68 Source3: nscd.sysconfig
69 Source4: nscd.logrotate
70 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
71 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
72 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
73 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
74 # borrowed from util-linux
76 Source8: %{name}-localedb-gen
77 Patch0: %{name}-info.patch
78 Patch1: %{name}-pl.po-update.patch
79 Patch2: %{name}-pld.patch
80 Patch3: %{name}-crypt-blowfish.patch
81 Patch4: %{name}-linuxthreads-lock.patch
82 Patch5: %{name}-pthread_create-manpage.patch
83 Patch6: %{name}-paths.patch
84 Patch7: %{name}-getaddrinfo-workaround.patch
85 Patch8: %{name}-postshell.patch
86 Patch9: %{name}-missing-nls.patch
87 Patch10: %{name}-java-libc-wait.patch
88 Patch11: %{name}-lthrds_noomit.patch
89 Patch12: %{name}-no_opt_override.patch
90 # this is broken (hardcoded /usr/src/linux)
91 Patch13: %{name}-kernel_includes.patch
92 Patch14: %{name}-includes.patch
93 Patch15: %{name}-soinit-EH_FRAME.patch
94 Patch16: %{name}-fix-asserts.patch
95 Patch17: %{name}-sparc-errno_fix.patch
96 Patch18: %{name}-make.patch
97 Patch19: %{name}-tests-io-tmp.patch
98 Patch20: %{name}-tests-noproc.patch
99 Patch21: %{name}-linuxthreads-ppc-fix.patch
100 URL: http://www.gnu.org/software/libc/
101 BuildRequires: automake
102 BuildRequires: binutils >= 2.13.90.0.2
103 BuildRequires: gcc >= 3.2
104 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
105 BuildRequires: gettext-devel >= 0.10.36
106 %if %{with kernelheaders}
107 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
109 BuildRequires: glibc-kernel-headers >= %{gkh_version}
111 BuildRequires: perl-base
112 BuildRequires: rpm-build >= 4.3-0.20030610.28
113 BuildRequires: rpm-perlprov
114 BuildRequires: sed >= 4.0.5
115 BuildRequires: texinfo
118 Requires: glibc-misc = %{epoch}:%{version}-%{release}
121 Provides: /sbin/ldconfig
122 Obsoletes: %{name}-common
123 Obsoletes: %{name}-debug
125 Conflicts: kernel < %{min_kernel}
126 Conflicts: ld.so < 1.9.9-10
127 Conflicts: man-pages < 1.43
128 Conflicts: rc-scripts < 0.3.1-13
130 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
132 %define debugcflags -O1 -g
134 %undefine with_memusage
135 %define specflags_sparc64 -mvis -fcall-used-g6
136 %define _libdir /usr/lib64
138 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
139 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
140 # patched not to crash on partial hardlinks too)
141 %define _hack_dontneed_PartialHardlinkSets 1
144 Contains the standard libraries that are used by multiple programs on
145 the system. In order to save disk space and memory, as well as to ease
146 upgrades, common system code is kept in one place and shared between
147 programs. This package contains the most important sets of shared
148 libraries, the standard C library and the standard math library.
149 Without these, a Linux system will not function. It also contains
150 national language (locale) support and timezone databases.
152 Can be used on: Linux kernel >= %{min_kernel}.
155 Contiene las bibliotecas estándared que son usadas por varios programas
156 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
157 para facilitar actualizaciones, código común del sistema se guarda en un
158 sitio y es compartido entre los programas. Este paquete contiene las
159 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
160 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
161 podrá funcionar. También está incluido soporte de idiomas nacionales
162 (locale) y bases de datos de zona de tiempo.
164 Puede usarse con: núcleo Linux >= %{min_kernel}.
167 Enthält die Standard-Libraries, die von verschiedenen Programmen im
168 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
169 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
170 einer einzigen Stelle gespeichert und wird von den Programmen
171 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
172 shared Libraries, die Standard-C-Library und die
173 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
174 Ferner enthält es den Support für die verschiedenen Sprachgregionen
175 (locale) und die Zeitzonen-Datenbank.
177 Can be used on: Linux kernel >= %{min_kernel}.
180 Contient les bibliothèques standards utilisées par de nombreux
181 programmes du système. Afin d'économiser l'espace disque et mémoire,
182 et de faciliter les mises à jour, le code commun au système est mis à
183 un endroit et partagé entre les programmes. Ce paquetage contient les
184 bibliothèques partagées les plus importantes, la bibliothèque standard
185 du C et la bibliothèque mathématique standard. Sans celles-ci, un
186 système Linux ne peut fonctionner. Il contient aussi la gestion des
187 langues nationales (locales) et les bases de données des zones
190 Can be used on: Linux kernel >= %{min_kernel}.
194 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
195 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
196 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
197 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
198 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
199 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
200 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
201 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
203 Can be used on: Linux kernel >= %{min_kernel}.
206 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
207 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
208 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
209 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
210 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
211 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
212 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
213 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
214 jêzyków (locale) oraz definicje stref czasowych.
216 Przeznaczony dla j±dra Linux >= %{min_kernel}.
219 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
220 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
221 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
222 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
223 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
224 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
225 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
226 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
227 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
229 Can be used on: Linux kernel >= %{min_kernel}.
232 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
233 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
234 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
235 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
236 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
237 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
238 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
240 Can be used on: Linux kernel >= %{min_kernel}.
243 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
244 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
245 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
246 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
247 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
248 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
249 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
250 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
251 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
253 Can be used on: Linux kernel >= %{min_kernel}.
256 Summary: Utilities and data used by glibc
257 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
258 Group: Development/Libraries
260 Requires: %{name} = %{epoch}:%{version}-%{release}
263 Utilities and data used by glibc.
265 %description misc -l pl
266 Narzêdzia i dane u¿ywane przez glibc.
269 Summary: Additional libraries required to compile
270 Summary(de): Weitere Libraries zum Kompilieren
271 Summary(es): Bibliotecas adicionales necesarias para la compilación
272 Summary(fr): Librairies supplémentaires nécessaires à la compilation
273 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
274 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
275 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
276 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
277 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
278 Group: Development/Libraries
279 Requires: %{name} = %{epoch}:%{version}-%{release}
280 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
283 To develop programs which use the standard C libraries (which nearly
284 all programs do), the system needs to have these standard header files
285 and object files available for creating the executables.
287 %description devel -l de
288 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
289 verwenden (also fast alle), benötigt das System diese Standard-Header-
290 und Objektdateien zum Erstellen der ausführbaren Programme.
292 %description devel -l es
293 Para desarrollar programas que utilizan las bibliotecas C estándar
294 (lo cual hacen prácticamente todos los programas), el sistema necesita
295 disponer de estos ficheros de cabecera y de objetos para crear los
298 %description devel -l fr
299 Pour développer des programmes utilisant les bibliothèques standard du
300 C (ce que presque tous les programmes font), le système doit posséder
301 ces fichiers en-têtes et objets standards pour créer les exécutables.
303 %description devel -l ja
304 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
305 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
306 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
307 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
308 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
311 %description devel -l pl
312 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
313 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
314 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
315 wykonywalnych i innych bibliotek.
317 %description devel -l ru
318 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
319 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
320 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
323 %description devel -l tr
324 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
325 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
328 %description devel -l uk
329 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
330 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
331 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
335 Summary: Name Service Caching Daemon
336 Summary(es): Demonio de caché del servicio de nombres
337 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
338 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
339 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
340 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
341 Group: Networking/Daemons
342 PreReq: rc-scripts >= 0.2.0
343 Requires(post,preun): /sbin/chkconfig
344 Requires(post): fileutils
345 Requires: %{name} = %{epoch}:%{version}-%{release}
348 nscd caches name service lookups; it can dramatically improve
349 performance with NIS+, and may help with DNS as well. You cannot use
350 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
351 nscd happens to hit these bugs particularly hard.
353 %description -n nscd -l es
354 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
355 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
356 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
357 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
360 %description -n nscd -l ja
361 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
362 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
363 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
364 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
365 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
367 %description -n nscd -l pl
368 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
369 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
370 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
373 %description -n nscd -l ru
374 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
375 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
378 %description -n nscd -l uk
379 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
380 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
382 %package -n localedb-src
383 Summary: locale database source code
384 Summary(es): Código fuente de la base de datos de los locales
385 Summary(pl): Kod ¼ród³owy bazy locale
387 Requires: %{name} = %{epoch}:%{version}-%{release}
389 %description -n localedb-src
390 This add-on package contains the data needed to build the locale data
391 files to use the internationalization features of the GNU libc.
393 %description -n localedb-src -l es
394 Este paquete adicional contiene los datos necesarios para construir
395 los ficheros de locale, imprescindibles para usar las cualidades de
396 internacionalización de GNU libc.
398 %description -n localedb-src -l pl
399 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
400 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
403 %package localedb-all
404 Summary: locale database for all locales supported by glibc
405 Summary(es): Base de datos de todos los locales soportados por glibc
406 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
408 Requires: %{name} = %{epoch}:%{version}-%{release}
410 %description localedb-all
411 This package contains locale database for all locales supported by
412 glibc. In glibc 2.3.x it's one large file (about 27MB) - if you want
413 something smaller with support for chosen locales only, consider
414 installing localedb-src and regenerating database using localedb-gen
415 script (when database is generated, localedb-src can be uninstalled).
417 %description localedb-all -l es
418 Este paquete contiene una base de datos de todos los locales soportados
419 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 27 MB) -- si
420 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
421 considérese instalar localedb-src y regenerar la base de datos usando
422 el escript localedb-gen (una vez que la base de datos esté creada,
423 localedb-src se podrá desinstalar).
425 %description localedb-all -l pl
426 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
427 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
428 (oko³o 27MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
429 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
430 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
431 pakiet localedb-src mo¿na odinstalowaæ).
434 Summary: Convert encoding of given files from one encoding to another
435 Summary(es): Convierte entre varias codificaciones de los ficheros dados
436 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
437 Group: Applications/Text
438 Requires: %{name} = %{epoch}:%{version}-%{release}
440 %description -n iconv
441 Convert encoding of given files from one encoding to another. You need
442 this package if you want to convert some document from one encoding to
443 another or if you have installed some programs which use Generic
444 Character Set Conversion Interface.
446 %description -n iconv -l es
447 Convierte la codificación de dados ficheros. Necesita este paquete si
448 quiere convertir un documento entre una codificación (juego de
449 caracteres) y otra, o si tiene instalado algún programa que usa el
450 Generic Character Set Conversion Interface (interfaz genérica de
451 conversión de juegos de caracteres).
453 %description -n iconv -l pl
454 Program do konwersji plików tekstowych z jednego kodowania do innego.
455 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
456 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
457 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
458 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
459 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
462 Summary: Static libraries
463 Summary(es): Bibliotecas estáticas
464 Summary(pl): Biblioteki statyczne
465 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
466 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
467 Group: Development/Libraries
468 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
471 GNU libc static libraries.
473 %description static -l es
474 Bibliotecas estáticas de GNU libc.
476 %description static -l pl
477 Biblioteki statyczne GNU libc.
479 %description static -l ru
480 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
481 ×ÈÏÄÑÔ × glibc-devel.
483 %description static -l uk
484 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
488 Summary: glibc with profiling support
489 Summary(de): glibc mit Profil-Unterstützung
490 Summary(es): glibc con soporte de perfilamiento
491 Summary(fr): glibc avec support pour profiling
492 Summary(pl): glibc ze wsparciem dla profilowania
493 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
494 Summary(tr): Ölçüm desteði olan glibc
495 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
496 Group: Development/Libraries/Libc
497 Obsoletes: libc-profile
498 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
501 When programs are being profiled using gprof, they must use these
502 libraries instead of the standard C libraries for gprof to be able to
503 profile them correctly.
505 %description profile -l de
506 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
507 Libraries anstelle der üblichen C-Libraries verwendet werden.
509 %description profile -l es
510 Cuando programas son perfilidas usando gprof, tienen que usar estas
511 biblioteces en vez de las estándares para que gprof pueda perfilarlas
514 %description profile -l pl
515 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
516 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
519 %description profile -l uk
520 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
521 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
522 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
523 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
526 %description profile -l tr
527 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
528 kitaplýðý kullanmak zorundadýrlar.
530 %description profile -l ru
531 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
532 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
533 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
534 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
538 Summary: glibc PIC archive
539 Summary(es): Archivo PIC de glibc
540 Summary(pl): Archiwum PIC glibc
541 Group: Development/Libraries/Libc
542 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
545 GNU C Library PIC archive contains an archive library (ar file)
546 composed of individual shared objects. This is used for creating a
547 library which is a smaller subset of the standard libc shared library.
549 %description pic -l es
550 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
551 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
552 para crear una biblioteca que sea un subconjunto más pequeño de la
553 biblioteca libc compartida estándar.
555 %description pic -l pl
556 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
557 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
558 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
559 biblioteki wspó³dzielonej libc.
561 %package -n nss_compat
562 Summary: Old style NYS NSS glibc module
563 Summary(es): El antiguo módulo NYS NSS de glibc
564 Summary(pl): Stary modu³ NYS NSS glibc
566 Requires: %{name} = %{epoch}:%{version}-%{release}
568 %description -n nss_compat
569 Old style NYS NSS glibc module.
571 %description -n nss_compat -l es
572 El antiguo módulo NYS NSS de glibc
574 %description -n nss_compat -l pl
575 Stary modu³ NYS NSS glibc.
578 Summary: BIND NSS glibc module
579 Summary(es): Módulo BIND NSS de glibc
580 Summary(pl): Modu³ BIND NSS glibc
582 Requires: %{name} = %{epoch}:%{version}-%{release}
584 %description -n nss_dns
585 BIND NSS glibc module.
587 %description -n nss_dns -l es
588 Módulo BIND NSS de glibc.
590 %description -n nss_dns -l pl
591 Modu³ BIND NSS glibc.
593 %package -n nss_files
594 Summary: Traditional files databases NSS glibc module
595 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
596 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
598 Requires: %{name} = %{epoch}:%{version}-%{release}
600 %description -n nss_files
601 Traditional files databases NSS glibc module.
603 %description -n nss_files -l es
604 Módulo de tradicionales bases de datos en ficheros para glibc.
606 %description -n nss_files -l pl
607 Modu³ tradycyjnych plikowych baz danych NSS glibc.
609 %package -n nss_hesiod
610 Summary: hesiod NSS glibc module
611 Summary(es): Módulo hesiod NSS de glibc
612 Summary(pl): Modu³ hesiod NSS glibc
614 Requires: %{name} = %{epoch}:%{version}-%{release}
616 %description -n nss_hesiod
617 glibc NSS (Name Service Switch) module for databases access.
619 %description -n nss_hesiod -l es
620 Módulo hesiod NSS de glibc.
622 %description -n nss_hesiod -l pl
623 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
626 Summary: NIS(YP) NSS glibc module
627 Summary(es): Módulo NIS(YP) NSS de glibc
628 Summary(pl): Modu³ NIS(YP) NSS glibc
630 Requires: %{name} = %{epoch}:%{version}-%{release}
632 %description -n nss_nis
633 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
635 %description -n nss_nis -l es
636 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
638 %description -n nss_nis -l pl
639 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
641 %package -n nss_nisplus
642 Summary: NIS+ NSS module
643 Summary(es): Módulo NIS+ NSS
644 Summary(pl): Modu³ NIS+ NSS
646 Requires: %{name} = %{epoch}:%{version}-%{release}
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
662 Requires: %{name} = %{epoch}:%{version}-%{release}
665 %description memusage
668 %description memusage -l es
671 %description memusage -l pl
674 %package zoneinfo_right
675 Summary: Non-POSIX (real) time zones
676 Summary(es): Zonas de tiempo reales (no de POSIX)
677 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
679 Requires: %{name} = %{epoch}:%{version}-%{release}
681 %description zoneinfo_right
682 You don't want this. Details at:
683 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
685 %description zoneinfo_right -l es
686 No lo necesita. Encontrará los detalles en:
687 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
689 %description zoneinfo_right -l pl
690 Nie potrzebujesz tego. Szczegó³y pod:
691 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
693 %package -n %{name}64
694 Summary: GNU libc - 64-bit libraries
695 Summary(es): GNU libc - bibliotecas de 64 bits
696 Summary(pl): GNU libc - biblioteki 64-bitowe
699 Provides: glibc = %{epoch}:%{version}-%{release}
700 Requires: glibc-misc = %{epoch}:%{version}-%{release}
702 Requires: %{name} = %{epoch}:%{version}-%{release}
705 %description -n %{name}64
706 64-bit GNU libc libraries for 64bit architecture.
708 %description -n %{name}64 -l es
709 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
711 %description -n %{name}64 -l pl
712 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
714 %package -n %{name}64-devel
715 Summary: Development files for 64-bit GNU libc libraries
716 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
717 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
718 Group: Development/Libraries
719 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
721 %description -n %{name}64-devel
722 Development files for 64-bit GNU libc libraries for 64bit
725 %description -n %{name}64-devel -l es
726 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
729 %description -n %{name}64-devel -l pl
730 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
733 %package -n %{name}64-static
734 Summary: Static 64-bit GNU libc libraries
735 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
736 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
737 Group: Development/Libraries
738 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
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.
763 # don't know, if it is good idea, for brave ones
765 %{?with_kernelheaders:%patch13}
766 %{?!with_kernelheaders:%patch14 -p1}
779 cp /usr/share/automake/config.sub .
780 cp /usr/share/automake/config.sub scripts
781 [ -d builddir ] || mkdir builddir
783 # avoid stripping ld.so by -s in rpmldflags
784 LDFLAGS=" " ; export LDFLAGS
786 --enable-kernel="%{min_kernel}" \
787 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
789 --enable-add-ons=nptl \
793 %{?with_tls:--with-tls} \
794 --enable-add-ons=linuxthreads \
797 %if %{with kernelheaders}
798 CPPFLAGS="-I%{_kernelsrcdir}/include" \
799 --with-headers=%{_kernelsrcdir}/include
801 CPPFLAGS="-I%{_includedir}" \
802 --with-headers=%{_includedir}
805 # problem compiling with --enable-bounded (must be reported to libc-alpha)
807 %{__make} %{?parallelmkflags}
810 env LANGUAGE=C LC_ALL=C \
811 %{__make} tests 2>&1 | awk '
814 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
816 gsub(/.*\[/, NIL, file);
817 gsub(/\].*/, NIL, file);
821 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
825 rm -rf $RPM_BUILD_ROOT
826 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
830 env LANGUAGE=C LC_ALL=C \
832 %{?parallelmkflags} \
833 install_root=$RPM_BUILD_ROOT \
834 infodir=%{_infodir} \
837 env LANGUAGE=C LC_ALL=C \
838 %{__make} localedata/install-locales \
839 %{?parallelmkflags} \
840 install_root=$RPM_BUILD_ROOT
842 PICFILES="libc_pic.a libc.map
843 math/libm_pic.a libm.map
844 resolv/libresolv_pic.a"
846 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
847 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
848 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
850 install elf/postshell $RPM_BUILD_ROOT/%{_lib}
851 mv $RPM_BUILD_ROOT/sbin/ldconfig $RPM_BUILD_ROOT/%{_lib}
852 ln -s /%{_lib}/ldconfig $RPM_BUILD_ROOT/sbin
854 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
856 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
860 %{__make} -C ../linuxthreads/man
861 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
864 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
866 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
872 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
873 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
874 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
875 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
877 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
879 # make symlinks across top-level directories absolute
880 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
881 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
882 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
885 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
886 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
887 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
888 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
889 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
891 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
892 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
893 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
894 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
895 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
897 :> $RPM_BUILD_ROOT/var/log/nscd
899 rm -rf ../documentation
900 install -d ../documentation
903 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
904 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
905 cp -f ../linuxthreads/README ../documentation/README.threads
907 cp -f ../crypt/README.ufc-crypt ../documentation/
909 cp -f ../ChangeLog* ../documentation
911 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
913 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
915 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
918 # Collect locale files and mark them with %%lang()
920 # bokmaal has been renamed (no_NO -> nb_NO) in 2.3.3, but not in po
921 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
922 echo '%defattr(644,root,root,755)' > ../glibc.lang
923 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
925 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
927 # list of long %%lang values we do support
928 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
929 zh_CN zh_CN.gbk zh_HK zh_TW ; do
930 if [ $j = "$lang" ]; then
934 if [ -n "$twochar" ]; then
935 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
936 lang=`echo $lang | sed "s,\..*,,"`
938 lang=`echo $lang | sed "s,_.*,,"`
941 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
942 echo "%lang($lang) $dir" >> ../glibc.lang
945 # XXX: to be added when become supported by glibc
946 # ia,li,sr@Latn (used by GNOME)
947 # note: GNOME2 uses sr (and probably uz) as cyrillic!
948 # nso,ss,ven (used by KDE)
950 # bn is used for bn_BD or bn_IN?
951 # omitted here - already existing (with libc.mo):
952 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,tr,zh_CN,zh_TW
953 for i in af am ar az bg bn br bs cy de_AT en en_AU eo es_AR es_MX et eu fa ga \
954 gr he hi id is ja_JP.SJIS ka kn lg lt lv mk ml mn ms mt nn pt ro ru \
955 se sl sq sr sr@cyrillic ta tg th uk uz vi wa xh yi zu ; do
956 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
957 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
958 lang=`echo $i | sed -e 's/_.*//'`
959 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
962 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
964 # localedb-gen infrastructure
965 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
966 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
969 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
970 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
971 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
972 # we don't support kernel without ptys support
973 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
977 rm -rf $RPM_BUILD_ROOT
979 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
980 # when %%postun is run
984 %post -n %{name}64 -p /%{_lib}/postshell
986 %post -p /%{_lib}/postshell
992 %postun -n %{name}64 -p /%{_lib}/postshell
994 %postun -p /%{_lib}/postshell
999 %post memusage -p /sbin/ldconfig
1000 %postun memusage -p /sbin/ldconfig
1002 %post -n iconv -p %{_sbindir}/iconvconfig
1005 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1008 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1011 /sbin/chkconfig --add nscd
1013 chmod 000 /var/log/nscd
1014 chown root:root /var/log/nscd
1015 chmod 640 /var/log/nscd
1016 if [ -f /var/lock/subsys/nscd ]; then
1017 /etc/rc.d/init.d/nscd restart 1>&2
1019 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1023 if [ "$1" = "0" ]; then
1024 if [ -f /var/lock/subsys/nscd ]; then
1025 /etc/rc.d/init.d/nscd stop 1>&2
1027 /sbin/chkconfig --del nscd
1037 %defattr(644,root,root,755)
1038 %doc README NEWS FAQ BUGS
1039 # ld* and libc.so.6 SONAME symlinks must be in package because of
1040 # chicken-egg problem (postshell is dynamically linked with libc);
1041 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1042 %attr(755,root,root) /%{_lib}/postshell
1043 %attr(755,root,root) /%{_lib}/ld*
1044 %attr(755,root,root) /%{_lib}/libanl*
1045 %attr(755,root,root) /%{_lib}/libdl*
1046 %attr(755,root,root) /%{_lib}/libnsl*
1047 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1048 %dir %{_libdir}/locale
1051 %defattr(644,root,root,755)
1052 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1054 #%files -n nss_files
1055 %defattr(644,root,root,755)
1056 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1059 %files misc -f %{name}.lang
1060 %defattr(644,root,root,755)
1062 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1063 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1064 %config %{_sysconfdir}/rpc
1065 %ghost %{_sysconfdir}/ld.so.cache
1067 %attr(755,root,root) /sbin/*
1068 %attr(755,root,root) %{_bindir}/catchsegv
1069 %attr(755,root,root) %{_bindir}/getent
1070 %attr(755,root,root) %{_bindir}/glibcbug
1071 %attr(755,root,root) %{_bindir}/iconv
1072 %attr(755,root,root) %{_bindir}/ldd
1073 %ifnarch alpha ppc sparc64 amd64
1074 %attr(755,root,root) %{_bindir}/lddlibc4
1076 %attr(755,root,root) %{_bindir}/locale
1077 %attr(755,root,root) %{_bindir}/rpcgen
1078 %attr(755,root,root) %{_bindir}/tzselect
1080 %attr(755,root,root) %{_sbindir}/rpcinfo
1081 %attr(755,root,root) %{_sbindir}/zdump
1082 %attr(755,root,root) %{_sbindir}/zic
1084 %dir %{_datadir}/locale
1085 %{_datadir}/locale/locale.alias
1086 %{_datadir}/zoneinfo
1087 %exclude %{_datadir}/zoneinfo/right
1090 %{_mandir}/man1/[!lsg]*
1091 %{_mandir}/man1/getent.1*
1092 %{_mandir}/man1/locale.1*
1093 %{_mandir}/man1/ldd.1*
1094 %{_mandir}/man5/???[!d]*
1096 %{_mandir}/man8/[!n]*
1097 %lang(cs) %{_mandir}/cs/man[578]/*
1098 %lang(de) %{_mandir}/de/man[578]/*
1099 %lang(es) %{_mandir}/es/man[578]/*
1100 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1101 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1102 %lang(fr) %{_mandir}/fr/man[578]/*
1103 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1104 %lang(hu) %{_mandir}/hu/man[578]/*
1105 %lang(it) %{_mandir}/it/man[578]/*
1106 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1107 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1108 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1109 %lang(ja) %{_mandir}/ja/man7/*
1110 %lang(ja) %{_mandir}/ja/man8/[!n]*
1111 %lang(ko) %{_mandir}/ko/man[578]/*
1112 # %lang(nl) %{_mandir}/nl/man[578]/*
1113 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1114 %lang(pl) %{_mandir}/pl/man[578]/*
1115 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1116 %lang(pt) %{_mandir}/pt/man7/*
1117 %lang(pt) %{_mandir}/pt/man8/[!n]*
1118 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1119 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1120 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1121 %lang(ru) %{_mandir}/ru/man[578]/*
1123 %files zoneinfo_right
1124 %defattr(644,root,root,755)
1125 %{_datadir}/zoneinfo/right
1127 %files -n nss_compat
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1131 %files -n nss_hesiod
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1138 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1140 %files -n nss_nisplus
1141 %defattr(644,root,root,755)
1142 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1144 %if %{with memusage}
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_bindir}/memusage*
1148 %attr(755,root,root) %{_libdir}/libmemusage.so
1152 %defattr(644,root,root,755)
1153 %doc documentation/* NOTES PROJECTS
1154 %attr(755,root,root) %{_bindir}/gencat
1155 %attr(755,root,root) %{_bindir}/getconf
1156 %attr(755,root,root) %{_bindir}/*prof*
1157 %attr(755,root,root) %{_bindir}/*trace
1161 %{_includedir}/alpha
1167 %{_includedir}/netash
1168 %{_includedir}/netatalk
1169 %{_includedir}/netax25
1170 %{_includedir}/neteconet
1171 %{_includedir}/netinet
1172 %{_includedir}/netipx
1173 %{_includedir}/netpacket
1174 %{_includedir}/netrom
1175 %{_includedir}/netrose
1177 %{_includedir}/protocols
1179 %{_includedir}/rpcsvc
1183 %{_infodir}/libc.info*
1185 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1186 %attr(755,root,root) %{_libdir}/libm.so
1187 %attr(755,root,root) %{_libdir}/*crt*.o
1188 %{_libdir}/libbsd-compat.a
1190 %{_libdir}/libc_nonshared.a
1192 %{_libdir}/libieee.a
1193 %{_libdir}/libpthread_nonshared.a
1194 %{_libdir}/librpcsvc.a
1196 %{_mandir}/man1/getconf*
1197 %{_mandir}/man1/sprof*
1199 %lang(cs) %{_mandir}/cs/man3/*
1200 %lang(de) %{_mandir}/de/man3/*
1201 %lang(es) %{_mandir}/es/man3/*
1202 %lang(fr) %{_mandir}/fr/man3/*
1203 %lang(hu) %{_mandir}/hu/man3/*
1204 # %lang(it) %{_mandir}/it/man3/*
1205 %lang(ja) %{_mandir}/ja/man3/*
1206 %lang(ko) %{_mandir}/ko/man3/*
1207 %lang(nl) %{_mandir}/nl/man3/*
1208 %lang(pl) %{_mandir}/pl/man3/*
1209 %lang(pt) %{_mandir}/pt/man3/*
1210 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1211 %lang(ru) %{_mandir}/ru/man3/*
1214 %defattr(644,root,root,755)
1215 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1216 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1217 %attr(754,root,root) /etc/rc.d/init.d/nscd
1218 %attr(755,root,root) %{_sbindir}/nscd*
1219 %attr(640,root,root) /etc/logrotate.d/nscd
1220 %attr(640,root,root) %ghost /var/log/nscd
1221 %{_mandir}/man5/nscd.conf*
1222 %{_mandir}/man8/nscd*
1223 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1224 %lang(ja) %{_mandir}/ja/man8/nscd*
1225 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1226 %lang(pt) %{_mandir}/pt/man8/nscd*
1227 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1228 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1230 %files -n localedb-src
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_bindir}/localedef
1233 %attr(755,root,root) %{_bindir}/localedb-gen
1235 %{_mandir}/man1/localedef*
1238 %defattr(644,root,root,755)
1239 %{_libdir}/locale/locale-archive
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_sbindir}/iconvconfig
1244 %dir %{_libdir}/gconv
1245 %{_libdir}/gconv/gconv-modules
1246 %attr(755,root,root) %{_libdir}/gconv/*.so
1249 %defattr(644,root,root,755)
1251 %{_libdir}/libBrokenLocale.a
1253 %{_libdir}/libcrypt.a
1256 %{_libdir}/libmcheck.a
1258 %{_libdir}/libpthread.a
1259 %{_libdir}/libresolv.a
1261 %{_libdir}/libutil.a
1265 %defattr(644,root,root,755)
1270 %defattr(644,root,root,755)
1271 %{_libdir}/lib*_pic.a
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/ld-*
1281 %attr(755,root,root) %{_libdir}/libanl*
1282 %attr(755,root,root) %{_libdir}/libdl*
1283 %attr(755,root,root) %{_libdir}/libnsl*
1284 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1285 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1286 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1288 %files -n glibc64-devel
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1291 %attr(755,root,root) %{_libdir}/libm.so
1292 %attr(755,root,root) %{_libdir}/*crt*.o
1293 %{_libdir}/libbsd-compat.a
1295 %{_libdir}/libc_nonshared.a
1297 %{_libdir}/libieee.a
1298 %{_libdir}/libpthread_nonshared.a
1299 %{_libdir}/librpcsvc.a
1301 %files -n glibc64-static
1302 %defattr(644,root,root,755)
1304 %{_libdir}/libBrokenLocale.a
1306 %{_libdir}/libcrypt.a
1309 %{_libdir}/libmcheck.a
1311 %{_libdir}/libpthread.a
1312 %{_libdir}/libresolv.a
1314 %{_libdir}/libutil.a