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 idn # build with included libidn
12 %bcond_with nptl # use nptl instead of linuxthreads
13 %bcond_without 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 %ifarch i686 athlon amd64 ia64 s390 s390x sparcv9 ppc ppc64
29 %if "%{min_kernel}" < "2.6.0"
30 %global min_kernel 2.6.0
37 %define gkh_version 7:2.6.0.3
42 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
44 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
46 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
49 Release: 0.20040101.2%{?with_nptl:+nptl}
54 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
55 Source0: %{name}-%{version}.tar.bz2
56 # Source0-md5: b4e3f037a0b36afc705af344033a91c7
57 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
58 Source1: %{name}-linuxthreads-%{version}.tar.bz2
59 # Source1-md5: 97c30992592f854a67107579dcef61dd
61 Source3: nscd.sysconfig
62 Source4: nscd.logrotate
63 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
64 # Source5-md5: ddba280857330dabba4d8c16d24a6dfd
65 Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
66 # Source6-md5: 2e3992c2e1bc94212c2cd33236de6058
67 # borrowed from util-linux
69 Source8: %{name}-localedb-gen
70 Patch0: %{name}-info.patch
71 Patch1: %{name}-initgroups-overflow.patch
72 Patch2: %{name}-pld.patch
73 Patch3: %{name}-crypt-blowfish.patch
74 Patch4: %{name}-string2-pointer-arith.patch
75 Patch5: %{name}-linuxthreads-lock.patch
76 Patch6: %{name}-pthread_create-manpage.patch
77 Patch9: %{name}-paths.patch
78 Patch10: %{name}-vaargs.patch
79 Patch11: %{name}-getaddrinfo-workaround.patch
80 Patch12: %{name}-postshell.patch
81 Patch14: %{name}-missing-nls.patch
82 Patch16: %{name}-java-libc-wait.patch
83 Patch18: %{name}-lthrds_noomit.patch
84 Patch19: %{name}-no_opt_override.patch
85 Patch23: %{name}-kernel_includes.patch
86 Patch24: %{name}-includes.patch
87 Patch26: %{name}-alpha-fix-as-syntax.patch
88 Patch27: %{name}-soinit-EH_FRAME.patch
89 Patch28: %{name}-fix-asserts.patch
90 Patch30: %{name}-sparc-errno_fix.patch
91 Patch31: %{name}-make.patch
92 Patch32: %{name}-tests-io-tmp.patch
93 URL: http://www.gnu.org/software/libc/
94 BuildRequires: automake
95 BuildRequires: binutils >= 2.13.90.0.2
96 BuildRequires: gcc >= 3.2
97 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
98 BuildRequires: gettext-devel >= 0.10.36
99 %if %{with kernelheaders}
100 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
102 BuildRequires: glibc-kernel-headers >= %{gkh_version}
104 BuildRequires: perl-base
105 BuildRequires: rpm-build >= 4.3-0.20030610.28
106 BuildRequires: rpm-perlprov
107 BuildRequires: sed >= 4.0.5
108 BuildRequires: texinfo
112 Provides: /sbin/ldconfig
113 Obsoletes: %{name}-common
114 Obsoletes: %{name}-debug
117 Requires: glibc-misc = %{epoch}:%{version}-%{release}
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
119 Conflicts: kernel < %{min_kernel}
120 Conflicts: ld.so < 1.9.9-10
121 Conflicts: man-pages < 1.43
122 Conflicts: rc-scripts < 0.3.1-13
125 %define debugcflags -O1 -g
127 %undefine with_memusage
128 %define specflags_sparc64 -mvis -fcall-used-g6
129 %define _libdir /usr/lib64
131 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
132 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
133 # patched not to crash on partial hardlinks too)
134 %define _hack_dontneed_PartialHardlinkSets 1
137 Contains the standard libraries that are used by multiple programs on
138 the system. In order to save disk space and memory, as well as to ease
139 upgrades, common system code is kept in one place and shared between
140 programs. This package contains the most important sets of shared
141 libraries, the standard C library and the standard math library.
142 Without these, a Linux system will not function. It also contains
143 national language (locale) support and timezone databases.
145 Can be used on: Linux kernel >= %{min_kernel}.
148 Contiene las bibliotecas estándared que son usadas por varios programas
149 del sistema. Para ahorrar el espacio en el disco y la memoria, igual que
150 para facilitar actualizaciones, código común del sistema se guarda en un
151 sitio y es compartido entre los programas. Este paquete contiene las
152 bibliotecas compartidas más importantes, es decir la biblioteca C estándar
153 y la biblioteca estándar de matemática. Sin éstas, un sistema Linux no
154 podrá funcionar. También está incluido soporte de idiomas nacionales
155 (locale) y bases de datos de zona de tiempo.
157 Puede usarse con: núcleo Linux >= %{min_kernel}.
160 Enthält die Standard-Libraries, die von verschiedenen Programmen im
161 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
162 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
163 einer einzigen Stelle gespeichert und wird von den Programmen
164 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
165 shared Libraries, die Standard-C-Library und die
166 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
167 Ferner enthält es den Support für die verschiedenen Sprachgregionen
168 (locale) und die Zeitzonen-Datenbank.
170 Can be used on: Linux kernel >= %{min_kernel}.
173 Contient les bibliothèques standards utilisées par de nombreux
174 programmes du système. Afin d'économiser l'espace disque et mémoire,
175 et de faciliter les mises à jour, le code commun au système est mis à
176 un endroit et partagé entre les programmes. Ce paquetage contient les
177 bibliothèques partagées les plus importantes, la bibliothèque standard
178 du C et la bibliothèque mathématique standard. Sans celles-ci, un
179 système Linux ne peut fonctionner. Il contient aussi la gestion des
180 langues nationales (locales) et les bases de données des zones
183 Can be used on: Linux kernel >= %{min_kernel}.
187 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
188 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
189 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
190 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
191 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
192 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
193 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
194 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
196 Can be used on: Linux kernel >= %{min_kernel}.
199 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
200 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
201 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiekszo¶æ kodu
202 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
203 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
204 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
205 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
206 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
207 jêzyków (locale) oraz definicje stref czasowych.
209 Przeznaczony dla j±dra Linux >= %{min_kernel}.
212 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
213 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
214 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
215 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
216 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
217 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
218 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
219 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
220 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
222 Can be used on: Linux kernel >= %{min_kernel}.
225 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
226 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
227 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
228 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
229 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
230 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
231 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
233 Can be used on: Linux kernel >= %{min_kernel}.
236 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
237 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
238 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
239 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
240 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
241 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
242 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
243 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
244 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
246 Can be used on: Linux kernel >= %{min_kernel}.
249 Summary: Utilities and data used by glibc
250 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
251 Group: Development/Libraries
252 Requires: %{name} = %{epoch}:%{version}-%{release}
255 Utilities and data used by glibc.
257 %description misc -l pl
258 Narzêdzia i dane u¿ywane przez glibc.
261 Summary: Additional libraries required to compile
262 Summary(de): Weitere Libraries zum Kompilieren
263 Summary(es): Bibliotecas adicionales necesarias para la compilación
264 Summary(fr): Librairies supplémentaires nécessaires à la compilation
265 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
266 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
267 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
268 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
269 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
270 Group: Development/Libraries
271 Requires: %{name} = %{epoch}:%{version}-%{release}
272 %{!?with_kernelheaders:Requires: glibc-kernel-headers >= %{gkh_version}}
275 To develop programs which use the standard C libraries (which nearly
276 all programs do), the system needs to have these standard header files
277 and object files available for creating the executables.
279 %description devel -l de
280 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
281 verwenden (also fast alle), benötigt das System diese Standard-Header-
282 und Objektdateien zum Erstellen der ausführbaren Programme.
284 %description devel -l es
285 Para desarrollar programas que utilizan las bibliotecas C estándar
286 (lo cual hacen prácticamente todos los programas), el sistema necesita
287 disponer de estos ficheros de cabecera y de objetos para crear los
290 %description devel -l fr
291 Pour développer des programmes utilisant les bibliothèques standard du
292 C (ce que presque tous les programmes font), le système doit posséder
293 ces fichiers en-têtes et objets standards pour créer les exécutables.
295 %description devel -l ja
296 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
297 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
298 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
299 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
300 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
303 %description devel -l pl
304 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
305 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
306 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
307 wykonywalnych i innych bibliotek.
309 %description devel -l ru
310 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
311 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
312 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
315 %description devel -l tr
316 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
317 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
320 %description devel -l uk
321 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
322 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
323 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
327 Summary: Name Service Caching Daemon
328 Summary(es): Demonio de caché del servicio de nombres
329 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
330 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
331 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
332 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
333 Group: Networking/Daemons
334 PreReq: rc-scripts >= 0.2.0
335 Requires(post,preun): /sbin/chkconfig
336 Requires(post): fileutils
337 Requires: %{name} = %{epoch}:%{version}-%{release}
340 nscd caches name service lookups; it can dramatically improve
341 performance with NIS+, and may help with DNS as well. You cannot use
342 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
343 nscd happens to hit these bugs particularly hard.
345 %description -n nscd -l es
346 nscd guarda las peticiones del servicio de nombres en una caché; eso puede
347 aumentar drásticamente las prestaciones de NIS+, y también puede ayudar
348 con DNS. No puede usar nscd con núcleos 2.0, por contener éstos errores
349 en el soporte de hilos. Resulta que estos errores impactan el nscd de manera
352 %description -n nscd -l ja
353 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
354 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
355 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
356 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
357 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
359 %description -n nscd -l pl
360 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
361 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
362 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
365 %description -n nscd -l ru
366 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
367 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
370 %description -n nscd -l uk
371 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
372 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
374 %package -n localedb-src
375 Summary: locale database source code
376 Summary(es): Código fuente de la base de datos de los locales
377 Summary(pl): Kod ¼ród³owy bazy locale
379 Requires: %{name} = %{epoch}:%{version}-%{release}
381 %description -n localedb-src
382 This add-on package contains the data needed to build the locale data
383 files to use the internationalization features of the GNU libc.
385 %description -n localedb-src -l es
386 Este paquete adicional contiene los datos necesarios para construir
387 los ficheros de locale, imprescindibles para usar las cualidades de
388 internacionalización de GNU libc.
390 %description -n localedb-src -l pl
391 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
392 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
395 %package localedb-all
396 Summary: locale database for all locales supported by glibc
397 Summary(es): Base de datos de todos los locales soportados por glibc
398 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
400 Requires: %{name} = %{epoch}:%{version}-%{release}
402 %description localedb-all
403 This package contains locale database for all locales supported by
404 glibc. In glibc 2.3.x it's one large file (about 19MB) - if you want
405 something smaller with support for chosen locales only, consider
406 installing localedb-src and regenerating database using localedb-gen
407 script (when database is generated, localedb-src can be uninstalled).
409 %description localedb-all -l es
410 Este paquete contiene una base de datos de todos los locales soportados
411 por glibc. En glibc 2.3.x ése es un fichero grande (aprox. 19 MB) -- si
412 prefiere algo más pequeño, sólo con soporte de unos locales elegidos,
413 considérese instalar localedb-src y regenerar la base de datos usando
414 el escript localedb-gen (una vez que la base de datos esté creada,
415 localedb-src se podrá desinstalar).
417 %description localedb-all -l pl
418 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
419 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
420 (oko³o 19MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
421 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
422 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
423 pakiet localedb-src mo¿na odinstalowaæ).
426 Summary: Convert encoding of given files from one encoding to another
427 Summary(es): Convierte entre varias codificaciones de los ficheros dados
428 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
429 Group: Applications/Text
430 Requires: %{name} = %{epoch}:%{version}-%{release}
432 %description -n iconv
433 Convert encoding of given files from one encoding to another. You need
434 this package if you want to convert some document from one encoding to
435 another or if you have installed some programs which use Generic
436 Character Set Conversion Interface.
438 %description -n iconv -l es
439 Convierte la codificación de dados ficheros. Necesita este paquete si
440 quiere convertir un documento entre una codificación (juego de
441 caracteres) y otra, o si tiene instalado algún programa que usa el
442 Generic Character Set Conversion Interface (interfaz genérica de
443 conversión de juegos de caracteres).
445 %description -n iconv -l pl
446 Program do konwersji plików tekstowych z jednego kodowania do innego.
447 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
448 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
449 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
450 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
451 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
454 Summary: Static libraries
455 Summary(es): Bibliotecas estáticas
456 Summary(pl): Biblioteki statyczne
457 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
458 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
459 Group: Development/Libraries
460 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
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 Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
488 Group: Development/Libraries/Libc
489 Obsoletes: libc-profile
490 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
493 When programs are being profiled using gprof, they must use these
494 libraries instead of the standard C libraries for gprof to be able to
495 profile them correctly.
497 %description profile -l de
498 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
499 Libraries anstelle der üblichen C-Libraries verwendet werden.
501 %description profile -l es
502 Cuando programas son perfilidas usando gprof, tienen que usar estas
503 biblioteces en vez de las estándares para que gprof pueda perfilarlas
506 %description profile -l pl
507 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
508 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
511 %description profile -l uk
512 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
513 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
514 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
515 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
518 %description profile -l tr
519 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
520 kitaplýðý kullanmak zorundadýrlar.
522 %description profile -l ru
523 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
524 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
525 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
526 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
530 Summary: glibc PIC archive
531 Summary(es): Archivo PIC de glibc
532 Summary(pl): Archiwum PIC glibc
533 Group: Development/Libraries/Libc
534 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
537 GNU C Library PIC archive contains an archive library (ar file)
538 composed of individual shared objects. This is used for creating a
539 library which is a smaller subset of the standard libc shared library.
541 %description pic -l es
542 El archivo PIC de la biblioteca glibc contiene una biblioteca archivada
543 (un fichero ar) compuesta de individuales objetos compartidos. Es usado
544 para crear una biblioteca que sea un subconjunto más pequeño de la
545 biblioteca libc compartida estándar.
547 %description pic -l pl
548 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
549 z³o¿on± z pojedyñczych obiektów wspó³dzielonych. U¿ywana jest do
550 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
551 biblioteki wspó³dzielonej libc.
553 %package -n nss_compat
554 Summary: Old style NYS NSS glibc module
555 Summary(es): El antiguo módulo NYS NSS de glibc
556 Summary(pl): Stary modu³ NYS NSS glibc
558 Requires: %{name} = %{epoch}:%{version}-%{release}
560 %description -n nss_compat
561 Old style NYS NSS glibc module.
563 %description -n nss_compat -l es
564 El antiguo módulo NYS NSS de glibc
566 %description -n nss_compat -l pl
567 Stary modu³ NYS NSS glibc.
570 Summary: BIND NSS glibc module
571 Summary(es): Módulo BIND NSS de glibc
572 Summary(pl): Modu³ BIND NSS glibc
574 Requires: %{name} = %{epoch}:%{version}-%{release}
576 %description -n nss_dns
577 BIND NSS glibc module.
579 %description -n nss_dns -l es
580 Módulo BIND NSS de glibc.
582 %description -n nss_dns -l pl
583 Modu³ BIND NSS glibc.
585 %package -n nss_files
586 Summary: Traditional files databases NSS glibc module
587 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
588 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
590 Requires: %{name} = %{epoch}:%{version}-%{release}
592 %description -n nss_files
593 Traditional files databases NSS glibc module.
595 %description -n nss_files -l es
596 Módulo de tradicionales bases de datos en ficheros para glibc.
598 %description -n nss_files -l pl
599 Modu³ tradycyjnych plikowych baz danych NSS glibc.
601 %package -n nss_hesiod
602 Summary: hesiod NSS glibc module
603 Summary(es): Módulo hesiod NSS de glibc
604 Summary(pl): Modu³ hesiod NSS glibc
606 Requires: %{name} = %{epoch}:%{version}-%{release}
608 %description -n nss_hesiod
609 glibc NSS (Name Service Switch) module for databases access.
611 %description -n nss_hesiod -l es
612 Módulo hesiod NSS de glibc.
614 %description -n nss_hesiod -l pl
615 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
618 Summary: NIS(YP) NSS glibc module
619 Summary(es): Módulo NIS(YP) NSS de glibc
620 Summary(pl): Modu³ NIS(YP) NSS glibc
622 Requires: %{name} = %{epoch}:%{version}-%{release}
624 %description -n nss_nis
625 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
627 %description -n nss_nis -l es
628 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
630 %description -n nss_nis -l pl
631 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
633 %package -n nss_nisplus
634 Summary: NIS+ NSS module
635 Summary(es): Módulo NIS+ NSS
636 Summary(pl): Modu³ NIS+ NSS
638 Requires: %{name} = %{epoch}:%{version}-%{release}
640 %description -n nss_nisplus
641 glibc NSS (Name Service Switch) module for NIS+ databases access.
643 %description -n nss_nisplus -l es
644 Módulo NSS (Name Service Switch) de glibc para acceder las bases de datos NIS+.
646 %description -n nss_nisplus -l pl
647 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
651 Summary(es): Un juguete
654 Requires: %{name} = %{epoch}:%{version}-%{release}
657 %description memusage
660 %description memusage -l es
663 %description memusage -l pl
666 %package zoneinfo_right
667 Summary: Non-POSIX (real) time zones
668 Summary(es): Zonas de tiempo reales (no de POSIX)
669 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
671 Requires: %{name} = %{epoch}:%{version}-%{release}
673 %description zoneinfo_right
674 You don't want this. Details at:
675 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
677 %description zoneinfo_right -l es
678 No lo necesita. Encontrará los detalles en:
679 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
681 %description zoneinfo_right -l pl
682 Nie potrzebujesz tego. Szczegó³y pod:
683 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
685 %package -n %{name}64
686 Summary: GNU libc - 64-bit libraries
687 Summary(es): GNU libc - bibliotecas de 64 bits
688 Summary(pl): GNU libc - biblioteki 64-bitowe
691 Provides: glibc = %{epoch}:%{version}-%{release}
693 Requires: %{name} = %{epoch}:%{version}-%{release}
696 %description -n %{name}64
697 64-bit GNU libc libraries for 64bit architecture.
699 %description -n %{name}64 -l es
700 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
702 %description -n %{name}64 -l pl
703 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
705 %package -n %{name}64-devel
706 Summary: Development files for 64-bit GNU libc libraries
707 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
708 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
709 Group: Development/Libraries
710 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
712 %description -n %{name}64-devel
713 Development files for 64-bit GNU libc libraries for 64bit
716 %description -n %{name}64-devel -l es
717 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para la
720 %description -n %{name}64-devel -l pl
721 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
724 %package -n %{name}64-static
725 Summary: Static 64-bit GNU libc libraries
726 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
727 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
728 Group: Development/Libraries
729 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
731 %description -n %{name}64-static
732 Static 64-bit GNU libc libraries.
734 %description -n %{name}64-static -l es
735 Bibliotecas estáticas GNU libc de 64 bits.
737 %description -n %{name}64-static -l pl
738 Statyczne 64-bitowe biblioteki GNU libc.
755 # don't know, if it is good idea, for brave ones
757 %{?with_kernelheaders:%patch23}
758 %{?!with_kernelheaders:%patch24 -p1}
770 cp /usr/share/automake/config.sub .
771 cp /usr/share/automake/config.sub scripts
772 [ -d builddir ] || mkdir builddir
774 # avoid stripping ld.so by -s in rpmldflags
775 LDFLAGS=" " ; export LDFLAGS
777 --enable-kernel="%{min_kernel}" \
778 --%{!?with_fp:en}%{?with_fp:dis}able-omitfp \
780 --enable-add-ons=nptl \
784 --enable-add-ons=linuxthreads \
787 %if %{with kernelheaders}
788 CPPFLAGS="-I%{_kernelsrcdir}/include" \
789 --with-headers=%{_kernelsrcdir}/include
791 CPPFLAGS="-I%{_includedir}" \
792 --with-headers=%{_includedir}
795 # problem compiling with --enable-bounded (must be reported to libc-alpha)
797 %{__make} %{?parallelmkflags}
800 env LANGUAGE=C LC_ALL=C \
801 %{__make} tests 2>&1 | awk '
804 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && (file == "")) {
806 gsub(/.*\[/, NIL, file);
807 gsub(/\].*/, NIL, file);
811 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
815 rm -rf $RPM_BUILD_ROOT
816 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log}
820 env LANGUAGE=C LC_ALL=C \
822 %{?parallelmkflags} \
823 install_root=$RPM_BUILD_ROOT \
824 infodir=%{_infodir} \
827 env LANGUAGE=C LC_ALL=C \
828 %{__make} localedata/install-locales \
829 %{?parallelmkflags} \
830 install_root=$RPM_BUILD_ROOT
832 PICFILES="libc_pic.a libc.map
833 math/libm_pic.a libm.map
834 resolv/libresolv_pic.a"
836 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
837 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
838 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
840 install elf/postshell $RPM_BUILD_ROOT/%{_lib}
841 mv $RPM_BUILD_ROOT/sbin/ldconfig $RPM_BUILD_ROOT/%{_lib}
842 ln -s /%{_lib}/ldconfig $RPM_BUILD_ROOT/sbin
844 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
846 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
850 %{__make} -C ../linuxthreads/man
851 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
854 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
856 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
862 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
863 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
864 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
865 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
867 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
869 # make symlinks across top-level directories absolute
870 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
871 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
872 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
875 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
876 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
877 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
878 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
879 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
881 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
882 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
883 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
884 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
885 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
887 :> $RPM_BUILD_ROOT/var/log/nscd
889 rm -rf ../documentation
890 install -d ../documentation
893 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
894 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
895 cp -f ../linuxthreads/README ../documentation/README.threads
897 cp -f ../crypt/README.ufc-crypt ../documentation/
899 cp -f ../ChangeLog* ../documentation
901 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
903 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
905 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-%{version}.so}
908 # Collect locale files and mark them with %%lang()
910 echo '%defattr(644,root,root,755)' > ../glibc.lang
911 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
913 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
915 # list of long %%lang values we do support
916 for j in de_AT de_BE de_CH de_LU es_AR es_MX ja_JP.SJIS ko_KR.utf8 pt_BR \
917 zh_CN zh_CN.gbk zh_HK zh_TW ; do
918 if [ $j = "$lang" ]; then
922 if [ -n "$twochar" ]; then
923 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
924 lang=`echo $lang | sed "s,\..*,,"`
926 lang=`echo $lang | sed "s,_.*,,"`
929 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
930 echo "%lang($lang) $dir" >> ../glibc.lang
933 # XXX: to be added when become supported by glibc
934 # am,bn,ml (present in sources, but incomplete and disabled) (used by GNOME)
935 # ia,kn,li,mn,sr@Latn (used by GNOME)
936 # note: GNOME2 uses sr as cyrillic!
937 # nso,ss,ven,xh,zu (used by KDE)
938 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 \
939 ga gr he hi hr hu id is ja_JP.SJIS ka lg lt lv mk ms mt nn pt ro ru \
940 se sl sq sr sr@cyrillic ta tg th uk uz vi wa yi zh_CN ; do
941 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
942 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
943 lang=`echo $i | sed -e 's/_.*//'`
944 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
947 install %{SOURCE7} $RPM_BUILD_ROOT%{_mandir}/man8
949 # localedb-gen infrastructure
950 install %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
951 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
954 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
955 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
956 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
957 # we don't support kernel without ptys support
958 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
962 rm -rf $RPM_BUILD_ROOT
964 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
965 # when %%postun is run
969 %post -n %{name}64 -p /%{_lib}/postshell
971 %post -p /%{_lib}/postshell
977 %postun -n %{name}64 -p /%{_lib}/postshell
979 %postun -p /%{_lib}/postshell
984 %post memusage -p /sbin/ldconfig
985 %postun memusage -p /sbin/ldconfig
987 %post -n iconv -p %{_sbindir}/iconvconfig
990 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
993 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
996 /sbin/chkconfig --add nscd
998 chmod 000 /var/log/nscd
999 chown root:root /var/log/nscd
1000 chmod 640 /var/log/nscd
1001 if [ -f /var/lock/subsys/nscd ]; then
1002 /etc/rc.d/init.d/nscd restart 1>&2
1004 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1008 if [ "$1" = "0" ]; then
1009 if [ -f /var/lock/subsys/nscd ]; then
1010 /etc/rc.d/init.d/nscd stop 1>&2
1012 /sbin/chkconfig --del nscd
1022 %defattr(644,root,root,755)
1023 %doc README NEWS FAQ BUGS
1024 # ld* and libc.so.6 SONAME symlinks must be in package because of
1025 # chicken-egg problem (postshell is dynamically linked with libc);
1026 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1027 %attr(755,root,root) /%{_lib}/postshell
1028 %attr(755,root,root) /%{_lib}/ld*
1029 %attr(755,root,root) /%{_lib}/libanl*
1030 %attr(755,root,root) /%{_lib}/libdl*
1031 %attr(755,root,root) /%{_lib}/libnsl*
1032 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1033 %dir %{_libdir}/locale
1036 %defattr(644,root,root,755)
1037 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1039 #%files -n nss_files
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1044 %files misc -f %{name}.lang
1045 %defattr(644,root,root,755)
1047 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1048 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1049 %config %{_sysconfdir}/rpc
1050 %ghost %{_sysconfdir}/ld.so.cache
1052 %attr(755,root,root) /sbin/*
1053 %attr(755,root,root) %{_bindir}/catchsegv
1054 %attr(755,root,root) %{_bindir}/getent
1055 %attr(755,root,root) %{_bindir}/glibcbug
1056 %attr(755,root,root) %{_bindir}/iconv
1057 %attr(755,root,root) %{_bindir}/ldd
1058 %ifnarch alpha ppc sparc64 amd64
1059 %attr(755,root,root) %{_bindir}/lddlibc4
1061 %attr(755,root,root) %{_bindir}/locale
1062 %attr(755,root,root) %{_bindir}/rpcgen
1063 %attr(755,root,root) %{_bindir}/tzselect
1065 %attr(755,root,root) %{_sbindir}/rpcinfo
1066 %attr(755,root,root) %{_sbindir}/zdump
1067 %attr(755,root,root) %{_sbindir}/zic
1069 %dir %{_datadir}/locale
1070 %{_datadir}/locale/locale.alias
1071 %{_datadir}/zoneinfo
1072 %exclude %{_datadir}/zoneinfo/right
1075 %{_mandir}/man1/[!lsg]*
1076 %{_mandir}/man1/getent.1*
1077 %{_mandir}/man1/locale.1*
1078 %{_mandir}/man1/ldd.1*
1079 %{_mandir}/man5/???[!d]*
1081 %{_mandir}/man8/[!n]*
1082 %lang(cs) %{_mandir}/cs/man[578]/*
1083 %lang(de) %{_mandir}/de/man[578]/*
1084 %lang(es) %{_mandir}/es/man[578]/*
1085 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1086 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1087 %lang(fr) %{_mandir}/fr/man[578]/*
1088 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1089 %lang(hu) %{_mandir}/hu/man[578]/*
1090 %lang(it) %{_mandir}/it/man[578]/*
1091 %lang(ja) %{_mandir}/ja/man1/[!lsg]*
1092 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1093 %lang(ja) %{_mandir}/ja/man5/???[!d]*
1094 %lang(ja) %{_mandir}/ja/man7/*
1095 %lang(ja) %{_mandir}/ja/man8/[!n]*
1096 %lang(ko) %{_mandir}/ko/man[578]/*
1097 # %lang(nl) %{_mandir}/nl/man[578]/*
1098 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1099 %lang(pl) %{_mandir}/pl/man[578]/*
1100 %lang(pt) %{_mandir}/pt/man5/???[!d]*
1101 %lang(pt) %{_mandir}/pt/man7/*
1102 %lang(pt) %{_mandir}/pt/man8/[!n]*
1103 %lang(pt_BR) %{_mandir}/pt_BR/man5/???[!d]*
1104 %lang(pt_BR) %{_mandir}/pt_BR/man7/*
1105 %lang(pt_BR) %{_mandir}/pt_BR/man8/[!n]*
1106 %lang(ru) %{_mandir}/ru/man[578]/*
1108 %files zoneinfo_right
1109 %defattr(644,root,root,755)
1110 %{_datadir}/zoneinfo/right
1112 %files -n nss_compat
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1116 %files -n nss_hesiod
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1123 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1125 %files -n nss_nisplus
1126 %defattr(644,root,root,755)
1127 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1129 %if %{with memusage}
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_bindir}/memusage*
1133 %attr(755,root,root) %{_libdir}/libmemusage.so
1137 %defattr(644,root,root,755)
1138 %doc documentation/* NOTES PROJECTS
1139 %attr(755,root,root) %{_bindir}/gencat
1140 %attr(755,root,root) %{_bindir}/getconf
1141 %attr(755,root,root) %{_bindir}/*prof*
1142 %attr(755,root,root) %{_bindir}/*trace
1146 %{_includedir}/alpha
1152 %{_includedir}/netash
1153 %{_includedir}/netatalk
1154 %{_includedir}/netax25
1155 %{_includedir}/neteconet
1156 %{_includedir}/netinet
1157 %{_includedir}/netipx
1158 %{_includedir}/netpacket
1159 %{_includedir}/netrom
1160 %{_includedir}/netrose
1162 %{_includedir}/protocols
1164 %{_includedir}/rpcsvc
1168 %{_infodir}/libc.info*
1170 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1171 %attr(755,root,root) %{_libdir}/libm.so
1172 %attr(755,root,root) %{_libdir}/*crt*.o
1173 %{_libdir}/libbsd-compat.a
1175 %{_libdir}/libc_nonshared.a
1177 %{_libdir}/libieee.a
1178 %{_libdir}/libpthread_nonshared.a
1179 %{_libdir}/librpcsvc.a
1181 %{_mandir}/man1/getconf*
1182 %{_mandir}/man1/sprof*
1184 %lang(cs) %{_mandir}/cs/man3/*
1185 %lang(de) %{_mandir}/de/man3/*
1186 %lang(es) %{_mandir}/es/man3/*
1187 %lang(fr) %{_mandir}/fr/man3/*
1188 %lang(hu) %{_mandir}/hu/man3/*
1189 # %lang(it) %{_mandir}/it/man3/*
1190 %lang(ja) %{_mandir}/ja/man3/*
1191 %lang(ko) %{_mandir}/ko/man3/*
1192 %lang(nl) %{_mandir}/nl/man3/*
1193 %lang(pl) %{_mandir}/pl/man3/*
1194 %lang(pt) %{_mandir}/pt/man3/*
1195 %lang(pt_BR) %{_mandir}/pt_BR/man3/*
1196 %lang(ru) %{_mandir}/ru/man3/*
1199 %defattr(644,root,root,755)
1200 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1201 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1202 %attr(754,root,root) /etc/rc.d/init.d/nscd
1203 %attr(755,root,root) %{_sbindir}/nscd*
1204 %attr(640,root,root) /etc/logrotate.d/nscd
1205 %attr(640,root,root) %ghost /var/log/nscd
1206 %{_mandir}/man5/nscd.conf*
1207 %{_mandir}/man8/nscd*
1208 %lang(ja) %{_mandir}/ja/man5/nscd.conf*
1209 %lang(ja) %{_mandir}/ja/man8/nscd*
1210 %lang(pt) %{_mandir}/pt/man5/nscd.conf*
1211 %lang(pt) %{_mandir}/pt/man8/nscd*
1212 %lang(pt_BR) %{_mandir}/pt_BR/man5/nscd.conf*
1213 %lang(pt_BR) %{_mandir}/pt_BR/man8/nscd*
1215 %files -n localedb-src
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_bindir}/localedef
1218 %attr(755,root,root) %{_bindir}/localedb-gen
1220 %{_mandir}/man1/localedef*
1223 %defattr(644,root,root,755)
1224 %{_libdir}/locale/locale-archive
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_sbindir}/iconvconfig
1229 %dir %{_libdir}/gconv
1230 %{_libdir}/gconv/gconv-modules
1231 %attr(755,root,root) %{_libdir}/gconv/*.so
1234 %defattr(644,root,root,755)
1236 %{_libdir}/libBrokenLocale.a
1238 %{_libdir}/libcrypt.a
1241 %{_libdir}/libmcheck.a
1243 %{_libdir}/libpthread.a
1244 %{_libdir}/libresolv.a
1246 %{_libdir}/libutil.a
1249 %defattr(644,root,root,755)
1253 %defattr(644,root,root,755)
1254 %{_libdir}/lib*_pic.a
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/ld-*
1264 %attr(755,root,root) %{_libdir}/libanl*
1265 %attr(755,root,root) %{_libdir}/libdl*
1266 %attr(755,root,root) %{_libdir}/libnsl*
1267 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1268 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1269 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1271 %files -n glibc64-devel
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1274 %attr(755,root,root) %{_libdir}/libm.so
1275 %attr(755,root,root) %{_libdir}/*crt*.o
1276 %{_libdir}/libbsd-compat.a
1278 %{_libdir}/libc_nonshared.a
1280 %{_libdir}/libieee.a
1281 %{_libdir}/libpthread_nonshared.a
1282 %{_libdir}/librpcsvc.a
1284 %files -n glibc64-static
1285 %defattr(644,root,root,755)
1287 %{_libdir}/libBrokenLocale.a
1289 %{_libdir}/libcrypt.a
1292 %{_libdir}/libmcheck.a
1294 %{_libdir}/libpthread.a
1295 %{_libdir}/libresolv.a
1297 %{_libdir}/libutil.a