2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
3 # default is 2.4.6 for linuxthreads, 2.6.0 for NPTL
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 %{_kernelsrcdir} instead of
9 # linux-libc-headers (evil, breakage etc., don't use)
10 %bcond_without linuxthreads # don't build linuxthreads version (NPTL only)
11 %bcond_without nptl # don't build NPTL version (linuxthreads only)
12 %bcond_without tls # don't support TLS at all (implies no NPTL)
13 %bcond_with __thread # use TLS in linuxthreads
14 %bcond_without selinux # without SELinux support (in nscd)
15 %bcond_with tests # perform "make test"
16 %bcond_with tests_nptl # perform NPTL tests on dual build (requires 2.6.x kernel)
17 %bcond_without localedb # don't build localedb-all (is time consuming)
18 %bcond_with cross # build using crossgcc (without libgcc_eh)
21 # - look at locale fixes/updates in bugzilla
23 # - localedb-gen man pages(?)
24 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
25 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
26 # linuxthreads/tst-cancel8, debug/backtrace-tst(SEGV) fail on alpha
27 # - problem compiling with --enable-bounded (must be reported to libc-alpha)
28 # (is this comment still valid???)
31 %{!?min_kernel:%global min_kernel 2.4.6}
32 %if "%{min_kernel}" < "2.6.0"
33 %global nptl_min_kernel 2.6.0
35 %global nptl_min_kernel %{min_kernel}
39 # sparc temporarily removed (broken)
40 %ifnarch %{ix86} amd64 ia64 alpha s390 s390x sparc64 sparcv9 ppc ppc64
46 # on x86 uses cmpxchgl (available since i486)
47 # on sparc only sparcv9 is supported
48 %ifnarch i486 i586 i686 pentium3 pentium4 athlon amd64 ia64 alpha s390 s390x sparc64 sparcv9 ppc ppc64
58 %undefine with_memusage
61 %if %{with linuxthreads} && %{with nptl}
65 %define llh_version 7:2.6.6.0
71 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
73 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
75 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
82 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
83 # Source0-md5: 174ac5ed4f2851fcc866a3bac1e4a6a5
84 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
85 # Source1-md5: 7a199cd4965eb5622163756ae64358fe
87 Source3: nscd.sysconfig
88 Source4: nscd.logrotate
89 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
90 Source5: %{name}-man-pages.tar.bz2
91 # Source5-md5: 03bee93e9786b3e7dad2570ccb0cbc5c
92 #Source6: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
93 Source6: %{name}-non-english-man-pages.tar.bz2
94 # Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
95 Source7: %{name}-localedb-gen
96 Patch0: %{name}-info.patch
97 Patch1: %{name}-pl.po-update.patch
98 Patch2: %{name}-pld.patch
99 Patch3: %{name}-crypt-blowfish.patch
100 Patch4: %{name}-linuxthreads-lock.patch
101 Patch5: %{name}-pthread_create-manpage.patch
102 Patch6: %{name}-paths.patch
103 Patch7: %{name}-postshell.patch
104 Patch8: %{name}-missing-nls.patch
105 Patch9: %{name}-java-libc-wait.patch
106 Patch10: %{name}-lthrds_noomit.patch
107 Patch11: %{name}-no_opt_override.patch
108 Patch12: %{name}-includes.patch
109 Patch13: %{name}-soinit-EH_FRAME.patch
110 Patch14: %{name}-sparc-errno_fix.patch
111 Patch15: %{name}-csu-quotes.patch
112 Patch16: %{name}-tests-noproc.patch
113 Patch17: %{name}-new-charsets.patch
114 Patch18: %{name}-sr_CS.patch
115 Patch19: %{name}-sparc64-dl-machine.patch
116 Patch20: %{name}-tzfile-noassert.patch
117 Patch21: %{name}-morelocales.patch
118 Patch22: %{name}-locale_ZA.patch
119 Patch23: %{name}-locale_fixes.patch
120 Patch24: %{name}-ZA_collate.patch
121 Patch25: %{name}-tls_fix.patch
122 Patch26: %{name}-nscd.patch
123 Patch27: %{name}-gcc4.patch
124 Patch28: %{name}-cross-gcc_eh.patch
125 # PaX hacks (dropped)
126 #Patch29: %{name}-pax_iconvconfig.patch
127 #Patch30: %{name}-pax_dl-execstack.patch
128 URL: http://www.gnu.org/software/libc/
129 BuildRequires: automake
130 BuildRequires: binutils >= 2:2.15.90.0.3
131 BuildRequires: gcc >= 3.2
132 %ifarch ppc ppc64 sparc sparcv9 sparc64
133 %if %{with nptl} || %{with __thread}
134 BuildRequires: gcc >= 5:3.4
137 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
138 BuildRequires: gettext-devel >= 0.10.36
139 %if %{without kernelheaders}
140 BuildRequires: linux-libc-headers >= %{llh_version}
142 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
143 BuildRequires: perl-base
144 BuildRequires: rpm-build >= 4.3-0.20030610.28
145 BuildRequires: rpm-perlprov
146 BuildRequires: sed >= 4.0.5
147 BuildRequires: texinfo
150 Requires: glibc-misc = %{epoch}:%{version}-%{release}
151 %{?with_tls:Provides: glibc(tls)}
153 Provides: /sbin/ldconfig
154 Obsoletes: %{name}-common
155 Obsoletes: %{name}-debug
157 Conflicts: kernel < %{min_kernel}
158 Conflicts: ld.so < 1.9.9-10
159 Conflicts: man-pages < 1.43
160 Conflicts: rc-scripts < 0.3.1-13
162 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
164 %define debugcflags -O1 -g
165 # avoid -s here (ld.so must not be stripped to allow any program debugging)
166 %define rpmldflags %{nil}
167 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
168 # we don't want perl dependency in glibc-devel
169 %define _noautoreqfiles %{_bindir}/mtrace
170 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
171 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
172 # patched not to crash on partial hardlinks too)
173 %define _hack_dontneed_PartialHardlinkSets 1
174 %define _noautochrpath .*\\(ldconfig\\|sln\\)
175 %if %{with kernelheaders}
176 %define sysheaders %{_kernelsrcdir}/include
178 %define sysheaders %{_includedir}
182 Contains the standard libraries that are used by multiple programs on
183 the system. In order to save disk space and memory, as well as to ease
184 upgrades, common system code is kept in one place and shared between
185 programs. This package contains the most important sets of shared
186 libraries, the standard C library and the standard math library.
187 Without these, a Linux system will not function. It also contains
188 national language (locale) support and timezone databases.
190 Can be used on: Linux kernel >= %{min_kernel}.
193 Contiene las bibliotecas estándared que son usadas por varios
194 programas del sistema. Para ahorrar el espacio en el disco y la
195 memoria, igual que para facilitar actualizaciones, código común del
196 sistema se guarda en un sitio y es compartido entre los programas.
197 Este paquete contiene las bibliotecas compartidas más importantes, es
198 decir la biblioteca C estándar y la biblioteca estándar de matemática.
199 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
200 soporte de idiomas nacionales (locale) y bases de datos de zona de
203 Puede usarse con: núcleo Linux >= %{min_kernel}.
206 Enthält die Standard-Libraries, die von verschiedenen Programmen im
207 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
208 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
209 einer einzigen Stelle gespeichert und wird von den Programmen
210 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
211 shared Libraries, die Standard-C-Library und die
212 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
213 Ferner enthält es den Support für die verschiedenen Sprachgregionen
214 (locale) und die Zeitzonen-Datenbank.
216 Can be used on: Linux kernel >= %{min_kernel}.
219 Contient les bibliothèques standards utilisées par de nombreux
220 programmes du système. Afin d'économiser l'espace disque et mémoire,
221 et de faciliter les mises à jour, le code commun au système est mis à
222 un endroit et partagé entre les programmes. Ce paquetage contient les
223 bibliothèques partagées les plus importantes, la bibliothèque standard
224 du C et la bibliothèque mathématique standard. Sans celles-ci, un
225 système Linux ne peut fonctionner. Il contient aussi la gestion des
226 langues nationales (locales) et les bases de données des zones
229 Can be used on: Linux kernel >= %{min_kernel}.
233 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
234 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
235 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
236 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
237 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
238 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
239 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
240 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
242 Can be used on: Linux kernel >= %{min_kernel}.
245 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
246 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
247 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
248 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
249 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
250 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
251 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
252 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
253 jêzyków (locale) oraz definicje stref czasowych.
255 Przeznaczony dla j±dra Linux >= %{min_kernel}.
258 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
259 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
260 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
261 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
262 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
263 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
264 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
265 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
266 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
268 Can be used on: Linux kernel >= %{min_kernel}.
271 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
272 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
273 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
274 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
275 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
276 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
277 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
279 Can be used on: Linux kernel >= %{min_kernel}.
282 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
283 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
284 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
285 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
286 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
287 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
288 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
289 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
290 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
292 Can be used on: Linux kernel >= %{min_kernel}.
295 Summary: Utilities and data used by glibc
296 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
297 Group: Development/Libraries
299 PreReq: %{name} = %{epoch}:%{version}-%{release}
302 Utilities and data used by glibc.
304 %description misc -l pl
305 Narzêdzia i dane u¿ywane przez glibc.
308 Summary: Additional libraries required to compile
309 Summary(de): Weitere Libraries zum Kompilieren
310 Summary(es): Bibliotecas adicionales necesarias para la compilación
311 Summary(fr): Librairies supplémentaires nécessaires à la compilation
312 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
313 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
314 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
315 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
316 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
317 Group: Development/Libraries
318 Requires: %{name} = %{epoch}:%{version}-%{release}
319 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
320 Obsoletes: libiconv-devel
321 Obsoletes: glibc-headers
324 To develop programs which use the standard C libraries (which nearly
325 all programs do), the system needs to have these standard header files
326 and object files available for creating the executables.
328 %description devel -l de
329 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
330 verwenden (also fast alle), benötigt das System diese Standard-Header-
331 und Objektdateien zum Erstellen der ausführbaren Programme.
333 %description devel -l es
334 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
335 cual hacen prácticamente todos los programas), el sistema necesita
336 disponer de estos ficheros de cabecera y de objetos para crear los
339 %description devel -l fr
340 Pour développer des programmes utilisant les bibliothèques standard du
341 C (ce que presque tous les programmes font), le système doit posséder
342 ces fichiers en-têtes et objets standards pour créer les exécutables.
344 %description devel -l ja
345 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
346 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
347 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
348 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
349 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
352 %description devel -l pl
353 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
354 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
355 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
356 wykonywalnych i innych bibliotek.
358 %description devel -l ru
359 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
360 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
361 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
364 %description devel -l tr
365 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
366 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
369 %description devel -l uk
370 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
371 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
372 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
376 Summary: Name Service Caching Daemon
377 Summary(es): Demonio de caché del servicio de nombres
378 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
379 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
380 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
381 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
382 Group: Networking/Daemons
383 PreReq: rc-scripts >= 0.2.0
384 Requires(post,preun): /sbin/chkconfig
385 Requires(post): fileutils
386 Requires: %{name} = %{epoch}:%{version}-%{release}
389 nscd caches name service lookups; it can dramatically improve
390 performance with NIS+, and may help with DNS as well.
392 %description -n nscd -l es
393 nscd guarda las peticiones del servicio de nombres en una caché; eso
394 puede aumentar drásticamente las prestaciones de NIS+, y también puede
397 %description -n nscd -l ja
398 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
399 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
401 %description -n nscd -l pl
402 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
403 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
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
735 %ifarch amd64 ppc64 s390x sparc64
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.
799 # don't know, if it is good idea, for brave ones
801 %{!?with_kernelheaders:%patch12 -p1}
817 %{?with_cross:%patch28 -p1}
821 # i786 (aka pentium4) hack
822 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
823 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
827 cp -f /usr/share/automake/config.sub scripts
834 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
836 %if %{with linuxthreads}
838 --enable-kernel="%{min_kernel}" \
839 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
840 --with%{!?with___thread:out}-__thread \
841 --with-headers=%{sysheaders} \
842 --with%{!?with_selinux:out}-selinux \
843 --with%{!?with_tls:out}-tls \
844 --enable-add-ons=linuxthreads \
852 install -d builddir-nptl
856 --enable-kernel="%{nptl_min_kernel}" \
857 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
858 --with-headers=%{sysheaders} \
859 --with%{!?with_selinux:out}-selinux \
861 --enable-add-ons=nptl \
863 # simulate cross-compiling so we can perform dual builds on 2.4.x kernel
865 %{?with_dual:cross-compiling=yes}
869 %if %{with linuxthreads}
870 %{__make} -C linuxthreads/man
874 for d in builddir %{?with_tests_nptl:builddir-nptl} ; do
876 env LANGUAGE=C LC_ALL=C \
877 %{__make} tests 2>&1 | awk '
880 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
882 gsub(/.*\[/, NIL, file);
883 gsub(/\].*/, NIL, file);
887 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
893 rm -rf $RPM_BUILD_ROOT
894 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/run/nscd}
897 env LANGUAGE=C LC_ALL=C \
899 install_root=$RPM_BUILD_ROOT \
900 infodir=%{_infodir} \
904 env LANGUAGE=C LC_ALL=C \
905 %{__make} localedata/install-locales \
906 install_root=$RPM_BUILD_ROOT
909 PICFILES="libc_pic.a libc.map
910 math/libm_pic.a libm.map
911 resolv/libresolv_pic.a"
913 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
914 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
915 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
917 install elf/postshell $RPM_BUILD_ROOT/sbin
921 env LANGUAGE=C LC_ALL=C \
922 %{__make} -C builddir-nptl install \
923 cross-compiling=yes \
924 install_root=$RPM_BUILD_ROOT/nptl
926 install -d $RPM_BUILD_ROOT{/%{_lib}/tls,%{_libdir}/nptl,%{_includedir}/nptl}
927 for f in libc libm libpthread libthread_db librt; do
928 mv -f $RPM_BUILD_ROOT/nptl/%{_lib}/${f}[-.]* $RPM_BUILD_ROOT/%{_lib}/tls
930 $RPM_BUILD_ROOT/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/tls
932 for f in libc.so libpthread.so ; do
933 cat $RPM_BUILD_ROOT/nptl%{_libdir}/$f | sed \
934 -e "s|/libc.so.6|/tls/libc.so.6|g" \
935 -e "s|/libpthread.so.0|/tls/libpthread.so.0|g" \
936 -e "s|/libpthread_nonshared.a|/nptl/libpthread_nonshared.a|g" \
937 > $RPM_BUILD_ROOT%{_libdir}/nptl/$f
939 for f in libc.a libpthread.a libpthread_nonshared.a; do
940 mv -f $RPM_BUILD_ROOT/nptl%{_libdir}/$f $RPM_BUILD_ROOT%{_libdir}/nptl
942 cd $RPM_BUILD_ROOT/nptl%{_prefix}/include
943 for f in `find . -type f`; do
944 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$f ] \
945 || ! cmp -s $f $RPM_BUILD_ROOT%{_prefix}/include/$f ; then
946 install -d $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $f`
947 cp -a $f $RPM_BUILD_ROOT%{_prefix}/include/nptl/$f
951 rm -rf $RPM_BUILD_ROOT/nptl
954 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
955 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
957 %if %{with linuxthreads}
958 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
961 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
963 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
969 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
970 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
971 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
972 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
974 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
976 # make symlinks across top-level directories absolute
977 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
978 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
979 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
982 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
983 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
984 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
985 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
986 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
988 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
989 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
990 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
991 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
992 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
994 :> $RPM_BUILD_ROOT/var/log/nscd
997 install -d documentation
999 %if %{with linuxthreads}
1000 for f in ChangeLog Changes README ; do
1001 cp -f linuxthreads/$f documentation/${f}.linuxthreads
1005 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing} ; do
1006 cp -f nptl/$f documentation/${f}.nptl
1009 cp -f crypt/README.ufc-crypt documentation
1011 cp -f ChangeLog* documentation
1013 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1015 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1016 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1018 # Collect locale files and mark them with %%lang()
1020 echo '%defattr(644,root,root,755)' > glibc.lang
1021 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1023 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1025 # list of long %%lang values we do support
1026 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1027 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1028 if [ $j = "$lang" ]; then
1032 if [ -n "$twochar" ]; then
1033 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1034 lang=`echo $lang | sed "s,\..*,,"`
1036 lang=`echo $lang | sed "s,_.*,,"`
1039 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1040 echo "%lang($lang) $dir" >> glibc.lang
1043 # XXX: to be added when become supported by glibc
1044 # tk, yo (used by GNOME)
1045 # ven -> ve (used by KDE)
1047 # bn is used for bn_BD or bn_IN?
1048 # omitted here - already existing (with libc.mo):
1049 # 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
1050 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
1051 en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn \
1052 leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn nso or pa pt ro ru se \
1053 sl sq sr sr@Latn sr@ije ss ta tg th tlh uk uz ve vi wa xh yi zu ; do
1054 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1055 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1056 lang=`echo $i | sed -e 's/_.*//'`
1057 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1060 cd $RPM_BUILD_ROOT%{_datadir}/locale
1065 # localedb-gen infrastructure
1066 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1067 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1069 # shutup check-files
1070 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1071 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1072 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1073 # we don't support kernel without ptys support
1074 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1077 rm -rf $RPM_BUILD_ROOT
1079 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1080 # when %%postun is run
1082 %ifarch amd64 ppc64 s390x sparc64
1083 %post -n %{name}64 -p /sbin/postshell
1085 %post -p /sbin/postshell
1090 %ifarch amd64 ppc64 s390x sparc64
1091 %postun -n %{name}64 -p /sbin/postshell
1093 %postun -p /sbin/postshell
1098 %ifarch amd64 ppc64 s390x sparc64
1099 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1101 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1103 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1105 %post memusage -p /sbin/ldconfig
1106 %postun memusage -p /sbin/ldconfig
1108 %post -n iconv -p %{_sbindir}/iconvconfig
1111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1114 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1117 /sbin/chkconfig --add nscd
1119 chmod 000 /var/log/nscd
1120 chown root:root /var/log/nscd
1121 chmod 640 /var/log/nscd
1122 if [ -f /var/lock/subsys/nscd ]; then
1123 /etc/rc.d/init.d/nscd restart 1>&2
1125 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1129 if [ "$1" = "0" ]; then
1130 if [ -f /var/lock/subsys/nscd ]; then
1131 /etc/rc.d/init.d/nscd stop 1>&2
1133 /sbin/chkconfig --del nscd
1136 %ifarch amd64 ppc64 s390x sparc64
1138 %defattr(644,root,root,755)
1141 %defattr(644,root,root,755)
1143 %defattr(644,root,root,755)
1144 %doc README NEWS FAQ BUGS
1145 %attr(755,root,root) /sbin/postshell
1146 %attr(755,root,root) /sbin/ldconfig
1147 # ld* and libc.so.6 SONAME symlinks must be in package because of
1148 # chicken-egg problem (postshell is dynamically linked with libc);
1149 # ld-*.so SONAME is:
1151 # ld64.so.1 on ppc64,s390x
1152 # ld-linux-ia64.so.2 on ia64
1153 # ld-linux-x86-64.so.2 on amd64
1154 # ld-linux.so.2 on other archs
1155 %attr(755,root,root) /%{_lib}/ld*
1156 %attr(755,root,root) /%{_lib}/libanl*
1157 %attr(755,root,root) /%{_lib}/libdl*
1158 %attr(755,root,root) /%{_lib}/libnsl*
1159 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1162 %attr(755,root,root) /%{_lib}/tls/lib[cmprt]*
1164 %{?with_localedb:%dir %{_libdir}/locale}
1165 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ld.so.conf
1166 %ghost %{_sysconfdir}/ld.so.cache
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1172 #%files -n nss_files
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1176 %files misc -f %{name}.lang
1177 %defattr(644,root,root,755)
1179 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nsswitch.conf
1180 %config %{_sysconfdir}/rpc
1182 %attr(755,root,root) /sbin/sln
1183 %attr(755,root,root) %{_bindir}/catchsegv
1184 %attr(755,root,root) %{_bindir}/getconf
1185 %attr(755,root,root) %{_bindir}/getent
1186 %attr(755,root,root) %{_bindir}/iconv
1187 %attr(755,root,root) %{_bindir}/ldd
1188 %ifarch %{ix86} m68k sparc sparcv9
1189 %attr(755,root,root) %{_bindir}/lddlibc4
1191 %attr(755,root,root) %{_bindir}/locale
1192 %attr(755,root,root) %{_bindir}/rpcgen
1193 %attr(755,root,root) %{_bindir}/tzselect
1195 %attr(755,root,root) %{_sbindir}/rpcinfo
1196 %attr(755,root,root) %{_sbindir}/zdump
1197 %attr(755,root,root) %{_sbindir}/zic
1199 %dir %{_libexecdir}/getconf
1200 %attr(755,root,root) %{_libexecdir}/getconf/*
1202 %dir %{_datadir}/locale
1203 %{_datadir}/locale/locale.alias
1204 %{_datadir}/zoneinfo
1205 %exclude %{_datadir}/zoneinfo/right
1207 %{_mandir}/man1/catchsegv.1*
1208 %{_mandir}/man1/getconf.1*
1209 %{_mandir}/man1/getent.1*
1210 %{_mandir}/man1/iconv.1*
1211 %{_mandir}/man1/ldd.1*
1212 %{_mandir}/man1/locale.1*
1213 %{_mandir}/man1/rpcgen.1*
1214 %{_mandir}/man5/locale.5*
1215 %{_mandir}/man5/nsswitch.conf.5*
1216 %{_mandir}/man5/tzfile.5*
1218 %{_mandir}/man8/ld*.8*
1219 %{_mandir}/man8/rpcinfo.8*
1220 %{_mandir}/man8/sln.8*
1221 %{_mandir}/man8/tzselect.8*
1222 %{_mandir}/man8/zdump.8*
1223 %{_mandir}/man8/zic.8*
1224 %lang(cs) %{_mandir}/cs/man7/*
1225 %lang(de) %{_mandir}/de/man5/tzfile.5*
1226 %lang(de) %{_mandir}/de/man7/*
1227 %lang(es) %{_mandir}/es/man5/locale.5*
1228 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1229 %lang(es) %{_mandir}/es/man5/tzfile.5*
1230 %lang(es) %{_mandir}/es/man7/*
1231 %lang(es) %{_mandir}/es/man8/ld*.8*
1232 %lang(es) %{_mandir}/es/man8/tzselect.8*
1233 %lang(es) %{_mandir}/es/man8/zdump.8*
1234 %lang(es) %{_mandir}/es/man8/zic.8*
1235 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1236 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1237 %lang(fr) %{_mandir}/fr/man5/locale.5*
1238 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1239 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1240 %lang(fr) %{_mandir}/fr/man7/*
1241 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1242 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1243 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1244 %lang(fr) %{_mandir}/fr/man8/zic.8*
1245 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1246 %lang(hu) %{_mandir}/hu/man7/*
1247 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1248 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1249 %lang(it) %{_mandir}/it/man5/locale.5*
1250 %lang(it) %{_mandir}/it/man7/*
1251 %lang(it) %{_mandir}/it/man8/tzselect.8*
1252 %lang(it) %{_mandir}/it/man8/zdump.8*
1253 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1254 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1255 %lang(ja) %{_mandir}/ja/man5/locale.5*
1256 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1257 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1258 %lang(ja) %{_mandir}/ja/man7/*
1259 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1260 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1261 %lang(ja) %{_mandir}/ja/man8/sln.8*
1262 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1263 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1264 %lang(ja) %{_mandir}/ja/man8/zic.8*
1265 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1266 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1267 %lang(ko) %{_mandir}/ko/man7/*
1268 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1269 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1270 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1271 %lang(pl) %{_mandir}/pl/man5/locale.5*
1272 %lang(pl) %{_mandir}/pl/man7/*
1273 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1274 %lang(pt) %{_mandir}/pt/man5/locale.5*
1275 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1276 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1277 %lang(pt) %{_mandir}/pt/man7/*
1278 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1279 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1280 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1281 %lang(pt) %{_mandir}/pt/man8/zic.8*
1282 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1283 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1284 %lang(ru) %{_mandir}/ru/man7/*
1285 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1286 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1287 %lang(ru) %{_mandir}/ru/man8/zic.8*
1288 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1289 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1290 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1291 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1292 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1293 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1294 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1295 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1297 %files zoneinfo_right
1298 %defattr(644,root,root,755)
1299 %{_datadir}/zoneinfo/right
1301 %files -n nss_compat
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1305 %files -n nss_hesiod
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1312 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1314 %files -n nss_nisplus
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1318 %if %{with memusage}
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_bindir}/memusage*
1322 %attr(755,root,root) %{_libdir}/libmemusage.so
1326 %defattr(644,root,root,755)
1327 %doc documentation/* NOTES PROJECTS
1328 %attr(755,root,root) %{_bindir}/gencat
1329 %attr(755,root,root) %{_bindir}/*prof*
1330 %attr(755,root,root) %{_bindir}/*trace
1332 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1333 %attr(755,root,root) %{_libdir}/libcrypt.so
1334 %attr(755,root,root) %{_libdir}/libm.so
1335 %attr(755,root,root) %{_libdir}/libpcprofile.so
1336 %attr(755,root,root) %{_libdir}/*crt*.o
1339 %{_libdir}/libpthread.so
1341 %{_libdir}/libbsd-compat.a
1343 %{_libdir}/libc_nonshared.a
1345 %{_libdir}/libieee.a
1346 %{_libdir}/libpthread_nonshared.a
1347 %{_libdir}/librpcsvc.a
1350 %dir %{_libdir}/nptl
1352 %{_libdir}/nptl/libc.so
1353 %{_libdir}/nptl/libpthread.so
1354 %{_libdir}/nptl/libpthread_nonshared.a
1360 %{_includedir}/alpha
1366 %{_includedir}/netash
1367 %{_includedir}/netatalk
1368 %{_includedir}/netax25
1369 %{_includedir}/neteconet
1370 %{_includedir}/netinet
1371 %{_includedir}/netipx
1372 %{_includedir}/netpacket
1373 %{_includedir}/netrom
1374 %{_includedir}/netrose
1376 %{_includedir}/protocols
1378 %{_includedir}/rpcsvc
1382 %{_infodir}/libc.info*
1384 %{_mandir}/man1/sprof.1*
1386 %lang(cs) %{_mandir}/cs/man3/*
1387 %lang(de) %{_mandir}/de/man3/*
1388 %lang(es) %{_mandir}/es/man3/*
1389 %lang(fr) %{_mandir}/fr/man3/*
1390 %lang(hu) %{_mandir}/hu/man3/*
1391 %lang(it) %{_mandir}/it/man3/*
1392 %lang(ja) %{_mandir}/ja/man3/*
1393 %lang(ko) %{_mandir}/ko/man3/*
1394 %lang(nl) %{_mandir}/nl/man3/*
1395 %lang(pl) %{_mandir}/pl/man3/*
1396 %lang(pt) %{_mandir}/pt/man3/*
1397 %lang(ru) %{_mandir}/ru/man3/*
1398 %lang(uk) %{_mandir}/uk/man3/*
1399 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1402 %defattr(644,root,root,755)
1403 %attr(640,root,root) %config %verify(not md5 size mtime) /etc/sysconfig/nscd
1404 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nscd.*
1405 %attr(754,root,root) /etc/rc.d/init.d/nscd
1406 %attr(755,root,root) %{_sbindir}/nscd*
1407 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/nscd
1408 %attr(640,root,root) %ghost /var/log/nscd
1410 %{_mandir}/man5/nscd.conf.5*
1411 %{_mandir}/man8/nscd.8*
1412 %{_mandir}/man8/nscd_nischeck.8*
1413 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1414 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1415 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1416 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1417 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1418 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1420 %files -n localedb-src
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_bindir}/localedef
1423 %attr(755,root,root) %{_bindir}/localedb-gen
1425 %{_mandir}/man1/localedef.1*
1427 %if %{with localedb}
1429 %defattr(644,root,root,755)
1430 %{_libdir}/locale/locale-archive
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_sbindir}/iconvconfig
1436 %dir %{_libdir}/gconv
1437 %{_libdir}/gconv/gconv-modules
1438 %attr(755,root,root) %{_libdir}/gconv/*.so
1441 %defattr(644,root,root,755)
1443 %{_libdir}/libBrokenLocale.a
1445 %{_libdir}/libcrypt.a
1448 %{_libdir}/libmcheck.a
1450 %{_libdir}/libpthread.a
1451 %{_libdir}/libresolv.a
1453 %{_libdir}/libutil.a
1455 %{_libdir}/nptl/libc.a
1456 %{_libdir}/nptl/libpthread.a
1460 %defattr(644,root,root,755)
1461 #{?with_dual:%{_libdir}/nptl/lib*_p.a}
1465 %defattr(644,root,root,755)
1466 %{_libdir}/lib*_pic.a