3 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010975.html
5 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
9 %bcond_with omitfp # build without frame pointer (pass \--enable-omitfp)
10 %bcond_without memusage # don't build memusage utility
11 %bcond_with kernelheaders # use headers from kernel-headers instead of
12 # linux-libc-headers (evil, breakage etc., don't use)
13 %bcond_without dist_kernel # for above, allow non-distribution kernel
14 %bcond_with nptl # use nptl instead of linuxthreads (implies tls)
15 %bcond_with tls # use tls
16 %bcond_with tests # perform "make test"
20 # - localedb-gen man pages(?)
21 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
22 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
23 # linuxthreads/tst-cancel8, debug/backtrace-tst(SEGV) fail on alpha
26 %{!?min_kernel:%global min_kernel 2.4.6}
29 # it seems that nptl uses cmpxchgl (available since i486) on x86
30 %ifarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 alpha s390 s390x sparcv9 ppc ppc64
31 %if "%{min_kernel}" < "2.6.0"
32 %global min_kernel 2.6.0
42 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc sparcv9 ppc ppc64
48 %undefine with_memusage
51 %define llh_version 7:2.6.6.0
52 %define _snap 20040722
58 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
60 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
62 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
65 Release: 0.%{_snap}.5%{?with_nptl:+nptl}%{!?with_nptl:%{?with_tls:+tls}}
69 #Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
70 Source0: %{name}-%{_snap}.tar.bz2
71 # Source0-md5: 492f7dbecb7f8e5c03d48dd5443a1e88
72 #Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
73 #Source1: %{name}-linuxthreads-2.3.3.tar.bz2
75 Source3: nscd.sysconfig
76 Source4: nscd.logrotate
77 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
78 Source5: %{name}-man-pages.tar.bz2
79 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
80 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
81 Source6: %{name}-non-english-man-pages.tar.bz2
82 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
83 # borrowed from util-linux
84 Source7: %{name}-localedb-gen
85 Patch0: %{name}-info.patch
86 Patch1: %{name}-pl.po-update.patch
87 Patch2: %{name}-pld.patch
88 Patch3: %{name}-crypt-blowfish.patch
89 Patch4: %{name}-linuxthreads-lock.patch
90 Patch5: %{name}-pthread_create-manpage.patch
91 Patch6: %{name}-paths.patch
92 Patch7: %{name}-i786.patch
93 Patch8: %{name}-postshell.patch
94 Patch9: %{name}-missing-nls.patch
95 Patch10: %{name}-java-libc-wait.patch
96 Patch11: %{name}-lthrds_noomit.patch
97 Patch12: %{name}-no_opt_override.patch
98 # this is broken (hardcoded /usr/src/linux)
99 Patch13: %{name}-kernel_includes.patch
100 Patch14: %{name}-includes.patch
101 Patch15: %{name}-soinit-EH_FRAME.patch
102 Patch16: %{name}-sparc-errno_fix.patch
103 Patch17: %{name}-csu-quotes.patch
104 Patch18: %{name}-tests-noproc.patch
105 Patch19: %{name}-new-charsets.patch
106 Patch20: %{name}-sr_CS.patch
107 Patch21: %{name}-sparc64-dl-machine.patch
108 Patch22: %{name}-tzfile-noassert.patch
109 Patch23: %{name}-ifreq.patch
110 Patch24: %{name}-morelocales.patch
111 Patch25: %{name}-ppc-getcontext.patch
112 Patch26: %{name}-locale_fixes.patch
114 Patch30: %{name}-pax_iconvconfig.patch
115 Patch31: %{name}-pax_dl-execstack.patch
116 URL: http://www.gnu.org/software/libc/
117 BuildRequires: automake
118 BuildRequires: binutils >= 2.15.90.0.3
119 BuildRequires: gcc >= 3.2
120 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
121 BuildRequires: gettext-devel >= 0.10.36
122 %if %{with kernelheaders}
123 %{?with_dist_kernel:BuildRequires: kernel-headers < 2.5}
125 BuildRequires: linux-libc-headers >= %{llh_version}
127 BuildRequires: perl-base
128 BuildRequires: rpm-build >= 4.3-0.20030610.28
129 BuildRequires: rpm-perlprov
130 BuildRequires: sed >= 4.0.5
131 BuildRequires: texinfo
134 Requires: glibc-misc = %{epoch}:%{version}-%{release}
135 %{?with_tls:Provides: glibc(tls)}
138 Provides: /sbin/ldconfig
139 Obsoletes: %{name}-common
140 Obsoletes: %{name}-debug
142 Conflicts: kernel < %{min_kernel}
143 Conflicts: ld.so < 1.9.9-10
144 Conflicts: man-pages < 1.43
145 Conflicts: rc-scripts < 0.3.1-13
147 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
149 %define debugcflags -O1 -g
151 %define specflags_sparc64 -mvis -fcall-used-g6
152 %define _libdir /usr/lib64
154 # we don't want perl dependency in glibc-devel
155 %define _noautoreqfiles %{_bindir}/mtrace
156 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
157 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
158 # patched not to crash on partial hardlinks too)
159 %define _hack_dontneed_PartialHardlinkSets 1
162 Contains the standard libraries that are used by multiple programs on
163 the system. In order to save disk space and memory, as well as to ease
164 upgrades, common system code is kept in one place and shared between
165 programs. This package contains the most important sets of shared
166 libraries, the standard C library and the standard math library.
167 Without these, a Linux system will not function. It also contains
168 national language (locale) support and timezone databases.
170 Can be used on: Linux kernel >= %{min_kernel}.
173 Contiene las bibliotecas estándared que son usadas por varios
174 programas del sistema. Para ahorrar el espacio en el disco y la
175 memoria, igual que para facilitar actualizaciones, código común del
176 sistema se guarda en un sitio y es compartido entre los programas.
177 Este paquete contiene las bibliotecas compartidas más importantes, es
178 decir la biblioteca C estándar y la biblioteca estándar de matemática.
179 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
180 soporte de idiomas nacionales (locale) y bases de datos de zona de
183 Puede usarse con: núcleo Linux >= %{min_kernel}.
186 Enthält die Standard-Libraries, die von verschiedenen Programmen im
187 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
188 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
189 einer einzigen Stelle gespeichert und wird von den Programmen
190 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
191 shared Libraries, die Standard-C-Library und die
192 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
193 Ferner enthält es den Support für die verschiedenen Sprachgregionen
194 (locale) und die Zeitzonen-Datenbank.
196 Can be used on: Linux kernel >= %{min_kernel}.
199 Contient les bibliothèques standards utilisées par de nombreux
200 programmes du système. Afin d'économiser l'espace disque et mémoire,
201 et de faciliter les mises à jour, le code commun au système est mis à
202 un endroit et partagé entre les programmes. Ce paquetage contient les
203 bibliothèques partagées les plus importantes, la bibliothèque standard
204 du C et la bibliothèque mathématique standard. Sans celles-ci, un
205 système Linux ne peut fonctionner. Il contient aussi la gestion des
206 langues nationales (locales) et les bases de données des zones
209 Can be used on: Linux kernel >= %{min_kernel}.
213 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
214 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
215 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
216 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
217 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
218 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
219 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
220 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
222 Can be used on: Linux kernel >= %{min_kernel}.
225 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
226 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
227 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
228 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
229 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
230 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
231 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
232 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
233 jêzyków (locale) oraz definicje stref czasowych.
235 Przeznaczony dla j±dra Linux >= %{min_kernel}.
238 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
239 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
240 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
241 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
242 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
243 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
244 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
245 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
246 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
248 Can be used on: Linux kernel >= %{min_kernel}.
251 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
252 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
253 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
254 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
255 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
256 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
257 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
259 Can be used on: Linux kernel >= %{min_kernel}.
262 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
263 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
264 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
265 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
266 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
267 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
268 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
269 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
270 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
272 Can be used on: Linux kernel >= %{min_kernel}.
275 Summary: Utilities and data used by glibc
276 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
277 Group: Development/Libraries
279 PreReq: %{name} = %{epoch}:%{version}-%{release}
282 Utilities and data used by glibc.
284 %description misc -l pl
285 Narzêdzia i dane u¿ywane przez glibc.
288 Summary: Additional libraries required to compile
289 Summary(de): Weitere Libraries zum Kompilieren
290 Summary(es): Bibliotecas adicionales necesarias para la compilación
291 Summary(fr): Librairies supplémentaires nécessaires à la compilation
292 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
293 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
294 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
295 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
296 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
297 Group: Development/Libraries
298 Requires: %{name} = %{epoch}:%{version}-%{release}
299 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
300 Obsoletes: libiconv-devel
303 To develop programs which use the standard C libraries (which nearly
304 all programs do), the system needs to have these standard header files
305 and object files available for creating the executables.
307 %description devel -l de
308 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
309 verwenden (also fast alle), benötigt das System diese Standard-Header-
310 und Objektdateien zum Erstellen der ausführbaren Programme.
312 %description devel -l es
313 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
314 cual hacen prácticamente todos los programas), el sistema necesita
315 disponer de estos ficheros de cabecera y de objetos para crear los
318 %description devel -l fr
319 Pour développer des programmes utilisant les bibliothèques standard du
320 C (ce que presque tous les programmes font), le système doit posséder
321 ces fichiers en-têtes et objets standards pour créer les exécutables.
323 %description devel -l ja
324 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
325 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
326 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
327 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
328 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
331 %description devel -l pl
332 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
333 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
334 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
335 wykonywalnych i innych bibliotek.
337 %description devel -l ru
338 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
339 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
340 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
343 %description devel -l tr
344 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
345 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
348 %description devel -l uk
349 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
350 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
351 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
355 Summary: Name Service Caching Daemon
356 Summary(es): Demonio de caché del servicio de nombres
357 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
358 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
359 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
360 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
361 Group: Networking/Daemons
362 PreReq: rc-scripts >= 0.2.0
363 Requires(post,preun): /sbin/chkconfig
364 Requires(post): fileutils
365 Requires: %{name} = %{epoch}:%{version}-%{release}
368 nscd caches name service lookups; it can dramatically improve
369 performance with NIS+, and may help with DNS as well. You cannot use
370 nscd with 2.0 kernels, due to bugs in the kernel-side thread support.
371 nscd happens to hit these bugs particularly hard.
373 %description -n nscd -l es
374 nscd guarda las peticiones del servicio de nombres en una caché; eso
375 puede aumentar drásticamente las prestaciones de NIS+, y también puede
376 ayudar con DNS. No puede usar nscd con núcleos 2.0, por contener éstos
377 errores en el soporte de hilos. Resulta que estos errores impactan el
378 nscd de manera realmente grave.
380 %description -n nscd -l ja
381 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
382 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£ 2.0
383 ¥«¡¼¥Í¥ë¤Ç nscd ¤ò»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
384 ¤½¤ì¤Ï¡¢¥«¡¼¥Í¥ë¦¤Î¥¹¥ì¥Ã¥É¥µ¥Ý¡¼¥È¤Ë¥Ð¥°¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£ÉÔ¹¬¤Ê¤³¤È¤Ë¡¢
385 nscd ¤Ï¤³¤ì¤é¤Î¥Ð¥°¤ËÆäˤϤ²¤·¤¯¤¢¤¿¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
387 %description -n nscd -l pl
388 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
389 drastycznie poprawiæ szybko¶æ dzia³ania NIS+. Nie jest mo¿liwe
390 u¿ywanie nscd z j±drami serii 2.0.x z powodu b³êdów po stronie j±dra w
393 %description -n nscd -l ru
394 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
395 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
398 %description -n nscd -l uk
399 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
400 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
402 %package -n localedb-src
403 Summary: locale database source code
404 Summary(es): Código fuente de la base de datos de los locales
405 Summary(pl): Kod ¼ród³owy bazy locale
407 Requires: %{name} = %{epoch}:%{version}-%{release}
410 %description -n localedb-src
411 This add-on package contains the data needed to build the locale data
412 files to use the internationalization features of the GNU libc.
414 %description -n localedb-src -l es
415 Este paquete adicional contiene los datos necesarios para construir
416 los ficheros de locale, imprescindibles para usar las cualidades de
417 internacionalización de GNU libc.
419 %description -n localedb-src -l pl
420 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
421 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
424 %package localedb-all
425 Summary: locale database for all locales supported by glibc
426 Summary(es): Base de datos de todos los locales soportados por glibc
427 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
429 Requires: iconv = %{epoch}:%{version}-%{release}
430 Requires: %{name} = %{epoch}:%{version}-%{release}
432 %description localedb-all
433 This package contains locale database for all locales supported by
434 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
435 something smaller with support for chosen locales only, consider
436 installing localedb-src and regenerating database using localedb-gen
437 script (when database is generated, localedb-src can be uninstalled).
439 %description localedb-all -l es
440 Este paquete contiene una base de datos de todos los locales
441 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
442 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
443 locales elegidos, considérese instalar localedb-src y regenerar la
444 base de datos usando el escript localedb-gen (una vez que la base de
445 datos esté creada, localedb-src se podrá desinstalar).
447 %description localedb-all -l pl
448 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
449 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
450 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
451 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
452 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
453 pakiet localedb-src mo¿na odinstalowaæ).
456 Summary: Convert encoding of given files from one encoding to another
457 Summary(es): Convierte entre varias codificaciones de los ficheros dados
458 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
459 Group: Applications/Text
460 Requires: %{name} = %{epoch}:%{version}-%{release}
462 %description -n iconv
463 Convert encoding of given files from one encoding to another. You need
464 this package if you want to convert some document from one encoding to
465 another or if you have installed some programs which use Generic
466 Character Set Conversion Interface.
468 %description -n iconv -l es
469 Convierte la codificación de dados ficheros. Necesita este paquete si
470 quiere convertir un documento entre una codificación (juego de
471 caracteres) y otra, o si tiene instalado algún programa que usa el
472 Generic Character Set Conversion Interface (interfaz genérica de
473 conversión de juegos de caracteres).
475 %description -n iconv -l pl
476 Program do konwersji plików tekstowych z jednego kodowania do innego.
477 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
478 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
479 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
480 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
481 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
484 Summary: Static libraries
485 Summary(es): Bibliotecas estáticas
486 Summary(pl): Biblioteki statyczne
487 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
488 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
489 Group: Development/Libraries
490 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
491 Obsoletes: libiconv-static
494 GNU libc static libraries.
496 %description static -l es
497 Bibliotecas estáticas de GNU libc.
499 %description static -l pl
500 Biblioteki statyczne GNU libc.
502 %description static -l ru
503 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
504 ×ÈÏÄÑÔ × glibc-devel.
506 %description static -l uk
507 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
511 Summary: glibc with profiling support
512 Summary(de): glibc mit Profil-Unterstützung
513 Summary(es): glibc con soporte de perfilamiento
514 Summary(fr): glibc avec support pour profiling
515 Summary(pl): glibc ze wsparciem dla profilowania
516 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
517 Summary(tr): Ölçüm desteði olan glibc
518 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
519 Group: Development/Libraries/Libc
520 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
521 Obsoletes: libc-profile
524 When programs are being profiled using gprof, they must use these
525 libraries instead of the standard C libraries for gprof to be able to
526 profile them correctly.
528 %description profile -l de
529 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
530 Libraries anstelle der üblichen C-Libraries verwendet werden.
532 %description profile -l es
533 Cuando programas son perfilidas usando gprof, tienen que usar estas
534 biblioteces en vez de las estándares para que gprof pueda perfilarlas
537 %description profile -l pl
538 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
539 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
542 %description profile -l uk
543 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
544 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
545 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
546 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
549 %description profile -l tr
550 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
551 kitaplýðý kullanmak zorundadýrlar.
553 %description profile -l ru
554 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
555 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
556 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
557 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
561 Summary: glibc PIC archive
562 Summary(es): Archivo PIC de glibc
563 Summary(pl): Archiwum PIC glibc
564 Group: Development/Libraries/Libc
565 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
568 GNU C Library PIC archive contains an archive library (ar file)
569 composed of individual shared objects. This is used for creating a
570 library which is a smaller subset of the standard libc shared library.
572 %description pic -l es
573 El archivo PIC de la biblioteca glibc contiene una biblioteca
574 archivada (un fichero ar) compuesta de individuales objetos
575 compartidos. Es usado para crear una biblioteca que sea un subconjunto
576 más pequeño de la biblioteca libc compartida estándar.
578 %description pic -l pl
579 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
580 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
581 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
582 biblioteki wspó³dzielonej libc.
584 %package -n nss_compat
585 Summary: Old style NYS NSS glibc module
586 Summary(es): El antiguo módulo NYS NSS de glibc
587 Summary(pl): Stary modu³ NYS NSS glibc
589 Requires: %{name} = %{epoch}:%{version}-%{release}
591 %description -n nss_compat
592 Old style NYS NSS glibc module.
594 %description -n nss_compat -l es
595 El antiguo módulo NYS NSS de glibc
597 %description -n nss_compat -l pl
598 Stary modu³ NYS NSS glibc.
601 Summary: BIND NSS glibc module
602 Summary(es): Módulo BIND NSS de glibc
603 Summary(pl): Modu³ BIND NSS glibc
605 Requires: %{name} = %{epoch}:%{version}-%{release}
607 %description -n nss_dns
608 BIND NSS glibc module.
610 %description -n nss_dns -l es
611 Módulo BIND NSS de glibc.
613 %description -n nss_dns -l pl
614 Modu³ BIND NSS glibc.
616 %package -n nss_files
617 Summary: Traditional files databases NSS glibc module
618 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
619 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
621 Requires: %{name} = %{epoch}:%{version}-%{release}
623 %description -n nss_files
624 Traditional files databases NSS glibc module.
626 %description -n nss_files -l es
627 Módulo de tradicionales bases de datos en ficheros para glibc.
629 %description -n nss_files -l pl
630 Modu³ tradycyjnych plikowych baz danych NSS glibc.
632 %package -n nss_hesiod
633 Summary: hesiod NSS glibc module
634 Summary(es): Módulo hesiod NSS de glibc
635 Summary(pl): Modu³ hesiod NSS glibc
637 Requires: %{name} = %{epoch}:%{version}-%{release}
639 %description -n nss_hesiod
640 glibc NSS (Name Service Switch) module for databases access.
642 %description -n nss_hesiod -l es
643 Módulo hesiod NSS de glibc.
645 %description -n nss_hesiod -l pl
646 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
649 Summary: NIS(YP) NSS glibc module
650 Summary(es): Módulo NIS(YP) NSS de glibc
651 Summary(pl): Modu³ NIS(YP) NSS glibc
653 Requires: %{name} = %{epoch}:%{version}-%{release}
655 %description -n nss_nis
656 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
658 %description -n nss_nis -l es
659 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
661 %description -n nss_nis -l pl
662 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
664 %package -n nss_nisplus
665 Summary: NIS+ NSS module
666 Summary(es): Módulo NIS+ NSS
667 Summary(pl): Modu³ NIS+ NSS
669 Requires: %{name} = %{epoch}:%{version}-%{release}
671 %description -n nss_nisplus
672 glibc NSS (Name Service Switch) module for NIS+ databases access.
674 %description -n nss_nisplus -l es
675 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
678 %description -n nss_nisplus -l pl
679 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
683 Summary(es): Un juguete
686 Requires: %{name} = %{epoch}:%{version}-%{release}
689 %description memusage
692 %description memusage -l es
695 %description memusage -l pl
698 %package zoneinfo_right
699 Summary: Non-POSIX (real) time zones
700 Summary(es): Zonas de tiempo reales (no de POSIX)
701 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
703 Requires: %{name} = %{epoch}:%{version}-%{release}
705 %description zoneinfo_right
706 You don't want this. Details at:
707 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
709 %description zoneinfo_right -l es
710 No lo necesita. Encontrará los detalles en:
711 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
713 %description zoneinfo_right -l pl
714 Nie potrzebujesz tego. Szczegó³y pod:
715 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
717 %package -n %{name}64
718 Summary: GNU libc - 64-bit libraries
719 Summary(es): GNU libc - bibliotecas de 64 bits
720 Summary(pl): GNU libc - biblioteki 64-bitowe
723 Provides: glibc = %{epoch}:%{version}-%{release}
724 Requires: glibc-misc = %{epoch}:%{version}-%{release}
726 Requires: %{name} = %{epoch}:%{version}-%{release}
729 %description -n %{name}64
730 64-bit GNU libc libraries for 64bit architecture.
732 %description -n %{name}64 -l es
733 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
735 %description -n %{name}64 -l pl
736 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
738 %package -n %{name}64-devel
739 Summary: Development files for 64-bit GNU libc libraries
740 Summary(es): Ficheros de desarrollo para bibliotecas GNU libc de 64 bits
741 Summary(pl): Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc
742 Group: Development/Libraries
743 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
745 %description -n %{name}64-devel
746 Development files for 64-bit GNU libc libraries for 64bit
749 %description -n %{name}64-devel -l es
750 Ficheros de desarrollo para las bibliotecas GNU libc de 64 bits para
751 la arquitectura 64bit.
753 %description -n %{name}64-devel -l pl
754 Pliki do programowania z u¿yciem 64-bitowych bibliotek GNU libc dla
757 %package -n %{name}64-static
758 Summary: Static 64-bit GNU libc libraries
759 Summary(es): Bibliotecas estáticas GNU libc de 64 bits
760 Summary(pl): Statyczne 64-bitowe biblioteki GNU libc
761 Group: Development/Libraries
762 Requires: %{name}64-devel = %{epoch}:%{version}-%{release}
764 %description -n %{name}64-static
765 Static 64-bit GNU libc libraries.
767 %description -n %{name}64-static -l es
768 Bibliotecas estáticas GNU libc de 64 bits.
770 %description -n %{name}64-static -l pl
771 Statyczne 64-bitowe biblioteki GNU libc.
774 #setup -q -a 1 -n libc
788 # don't know, if it is good idea, for brave ones
790 %{?with_kernelheaders:%patch13}
791 %{?!with_kernelheaders:%patch14 -p1}
812 cp %{_datadir}/automake/config.sub .
813 cp %{_datadir}/automake/config.sub scripts
816 # i786 (aka pentium4) hack
817 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
818 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
820 [ -d builddir ] || mkdir builddir
822 # avoid stripping ld.so by -s in rpmldflags
823 LDFLAGS=" " ; export LDFLAGS
825 --enable-kernel="%{min_kernel}" \
826 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
827 --with%{!?with_tls:out}-tls \
829 --enable-add-ons=nptl \
832 --enable-add-ons=linuxthreads \
835 %if %{with kernelheaders}
836 CPPFLAGS="-I%{_kernelsrcdir}/include" \
837 --with-headers=%{_kernelsrcdir}/include
839 CPPFLAGS="-I%{_includedir}" \
840 --with-headers=%{_includedir}
843 # problem compiling with --enable-bounded (must be reported to libc-alpha)
845 %{__make} %{?parallelmkflags}
848 env LANGUAGE=C LC_ALL=C \
849 %{__make} tests 2>&1 | awk '
852 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
854 gsub(/.*\[/, NIL, file);
855 gsub(/\].*/, NIL, file);
859 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
863 rm -rf $RPM_BUILD_ROOT
864 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
868 env LANGUAGE=C LC_ALL=C \
870 %{?parallelmkflags} \
871 install_root=$RPM_BUILD_ROOT \
872 infodir=%{_infodir} \
875 env LANGUAGE=C LC_ALL=C \
876 %{__make} localedata/install-locales \
877 %{?parallelmkflags} \
878 install_root=$RPM_BUILD_ROOT
880 PICFILES="libc_pic.a libc.map
881 math/libm_pic.a libm.map
882 resolv/libresolv_pic.a"
884 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
885 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
886 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
888 install elf/postshell $RPM_BUILD_ROOT/sbin
890 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
892 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
896 %{__make} -C ../linuxthreads/man
897 install ../linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
900 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
902 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
908 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
909 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
910 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
911 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
913 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
915 # make symlinks across top-level directories absolute
916 for l in anl BrokenLocale crypt dl m nsl pthread resolv rt thread_db util ; do
917 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
918 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
921 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
922 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
923 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
924 install ../nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
925 install ../nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
927 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
928 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
929 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
930 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
931 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
933 :> $RPM_BUILD_ROOT/var/log/nscd
935 rm -rf ../documentation
936 install -d ../documentation
939 cp -f ../linuxthreads/ChangeLog ../documentation/ChangeLog.threads
940 cp -f ../linuxthreads/Changes ../documentation/Changes.threads
941 cp -f ../linuxthreads/README ../documentation/README.threads
943 cp -f ../crypt/README.ufc-crypt ../documentation/
945 cp -f ../ChangeLog* ../documentation
947 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
949 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
951 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
954 # Collect locale files and mark them with %%lang()
956 echo '%defattr(644,root,root,755)' > ../glibc.lang
957 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
959 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
961 # list of long %%lang values we do support
962 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
963 zh_CN zh_CN.gbk zh_HK zh_TW ; do
964 if [ $j = "$lang" ]; then
968 if [ -n "$twochar" ]; then
969 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
970 lang=`echo $lang | sed "s,\..*,,"`
972 lang=`echo $lang | sed "s,_.*,,"`
975 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
976 echo "%lang($lang) $dir" >> ../glibc.lang
979 # XXX: to be added when become supported by glibc
980 # ia,li (used by GNOME)
981 # nso,ss,ven (used by KDE)
983 # bn is used for bn_BD or bn_IN?
984 # omitted here - already existing (with libc.mo):
985 # 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
986 for i in af am ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU en_CA \
987 en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn leet lg \
988 li lo lt lv mi mk ml mn mr ms mt nds ne nn pa pt ro ru se sl sq sr sr@Latn \
989 sr@ije ta tg th uk uz vi wa xh yi zh_HK zu ; do
990 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
991 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
992 lang=`echo $i | sed -e 's/_.*//'`
993 echo "%lang($lang) %{_datadir}/locale/$i" >> ../glibc.lang
996 cd $RPM_BUILD_ROOT%{_datadir}/locale
1000 # localedb-gen infrastructure
1001 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1002 install ../localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1004 # shutup check-files
1005 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1006 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1007 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1008 # we don't support kernel without ptys support
1009 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1011 # no longer supported (/dev/null has the same, but expected behaviour)
1012 rm -f $RPM_BUILD_ROOT%{_bindir}/glibcbug
1015 rm -rf $RPM_BUILD_ROOT
1017 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1018 # when %%postun is run
1022 %post -n %{name}64 -p /sbin/postshell
1024 %post -p /sbin/postshell
1030 %postun -n %{name}64 -p /sbin/postshell
1032 %postun -p /sbin/postshell
1038 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1040 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1042 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1044 %post memusage -p /sbin/ldconfig
1045 %postun memusage -p /sbin/ldconfig
1047 %post -n iconv -p %{_sbindir}/iconvconfig
1050 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1053 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1056 /sbin/chkconfig --add nscd
1058 chmod 000 /var/log/nscd
1059 chown root:root /var/log/nscd
1060 chmod 640 /var/log/nscd
1061 if [ -f /var/lock/subsys/nscd ]; then
1062 /etc/rc.d/init.d/nscd restart 1>&2
1064 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1068 if [ "$1" = "0" ]; then
1069 if [ -f /var/lock/subsys/nscd ]; then
1070 /etc/rc.d/init.d/nscd stop 1>&2
1072 /sbin/chkconfig --del nscd
1079 %defattr(644,root,root,755)
1082 %defattr(644,root,root,755)
1084 %defattr(644,root,root,755)
1085 %doc README NEWS FAQ BUGS
1086 %attr(755,root,root) /sbin/postshell
1087 %attr(755,root,root) /sbin/ldconfig
1088 # ld* and libc.so.6 SONAME symlinks must be in package because of
1089 # chicken-egg problem (postshell is dynamically linked with libc);
1090 # ld-*.so SONAME is ld.so.1 on ppc, ld-linux.so.2 on other archs
1091 %attr(755,root,root) /%{_lib}/ld*
1092 %attr(755,root,root) /%{_lib}/libanl*
1093 %attr(755,root,root) /%{_lib}/libdl*
1094 %attr(755,root,root) /%{_lib}/libnsl*
1095 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1096 %dir %{_libdir}/locale
1097 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1098 %ghost %{_sysconfdir}/ld.so.cache
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1104 #%files -n nss_files
1105 %defattr(644,root,root,755)
1106 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1109 %files misc -f %{name}.lang
1110 %defattr(644,root,root,755)
1112 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1113 %config %{_sysconfdir}/rpc
1115 %attr(755,root,root) /sbin/sln
1116 %attr(755,root,root) %{_bindir}/catchsegv
1117 %attr(755,root,root) %{_bindir}/getent
1118 %attr(755,root,root) %{_bindir}/iconv
1119 %attr(755,root,root) %{_bindir}/ldd
1120 %ifnarch alpha amd64 ia64 ppc sparc64
1121 %attr(755,root,root) %{_bindir}/lddlibc4
1123 %attr(755,root,root) %{_bindir}/locale
1124 %attr(755,root,root) %{_bindir}/rpcgen
1125 %attr(755,root,root) %{_bindir}/tzselect
1127 %attr(755,root,root) %{_sbindir}/rpcinfo
1128 %attr(755,root,root) %{_sbindir}/zdump
1129 %attr(755,root,root) %{_sbindir}/zic
1131 %dir %{_datadir}/locale
1132 %{_datadir}/locale/locale.alias
1133 %{_datadir}/zoneinfo
1134 %exclude %{_datadir}/zoneinfo/right
1136 %{_mandir}/man1/catchsegv.1*
1137 %{_mandir}/man1/getent.1*
1138 %{_mandir}/man1/iconv.1*
1139 %{_mandir}/man1/ldd.1*
1140 %{_mandir}/man1/locale.1*
1141 %{_mandir}/man1/rpcgen.1*
1142 %{_mandir}/man5/locale.5*
1143 %{_mandir}/man5/nsswitch.conf.5*
1144 %{_mandir}/man5/tzfile.5*
1146 %{_mandir}/man8/ld*.8*
1147 %{_mandir}/man8/rpcinfo.8*
1148 %{_mandir}/man8/sln.8*
1149 %{_mandir}/man8/tzselect.8*
1150 %{_mandir}/man8/zdump.8*
1151 %{_mandir}/man8/zic.8*
1152 %lang(cs) %{_mandir}/cs/man7/*
1153 %lang(de) %{_mandir}/de/man5/tzfile.5*
1154 %lang(de) %{_mandir}/de/man7/*
1155 %lang(es) %{_mandir}/es/man5/locale.5*
1156 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1157 %lang(es) %{_mandir}/es/man5/tzfile.5*
1158 %lang(es) %{_mandir}/es/man7/*
1159 %lang(es) %{_mandir}/es/man8/ld*.8*
1160 %lang(es) %{_mandir}/es/man8/tzselect.8*
1161 %lang(es) %{_mandir}/es/man8/zdump.8*
1162 %lang(es) %{_mandir}/es/man8/zic.8*
1163 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1164 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1165 %lang(fr) %{_mandir}/fr/man5/locale.5*
1166 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1167 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1168 %lang(fr) %{_mandir}/fr/man7/*
1169 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1170 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1171 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1172 %lang(fr) %{_mandir}/fr/man8/zic.8*
1173 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1174 %lang(hu) %{_mandir}/hu/man7/*
1175 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1176 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1177 %lang(it) %{_mandir}/it/man5/locale.5*
1178 %lang(it) %{_mandir}/it/man7/*
1179 %lang(it) %{_mandir}/it/man8/tzselect.8*
1180 %lang(it) %{_mandir}/it/man8/zdump.8*
1181 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1182 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1183 %lang(ja) %{_mandir}/ja/man5/locale.5*
1184 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1185 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1186 %lang(ja) %{_mandir}/ja/man7/*
1187 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1188 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1189 %lang(ja) %{_mandir}/ja/man8/sln.8*
1190 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1191 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1192 %lang(ja) %{_mandir}/ja/man8/zic.8*
1193 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1194 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1195 %lang(ko) %{_mandir}/ko/man7/*
1196 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1197 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1198 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1199 %lang(pl) %{_mandir}/pl/man5/locale.5*
1200 %lang(pl) %{_mandir}/pl/man7/*
1201 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1202 %lang(pt) %{_mandir}/pt/man5/locale.5*
1203 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1204 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1205 %lang(pt) %{_mandir}/pt/man7/*
1206 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1207 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1208 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1209 %lang(pt) %{_mandir}/pt/man8/zic.8*
1210 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1211 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1212 %lang(ru) %{_mandir}/ru/man7/*
1213 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1214 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1215 %lang(ru) %{_mandir}/ru/man8/zic.8*
1216 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1217 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1218 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1219 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1220 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1221 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1222 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1223 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1225 %files zoneinfo_right
1226 %defattr(644,root,root,755)
1227 %{_datadir}/zoneinfo/right
1229 %files -n nss_compat
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1233 %files -n nss_hesiod
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1240 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1242 %files -n nss_nisplus
1243 %defattr(644,root,root,755)
1244 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1246 %if %{with memusage}
1248 %defattr(644,root,root,755)
1249 %attr(755,root,root) %{_bindir}/memusage*
1250 %attr(755,root,root) %{_libdir}/libmemusage.so
1254 %defattr(644,root,root,755)
1255 %doc documentation/* NOTES PROJECTS
1256 %attr(755,root,root) %{_bindir}/gencat
1257 %attr(755,root,root) %{_bindir}/getconf
1258 %attr(755,root,root) %{_bindir}/*prof*
1259 %attr(755,root,root) %{_bindir}/*trace
1263 %{_includedir}/alpha
1269 %{_includedir}/netash
1270 %{_includedir}/netatalk
1271 %{_includedir}/netax25
1272 %{_includedir}/neteconet
1273 %{_includedir}/netinet
1274 %{_includedir}/netipx
1275 %{_includedir}/netpacket
1276 %{_includedir}/netrom
1277 %{_includedir}/netrose
1279 %{_includedir}/protocols
1281 %{_includedir}/rpcsvc
1285 %{_infodir}/libc.info*
1287 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1288 %attr(755,root,root) %{_libdir}/libm.so
1289 %attr(755,root,root) %{_libdir}/*crt*.o
1290 %{_libdir}/libbsd-compat.a
1292 %{_libdir}/libc_nonshared.a
1294 %{_libdir}/libieee.a
1295 %{_libdir}/libpthread_nonshared.a
1296 %{_libdir}/librpcsvc.a
1298 %{_mandir}/man1/getconf.1*
1299 %{_mandir}/man1/sprof.1*
1301 %lang(cs) %{_mandir}/cs/man3/*
1302 %lang(de) %{_mandir}/de/man3/*
1303 %lang(es) %{_mandir}/es/man3/*
1304 %lang(fr) %{_mandir}/fr/man3/*
1305 %lang(hu) %{_mandir}/hu/man3/*
1306 %lang(it) %{_mandir}/it/man3/*
1307 %lang(ja) %{_mandir}/ja/man3/*
1308 %lang(ko) %{_mandir}/ko/man3/*
1309 %lang(nl) %{_mandir}/nl/man3/*
1310 %lang(pl) %{_mandir}/pl/man3/*
1311 %lang(pt) %{_mandir}/pt/man3/*
1312 %lang(ru) %{_mandir}/ru/man3/*
1313 %lang(uk) %{_mandir}/uk/man3/*
1314 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1317 %defattr(644,root,root,755)
1318 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1319 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1320 %attr(754,root,root) /etc/rc.d/init.d/nscd
1321 %attr(755,root,root) %{_sbindir}/nscd*
1322 %attr(640,root,root) /etc/logrotate.d/nscd
1323 %attr(640,root,root) %ghost /var/log/nscd
1325 %{_mandir}/man5/nscd.conf.5*
1326 %{_mandir}/man8/nscd.8*
1327 %{_mandir}/man8/nscd_nischeck.8*
1328 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1329 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1330 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1331 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1332 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1333 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1335 %files -n localedb-src
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_bindir}/localedef
1338 %attr(755,root,root) %{_bindir}/localedb-gen
1340 %{_mandir}/man1/localedef.1*
1343 %defattr(644,root,root,755)
1344 %{_libdir}/locale/locale-archive
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_sbindir}/iconvconfig
1349 %dir %{_libdir}/gconv
1350 %{_libdir}/gconv/gconv-modules
1351 %attr(755,root,root) %{_libdir}/gconv/*.so
1354 %defattr(644,root,root,755)
1356 %{_libdir}/libBrokenLocale.a
1358 %{_libdir}/libcrypt.a
1361 %{_libdir}/libmcheck.a
1363 %{_libdir}/libpthread.a
1364 %{_libdir}/libresolv.a
1366 %{_libdir}/libutil.a
1370 %defattr(644,root,root,755)
1375 %defattr(644,root,root,755)
1376 %{_libdir}/lib*_pic.a
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libdir}/ld-*
1386 %attr(755,root,root) %{_libdir}/libanl*
1387 %attr(755,root,root) %{_libdir}/libdl*
1388 %attr(755,root,root) %{_libdir}/libnsl*
1389 %attr(755,root,root) %{_libdir}/lib[BScmprtu]*
1390 %attr(755,root,root) %{_libdir}/libnss_dns*.so*
1391 %attr(755,root,root) %{_libdir}/libnss_files*.so*
1393 %files -n glibc64-devel
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libdir}/lib[!m]*.so
1396 %attr(755,root,root) %{_libdir}/libm.so
1397 %attr(755,root,root) %{_libdir}/*crt*.o
1398 %{_libdir}/libbsd-compat.a
1400 %{_libdir}/libc_nonshared.a
1402 %{_libdir}/libieee.a
1403 %{_libdir}/libpthread_nonshared.a
1404 %{_libdir}/librpcsvc.a
1406 %files -n glibc64-static
1407 %defattr(644,root,root,755)
1409 %{_libdir}/libBrokenLocale.a
1411 %{_libdir}/libcrypt.a
1414 %{_libdir}/libmcheck.a
1416 %{_libdir}/libpthread.a
1417 %{_libdir}/libresolv.a
1419 %{_libdir}/libutil.a