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} %{x8664} 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 %{x8664} 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.10.0-3
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: 93d9c51850e0513aa4846ac0ddcef639
84 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
85 # Source1-md5: 77011b0898393c56b799bc011a0f37bf
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}-iconvconfig-nxstack.patch
123 Patch27: %{name}-execvp.patch
124 Patch28: %{name}-cross-gcc_eh.patch
125 Patch29: %{name}-gcc4.patch
126 Patch30: %{name}-no_uint128_t.patch
128 #PatchX: %{name}-pax_dl-execstack.patch
129 URL: http://www.gnu.org/software/libc/
130 BuildRequires: automake
131 BuildRequires: binutils >= 2:2.15.90.0.3
132 BuildRequires: gcc >= 5:3.2
133 BuildRequires: gcc < 5:4.0
134 %ifarch ppc ppc64 sparc sparcv9 sparc64
135 %if %{with nptl} || %{with __thread}
136 BuildRequires: gcc >= 5:3.4
139 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
140 BuildRequires: gettext-devel >= 0.10.36
141 %if %{without kernelheaders}
142 BuildRequires: linux-libc-headers >= %{llh_version}
144 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
145 BuildRequires: perl-base
146 BuildRequires: rpm-build >= 4.3-0.20030610.28
147 BuildRequires: rpm-perlprov
148 BuildRequires: rpmbuild(macros) >= 1.213
149 BuildRequires: sed >= 4.0.5
150 BuildRequires: texinfo
153 Requires: glibc-misc = %{epoch}:%{version}-%{release}
154 %{?with_tls:Provides: glibc(tls)}
156 Provides: /sbin/ldconfig
157 Obsoletes: glibc-common
158 Obsoletes: glibc-debug
160 Conflicts: kernel < %{min_kernel}
161 Conflicts: ld.so < 1.9.9-10
162 Conflicts: man-pages < 1.43
163 Conflicts: rc-scripts < 0.3.1-13
165 Conflicts: poldek < 0.18.8-4
166 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
168 %define debugcflags -O1 -g
169 # avoid -s here (ld.so must not be stripped to allow any program debugging)
170 %define rpmldflags %{nil}
171 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
172 # we don't want perl dependency in glibc-devel
173 %define _noautoreqfiles %{_bindir}/mtrace
174 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
175 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
176 # patched not to crash on partial hardlinks too)
177 %define _hack_dontneed_PartialHardlinkSets 1
178 %define _noautochrpath .*\\(ldconfig\\|sln\\)
179 %if %{with kernelheaders}
180 %define sysheaders %{_kernelsrcdir}/include
182 %define sysheaders %{_includedir}
186 Contains the standard libraries that are used by multiple programs on
187 the system. In order to save disk space and memory, as well as to ease
188 upgrades, common system code is kept in one place and shared between
189 programs. This package contains the most important sets of shared
190 libraries, the standard C library and the standard math library.
191 Without these, a Linux system will not function. It also contains
192 national language (locale) support and timezone databases.
194 Can be used on: Linux kernel >= %{min_kernel}.
197 Contiene las bibliotecas estándared que son usadas por varios
198 programas del sistema. Para ahorrar el espacio en el disco y la
199 memoria, igual que para facilitar actualizaciones, código común del
200 sistema se guarda en un sitio y es compartido entre los programas.
201 Este paquete contiene las bibliotecas compartidas más importantes, es
202 decir la biblioteca C estándar y la biblioteca estándar de matemática.
203 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
204 soporte de idiomas nacionales (locale) y bases de datos de zona de
207 Puede usarse con: núcleo Linux >= %{min_kernel}.
210 Enthält die Standard-Libraries, die von verschiedenen Programmen im
211 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
212 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
213 einer einzigen Stelle gespeichert und wird von den Programmen
214 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
215 shared Libraries, die Standard-C-Library und die
216 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
217 Ferner enthält es den Support für die verschiedenen Sprachgregionen
218 (locale) und die Zeitzonen-Datenbank.
220 Can be used on: Linux kernel >= %{min_kernel}.
223 Contient les bibliothèques standards utilisées par de nombreux
224 programmes du système. Afin d'économiser l'espace disque et mémoire,
225 et de faciliter les mises à jour, le code commun au système est mis à
226 un endroit et partagé entre les programmes. Ce paquetage contient les
227 bibliothèques partagées les plus importantes, la bibliothèque standard
228 du C et la bibliothèque mathématique standard. Sans celles-ci, un
229 système Linux ne peut fonctionner. Il contient aussi la gestion des
230 langues nationales (locales) et les bases de données des zones
233 Can be used on: Linux kernel >= %{min_kernel}.
237 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
238 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
239 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
240 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
241 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
242 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
243 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
244 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
246 Can be used on: Linux kernel >= %{min_kernel}.
249 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
250 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
251 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
252 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
253 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
254 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
255 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
256 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
257 jêzyków (locale) oraz definicje stref czasowych.
259 Przeznaczony dla j±dra Linux >= %{min_kernel}.
262 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
263 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
264 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
265 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
266 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
267 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
268 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
269 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
270 ×ÒÅÍÅÎÎÙÈ ÚÏÎ (timezone databases).
272 Can be used on: Linux kernel >= %{min_kernel}.
275 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
276 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
277 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
278 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
279 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
280 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
281 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
283 Can be used on: Linux kernel >= %{min_kernel}.
286 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
287 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
288 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
289 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
290 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
291 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
292 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
293 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
294 ÞÁÓÏ×ÉÈ ÚÏÎ (timezone databases).
296 Can be used on: Linux kernel >= %{min_kernel}.
299 Summary: Utilities and data used by glibc
300 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
301 Group: Development/Libraries
303 PreReq: %{name} = %{epoch}:%{version}-%{release}
306 Utilities and data used by glibc.
308 %description misc -l pl
309 Narzêdzia i dane u¿ywane przez glibc.
312 Summary: Additional libraries required to compile
313 Summary(de): Weitere Libraries zum Kompilieren
314 Summary(es): Bibliotecas adicionales necesarias para la compilación
315 Summary(fr): Librairies supplémentaires nécessaires à la compilation
316 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
317 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
318 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
319 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
320 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
321 Group: Development/Libraries
322 Requires: %{name} = %{epoch}:%{version}-%{release}
323 %{!?with_kernelheaders:Requires: linux-libc-headers >= %{llh_version}}
324 Obsoletes: libiconv-devel
325 Obsoletes: glibc-headers
328 To develop programs which use the standard C libraries (which nearly
329 all programs do), the system needs to have these standard header files
330 and object files available for creating the executables.
332 %description devel -l de
333 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
334 verwenden (also fast alle), benötigt das System diese Standard-Header-
335 und Objektdateien zum Erstellen der ausführbaren Programme.
337 %description devel -l es
338 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
339 cual hacen prácticamente todos los programas), el sistema necesita
340 disponer de estos ficheros de cabecera y de objetos para crear los
343 %description devel -l fr
344 Pour développer des programmes utilisant les bibliothèques standard du
345 C (ce que presque tous les programmes font), le système doit posséder
346 ces fichiers en-têtes et objets standards pour créer les exécutables.
348 %description devel -l ja
349 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
350 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
351 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
352 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
353 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
356 %description devel -l pl
357 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
358 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
359 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
360 wykonywalnych i innych bibliotek.
362 %description devel -l ru
363 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
364 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
365 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
368 %description devel -l tr
369 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
370 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
373 %description devel -l uk
374 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
375 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
376 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
380 Summary: Name Service Caching Daemon
381 Summary(es): Demonio de caché del servicio de nombres
382 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
383 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
384 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
385 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
386 Group: Networking/Daemons
387 PreReq: rc-scripts >= 0.2.0
388 Requires(pre): /bin/id
389 Requires(pre): /usr/bin/getgid
390 Requires(pre): /usr/sbin/groupadd
391 Requires(pre): /usr/sbin/useradd
392 Requires(post,preun): /sbin/chkconfig
393 Requires(post): fileutils
394 Requires(postun): /usr/sbin/groupdel
395 Requires(postun): /usr/sbin/userdel
396 Requires: %{name} = %{epoch}:%{version}-%{release}
397 %{?with_selinux:Requires: libselinux >= 1.18}
398 Provides: group(nscd)
402 nscd caches name service lookups; it can dramatically improve
403 performance with NIS+, and may help with DNS as well.
405 %description -n nscd -l es
406 nscd guarda las peticiones del servicio de nombres en una caché; eso
407 puede aumentar drásticamente las prestaciones de NIS+, y también puede
410 %description -n nscd -l ja
411 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
412 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
414 %description -n nscd -l pl
415 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
416 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
418 %description -n nscd -l ru
419 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
420 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
423 %description -n nscd -l uk
424 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
425 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
427 %package -n localedb-src
428 Summary: locale database source code
429 Summary(es): Código fuente de la base de datos de los locales
430 Summary(pl): Kod ¼ród³owy bazy locale
432 Requires: %{name} = %{epoch}:%{version}-%{release}
436 %description -n localedb-src
437 This add-on package contains the data needed to build the locale data
438 files to use the internationalization features of the GNU libc.
440 %description -n localedb-src -l es
441 Este paquete adicional contiene los datos necesarios para construir
442 los ficheros de locale, imprescindibles para usar las cualidades de
443 internacionalización de GNU libc.
445 %description -n localedb-src -l pl
446 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
447 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
450 %package localedb-all
451 Summary: locale database for all locales supported by glibc
452 Summary(es): Base de datos de todos los locales soportados por glibc
453 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
455 Requires: iconv = %{epoch}:%{version}-%{release}
456 Requires: %{name} = %{epoch}:%{version}-%{release}
458 %description localedb-all
459 This package contains locale database for all locales supported by
460 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
461 something smaller with support for chosen locales only, consider
462 installing localedb-src and regenerating database using localedb-gen
463 script (when database is generated, localedb-src can be uninstalled).
465 %description localedb-all -l es
466 Este paquete contiene una base de datos de todos los locales
467 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
468 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
469 locales elegidos, considérese instalar localedb-src y regenerar la
470 base de datos usando el escript localedb-gen (una vez que la base de
471 datos esté creada, localedb-src se podrá desinstalar).
473 %description localedb-all -l pl
474 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
475 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
476 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
477 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
478 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
479 pakiet localedb-src mo¿na odinstalowaæ).
482 Summary: Convert encoding of given files from one encoding to another
483 Summary(es): Convierte entre varias codificaciones de los ficheros dados
484 Summary(pl): Program do konwersji plików tekstowych z jednego kodowania do innego
485 Group: Applications/Text
486 Requires: %{name} = %{epoch}:%{version}-%{release}
488 %description -n iconv
489 Convert encoding of given files from one encoding to another. You need
490 this package if you want to convert some document from one encoding to
491 another or if you have installed some programs which use Generic
492 Character Set Conversion Interface.
494 %description -n iconv -l es
495 Convierte la codificación de dados ficheros. Necesita este paquete si
496 quiere convertir un documento entre una codificación (juego de
497 caracteres) y otra, o si tiene instalado algún programa que usa el
498 Generic Character Set Conversion Interface (interfaz genérica de
499 conversión de juegos de caracteres).
501 %description -n iconv -l pl
502 Program do konwersji plików tekstowych z jednego kodowania do innego.
503 Musisz mieæ zainstalowany ten pakiet je¿eli wykonujesz konwersjê
504 dokumentów z jednego kodowania do innego lub je¿eli masz zainstalowane
505 jakie¶ programy, które korzystaj± z Generic Character Set Conversion
506 Interface w glibc, czyli z zestawu funkcji z tej biblioteki, które
507 umo¿liwiaj± konwersjê kodowania danych z poziomu dowolnego programu.
510 Summary: Static libraries
511 Summary(es): Bibliotecas estáticas
512 Summary(pl): Biblioteki statyczne
513 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
514 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
515 Group: Development/Libraries
516 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
517 Obsoletes: libiconv-static
520 GNU libc static libraries.
522 %description static -l es
523 Bibliotecas estáticas de GNU libc.
525 %description static -l pl
526 Biblioteki statyczne GNU libc.
528 %description static -l ru
529 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
530 ×ÈÏÄÑÔ × glibc-devel.
532 %description static -l uk
533 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
537 Summary: glibc with profiling support
538 Summary(de): glibc mit Profil-Unterstützung
539 Summary(es): glibc con soporte de perfilamiento
540 Summary(fr): glibc avec support pour profiling
541 Summary(pl): glibc ze wsparciem dla profilowania
542 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
543 Summary(tr): Ölçüm desteði olan glibc
544 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
545 Group: Development/Libraries/Libc
546 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
547 Obsoletes: libc-profile
550 When programs are being profiled using gprof, they must use these
551 libraries instead of the standard C libraries for gprof to be able to
552 profile them correctly.
554 %description profile -l de
555 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
556 Libraries anstelle der üblichen C-Libraries verwendet werden.
558 %description profile -l es
559 Cuando programas son perfilidas usando gprof, tienen que usar estas
560 biblioteces en vez de las estándares para que gprof pueda perfilarlas
563 %description profile -l pl
564 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
565 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
568 %description profile -l uk
569 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
570 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
571 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
572 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
575 %description profile -l tr
576 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
577 kitaplýðý kullanmak zorundadýrlar.
579 %description profile -l ru
580 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
581 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
582 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
583 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
587 Summary: glibc PIC archive
588 Summary(es): Archivo PIC de glibc
589 Summary(pl): Archiwum PIC glibc
590 Group: Development/Libraries/Libc
591 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
594 GNU C Library PIC archive contains an archive library (ar file)
595 composed of individual shared objects. This is used for creating a
596 library which is a smaller subset of the standard libc shared library.
598 %description pic -l es
599 El archivo PIC de la biblioteca glibc contiene una biblioteca
600 archivada (un fichero ar) compuesta de individuales objetos
601 compartidos. Es usado para crear una biblioteca que sea un subconjunto
602 más pequeño de la biblioteca libc compartida estándar.
604 %description pic -l pl
605 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
606 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
607 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
608 biblioteki wspó³dzielonej libc.
610 %package -n nss_compat
611 Summary: Old style NYS NSS glibc module
612 Summary(es): El antiguo módulo NYS NSS de glibc
613 Summary(pl): Stary modu³ NYS NSS glibc
615 Requires: %{name} = %{epoch}:%{version}-%{release}
617 %description -n nss_compat
618 Old style NYS NSS glibc module.
620 %description -n nss_compat -l es
621 El antiguo módulo NYS NSS de glibc
623 %description -n nss_compat -l pl
624 Stary modu³ NYS NSS glibc.
627 Summary: BIND NSS glibc module
628 Summary(es): Módulo BIND NSS de glibc
629 Summary(pl): Modu³ BIND NSS glibc
631 Requires: %{name} = %{epoch}:%{version}-%{release}
633 %description -n nss_dns
634 BIND NSS glibc module.
636 %description -n nss_dns -l es
637 Módulo BIND NSS de glibc.
639 %description -n nss_dns -l pl
640 Modu³ BIND NSS glibc.
642 %package -n nss_files
643 Summary: Traditional files databases NSS glibc module
644 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
645 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
647 Requires: %{name} = %{epoch}:%{version}-%{release}
649 %description -n nss_files
650 Traditional files databases NSS glibc module.
652 %description -n nss_files -l es
653 Módulo de tradicionales bases de datos en ficheros para glibc.
655 %description -n nss_files -l pl
656 Modu³ tradycyjnych plikowych baz danych NSS glibc.
658 %package -n nss_hesiod
659 Summary: hesiod NSS glibc module
660 Summary(es): Módulo hesiod NSS de glibc
661 Summary(pl): Modu³ hesiod NSS glibc
663 Requires: %{name} = %{epoch}:%{version}-%{release}
665 %description -n nss_hesiod
666 glibc NSS (Name Service Switch) module for databases access.
668 %description -n nss_hesiod -l es
669 Módulo hesiod NSS de glibc.
671 %description -n nss_hesiod -l pl
672 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
675 Summary: NIS(YP) NSS glibc module
676 Summary(es): Módulo NIS(YP) NSS de glibc
677 Summary(pl): Modu³ NIS(YP) NSS glibc
679 Requires: %{name} = %{epoch}:%{version}-%{release}
681 %description -n nss_nis
682 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
684 %description -n nss_nis -l es
685 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
687 %description -n nss_nis -l pl
688 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
690 %package -n nss_nisplus
691 Summary: NIS+ NSS module
692 Summary(es): Módulo NIS+ NSS
693 Summary(pl): Modu³ NIS+ NSS
695 Requires: %{name} = %{epoch}:%{version}-%{release}
697 %description -n nss_nisplus
698 glibc NSS (Name Service Switch) module for NIS+ databases access.
700 %description -n nss_nisplus -l es
701 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
704 %description -n nss_nisplus -l pl
705 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
709 Summary(es): Un juguete
712 Requires: %{name} = %{epoch}:%{version}-%{release}
714 %description memusage
717 %description memusage -l es
720 %description memusage -l pl
723 %package zoneinfo_right
724 Summary: Non-POSIX (real) time zones
725 Summary(es): Zonas de tiempo reales (no de POSIX)
726 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
728 Requires: %{name} = %{epoch}:%{version}-%{release}
730 %description zoneinfo_right
731 You don't want this. Details at:
732 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
734 %description zoneinfo_right -l es
735 No lo necesita. Encontrará los detalles en:
736 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
738 %description zoneinfo_right -l pl
739 Nie potrzebujesz tego. Szczegó³y pod:
740 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
742 %package -n %{name}64
743 Summary: GNU libc - 64-bit libraries
744 Summary(es): GNU libc - bibliotecas de 64 bits
745 Summary(pl): GNU libc - biblioteki 64-bitowe
748 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
749 Provides: glibc = %{epoch}:%{version}-%{release}
750 %{?with_tls:Provides: glibc(tls)}
752 Obsoletes: glibc-common
753 Obsoletes: glibc-debug
755 Conflicts: kernel < %{min_kernel}
756 Conflicts: ld.so < 1.9.9-10
757 Conflicts: man-pages < 1.43
758 Conflicts: rc-scripts < 0.3.1-13
760 Conflicts: poldek < 0.18.8-4
762 %description -n %{name}64
763 64-bit GNU libc libraries for 64bit architecture.
765 %description -n %{name}64 -l es
766 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
768 %description -n %{name}64 -l pl
769 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
784 # don't know, if it is good idea, for brave ones
786 %{!?with_kernelheaders:%patch12 -p1}
802 %{?with_cross:%patch28 -p1}
808 # i786 (aka pentium4) hack
809 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
810 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
814 cp -f /usr/share/automake/config.sub scripts
821 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
823 %if %{with linuxthreads}
825 --enable-kernel="%{min_kernel}" \
826 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
827 --with%{!?with___thread:out}-__thread \
828 --with-headers=%{sysheaders} \
829 --with%{!?with_selinux:out}-selinux \
830 --with%{!?with_tls:out}-tls \
831 --enable-add-ons=linuxthreads \
839 install -d builddir-nptl
843 --enable-kernel="%{nptl_min_kernel}" \
844 --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
845 --with-headers=%{sysheaders} \
846 --with%{!?with_selinux:out}-selinux \
848 --enable-add-ons=nptl \
850 # simulate cross-compiling so we can perform dual builds on 2.4.x kernel
852 %{?with_dual:cross-compiling=yes}
856 %if %{with linuxthreads}
857 %{__make} -C linuxthreads/man
861 for d in builddir %{?with_tests_nptl:builddir-nptl} ; do
863 env LANGUAGE=C LC_ALL=C \
864 %{__make} tests 2>&1 | awk '
867 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
869 gsub(/.*\[/, NIL, file);
870 gsub(/\].*/, NIL, file);
874 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
880 rm -rf $RPM_BUILD_ROOT
881 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
884 env LANGUAGE=C LC_ALL=C \
886 install_root=$RPM_BUILD_ROOT \
887 infodir=%{_infodir} \
891 env LANGUAGE=C LC_ALL=C \
892 %{__make} localedata/install-locales \
893 install_root=$RPM_BUILD_ROOT
896 PICFILES="libc_pic.a libc.map
897 math/libm_pic.a libm.map
898 resolv/libresolv_pic.a"
900 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
901 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
902 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
904 install elf/postshell $RPM_BUILD_ROOT/sbin
908 env LANGUAGE=C LC_ALL=C \
909 %{__make} -C builddir-nptl install \
910 cross-compiling=yes \
911 install_root=$RPM_BUILD_ROOT/nptl
913 install -d $RPM_BUILD_ROOT{/%{_lib}/tls,%{_libdir}/nptl,%{_includedir}/nptl}
914 for f in libc libm libpthread libthread_db librt; do
915 mv -f $RPM_BUILD_ROOT/nptl/%{_lib}/${f}[-.]* $RPM_BUILD_ROOT/%{_lib}/tls
917 $RPM_BUILD_ROOT/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/tls
919 for f in libc.so libpthread.so ; do
920 cat $RPM_BUILD_ROOT/nptl%{_libdir}/$f | sed \
921 -e "s|/libc.so.6|/tls/libc.so.6|g" \
922 -e "s|/libpthread.so.0|/tls/libpthread.so.0|g" \
923 -e "s|/libpthread_nonshared.a|/nptl/libpthread_nonshared.a|g" \
924 > $RPM_BUILD_ROOT%{_libdir}/nptl/$f
926 for f in libc.a libpthread.a libpthread_nonshared.a; do
927 mv -f $RPM_BUILD_ROOT/nptl%{_libdir}/$f $RPM_BUILD_ROOT%{_libdir}/nptl
929 cd $RPM_BUILD_ROOT/nptl%{_prefix}/include
930 for f in `find . -type f`; do
931 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$f ] \
932 || ! cmp -s $f $RPM_BUILD_ROOT%{_prefix}/include/$f ; then
933 install -d $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $f`
934 cp -a $f $RPM_BUILD_ROOT%{_prefix}/include/nptl/$f
938 rm -rf $RPM_BUILD_ROOT/nptl
941 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
942 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
944 %if %{with linuxthreads}
945 install linuxthreads/man/*.3thr $RPM_BUILD_ROOT%{_mandir}/man3
948 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
950 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
956 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
957 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
958 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
959 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
961 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
963 # make symlinks across top-level directories absolute
964 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
965 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
966 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
969 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
970 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
971 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
972 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
973 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
975 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
976 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
977 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
978 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
979 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
981 :> $RPM_BUILD_ROOT/var/log/nscd
982 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
983 :> $RPM_BUILD_ROOT/var/lib/nscd/group
984 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
987 install -d documentation
989 %if %{with linuxthreads}
990 for f in ChangeLog Changes README ; do
991 cp -f linuxthreads/$f documentation/${f}.linuxthreads
995 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing} ; do
996 cp -f nptl/$f documentation/${f}.nptl
999 cp -f crypt/README.ufc-crypt documentation
1001 cp -f ChangeLog* documentation
1003 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1005 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1006 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1008 # Collect locale files and mark them with %%lang()
1010 echo '%defattr(644,root,root,755)' > glibc.lang
1011 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1013 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1015 # list of long %%lang values we do support
1016 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1017 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1018 if [ $j = "$lang" ]; then
1022 if [ -n "$twochar" ]; then
1023 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1024 lang=`echo $lang | sed "s,\..*,,"`
1026 lang=`echo $lang | sed "s,_.*,,"`
1029 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1030 echo "%lang($lang) $dir" >> glibc.lang
1033 # XXX: to be added when become supported by glibc
1034 # tk, yo (used by GNOME)
1035 # ven -> ve (used by KDE)
1037 # bn is used for bn_BD or bn_IN?
1038 # omitted here - already existing (with libc.mo):
1039 # 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
1040 for i in af am ang ar az bg bn br bs cy de_AT en en@boldquot en@quot en_AU \
1041 en_CA en_US eo es_AR es_MX et eu fa fo ga gu he hi hsb ia id is ka kn \
1042 leet lg li lo lt lv mi mk ml mn mr ms mt nds ne nn nso or pa pt ro ru se \
1043 sl sq sr sr@Latn sr@ije ss ta tg th tlh uk uz ve vi wa xh yi zu ; do
1044 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1045 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1046 lang=`echo $i | sed -e 's/_.*//'`
1047 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1050 cd $RPM_BUILD_ROOT%{_datadir}/locale
1055 # localedb-gen infrastructure
1056 install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1057 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1059 # shutup check-files
1060 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1061 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1062 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1063 # we don't support kernel without ptys support
1064 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1067 rm -rf $RPM_BUILD_ROOT
1069 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1070 # when %%postun is run
1072 %ifarch %{x8664} ppc64 s390x sparc64
1073 %post -n %{name}64 -p /sbin/postshell
1075 %post -p /sbin/postshell
1080 %ifarch %{x8664} ppc64 s390x sparc64
1081 %postun -n %{name}64 -p /sbin/postshell
1083 %postun -p /sbin/postshell
1088 %ifarch %{x8664} ppc64 s390x sparc64
1089 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1091 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1093 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1095 %post memusage -p /sbin/ldconfig
1096 %postun memusage -p /sbin/ldconfig
1098 %post -n iconv -p %{_sbindir}/iconvconfig
1101 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1107 %groupadd -P nscd -g 144 -r nscd
1108 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1111 /sbin/chkconfig --add nscd
1113 chmod 000 /var/log/nscd
1114 chown root:root /var/log/nscd
1115 chmod 640 /var/log/nscd
1116 if [ -f /var/lock/subsys/nscd ]; then
1117 /etc/rc.d/init.d/nscd restart 1>&2
1119 echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1123 if [ "$1" = "0" ]; then
1124 if [ -f /var/lock/subsys/nscd ]; then
1125 /etc/rc.d/init.d/nscd stop 1>&2
1127 /sbin/chkconfig --del nscd
1131 if [ "$1" = "0" ]; then
1136 %ifarch %{x8664} 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 x86_64
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 mtime size) %{_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 mtime size) %{_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(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1404 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_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 md5 mtime size) /etc/logrotate.d/nscd
1408 %attr(640,root,root) %ghost /var/log/nscd
1411 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1412 %attr(600,root,root) %ghost /var/lib/nscd/group
1413 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1414 %{_mandir}/man5/nscd.conf.5*
1415 %{_mandir}/man8/nscd.8*
1416 %{_mandir}/man8/nscd_nischeck.8*
1417 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1418 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1419 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1420 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1421 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1422 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1424 %files -n localedb-src
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_bindir}/localedef
1427 %attr(755,root,root) %{_bindir}/localedb-gen
1429 %{_mandir}/man1/localedef.1*
1431 %if %{with localedb}
1433 %defattr(644,root,root,755)
1434 %{_libdir}/locale/locale-archive
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_sbindir}/iconvconfig
1440 %dir %{_libdir}/gconv
1441 %{_libdir}/gconv/gconv-modules
1442 %attr(755,root,root) %{_libdir}/gconv/*.so
1445 %defattr(644,root,root,755)
1447 %{_libdir}/libBrokenLocale.a
1449 %{_libdir}/libcrypt.a
1452 %{_libdir}/libmcheck.a
1454 %{_libdir}/libpthread.a
1455 %{_libdir}/libresolv.a
1457 %{_libdir}/libutil.a
1459 %{_libdir}/nptl/libc.a
1460 %{_libdir}/nptl/libpthread.a
1464 %defattr(644,root,root,755)
1465 #{?with_dual:%{_libdir}/nptl/lib*_p.a}
1469 %defattr(644,root,root,755)
1470 %{_libdir}/lib*_pic.a