2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
6 %bcond_with omitfp # 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 # linux-libc-headers (evil, breakage etc., don't use)
10 %bcond_without dist_kernel # for above, allow non-distribution kernel
11 %bcond_without nptl # don't use NPTL (implies using linuxthreads)
12 %bcond_without tls # don't use tls (implies no NPTL)
13 %bcond_with tests # perform "make test"
14 %bcond_without localedb # don't build localedb-all (is time consuming)
18 # - localedb-gen man pages(?)
19 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
20 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
21 # linuxthreads/tst-cancel8, debug/backtrace-tst(SEGV) fail on alpha
24 %{!?min_kernel:%global min_kernel 2.4.6}
27 # it seems that nptl uses cmpxchgl (available since i486) on x86
28 %ifarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 alpha s390 s390x sparcv9 ppc ppc64
29 %if "%{min_kernel}" < "2.6.0"
30 %global min_kernel 2.6.0
36 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc sparcv9 ppc ppc64
47 %undefine with_memusage
55 %define llh_version 7:2.6.6.0
56 %define _snap 20041122
62 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
64 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
66 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
69 Release: 0.%{_snap}.1%{!?with_nptl:+nonptl}%{!?with_nptl:%{!?with_tls:+notls}}
73 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
74 Source0: %{name}-%{_snap}.tar.bz2
75 # Source0-md5: f001b42f639d5030d2c4dd16803b393d
76 # Source0-size: 13680659
77 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
78 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
80 Source3: nscd.sysconfig
81 Source4: nscd.logrotate
82 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
83 Source5: %{name}-man-pages.tar.bz2
84 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
85 # Source5-size: 283971
86 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
87 Source6: %{name}-non-english-man-pages.tar.bz2
88 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
89 # Source6-size: 1322469
90 # borrowed from util-linux
91 Source7: %{name}-localedb-gen
92 Patch0: %{name}-info.patch
93 Patch1: %{name}-pl.po-update.patch
94 Patch2: %{name}-pld.patch
95 Patch3: %{name}-crypt-blowfish.patch
96 Patch4: %{name}-linuxthreads-lock.patch
97 Patch5: %{name}-pthread_create-manpage.patch
98 Patch6: %{name}-paths.patch
99 Patch8: %{name}-postshell.patch
100 Patch9: %{name}-missing-nls.patch
101 Patch10: %{name}-java-libc-wait.patch
102 Patch11: %{name}-lthrds_noomit.patch
103 Patch12: %{name}-no_opt_override.patch
104 # this is broken (hardcoded /usr/src/linux)
105 Patch13: %{name}-kernel_includes.patch
106 Patch14: %{name}-includes.patch
107 Patch15: %{name}-soinit-EH_FRAME.patch
108 Patch16: %{name}-sparc-errno_fix.patch
109 Patch17: %{name}-csu-quotes.patch
110 Patch18: %{name}-tests-noproc.patch
111 Patch19: %{name}-new-charsets.patch
112 Patch20: %{name}-sr_CS.patch
113 Patch21: %{name}-sparc64-dl-machine.patch
114 Patch22: %{name}-tzfile-noassert.patch
115 Patch23: %{name}-ifreq.patch
116 Patch24: %{name}-morelocales.patch
117 Patch25: %{name}-ppc-getcontext.patch
118 Patch26: %{name}-locale_ZA.patch
119 Patch27: %{name}-locale_fixes.patch
120 Patch28: %{name}-LD_DEBUG.patch
122 Patch30: %{name}-pax_iconvconfig.patch
123 Patch31: %{name}-pax_dl-execstack.patch
124 Patch32: %{name}-sparc_comdat.patch
125 Patch34: %{name}-ia64_unwind.patch
126 Patch50: %{name}-ZA_collate.patch
127 URL: http://www.gnu.org/software/libc/
128 BuildRequires: automake
129 BuildRequires: binutils >= 2:2.15.90.0.3
130 BuildRequires: gcc >= 3.2
131 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
132 BuildRequires: gettext-devel >= 0.10.36
133 %if %{with kernelheaders}
134 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
136 BuildRequires: linux-libc-headers >= %{llh_version}
138 BuildRequires: libselinux-devel
139 BuildRequires: perl-base
140 BuildRequires: rpm-build >= 4.3-0.20030610.28
141 BuildRequires: rpm-perlprov
142 BuildRequires: sed >= 4.0.5
143 BuildRequires: texinfo
146 Requires: glibc-misc = %{epoch}:%{version}-%{release}
147 %{?with_tls:Provides: glibc(tls)}
150 Provides: /sbin/ldconfig
151 Obsoletes: %{name}-common
152 Obsoletes: %{name}-debug
154 Conflicts: kernel < %{min_kernel}
155 Conflicts: ld.so < 1.9.9-10
156 Conflicts: man-pages < 1.43
157 Conflicts: rc-scripts < 0.3.1-13
159 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
161 %define debugcflags -O1 -g
163 %define specflags_sparc64 -mvis -fcall-used-g6
164 %define _libdir /usr/lib64
166 # we don't want perl dependency in glibc-devel
167 %define _noautoreqfiles %{_bindir}/mtrace
168 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
169 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
170 # patched not to crash on partial hardlinks too)
171 %define _hack_dontneed_PartialHardlinkSets 1
172 %define _noautochrpath .*\\(ldconfig\\|sln\\)
175 Contains the standard libraries that are used by multiple programs on
176 the system. In order to save disk space and memory, as well as to ease
177 upgrades, common system code is kept in one place and shared between
178 programs. This package contains the most important sets of shared
179 libraries, the standard C library and the standard math library.
180 Without these, a Linux system will not function. It also contains
181 national language (locale) support and timezone databases.
183 Can be used on: Linux kernel >= %{min_kernel}.
186 Contiene las bibliotecas estándared que son usadas por varios
187 programas del sistema. Para ahorrar el espacio en el disco y la
188 memoria, igual que para facilitar actualizaciones, código común del
189 sistema se guarda en un sitio y es compartido entre los programas.
190 Este paquete contiene las bibliotecas compartidas más importantes, es
191 decir la biblioteca C estándar y la biblioteca estándar de matemática.
192 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
193 soporte de idiomas nacionales (locale) y bases de datos de zona de
196 Puede usarse con: núcleo Linux >= %{min_kernel}.
199 Enthält die Standard-Libraries, die von verschiedenen Programmen im
200 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
201 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
202 einer einzigen Stelle gespeichert und wird von den Programmen
203 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
204 shared Libraries, die Standard-C-Library und die
205 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
206 Ferner enthält es den Support für die verschiedenen Sprachgregionen
207 (locale) und die Zeitzonen-Datenbank.
209 Can be used on: Linux kernel >= %{min_kernel}.
212 Contient les bibliothèques standards utilisées par de nombreux
213 programmes du système. Afin d'économiser l'espace disque et mémoire,
214 et de faciliter les mises à jour, le code commun au système est mis à
215 un endroit et partagé entre les programmes. Ce paquetage contient les
216 bibliothèques partagées les plus importantes, la bibliothèque standard
217 du C et la bibliothèque mathématique standard. Sans celles-ci, un
218 système Linux ne peut fonctionner. Il contient aussi la gestion des
219 langues nationales (locales) et les bases de données des zones
222 Can be used on: Linux kernel >= %{min_kernel}.
226 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
227 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
228 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
229 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
230 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
231 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
232 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
233 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
235 Can be used on: Linux kernel >= %{min_kernel}.
238 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
239 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
240 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
241 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
242 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
243 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
244 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
245 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
246 jêzyków (locale) oraz definicje stref czasowych.
248 Przeznaczony dla j±dra Linux >= %{min_kernel}.
251 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
252 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
253 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
254 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
255 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
256 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
257 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
258 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
259 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
261 Can be used on: Linux kernel >= %{min_kernel}.
264 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
265 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
266 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
267 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
268 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
269 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
270 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
272 Can be used on: Linux kernel >= %{min_kernel}.
275 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
276 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
277 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
278 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
279 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
280 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
281 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
282 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
283 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
285 Can be used on: Linux kernel >= %{min_kernel}.
288 Summary: Utilities and data used by glibc
289 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
290 Group: Development/Libraries
292 PreReq: %{name} = %{epoch}:%{version}-%{release}
295 Utilities and data used by glibc.
297 %description misc -l pl
298 Narzêdzia i dane u¿ywane przez glibc.
301 Summary: Additional libraries required to compile
302 Summary(de): Weitere Libraries zum Kompilieren
303 Summary(es): Bibliotecas adicionales necesarias para la compilación
304 Summary(fr): Librairies supplémentaires nécessaires à la compilation
305 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
306 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
307 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
308 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
309 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
310 Group: Development/Libraries
311 Requires: %{name} = %{epoch}:%{version}-%{release}
312 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
313 Obsoletes: libiconv-devel
316 To develop programs which use the standard C libraries (which nearly
317 all programs do), the system needs to have these standard header files
318 and object files available for creating the executables.
320 %description devel -l de
321 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
322 verwenden (also fast alle), benötigt das System diese Standard-Header-
323 und Objektdateien zum Erstellen der ausführbaren Programme.
325 %description devel -l es
326 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
327 cual hacen prácticamente todos los programas), el sistema necesita
328 disponer de estos ficheros de cabecera y de objetos para crear los
331 %description devel -l fr
332 Pour développer des programmes utilisant les bibliothèques standard du
333 C (ce que presque tous les programmes font), le système doit posséder
334 ces fichiers en-têtes et objets standards pour créer les exécutables.
336 %description devel -l ja
337 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
338 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
339 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
340 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
341 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
344 %description devel -l pl
345 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
346 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
347 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
348 wykonywalnych i innych bibliotek.
350 %description devel -l ru
351 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
352 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
353 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
356 %description devel -l tr
357 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
358 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
361 %description devel -l uk
362 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
363 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
364 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
368 Summary: Name Service Caching Daemon
369 Summary(es): Demonio de caché del servicio de nombres
370 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
371 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
372 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
373 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
374 Group: Networking/Daemons
375 PreReq: rc-scripts >= 0.2.0
376 Requires(post,preun): /sbin/chkconfig
377 Requires(post): fileutils
378 Requires: %{name} = %{epoch}:%{version}-%{release}
381 nscd caches name service lookups; it can dramatically improve
382 performance with NIS+, and may help with DNS as well. You cannot use
383 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
384 nscd happens to hit these bugs particularly hard.
386 %description -n nscd -l es
387 nscd guarda las peticiones del servicio de nombres en una caché; eso
388 puede aumentar drásticamente las prestaciones de NIS+, y también puede
389 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
390 errores en el soporte de hilos. Resulta que estos errores impactan el
391 nscd de manera realmente grave.
393 %description -n nscd -l ja
394 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
395 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
396 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
397 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
398 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
400 %description -n nscd -l pl
401 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
402 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
403 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
406 %description -n nscd -l ru
407 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
408 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
411 %description -n nscd -l uk
412 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
413 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
415 %package -n localedb-src
416 Summary: locale database source code
417 Summary(es): Código fuente de la base de datos de los locales
418 Summary(pl): Kod ¼ród³owy bazy locale
420 Requires: %{name} = %{epoch}:%{version}-%{release}
424 %description -n localedb-src
425 This add-on package contains the data needed to build the locale data
426 files to use the internationalization features of the GNU libc.
428 %description -n localedb-src -l es
429 Este paquete adicional contiene los datos necesarios para construir
430 los ficheros de locale, imprescindibles para usar las cualidades de
431 internacionalización de GNU libc.
433 %description -n localedb-src -l pl
434 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
435 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
438 %package localedb-all
439 Summary: locale database for all locales supported by glibc
440 Summary(es): Base de datos de todos los locales soportados por glibc
441 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
443 Requires: iconv = %{epoch}:%{version}-%{release}
444 Requires: %{name} = %{epoch}:%{version}-%{release}
446 %description localedb-all
447 This package contains locale database for all locales supported by
448 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
449 something smaller with support for chosen locales only, consider
450 installing localedb-src and regenerating database using localedb-gen
451 script (when database is generated, localedb-src can be uninstalled).
453 %description localedb-all -l es
454 Este paquete contiene una base de datos de todos los locales
455 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
456 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
457 locales elegidos, considérese instalar localedb-src y regenerar la
458 base de datos usando el escript localedb-gen (una vez que la base de
459 datos esté creada, localedb-src se podrá desinstalar).
461 %description localedb-all -l pl
462 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
463 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
464 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
465 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
466 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
467 pakiet localedb-src mo¿na odinstalowaæ).
470 Summary: Convert encoding of given files from one encoding to another
471 Summary(es): Convierte entre varias codificaciones de los ficheros dados
472 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
473 Group: Applications/Text
474 Requires: %{name} = %{epoch}:%{version}-%{release}
476 %description -n iconv
477 Convert encoding of given files from one encoding to another. You need
478 this package if you want to convert some document from one encoding to
479 another or if you have installed some programs which use Generic
480 Character Set Conversion Interface.
482 %description -n iconv -l es
483 Convierte la codificación de dados ficheros. Necesita este paquete si
484 quiere convertir un documento entre una codificación (juego de
485 caracteres) y otra, o si tiene instalado algún programa que usa el
486 Generic Character Set Conversion Interface (interfaz genérica de
487 conversión de juegos de caracteres).
489 %description -n iconv -l pl
490 Program do konwersji plików tekstowych z jednego kodowania do innego.
491 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
492 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
493 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
494 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
495 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
498 Summary: Static libraries
499 Summary(es): Bibliotecas estáticas
500 Summary(pl): Biblioteki statyczne
501 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
502 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
503 Group: Development/Libraries
504 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
505 Obsoletes: libiconv-static
508 GNU libc static libraries.
510 %description static -l es
511 Bibliotecas estáticas de GNU libc.
513 %description static -l pl
514 Biblioteki statyczne GNU libc.
516 %description static -l ru
517 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
518 ×ÈÏÄÑÔ × glibc-devel.
520 %description static -l uk
521 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
525 Summary: glibc with profiling support
526 Summary(de): glibc mit Profil-Unterstützung
527 Summary(es): glibc con soporte de perfilamiento
528 Summary(fr): glibc avec support pour profiling
529 Summary(pl): glibc ze wsparciem dla profilowania
530 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
531 Summary(tr): Ölçüm desteði olan glibc
532 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
533 Group: Development/Libraries/Libc
534 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
535 Obsoletes: libc-profile
538 When programs are being profiled using gprof, they must use these
539 libraries instead of the standard C libraries for gprof to be able to
540 profile them correctly.
542 %description profile -l de
543 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
544 Libraries anstelle der üblichen C-Libraries verwendet werden.
546 %description profile -l es
547 Cuando programas son perfilidas usando gprof, tienen que usar estas
548 biblioteces en vez de las estándares para que gprof pueda perfilarlas
551 %description profile -l pl
552 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
553 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
556 %description profile -l uk
557 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
558 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
559 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
560 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
563 %description profile -l tr
564 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
565 kitaplýðý kullanmak zorundadýrlar.
567 %description profile -l ru
568 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
569 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
570 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
571 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
575 Summary: glibc PIC archive
576 Summary(es): Archivo PIC de glibc
577 Summary(pl): Archiwum PIC glibc
578 Group: Development/Libraries/Libc
579 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
582 GNU C Library PIC archive contains an archive library (ar file)
583 composed of individual shared objects. This is used for creating a
584 library which is a smaller subset of the standard libc shared library.
586 %description pic -l es
587 El archivo PIC de la biblioteca glibc contiene una biblioteca
588 archivada (un fichero ar) compuesta de individuales objetos
589 compartidos. Es usado para crear una biblioteca que sea un subconjunto
590 más pequeño de la biblioteca libc compartida estándar.
592 %description pic -l pl
593 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
594 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
595 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
596 biblioteki wspó³dzielonej libc.
598 %package -n nss_compat
599 Summary: Old style NYS NSS glibc module
600 Summary(es): El antiguo módulo NYS NSS de glibc
601 Summary(pl): Stary modu³ NYS NSS glibc
603 Requires: %{name} = %{epoch}:%{version}-%{release}
605 %description -n nss_compat
606 Old style NYS NSS glibc module.
608 %description -n nss_compat -l es
609 El antiguo módulo NYS NSS de glibc
611 %description -n nss_compat -l pl
612 Stary modu³ NYS NSS glibc.
615 Summary: BIND NSS glibc module
616 Summary(es): Módulo BIND NSS de glibc
617 Summary(pl): Modu³ BIND NSS glibc
619 Requires: %{name} = %{epoch}:%{version}-%{release}
621 %description -n nss_dns
622 BIND NSS glibc module.
624 %description -n nss_dns -l es
625 Módulo BIND NSS de glibc.
627 %description -n nss_dns -l pl
628 Modu³ BIND NSS glibc.
630 %package -n nss_files
631 Summary: Traditional files databases NSS glibc module
632 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
633 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
635 Requires: %{name} = %{epoch}:%{version}-%{release}
637 %description -n nss_files
638 Traditional files databases NSS glibc module.
640 %description -n nss_files -l es
641 Módulo de tradicionales bases de datos en ficheros para glibc.
643 %description -n nss_files -l pl
644 Modu³ tradycyjnych plikowych baz danych NSS glibc.
646 %package -n nss_hesiod
647 Summary: hesiod NSS glibc module
648 Summary(es): Módulo hesiod NSS de glibc
649 Summary(pl): Modu³ hesiod NSS glibc
651 Requires: %{name} = %{epoch}:%{version}-%{release}
653 %description -n nss_hesiod
654 glibc NSS (Name Service Switch) module for databases access.
656 %description -n nss_hesiod -l es
657 Módulo hesiod NSS de glibc.
659 %description -n nss_hesiod -l pl
660 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
663 Summary: NIS(YP) NSS glibc module
664 Summary(es): Módulo NIS(YP) NSS de glibc
665 Summary(pl): Modu³ NIS(YP) NSS glibc
667 Requires: %{name} = %{epoch}:%{version}-%{release}
669 %description -n nss_nis
670 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
672 %description -n nss_nis -l es
673 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
675 %description -n nss_nis -l pl
676 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
678 %package -n nss_nisplus
679 Summary: NIS+ NSS module
680 Summary(es): Módulo NIS+ NSS
681 Summary(pl): Modu³ NIS+ NSS
683 Requires: %{name} = %{epoch}:%{version}-%{release}
685 %description -n nss_nisplus
686 glibc NSS (Name Service Switch) module for NIS+ databases access.
688 %description -n nss_nisplus -l es
689 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
692 %description -n nss_nisplus -l pl
693 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
697 Summary(es): Un juguete
700 Requires: %{name} = %{epoch}:%{version}-%{release}
703 %description memusage
706 %description memusage -l es
709 %description memusage -l pl
712 %package zoneinfo_right
713 Summary: Non-POSIX (real) time zones
714 Summary(es): Zonas de tiempo reales (no de POSIX)
715 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
717 Requires: %{name} = %{epoch}:%{version}-%{release}
719 %description zoneinfo_right
720 You don't want this. Details at:
721 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
723 %description zoneinfo_right -l es
724 No lo necesita. Encontrará los detalles en:
725 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
727 %description zoneinfo_right -l pl
728 Nie potrzebujesz tego. Szczegó³y pod:
729 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
731 %package -n %{name}64
732 Summary: GNU libc - 64-bit libraries
733 Summary(es): GNU libc - bibliotecas de 64 bits
734 Summary(pl): GNU libc - biblioteki 64-bitowe
737 Provides: glibc = %{epoch}:%{version}-%{release}
738 Requires: glibc-misc = %{epoch}:%{version}-%{release}
740 Requires: %{name} = %{epoch}:%{version}-%{release}
743 %description -n %{name}64
744 64-bit GNU libc libraries for 64bit architecture.
746 %description -n %{name}64 -l es
747 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
749 %description -n %{name}64 -l pl
750 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
752 %package -n %{name}64-devel
753 Summary: Development files for 64-bit GNU libc libraries
754 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
755 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
756 Group: Development/Libraries
757 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
759 %description -n %{name}64-devel
760 Development files for 64-bit GNU libc libraries for 64bit
763 %description -n %{name}64-devel -l es
764 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
765 la arquitectura 64bit.
767 %description -n %{name}64-devel -l pl
768 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
771 %package -n %{name}64-static
772 Summary: Static 64-bit GNU libc libraries
773 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
774 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
775 Group: Development/Libraries
776 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
778 %description -n %{name}64-static
779 Static 64-bit GNU libc libraries.
781 %description -n %{name}64-static -l es
782 Bibliotecas estáticas GNU libc de 64 bits.
784 %description -n %{name}64-static -l pl
785 Statyczne 64-bitowe biblioteki GNU libc.
788 #setup -q -a 1 -n libc
803 # don't know, if it is good idea, for brave ones
805 %{?with_kernelheaders:%patch13}
806 %{?!with_kernelheaders:%patch14 -p1}
838 cp -f /usr/share/automake/config.sub scripts
841 # i786 (aka pentium4) hack
842 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
843 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
845 [ -d builddir ] || mkdir builddir
847 # avoid stripping ld.so by -s in rpmldflags
848 LDFLAGS=" " ; export LDFLAGS
850 --enable-kernel="%{min_kernel}" \
851 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
852 --with%{!?with_tls:out}-tls \
855 --enable-add-ons=nptl \
858 --enable-add-ons=linuxthreads \
861 %if %{with kernelheaders}
862 CPPFLAGS="-I%{_kernelsrcdir}/include" \
863 --with-headers=%{_kernelsrcdir}/include
865 CPPFLAGS="-I%{_includedir}" \
866 --with-headers=%{_includedir}
869 # problem compiling with --enable-bounded (must be reported to libc-alpha)
871 %{__make} %{?parallelmkflags}
874 env LANGUAGE=C LC_ALL=C \
875 %{__make} tests 2>&1 | awk '
878 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
880 gsub(/.*\[/, NIL, file);
881 gsub(/\].*/, NIL, file);
885 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
889 rm -rf $RPM_BUILD_ROOT
890 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
894 env LANGUAGE=C LC_ALL=C \
896 %{?parallelmkflags} \
897 install_root=$RPM_BUILD_ROOT \
898 infodir=%{_infodir} \
902 env LANGUAGE=C LC_ALL=C \
903 %{__make} localedata/install-locales \
904 %{?parallelmkflags} \
905 install_root=$RPM_BUILD_ROOT
908 PICFILES="libc_pic.a libc.map
909 math/libm_pic.a libm.map
910 resolv/libresolv_pic.a"
912 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
913 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
914 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
916 install elf/postshell $RPM_BUILD_ROOT/sbin
918 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
920 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
924 %{__make} -C ../linuxthreads/man
925 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
928 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
930 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
936 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
937 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
938 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
939 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
941 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
943 # make symlinks across top-level directories absolute
944 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
945 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
946 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
949 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
950 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
951 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
952 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
953 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
955 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
956 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
957 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
958 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
959 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
961 :> $RPM_BUILD_ROOT/var/log/nscd
963 rm -rf ../documentation
964 install -d ../documentation
967 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
968 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
969 cp -f ../linuxthreads/README ../documentation/README.threads
971 cp -f ../crypt/README.ufc-crypt ../documentation/
973 cp -f ../ChangeLog* ../documentation
975 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
977 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
979 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
982 # Collect locale files and mark them with %%lang()
984 echo '%defattr(644,root,root,755)' > ../glibc.lang
985 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
987 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
989 # list of long %%lang values we do support
990 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
991 zh_CN zh_CN.gbk zh_HK zh_TW ; do
992 if [ $j = "$lang" ]; then
996 if [ -n "$twochar" ]; then
997 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
998 lang=`echo $lang | sed "s,\..*,,"`
1000 lang=`echo $lang | sed "s,_.*,,"`
1003 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1004 echo "%lang($lang) $dir" >> ../glibc.lang
1007 # XXX: to be added when become supported by glibc
1008 # tk, yo (used by GNOME)
1009 # ven -> ve (used by KDE)
1011 # bn is used for bn_BD or bn_IN?
1012 # omitted here - already existing (with libc.mo):
1013 # 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
1014 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
1015 en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn \
1016 leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn nso or pa pt ro ru se \
1017 sl sq sr sr@Latn sr@ije ss ta tg th tlh uk uz ve vi wa xh yi zu ; do
1018 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1019 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1020 lang=`echo $i | sed -e 's/_.*//'`
1021 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
1024 cd $RPM_BUILD_ROOT%{_datadir}/locale
1029 # localedb-gen infrastructure
1030 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1031 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1033 # shutup check-files
1034 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1035 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1036 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1037 # we don't support kernel without ptys support
1038 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1040 # no longer supported (/dev/null has the same, but expected behaviour)
1041 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1044 rm -rf $RPM_BUILD_ROOT
1046 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1047 # when %%postun is run
1051 %post -n %{name}64 -p /sbin/postshell
1053 %post -p /sbin/postshell
1059 %postun -n %{name}64 -p /sbin/postshell
1061 %postun -p /sbin/postshell
1067 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1069 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1071 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1073 %post memusage -p /sbin/ldconfig
1074 %postun memusage -p /sbin/ldconfig
1076 %post -n iconv -p %{_sbindir}/iconvconfig
1079 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1082 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
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
1108 %defattr(644,root,root,755)
1111 %defattr(644,root,root,755)
1113 %defattr(644,root,root,755)
1114 %doc README NEWS FAQ BUGS
1115 %attr(755,root,root) /sbin/postshell
1116 %attr(755,root,root) /sbin/ldconfig
1117 # ld* and libc.so.6 SONAME symlinks must be in package because of
1118 # chicken-egg problem (postshell is dynamically linked with libc);
1119 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1120 %attr(755,root,root) /%{_lib}/ld*
1121 %attr(755,root,root) /%{_lib}/libanl*
1122 %attr(755,root,root) /%{_lib}/libdl*
1123 %attr(755,root,root) /%{_lib}/libnsl*
1124 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1125 %{?with_localedb:%dir %{_libdir}/locale}
1126 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1127 %ghost %{_sysconfdir}/ld.so.cache
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1133 #%files -n nss_files
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1138 %files misc -f %{name}.lang
1139 %defattr(644,root,root,755)
1141 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1142 %config %{_sysconfdir}/rpc
1144 %attr(755,root,root) /sbin/sln
1145 %attr(755,root,root) %{_bindir}/catchsegv
1146 %attr(755,root,root) %{_bindir}/getent
1147 %attr(755,root,root) %{_bindir}/iconv
1148 %attr(755,root,root) %{_bindir}/ldd
1149 %ifnarch alpha amd64 ia64 ppc sparc64
1150 %attr(755,root,root) %{_bindir}/lddlibc4
1152 %attr(755,root,root) %{_bindir}/locale
1153 %attr(755,root,root) %{_bindir}/rpcgen
1154 %attr(755,root,root) %{_bindir}/tzselect
1156 %attr(755,root,root) %{_sbindir}/rpcinfo
1157 %attr(755,root,root) %{_sbindir}/zdump
1158 %attr(755,root,root) %{_sbindir}/zic
1160 %dir %{_datadir}/locale
1161 %{_datadir}/locale/locale.alias
1162 %{_datadir}/zoneinfo
1163 %exclude %{_datadir}/zoneinfo/right
1165 %{_mandir}/man1/catchsegv.1*
1166 %{_mandir}/man1/getent.1*
1167 %{_mandir}/man1/iconv.1*
1168 %{_mandir}/man1/ldd.1*
1169 %{_mandir}/man1/locale.1*
1170 %{_mandir}/man1/rpcgen.1*
1171 %{_mandir}/man5/locale.5*
1172 %{_mandir}/man5/nsswitch.conf.5*
1173 %{_mandir}/man5/tzfile.5*
1175 %{_mandir}/man8/ld*.8*
1176 %{_mandir}/man8/rpcinfo.8*
1177 %{_mandir}/man8/sln.8*
1178 %{_mandir}/man8/tzselect.8*
1179 %{_mandir}/man8/zdump.8*
1180 %{_mandir}/man8/zic.8*
1181 %lang(cs) %{_mandir}/cs/man7/*
1182 %lang(de) %{_mandir}/de/man5/tzfile.5*
1183 %lang(de) %{_mandir}/de/man7/*
1184 %lang(es) %{_mandir}/es/man5/locale.5*
1185 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1186 %lang(es) %{_mandir}/es/man5/tzfile.5*
1187 %lang(es) %{_mandir}/es/man7/*
1188 %lang(es) %{_mandir}/es/man8/ld*.8*
1189 %lang(es) %{_mandir}/es/man8/tzselect.8*
1190 %lang(es) %{_mandir}/es/man8/zdump.8*
1191 %lang(es) %{_mandir}/es/man8/zic.8*
1192 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1193 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1194 %lang(fr) %{_mandir}/fr/man5/locale.5*
1195 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1196 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1197 %lang(fr) %{_mandir}/fr/man7/*
1198 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1199 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1200 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1201 %lang(fr) %{_mandir}/fr/man8/zic.8*
1202 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1203 %lang(hu) %{_mandir}/hu/man7/*
1204 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1205 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1206 %lang(it) %{_mandir}/it/man5/locale.5*
1207 %lang(it) %{_mandir}/it/man7/*
1208 %lang(it) %{_mandir}/it/man8/tzselect.8*
1209 %lang(it) %{_mandir}/it/man8/zdump.8*
1210 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1211 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1212 %lang(ja) %{_mandir}/ja/man5/locale.5*
1213 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1214 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1215 %lang(ja) %{_mandir}/ja/man7/*
1216 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1217 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1218 %lang(ja) %{_mandir}/ja/man8/sln.8*
1219 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1220 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1221 %lang(ja) %{_mandir}/ja/man8/zic.8*
1222 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1223 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1224 %lang(ko) %{_mandir}/ko/man7/*
1225 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1226 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1227 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1228 %lang(pl) %{_mandir}/pl/man5/locale.5*
1229 %lang(pl) %{_mandir}/pl/man7/*
1230 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1231 %lang(pt) %{_mandir}/pt/man5/locale.5*
1232 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1233 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1234 %lang(pt) %{_mandir}/pt/man7/*
1235 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1236 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1237 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1238 %lang(pt) %{_mandir}/pt/man8/zic.8*
1239 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1240 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1241 %lang(ru) %{_mandir}/ru/man7/*
1242 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1243 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1244 %lang(ru) %{_mandir}/ru/man8/zic.8*
1245 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1246 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1247 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1248 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1249 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1250 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1251 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1252 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1254 %files zoneinfo_right
1255 %defattr(644,root,root,755)
1256 %{_datadir}/zoneinfo/right
1258 %files -n nss_compat
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1262 %files -n nss_hesiod
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1269 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1271 %files -n nss_nisplus
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1275 %if %{with memusage}
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_bindir}/memusage*
1279 %attr(755,root,root) %{_libdir}/libmemusage.so
1283 %defattr(644,root,root,755)
1284 %doc documentation/* NOTES PROJECTS
1285 %attr(755,root,root) %{_bindir}/gencat
1286 %attr(755,root,root) %{_bindir}/getconf
1287 %attr(755,root,root) %{_bindir}/*prof*
1288 %attr(755,root,root) %{_bindir}/*trace
1292 %{_includedir}/alpha
1298 %{_includedir}/netash
1299 %{_includedir}/netatalk
1300 %{_includedir}/netax25
1301 %{_includedir}/neteconet
1302 %{_includedir}/netinet
1303 %{_includedir}/netipx
1304 %{_includedir}/netpacket
1305 %{_includedir}/netrom
1306 %{_includedir}/netrose
1308 %{_includedir}/protocols
1310 %{_includedir}/rpcsvc
1314 %{_infodir}/libc.info*
1316 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1317 %attr(755,root,root) %{_libdir}/libm.so
1318 %attr(755,root,root) %{_libdir}/*crt*.o
1319 %{_libdir}/libbsd-compat.a
1321 %{_libdir}/libc_nonshared.a
1323 %{_libdir}/libieee.a
1324 %{_libdir}/libpthread_nonshared.a
1325 %{_libdir}/librpcsvc.a
1327 %{_mandir}/man1/getconf.1*
1328 %{_mandir}/man1/sprof.1*
1330 %lang(cs) %{_mandir}/cs/man3/*
1331 %lang(de) %{_mandir}/de/man3/*
1332 %lang(es) %{_mandir}/es/man3/*
1333 %lang(fr) %{_mandir}/fr/man3/*
1334 %lang(hu) %{_mandir}/hu/man3/*
1335 %lang(it) %{_mandir}/it/man3/*
1336 %lang(ja) %{_mandir}/ja/man3/*
1337 %lang(ko) %{_mandir}/ko/man3/*
1338 %lang(nl) %{_mandir}/nl/man3/*
1339 %lang(pl) %{_mandir}/pl/man3/*
1340 %lang(pt) %{_mandir}/pt/man3/*
1341 %lang(ru) %{_mandir}/ru/man3/*
1342 %lang(uk) %{_mandir}/uk/man3/*
1343 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1346 %defattr(644,root,root,755)
1347 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1348 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1349 %attr(754,root,root) /etc/rc.d/init.d/nscd
1350 %attr(755,root,root) %{_sbindir}/nscd*
1351 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/nscd
1352 %attr(640,root,root) %ghost /var/log/nscd
1354 %{_mandir}/man5/nscd.conf.5*
1355 %{_mandir}/man8/nscd.8*
1356 %{_mandir}/man8/nscd_nischeck.8*
1357 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1358 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1359 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1360 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1361 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1362 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1364 %files -n localedb-src
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_bindir}/localedef
1367 %attr(755,root,root) %{_bindir}/localedb-gen
1369 %{_mandir}/man1/localedef.1*
1371 %if %{with localedb}
1373 %defattr(644,root,root,755)
1374 %{_libdir}/locale/locale-archive
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_sbindir}/iconvconfig
1380 %dir %{_libdir}/gconv
1381 %{_libdir}/gconv/gconv-modules
1382 %attr(755,root,root) %{_libdir}/gconv/*.so
1385 %defattr(644,root,root,755)
1387 %{_libdir}/libBrokenLocale.a
1389 %{_libdir}/libcrypt.a
1392 %{_libdir}/libmcheck.a
1394 %{_libdir}/libpthread.a
1395 %{_libdir}/libresolv.a
1397 %{_libdir}/libutil.a
1401 %defattr(644,root,root,755)
1406 %defattr(644,root,root,755)
1407 %{_libdir}/lib*_pic.a
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libdir}/ld-*
1417 %attr(755,root,root) %{_libdir}/libanl*
1418 %attr(755,root,root) %{_libdir}/libdl*
1419 %attr(755,root,root) %{_libdir}/libnsl*
1420 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1421 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1422 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1424 %files -n glibc64-devel
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1427 %attr(755,root,root) %{_libdir}/libm.so
1428 %attr(755,root,root) %{_libdir}/*crt*.o
1429 %{_libdir}/libbsd-compat.a
1431 %{_libdir}/libc_nonshared.a
1433 %{_libdir}/libieee.a
1434 %{_libdir}/libpthread_nonshared.a
1435 %{_libdir}/librpcsvc.a
1437 %files -n glibc64-static
1438 %defattr(644,root,root,755)
1440 %{_libdir}/libBrokenLocale.a
1442 %{_libdir}/libcrypt.a
1445 %{_libdir}/libmcheck.a
1447 %{_libdir}/libpthread.a
1448 %{_libdir}/libresolv.a
1450 %{_libdir}/libutil.a