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 20041030
62 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
64 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
66 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
69 Release: 0.%{_snap}.8%{!?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: 4e14871efd881fbbf523a0ba16175bc7
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_fixes.patch
119 Patch27: %{name}-LD_DEBUG.patch
121 Patch30: %{name}-pax_iconvconfig.patch
122 Patch31: %{name}-pax_dl-execstack.patch
123 Patch32: %{name}-sparc_comdat.patch
124 Patch33: %{name}-alpha_giduidfix.patch
125 Patch34: %{name}-ia64_unwind.patch
126 URL: http://www.gnu.org/software/libc/
127 BuildRequires: automake
128 BuildRequires: binutils >= 2:2.15.90.0.3
129 BuildRequires: gcc >= 3.2
130 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
131 BuildRequires: gettext-devel >= 0.10.36
132 %if %{with kernelheaders}
133 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
135 BuildRequires: linux-libc-headers >= %{llh_version}
137 BuildRequires: libselinux-devel
138 BuildRequires: perl-base
139 BuildRequires: rpm-build >= 4.3-0.20030610.28
140 BuildRequires: rpm-perlprov
141 BuildRequires: sed >= 4.0.5
142 BuildRequires: texinfo
145 Requires: glibc-misc = %{epoch}:%{version}-%{release}
146 %{?with_tls:Provides: glibc(tls)}
149 Provides: /sbin/ldconfig
150 Obsoletes: %{name}-common
151 Obsoletes: %{name}-debug
153 Conflicts: kernel < %{min_kernel}
154 Conflicts: ld.so < 1.9.9-10
155 Conflicts: man-pages < 1.43
156 Conflicts: rc-scripts < 0.3.1-13
158 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
160 %define debugcflags -O1 -g
162 %define specflags_sparc64 -mvis -fcall-used-g6
163 %define _libdir /usr/lib64
165 # we don't want perl dependency in glibc-devel
166 %define _noautoreqfiles %{_bindir}/mtrace
167 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
168 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
169 # patched not to crash on partial hardlinks too)
170 %define _hack_dontneed_PartialHardlinkSets 1
171 %define _noautochrpath .*\\(ldconfig\\|sln\\)
174 Contains the standard libraries that are used by multiple programs on
175 the system. In order to save disk space and memory, as well as to ease
176 upgrades, common system code is kept in one place and shared between
177 programs. This package contains the most important sets of shared
178 libraries, the standard C library and the standard math library.
179 Without these, a Linux system will not function. It also contains
180 national language (locale) support and timezone databases.
182 Can be used on: Linux kernel >= %{min_kernel}.
185 Contiene las bibliotecas estándared que son usadas por varios
186 programas del sistema. Para ahorrar el espacio en el disco y la
187 memoria, igual que para facilitar actualizaciones, código común del
188 sistema se guarda en un sitio y es compartido entre los programas.
189 Este paquete contiene las bibliotecas compartidas más importantes, es
190 decir la biblioteca C estándar y la biblioteca estándar de matemática.
191 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
192 soporte de idiomas nacionales (locale) y bases de datos de zona de
195 Puede usarse con: núcleo Linux >= %{min_kernel}.
198 Enthält die Standard-Libraries, die von verschiedenen Programmen im
199 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
200 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
201 einer einzigen Stelle gespeichert und wird von den Programmen
202 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
203 shared Libraries, die Standard-C-Library und die
204 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
205 Ferner enthält es den Support für die verschiedenen Sprachgregionen
206 (locale) und die Zeitzonen-Datenbank.
208 Can be used on: Linux kernel >= %{min_kernel}.
211 Contient les bibliothèques standards utilisées par de nombreux
212 programmes du système. Afin d'économiser l'espace disque et mémoire,
213 et de faciliter les mises à jour, le code commun au système est mis à
214 un endroit et partagé entre les programmes. Ce paquetage contient les
215 bibliothèques partagées les plus importantes, la bibliothèque standard
216 du C et la bibliothèque mathématique standard. Sans celles-ci, un
217 système Linux ne peut fonctionner. Il contient aussi la gestion des
218 langues nationales (locales) et les bases de données des zones
221 Can be used on: Linux kernel >= %{min_kernel}.
225 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
226 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
227 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
228 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
229 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
230 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
231 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
232 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
234 Can be used on: Linux kernel >= %{min_kernel}.
237 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
238 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
239 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
240 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
241 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
242 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
243 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
244 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
245 jêzyków (locale) oraz definicje stref czasowych.
247 Przeznaczony dla j±dra Linux >= %{min_kernel}.
250 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
251 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
252 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
253 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
254 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
255 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
256 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
257 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
258 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
260 Can be used on: Linux kernel >= %{min_kernel}.
263 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
264 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
265 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
266 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
267 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
268 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
269 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
271 Can be used on: Linux kernel >= %{min_kernel}.
274 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
275 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
276 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
277 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
278 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
279 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
280 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
281 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
282 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
284 Can be used on: Linux kernel >= %{min_kernel}.
287 Summary: Utilities and data used by glibc
288 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
289 Group: Development/Libraries
291 PreReq: %{name} = %{epoch}:%{version}-%{release}
294 Utilities and data used by glibc.
296 %description misc -l pl
297 Narzêdzia i dane u¿ywane przez glibc.
300 Summary: Additional libraries required to compile
301 Summary(de): Weitere Libraries zum Kompilieren
302 Summary(es): Bibliotecas adicionales necesarias para la compilación
303 Summary(fr): Librairies supplémentaires nécessaires à la compilation
304 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
305 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
306 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
307 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
308 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
309 Group: Development/Libraries
310 Requires: %{name} = %{epoch}:%{version}-%{release}
311 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
312 Obsoletes: libiconv-devel
315 To develop programs which use the standard C libraries (which nearly
316 all programs do), the system needs to have these standard header files
317 and object files available for creating the executables.
319 %description devel -l de
320 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
321 verwenden (also fast alle), benötigt das System diese Standard-Header-
322 und Objektdateien zum Erstellen der ausführbaren Programme.
324 %description devel -l es
325 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
326 cual hacen prácticamente todos los programas), el sistema necesita
327 disponer de estos ficheros de cabecera y de objetos para crear los
330 %description devel -l fr
331 Pour développer des programmes utilisant les bibliothèques standard du
332 C (ce que presque tous les programmes font), le système doit posséder
333 ces fichiers en-têtes et objets standards pour créer les exécutables.
335 %description devel -l ja
336 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
337 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
338 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
339 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
340 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
343 %description devel -l pl
344 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
345 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
346 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
347 wykonywalnych i innych bibliotek.
349 %description devel -l ru
350 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
351 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
352 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
355 %description devel -l tr
356 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
357 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
360 %description devel -l uk
361 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
362 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
363 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
367 Summary: Name Service Caching Daemon
368 Summary(es): Demonio de caché del servicio de nombres
369 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
370 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
371 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
372 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
373 Group: Networking/Daemons
374 PreReq: rc-scripts >= 0.2.0
375 Requires(post,preun): /sbin/chkconfig
376 Requires(post): fileutils
377 Requires: %{name} = %{epoch}:%{version}-%{release}
380 nscd caches name service lookups; it can dramatically improve
381 performance with NIS+, and may help with DNS as well. You cannot use
382 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
383 nscd happens to hit these bugs particularly hard.
385 %description -n nscd -l es
386 nscd guarda las peticiones del servicio de nombres en una caché; eso
387 puede aumentar drásticamente las prestaciones de NIS+, y también puede
388 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
389 errores en el soporte de hilos. Resulta que estos errores impactan el
390 nscd de manera realmente grave.
392 %description -n nscd -l ja
393 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
394 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
395 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
396 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
397 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
399 %description -n nscd -l pl
400 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
401 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
402 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
405 %description -n nscd -l ru
406 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
407 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
410 %description -n nscd -l uk
411 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
412 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
414 %package -n localedb-src
415 Summary: locale database source code
416 Summary(es): Código fuente de la base de datos de los locales
417 Summary(pl): Kod ¼ród³owy bazy locale
419 Requires: %{name} = %{epoch}:%{version}-%{release}
423 %description -n localedb-src
424 This add-on package contains the data needed to build the locale data
425 files to use the internationalization features of the GNU libc.
427 %description -n localedb-src -l es
428 Este paquete adicional contiene los datos necesarios para construir
429 los ficheros de locale, imprescindibles para usar las cualidades de
430 internacionalización de GNU libc.
432 %description -n localedb-src -l pl
433 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
434 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
437 %package localedb-all
438 Summary: locale database for all locales supported by glibc
439 Summary(es): Base de datos de todos los locales soportados por glibc
440 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
442 Requires: iconv = %{epoch}:%{version}-%{release}
443 Requires: %{name} = %{epoch}:%{version}-%{release}
445 %description localedb-all
446 This package contains locale database for all locales supported by
447 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
448 something smaller with support for chosen locales only, consider
449 installing localedb-src and regenerating database using localedb-gen
450 script (when database is generated, localedb-src can be uninstalled).
452 %description localedb-all -l es
453 Este paquete contiene una base de datos de todos los locales
454 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
455 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
456 locales elegidos, considérese instalar localedb-src y regenerar la
457 base de datos usando el escript localedb-gen (una vez que la base de
458 datos esté creada, localedb-src se podrá desinstalar).
460 %description localedb-all -l pl
461 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
462 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
463 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
464 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
465 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
466 pakiet localedb-src mo¿na odinstalowaæ).
469 Summary: Convert encoding of given files from one encoding to another
470 Summary(es): Convierte entre varias codificaciones de los ficheros dados
471 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
472 Group: Applications/Text
473 Requires: %{name} = %{epoch}:%{version}-%{release}
475 %description -n iconv
476 Convert encoding of given files from one encoding to another. You need
477 this package if you want to convert some document from one encoding to
478 another or if you have installed some programs which use Generic
479 Character Set Conversion Interface.
481 %description -n iconv -l es
482 Convierte la codificación de dados ficheros. Necesita este paquete si
483 quiere convertir un documento entre una codificación (juego de
484 caracteres) y otra, o si tiene instalado algún programa que usa el
485 Generic Character Set Conversion Interface (interfaz genérica de
486 conversión de juegos de caracteres).
488 %description -n iconv -l pl
489 Program do konwersji plików tekstowych z jednego kodowania do innego.
490 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
491 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
492 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
493 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
494 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
497 Summary: Static libraries
498 Summary(es): Bibliotecas estáticas
499 Summary(pl): Biblioteki statyczne
500 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
501 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
502 Group: Development/Libraries
503 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
504 Obsoletes: libiconv-static
507 GNU libc static libraries.
509 %description static -l es
510 Bibliotecas estáticas de GNU libc.
512 %description static -l pl
513 Biblioteki statyczne GNU libc.
515 %description static -l ru
516 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
517 ×ÈÏÄÑÔ × glibc-devel.
519 %description static -l uk
520 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
524 Summary: glibc with profiling support
525 Summary(de): glibc mit Profil-Unterstützung
526 Summary(es): glibc con soporte de perfilamiento
527 Summary(fr): glibc avec support pour profiling
528 Summary(pl): glibc ze wsparciem dla profilowania
529 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
530 Summary(tr): Ölçüm desteði olan glibc
531 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
532 Group: Development/Libraries/Libc
533 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
534 Obsoletes: libc-profile
537 When programs are being profiled using gprof, they must use these
538 libraries instead of the standard C libraries for gprof to be able to
539 profile them correctly.
541 %description profile -l de
542 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
543 Libraries anstelle der üblichen C-Libraries verwendet werden.
545 %description profile -l es
546 Cuando programas son perfilidas usando gprof, tienen que usar estas
547 biblioteces en vez de las estándares para que gprof pueda perfilarlas
550 %description profile -l pl
551 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
552 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
555 %description profile -l uk
556 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
557 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
558 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
559 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
562 %description profile -l tr
563 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
564 kitaplýðý kullanmak zorundadýrlar.
566 %description profile -l ru
567 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
568 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
569 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
570 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
574 Summary: glibc PIC archive
575 Summary(es): Archivo PIC de glibc
576 Summary(pl): Archiwum PIC glibc
577 Group: Development/Libraries/Libc
578 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
581 GNU C Library PIC archive contains an archive library (ar file)
582 composed of individual shared objects. This is used for creating a
583 library which is a smaller subset of the standard libc shared library.
585 %description pic -l es
586 El archivo PIC de la biblioteca glibc contiene una biblioteca
587 archivada (un fichero ar) compuesta de individuales objetos
588 compartidos. Es usado para crear una biblioteca que sea un subconjunto
589 más pequeño de la biblioteca libc compartida estándar.
591 %description pic -l pl
592 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
593 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
594 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
595 biblioteki wspó³dzielonej libc.
597 %package -n nss_compat
598 Summary: Old style NYS NSS glibc module
599 Summary(es): El antiguo módulo NYS NSS de glibc
600 Summary(pl): Stary modu³ NYS NSS glibc
602 Requires: %{name} = %{epoch}:%{version}-%{release}
604 %description -n nss_compat
605 Old style NYS NSS glibc module.
607 %description -n nss_compat -l es
608 El antiguo módulo NYS NSS de glibc
610 %description -n nss_compat -l pl
611 Stary modu³ NYS NSS glibc.
614 Summary: BIND NSS glibc module
615 Summary(es): Módulo BIND NSS de glibc
616 Summary(pl): Modu³ BIND NSS glibc
618 Requires: %{name} = %{epoch}:%{version}-%{release}
620 %description -n nss_dns
621 BIND NSS glibc module.
623 %description -n nss_dns -l es
624 Módulo BIND NSS de glibc.
626 %description -n nss_dns -l pl
627 Modu³ BIND NSS glibc.
629 %package -n nss_files
630 Summary: Traditional files databases NSS glibc module
631 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
632 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
634 Requires: %{name} = %{epoch}:%{version}-%{release}
636 %description -n nss_files
637 Traditional files databases NSS glibc module.
639 %description -n nss_files -l es
640 Módulo de tradicionales bases de datos en ficheros para glibc.
642 %description -n nss_files -l pl
643 Modu³ tradycyjnych plikowych baz danych NSS glibc.
645 %package -n nss_hesiod
646 Summary: hesiod NSS glibc module
647 Summary(es): Módulo hesiod NSS de glibc
648 Summary(pl): Modu³ hesiod NSS glibc
650 Requires: %{name} = %{epoch}:%{version}-%{release}
652 %description -n nss_hesiod
653 glibc NSS (Name Service Switch) module for databases access.
655 %description -n nss_hesiod -l es
656 Módulo hesiod NSS de glibc.
658 %description -n nss_hesiod -l pl
659 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
662 Summary: NIS(YP) NSS glibc module
663 Summary(es): Módulo NIS(YP) NSS de glibc
664 Summary(pl): Modu³ NIS(YP) NSS glibc
666 Requires: %{name} = %{epoch}:%{version}-%{release}
668 %description -n nss_nis
669 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
671 %description -n nss_nis -l es
672 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
674 %description -n nss_nis -l pl
675 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
677 %package -n nss_nisplus
678 Summary: NIS+ NSS module
679 Summary(es): Módulo NIS+ NSS
680 Summary(pl): Modu³ NIS+ NSS
682 Requires: %{name} = %{epoch}:%{version}-%{release}
684 %description -n nss_nisplus
685 glibc NSS (Name Service Switch) module for NIS+ databases access.
687 %description -n nss_nisplus -l es
688 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
691 %description -n nss_nisplus -l pl
692 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
696 Summary(es): Un juguete
699 Requires: %{name} = %{epoch}:%{version}-%{release}
702 %description memusage
705 %description memusage -l es
708 %description memusage -l pl
711 %package zoneinfo_right
712 Summary: Non-POSIX (real) time zones
713 Summary(es): Zonas de tiempo reales (no de POSIX)
714 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
716 Requires: %{name} = %{epoch}:%{version}-%{release}
718 %description zoneinfo_right
719 You don't want this. Details at:
720 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
722 %description zoneinfo_right -l es
723 No lo necesita. Encontrará los detalles en:
724 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
726 %description zoneinfo_right -l pl
727 Nie potrzebujesz tego. Szczegó³y pod:
728 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
730 %package -n %{name}64
731 Summary: GNU libc - 64-bit libraries
732 Summary(es): GNU libc - bibliotecas de 64 bits
733 Summary(pl): GNU libc - biblioteki 64-bitowe
736 Provides: glibc = %{epoch}:%{version}-%{release}
737 Requires: glibc-misc = %{epoch}:%{version}-%{release}
739 Requires: %{name} = %{epoch}:%{version}-%{release}
742 %description -n %{name}64
743 64-bit GNU libc libraries for 64bit architecture.
745 %description -n %{name}64 -l es
746 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
748 %description -n %{name}64 -l pl
749 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
751 %package -n %{name}64-devel
752 Summary: Development files for 64-bit GNU libc libraries
753 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
754 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
755 Group: Development/Libraries
756 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
758 %description -n %{name}64-devel
759 Development files for 64-bit GNU libc libraries for 64bit
762 %description -n %{name}64-devel -l es
763 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
764 la arquitectura 64bit.
766 %description -n %{name}64-devel -l pl
767 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
770 %package -n %{name}64-static
771 Summary: Static 64-bit GNU libc libraries
772 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
773 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
774 Group: Development/Libraries
775 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
777 %description -n %{name}64-static
778 Static 64-bit GNU libc libraries.
780 %description -n %{name}64-static -l es
781 Bibliotecas estáticas GNU libc de 64 bits.
783 %description -n %{name}64-static -l pl
784 Statyczne 64-bitowe biblioteki GNU libc.
787 #setup -q -a 1 -n libc
802 # don't know, if it is good idea, for brave ones
804 %{?with_kernelheaders:%patch13}
805 %{?!with_kernelheaders:%patch14 -p1}
834 cp %{_datadir}/automake/config.sub .
835 cp %{_datadir}/automake/config.sub scripts
838 # i786 (aka pentium4) hack
839 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
840 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
842 [ -d builddir ] || mkdir builddir
844 # avoid stripping ld.so by -s in rpmldflags
845 LDFLAGS=" " ; export LDFLAGS
847 --enable-kernel="%{min_kernel}" \
848 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
849 --with%{!?with_tls:out}-tls \
852 --enable-add-ons=nptl \
855 --enable-add-ons=linuxthreads \
858 %if %{with kernelheaders}
859 CPPFLAGS="-I%{_kernelsrcdir}/include" \
860 --with-headers=%{_kernelsrcdir}/include
862 CPPFLAGS="-I%{_includedir}" \
863 --with-headers=%{_includedir}
866 # problem compiling with --enable-bounded (must be reported to libc-alpha)
868 %{__make} %{?parallelmkflags}
871 env LANGUAGE=C LC_ALL=C \
872 %{__make} tests 2>&1 | awk '
875 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
877 gsub(/.*\[/, NIL, file);
878 gsub(/\].*/, NIL, file);
882 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
886 rm -rf $RPM_BUILD_ROOT
887 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
891 env LANGUAGE=C LC_ALL=C \
893 %{?parallelmkflags} \
894 install_root=$RPM_BUILD_ROOT \
895 infodir=%{_infodir} \
899 env LANGUAGE=C LC_ALL=C \
900 %{__make} localedata/install-locales \
901 %{?parallelmkflags} \
902 install_root=$RPM_BUILD_ROOT
905 PICFILES="libc_pic.a libc.map
906 math/libm_pic.a libm.map
907 resolv/libresolv_pic.a"
909 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
910 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
911 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
913 install elf/postshell $RPM_BUILD_ROOT/sbin
915 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
917 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
921 %{__make} -C ../linuxthreads/man
922 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
925 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
927 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
933 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
934 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
935 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
936 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
938 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
940 # make symlinks across top-level directories absolute
941 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
942 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
943 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
946 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
947 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
948 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
949 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
950 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
952 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
953 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
954 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
955 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
956 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
958 :> $RPM_BUILD_ROOT/var/log/nscd
960 rm -rf ../documentation
961 install -d ../documentation
964 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
965 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
966 cp -f ../linuxthreads/README ../documentation/README.threads
968 cp -f ../crypt/README.ufc-crypt ../documentation/
970 cp -f ../ChangeLog* ../documentation
972 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
974 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
976 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
979 # Collect locale files and mark them with %%lang()
981 echo '%defattr(644,root,root,755)' > ../glibc.lang
982 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
984 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
986 # list of long %%lang values we do support
987 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
988 zh_CN zh_CN.gbk zh_HK zh_TW ; do
989 if [ $j = "$lang" ]; then
993 if [ -n "$twochar" ]; then
994 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
995 lang=`echo $lang | sed "s,\..*,,"`
997 lang=`echo $lang | sed "s,_.*,,"`
1000 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1001 echo "%lang($lang) $dir" >> ../glibc.lang
1004 # XXX: to be added when become supported by glibc
1005 # ia,li (used by GNOME)
1006 # nso,ss,ven (used by KDE)
1008 # bn is used for bn_BD or bn_IN?
1009 # omitted here - already existing (with libc.mo):
1010 # 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
1011 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
1012 en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn \
1013 leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn or pa pt ro ru se \
1014 sl sq sr sr@Latn sr@ije ta tg th uk uz vi wa xh yi zu ; do
1015 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1016 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1017 lang=`echo $i | sed -e 's/_.*//'`
1018 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
1021 cd $RPM_BUILD_ROOT%{_datadir}/locale
1026 # localedb-gen infrastructure
1027 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1028 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1030 # shutup check-files
1031 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1032 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1033 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1034 # we don't support kernel without ptys support
1035 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1037 # no longer supported (/dev/null has the same, but expected behaviour)
1038 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1041 rm -rf $RPM_BUILD_ROOT
1043 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1044 # when %%postun is run
1048 %post -n %{name}64 -p /sbin/postshell
1050 %post -p /sbin/postshell
1056 %postun -n %{name}64 -p /sbin/postshell
1058 %postun -p /sbin/postshell
1064 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1066 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1068 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1070 %post memusage -p /sbin/ldconfig
1071 %postun memusage -p /sbin/ldconfig
1073 %post -n iconv -p %{_sbindir}/iconvconfig
1076 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1079 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1082 /sbin/chkconfig --add nscd
1084 chmod 000 /var/log/nscd
1085 chown root:root /var/log/nscd
1086 chmod 640 /var/log/nscd
1087 if [ -f /var/lock/subsys/nscd ]; then
1088 /etc/rc.d/init.d/nscd restart 1>&2
1090 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1094 if [ "$1" = "0" ]; then
1095 if [ -f /var/lock/subsys/nscd ]; then
1096 /etc/rc.d/init.d/nscd stop 1>&2
1098 /sbin/chkconfig --del nscd
1105 %defattr(644,root,root,755)
1108 %defattr(644,root,root,755)
1110 %defattr(644,root,root,755)
1111 %doc README NEWS FAQ BUGS
1112 %attr(755,root,root) /sbin/postshell
1113 %attr(755,root,root) /sbin/ldconfig
1114 # ld* and libc.so.6 SONAME symlinks must be in package because of
1115 # chicken-egg problem (postshell is dynamically linked with libc);
1116 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1117 %attr(755,root,root) /%{_lib}/ld*
1118 %attr(755,root,root) /%{_lib}/libanl*
1119 %attr(755,root,root) /%{_lib}/libdl*
1120 %attr(755,root,root) /%{_lib}/libnsl*
1121 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1122 %{?with_localedb:%dir %{_libdir}/locale}
1123 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1124 %ghost %{_sysconfdir}/ld.so.cache
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1130 #%files -n nss_files
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1135 %files misc -f %{name}.lang
1136 %defattr(644,root,root,755)
1138 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1139 %config %{_sysconfdir}/rpc
1141 %attr(755,root,root) /sbin/sln
1142 %attr(755,root,root) %{_bindir}/catchsegv
1143 %attr(755,root,root) %{_bindir}/getent
1144 %attr(755,root,root) %{_bindir}/iconv
1145 %attr(755,root,root) %{_bindir}/ldd
1146 %ifnarch alpha amd64 ia64 ppc sparc64
1147 %attr(755,root,root) %{_bindir}/lddlibc4
1149 %attr(755,root,root) %{_bindir}/locale
1150 %attr(755,root,root) %{_bindir}/rpcgen
1151 %attr(755,root,root) %{_bindir}/tzselect
1153 %attr(755,root,root) %{_sbindir}/rpcinfo
1154 %attr(755,root,root) %{_sbindir}/zdump
1155 %attr(755,root,root) %{_sbindir}/zic
1157 %dir %{_datadir}/locale
1158 %{_datadir}/locale/locale.alias
1159 %{_datadir}/zoneinfo
1160 %exclude %{_datadir}/zoneinfo/right
1162 %{_mandir}/man1/catchsegv.1*
1163 %{_mandir}/man1/getent.1*
1164 %{_mandir}/man1/iconv.1*
1165 %{_mandir}/man1/ldd.1*
1166 %{_mandir}/man1/locale.1*
1167 %{_mandir}/man1/rpcgen.1*
1168 %{_mandir}/man5/locale.5*
1169 %{_mandir}/man5/nsswitch.conf.5*
1170 %{_mandir}/man5/tzfile.5*
1172 %{_mandir}/man8/ld*.8*
1173 %{_mandir}/man8/rpcinfo.8*
1174 %{_mandir}/man8/sln.8*
1175 %{_mandir}/man8/tzselect.8*
1176 %{_mandir}/man8/zdump.8*
1177 %{_mandir}/man8/zic.8*
1178 %lang(cs) %{_mandir}/cs/man7/*
1179 %lang(de) %{_mandir}/de/man5/tzfile.5*
1180 %lang(de) %{_mandir}/de/man7/*
1181 %lang(es) %{_mandir}/es/man5/locale.5*
1182 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1183 %lang(es) %{_mandir}/es/man5/tzfile.5*
1184 %lang(es) %{_mandir}/es/man7/*
1185 %lang(es) %{_mandir}/es/man8/ld*.8*
1186 %lang(es) %{_mandir}/es/man8/tzselect.8*
1187 %lang(es) %{_mandir}/es/man8/zdump.8*
1188 %lang(es) %{_mandir}/es/man8/zic.8*
1189 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1190 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1191 %lang(fr) %{_mandir}/fr/man5/locale.5*
1192 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1193 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1194 %lang(fr) %{_mandir}/fr/man7/*
1195 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1196 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1197 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1198 %lang(fr) %{_mandir}/fr/man8/zic.8*
1199 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1200 %lang(hu) %{_mandir}/hu/man7/*
1201 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1202 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1203 %lang(it) %{_mandir}/it/man5/locale.5*
1204 %lang(it) %{_mandir}/it/man7/*
1205 %lang(it) %{_mandir}/it/man8/tzselect.8*
1206 %lang(it) %{_mandir}/it/man8/zdump.8*
1207 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1208 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1209 %lang(ja) %{_mandir}/ja/man5/locale.5*
1210 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1211 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1212 %lang(ja) %{_mandir}/ja/man7/*
1213 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1214 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1215 %lang(ja) %{_mandir}/ja/man8/sln.8*
1216 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1217 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1218 %lang(ja) %{_mandir}/ja/man8/zic.8*
1219 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1220 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1221 %lang(ko) %{_mandir}/ko/man7/*
1222 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1223 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1224 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1225 %lang(pl) %{_mandir}/pl/man5/locale.5*
1226 %lang(pl) %{_mandir}/pl/man7/*
1227 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1228 %lang(pt) %{_mandir}/pt/man5/locale.5*
1229 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1230 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1231 %lang(pt) %{_mandir}/pt/man7/*
1232 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1233 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1234 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1235 %lang(pt) %{_mandir}/pt/man8/zic.8*
1236 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1237 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1238 %lang(ru) %{_mandir}/ru/man7/*
1239 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1240 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1241 %lang(ru) %{_mandir}/ru/man8/zic.8*
1242 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1243 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1244 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1245 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1246 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1247 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1248 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1249 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1251 %files zoneinfo_right
1252 %defattr(644,root,root,755)
1253 %{_datadir}/zoneinfo/right
1255 %files -n nss_compat
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1259 %files -n nss_hesiod
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1266 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1268 %files -n nss_nisplus
1269 %defattr(644,root,root,755)
1270 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1272 %if %{with memusage}
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) %{_bindir}/memusage*
1276 %attr(755,root,root) %{_libdir}/libmemusage.so
1280 %defattr(644,root,root,755)
1281 %doc documentation/* NOTES PROJECTS
1282 %attr(755,root,root) %{_bindir}/gencat
1283 %attr(755,root,root) %{_bindir}/getconf
1284 %attr(755,root,root) %{_bindir}/*prof*
1285 %attr(755,root,root) %{_bindir}/*trace
1289 %{_includedir}/alpha
1295 %{_includedir}/netash
1296 %{_includedir}/netatalk
1297 %{_includedir}/netax25
1298 %{_includedir}/neteconet
1299 %{_includedir}/netinet
1300 %{_includedir}/netipx
1301 %{_includedir}/netpacket
1302 %{_includedir}/netrom
1303 %{_includedir}/netrose
1305 %{_includedir}/protocols
1307 %{_includedir}/rpcsvc
1311 %{_infodir}/libc.info*
1313 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1314 %attr(755,root,root) %{_libdir}/libm.so
1315 %attr(755,root,root) %{_libdir}/*crt*.o
1316 %{_libdir}/libbsd-compat.a
1318 %{_libdir}/libc_nonshared.a
1320 %{_libdir}/libieee.a
1321 %{_libdir}/libpthread_nonshared.a
1322 %{_libdir}/librpcsvc.a
1324 %{_mandir}/man1/getconf.1*
1325 %{_mandir}/man1/sprof.1*
1327 %lang(cs) %{_mandir}/cs/man3/*
1328 %lang(de) %{_mandir}/de/man3/*
1329 %lang(es) %{_mandir}/es/man3/*
1330 %lang(fr) %{_mandir}/fr/man3/*
1331 %lang(hu) %{_mandir}/hu/man3/*
1332 %lang(it) %{_mandir}/it/man3/*
1333 %lang(ja) %{_mandir}/ja/man3/*
1334 %lang(ko) %{_mandir}/ko/man3/*
1335 %lang(nl) %{_mandir}/nl/man3/*
1336 %lang(pl) %{_mandir}/pl/man3/*
1337 %lang(pt) %{_mandir}/pt/man3/*
1338 %lang(ru) %{_mandir}/ru/man3/*
1339 %lang(uk) %{_mandir}/uk/man3/*
1340 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1343 %defattr(644,root,root,755)
1344 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1345 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1346 %attr(754,root,root) /etc/rc.d/init.d/nscd
1347 %attr(755,root,root) %{_sbindir}/nscd*
1348 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/nscd
1349 %attr(640,root,root) %ghost /var/log/nscd
1351 %{_mandir}/man5/nscd.conf.5*
1352 %{_mandir}/man8/nscd.8*
1353 %{_mandir}/man8/nscd_nischeck.8*
1354 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1355 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1356 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1357 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1358 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1359 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1361 %files -n localedb-src
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_bindir}/localedef
1364 %attr(755,root,root) %{_bindir}/localedb-gen
1366 %{_mandir}/man1/localedef.1*
1368 %if %{with localedb}
1370 %defattr(644,root,root,755)
1371 %{_libdir}/locale/locale-archive
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_sbindir}/iconvconfig
1377 %dir %{_libdir}/gconv
1378 %{_libdir}/gconv/gconv-modules
1379 %attr(755,root,root) %{_libdir}/gconv/*.so
1382 %defattr(644,root,root,755)
1384 %{_libdir}/libBrokenLocale.a
1386 %{_libdir}/libcrypt.a
1389 %{_libdir}/libmcheck.a
1391 %{_libdir}/libpthread.a
1392 %{_libdir}/libresolv.a
1394 %{_libdir}/libutil.a
1398 %defattr(644,root,root,755)
1403 %defattr(644,root,root,755)
1404 %{_libdir}/lib*_pic.a
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/ld-*
1414 %attr(755,root,root) %{_libdir}/libanl*
1415 %attr(755,root,root) %{_libdir}/libdl*
1416 %attr(755,root,root) %{_libdir}/libnsl*
1417 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1418 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1419 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1421 %files -n glibc64-devel
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1424 %attr(755,root,root) %{_libdir}/libm.so
1425 %attr(755,root,root) %{_libdir}/*crt*.o
1426 %{_libdir}/libbsd-compat.a
1428 %{_libdir}/libc_nonshared.a
1430 %{_libdir}/libieee.a
1431 %{_libdir}/libpthread_nonshared.a
1432 %{_libdir}/librpcsvc.a
1434 %files -n glibc64-static
1435 %defattr(644,root,root,755)
1437 %{_libdir}/libBrokenLocale.a
1439 %{_libdir}/libcrypt.a
1442 %{_libdir}/libmcheck.a
1444 %{_libdir}/libpthread.a
1445 %{_libdir}/libresolv.a
1447 %{_libdir}/libutil.a