3 # /usr/lib64/libBrokenLocale_g.a
4 # /usr/lib64/libanl_g.a
6 # /usr/lib64/libcrypt_g.a
9 # /usr/lib64/libnsl_g.a
10 # /usr/lib64/libpthread_g.a
11 # /usr/lib64/libresolv_g.a
12 # /usr/lib64/librpcsvc_g.a
13 # /usr/lib64/librt_g.a
14 # /usr/lib64/libutil_g.a
17 # min_kernel (default is 2.6.12)
18 %bcond_without memusage # don't build memusage utility
19 %bcond_without selinux # without SELinux support (in nscd)
20 %bcond_with tests # perform "make test"
21 %bcond_without localedb # don't build localedb-all (is time consuming)
22 %bcond_with cross # build using crossgcc (without libgcc_eh)
25 # - look at locale fixes/updates in bugzilla
26 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
28 # - localedb-gen man pages(?)
29 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
30 # debug/backtrace-tst(SEGV) fail on alpha
31 %{!?min_kernel:%global min_kernel 2.6.12}
34 %undefine with_memusage
37 %define llh_version 7:2.6.12.0-10
43 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
45 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
47 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
54 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
55 # Source0-md5: 1fb29764a6a650a4d5b409dda227ac9f
56 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
57 # Source1-md5: 8787868ba8962d9b125997ec2f25ac01
59 Source3: nscd.sysconfig
60 Source4: nscd.logrotate
61 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
62 Source5: http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2
63 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
64 Source6: %{name}-localedb-gen
65 Source7: %{name}-LD-path.c
66 Patch0: %{name}-info.patch
67 Patch1: %{name}-pl.po-update.patch
68 Patch2: %{name}-pld.patch
69 Patch3: %{name}-crypt-blowfish.patch
70 Patch4: %{name}-alpha-ev6-opcodes.patch
72 Patch6: %{name}-paths.patch
74 Patch8: %{name}-missing-nls.patch
75 Patch9: %{name}-java-libc-wait.patch
77 Patch11: %{name}-no_opt_override.patch
78 Patch12: %{name}-includes.patch
79 Patch13: %{name}-ppc-include-mathinline.patch
80 Patch14: %{name}-sparc-errno_fix.patch
82 Patch17: %{name}-new-charsets.patch
83 Patch18: %{name}-sr_CS.patch
85 Patch20: %{name}-tzfile-noassert.patch
86 Patch21: %{name}-morelocales.patch
87 Patch22: %{name}-locale_fixes.patch
88 Patch23: %{name}-ZA_collate.patch
89 Patch24: %{name}-iconvconfig-nxstack.patch
90 Patch25: %{name}-cross-gcc_eh.patch
92 #Patch30: %{name}-pax_dl-execstack.patch
93 URL: http://www.gnu.org/software/libc/
94 %{?with_selinux:BuildRequires: audit-libs-devel}
95 BuildRequires: autoconf
96 BuildRequires: automake
97 BuildRequires: binutils >= 2:2.15.90.0.3
98 BuildRequires: gcc >= 5:3.4
100 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
101 BuildRequires: gettext-devel >= 0.10.36
102 %{!?with_cross:BuildRequires: dietlibc-static}
103 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
104 BuildRequires: linux-libc-headers >= %{llh_version}
105 BuildRequires: perl-base
106 BuildRequires: rpm-build >= 4.3-0.20030610.28
107 BuildRequires: rpm-perlprov
108 BuildRequires: rpmbuild(macros) >= 1.315
109 BuildRequires: sed >= 4.0.5
110 BuildRequires: texinfo
112 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
114 Requires: uname(release) >= %{min_kernel}
115 Provides: /sbin/ldconfig
116 Provides: glibc(nptl)
120 Obsoletes: glibc-common
121 Obsoletes: glibc-debug
124 Conflicts: kernel < %{min_kernel}
126 Conflicts: kernel24-smp
127 Conflicts: ld.so < 1.9.9-10
128 Conflicts: man-pages < 1.43
129 Conflicts: poldek < 0.18.8-5
130 Conflicts: rc-scripts < 0.3.1-13
132 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
133 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
135 # avoid -s here (ld.so must not be stripped to allow any program debugging)
136 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
137 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
140 %define specflags_ia32 -mno-tls-direct-seg-refs
141 %define specflags_x86_64 -mno-tls-direct-seg-refs
142 %define specflags_amd64 -mno-tls-direct-seg-refs
143 %define specflags_ia32e -mno-tls-direct-seg-refs
145 # we don't want perl dependency in glibc-devel
146 %define _noautoreqfiles %{_bindir}/mtrace
147 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
148 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
149 # patched not to crash on partial hardlinks too)
150 %define _hack_dontneed_PartialHardlinkSets 1
151 %define _noautochrpath .*\\(ldconfig\\|sln\\)
154 Contains the standard libraries that are used by multiple programs on
155 the system. In order to save disk space and memory, as well as to ease
156 upgrades, common system code is kept in one place and shared between
157 programs. This package contains the most important sets of shared
158 libraries, the standard C library and the standard math library.
159 Without these, a Linux system will not function. It also contains
160 national language (locale) support.
162 Can be used on: Linux kernel >= %{min_kernel}.
165 Contiene las bibliotecas estándared que son usadas por varios
166 programas del sistema. Para ahorrar el espacio en el disco y la
167 memoria, igual que para facilitar actualizaciones, código común del
168 sistema se guarda en un sitio y es compartido entre los programas.
169 Este paquete contiene las bibliotecas compartidas más importantes, es
170 decir la biblioteca C estándar y la biblioteca estándar de matemática.
171 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
172 soporte de idiomas nacionales (locale).
174 Puede usarse con: núcleo Linux >= %{min_kernel}.
177 Enthält die Standard-Libraries, die von verschiedenen Programmen im
178 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
179 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
180 einer einzigen Stelle gespeichert und wird von den Programmen
181 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
182 shared Libraries, die Standard-C-Library und die
183 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
184 Ferner enthält es den Support für die verschiedenen Sprachgregionen
187 Can be used on: Linux kernel >= %{min_kernel}.
190 Contient les bibliothèques standards utilisées par de nombreux
191 programmes du système. Afin d'économiser l'espace disque et mémoire,
192 et de faciliter les mises à jour, le code commun au système est mis à
193 un endroit et partagé entre les programmes. Ce paquetage contient les
194 bibliothèques partagées les plus importantes, la bibliothèque standard
195 du C et la bibliothèque mathématique standard. Sans celles-ci, un
196 système Linux ne peut fonctionner. Il contient aussi la gestion des
197 langues nationales (locales).
199 Can be used on: Linux kernel >= %{min_kernel}.
203 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
204 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
205 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
206 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
207 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
208 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
209 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
210 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
212 Can be used on: Linux kernel >= %{min_kernel}.
215 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
216 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
217 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
218 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
219 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
220 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
221 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
222 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
225 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
228 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
229 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
230 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
231 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
232 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
233 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
234 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
235 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
237 Can be used on: Linux kernel >= %{min_kernel}.
240 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
241 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
242 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
243 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
244 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
245 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
246 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
248 Can be used on: Linux kernel >= %{min_kernel}.
251 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
252 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
253 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
254 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
255 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
256 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
257 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
258 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
260 Can be used on: Linux kernel >= %{min_kernel}.
263 Summary: Utilities and data used by glibc
264 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
265 Group: Applications/System
267 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
268 Requires: %{name} = %{epoch}:%{version}-%{release}
269 Requires: tzdata >= 2006g-2
272 Utilities and data used by glibc.
274 %description misc -l pl
275 Narzêdzia i dane u¿ywane przez glibc.
278 Summary: Additional libraries required to compile
279 Summary(de): Weitere Libraries zum Kompilieren
280 Summary(es): Bibliotecas adicionales necesarias para la compilación
281 Summary(fr): Librairies supplémentaires nécessaires à la compilation
282 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
283 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
284 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
285 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
286 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
287 Group: Development/Libraries
288 Requires: %{name} = %{epoch}:%{version}-%{release}
289 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
290 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
291 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
292 Obsoletes: libiconv-devel
295 To develop programs which use the standard C libraries (which nearly
296 all programs do), the system needs to have these standard header files
297 and object files available for creating the executables.
299 %description devel -l de
300 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
301 verwenden (also fast alle), benötigt das System diese Standard-Header-
302 und Objektdateien zum Erstellen der ausführbaren Programme.
304 %description devel -l es
305 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
306 cual hacen prácticamente todos los programas), el sistema necesita
307 disponer de estos ficheros de cabecera y de objetos para crear los
310 %description devel -l fr
311 Pour développer des programmes utilisant les bibliothèques standard du
312 C (ce que presque tous les programmes font), le système doit posséder
313 ces fichiers en-têtes et objets standards pour créer les exécutables.
315 %description devel -l ja
316 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
317 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
318 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
319 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
320 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
323 %description devel -l pl
324 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
325 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
326 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
327 wykonywalnych i innych bibliotek.
329 %description devel -l ru
330 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
331 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
332 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
335 %description devel -l tr
336 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
337 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
340 %description devel -l uk
341 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
342 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
343 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
347 Summary: Header files for development using standard C libraries
348 Summary(pl): Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
349 Group: Development/Building
350 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
352 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
353 # have to be installed, not ix86 one.
354 Obsoletes: %{name}-headers(i386)
355 Obsoletes: %{name}-headers(i486)
356 Obsoletes: %{name}-headers(i586)
357 Obsoletes: %{name}-headers(i686)
358 Obsoletes: %{name}-headers(athlon)
359 Obsoletes: %{name}-headers(pentium3)
360 Obsoletes: %{name}-headers(pentium4)
363 Obsoletes: %{name}-headers(ppc)
366 Obsoletes: %{name}-headers(s390)
369 Obsoletes: %{name}-headers(sparc)
371 Requires: linux-libc-headers >= %{llh_version}
374 The glibc-headers package contains the header files necessary for
375 developing programs which use the standard C libraries (which are used
376 by nearly all programs). If you are developing programs which will use
377 the standard C libraries, your system needs to have these standard
378 header files available in order to create the executables.
380 Install glibc-headers if you are going to develop programs which will
381 use the standard C libraries.
383 %description headers -l pl
384 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
385 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
386 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
387 standardowych bibliotek C, system wymaga dostêpno¶ci tych
388 standardowych plików nag³ówkowych do tworzenia programów
391 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
392 korzystaj±ce ze standardowych bibliotek C.
395 Summary: Utilities needed for development using standard C libraries
396 Summary(pl): Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
397 Group: Development/Libraries
398 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
400 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
401 # have to be installed, not ix86 one.
402 Obsoletes: %{name}-devel-utils(i386)
403 Obsoletes: %{name}-devel-utils(i486)
404 Obsoletes: %{name}-devel-utils(i586)
405 Obsoletes: %{name}-devel-utils(i686)
406 Obsoletes: %{name}-devel-utils(athlon)
407 Obsoletes: %{name}-devel-utils(pentium3)
408 Obsoletes: %{name}-devel-utils(pentium4)
411 Obsoletes: %{name}-devel-utils(ppc)
414 Obsoletes: %{name}-devel-utils(s390)
417 Obsoletes: %{name}-devel-utils(sparc)
420 %description devel-utils
421 The glibc-devel-utils package contains utilities necessary for
422 developing programs which use the standard C libraries (which are used
423 by nearly all programs). If you are developing programs which will use
424 the standard C libraries, your system needs to have these utilities
427 Install glibc-devel-utils if you are going to develop programs which
428 will use the standard C libraries.
430 %description devel-utils -l pl
431 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
432 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
433 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
434 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
435 tworzenia programów wykonywalnych.
437 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
438 korzystaj±ce ze standardowych bibliotek C.
441 Summary: Documentation needed for development using standard C libraries
442 Summary(pl): Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
444 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
446 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
447 # have to be installed, not ix86 one.
448 Obsoletes: %{name}-devel-doc(i386)
449 Obsoletes: %{name}-devel-doc(i486)
450 Obsoletes: %{name}-devel-doc(i586)
451 Obsoletes: %{name}-devel-doc(i686)
452 Obsoletes: %{name}-devel-doc(athlon)
453 Obsoletes: %{name}-devel-doc(pentium3)
454 Obsoletes: %{name}-devel-doc(pentium4)
457 Obsoletes: %{name}-devel-doc(ppc)
460 Obsoletes: %{name}-devel-doc(s390)
463 Obsoletes: %{name}-devel-doc(sparc)
466 %description devel-doc
467 The glibc-devel-doc package contains info and manual pages necessary
468 for developing programs which use the standard C libraries (which are
469 used by nearly all programs).
471 Install glibc-devel-doc if you are going to develop programs which
472 will use the standard C libraries.
474 %description devel-doc -l pl
475 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
476 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
477 przez prawie wszystkie programy).
479 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
480 korzystaj±ce ze standardowych bibliotek C.
483 Summary: Name Service Caching Daemon
484 Summary(es): Demonio de caché del servicio de nombres
485 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
486 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
487 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
488 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
489 Group: Networking/Daemons
490 Requires(post): fileutils
491 Requires(post,preun): /sbin/chkconfig
492 Requires(postun): /usr/sbin/groupdel
493 Requires(postun): /usr/sbin/userdel
494 Requires(pre): /bin/id
495 Requires(pre): /usr/bin/getgid
496 Requires(pre): /usr/sbin/groupadd
497 Requires(pre): /usr/sbin/useradd
498 Requires: %{name} = %{epoch}:%{version}-%{release}
499 %{?with_selinux:Requires: libselinux >= 1.18}
500 Requires: rc-scripts >= 0.2.0
501 Provides: group(nscd)
505 nscd caches name service lookups; it can dramatically improve
506 performance with NIS+, and may help with DNS as well.
508 %description -n nscd -l es
509 nscd guarda las peticiones del servicio de nombres en una caché; eso
510 puede aumentar drásticamente las prestaciones de NIS+, y también puede
513 %description -n nscd -l ja
514 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
515 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
517 %description -n nscd -l pl
518 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
519 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
521 %description -n nscd -l ru
522 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
523 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
526 %description -n nscd -l uk
527 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
528 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
530 %package -n localedb-src
531 Summary: locale database source code
532 Summary(es): Código fuente de la base de datos de los locales
533 Summary(pl): Kod ¼ród³owy bazy locale
535 Requires: %{name} = %{epoch}:%{version}-%{release}
539 %description -n localedb-src
540 This add-on package contains the data needed to build the locale data
541 files to use the internationalization features of the GNU libc.
543 %description -n localedb-src -l es
544 Este paquete adicional contiene los datos necesarios para construir
545 los ficheros de locale, imprescindibles para usar las cualidades de
546 internacionalización de GNU libc.
548 %description -n localedb-src -l pl
549 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
550 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
553 %package localedb-all
554 Summary: locale database for all locales supported by glibc
555 Summary(es): Base de datos de todos los locales soportados por glibc
556 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
558 Requires: %{name} = %{epoch}:%{version}-%{release}
559 Requires: iconv = %{epoch}:%{version}-%{release}
561 %description localedb-all
562 This package contains locale database for all locales supported by
563 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
564 something smaller with support for chosen locales only, consider
565 installing localedb-src and regenerating database using localedb-gen
566 script (when database is generated, localedb-src can be uninstalled).
568 %description localedb-all -l es
569 Este paquete contiene una base de datos de todos los locales
570 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
571 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
572 locales elegidos, considérese instalar localedb-src y regenerar la
573 base de datos usando el escript localedb-gen (una vez que la base de
574 datos esté creada, localedb-src se podrá desinstalar).
576 %description localedb-all -l pl
577 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
578 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
579 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
580 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
581 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
582 pakiet localedb-src mo¿na odinstalowaæ).
585 Summary: Convert encoding of given files from one encoding to another
586 Summary(es): Convierte entre varias codificaciones de los ficheros dados
587 Summary(pl): Modu³y do konwersji plików tekstowych z jednego kodowania do innego
589 Requires: %{name} = %{epoch}:%{version}-%{release}
591 %description -n iconv
592 Convert encoding of given files from one encoding to another. You need
593 this package if you want to convert some document from one encoding to
594 another or if you have installed some programs which use Generic
595 Character Set Conversion Interface.
597 %description -n iconv -l es
598 Convierte la codificación de dados ficheros. Necesita este paquete si
599 quiere convertir un documento entre una codificación (juego de
600 caracteres) y otra, o si tiene instalado algún programa que usa el
601 Generic Character Set Conversion Interface (interfaz genérica de
602 conversión de juegos de caracteres).
604 %description -n iconv -l pl
605 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
606 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
607 dokumentów z jednego kodowania do innego lub do u¿ywania programów
608 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
609 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
610 kodowania danych z poziomu dowolnego programu.
613 Summary: Static libraries
614 Summary(es): Bibliotecas estáticas
615 Summary(pl): Biblioteki statyczne
616 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
617 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
618 Group: Development/Libraries
619 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
620 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
621 Obsoletes: libiconv-static
624 GNU libc static libraries.
626 %description static -l es
627 Bibliotecas estáticas de GNU libc.
629 %description static -l pl
630 Biblioteki statyczne GNU libc.
632 %description static -l ru
633 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
634 ×ÈÏÄÑÔ × glibc-devel.
636 %description static -l uk
637 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
641 Summary: glibc with profiling support
642 Summary(de): glibc mit Profil-Unterstützung
643 Summary(es): glibc con soporte de perfilamiento
644 Summary(fr): glibc avec support pour profiling
645 Summary(pl): glibc ze wsparciem dla profilowania
646 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
647 Summary(tr): Ölçüm desteði olan glibc
648 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
649 Group: Development/Libraries/Libc
650 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
651 Obsoletes: libc-profile
654 When programs are being profiled using gprof, they must use these
655 libraries instead of the standard C libraries for gprof to be able to
656 profile them correctly.
658 %description profile -l de
659 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
660 Libraries anstelle der üblichen C-Libraries verwendet werden.
662 %description profile -l es
663 Cuando programas son perfilidas usando gprof, tienen que usar estas
664 biblioteces en vez de las estándares para que gprof pueda perfilarlas
667 %description profile -l pl
668 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
669 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
672 %description profile -l uk
673 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
674 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
675 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
676 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
679 %description profile -l tr
680 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
681 kitaplýðý kullanmak zorundadýrlar.
683 %description profile -l ru
684 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
685 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
686 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
687 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
691 Summary: glibc PIC archive
692 Summary(es): Archivo PIC de glibc
693 Summary(pl): Archiwum PIC glibc
694 Group: Development/Libraries/Libc
695 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
698 GNU C Library PIC archive contains an archive library (ar file)
699 composed of individual shared objects. This is used for creating a
700 library which is a smaller subset of the standard libc shared library.
702 %description pic -l es
703 El archivo PIC de la biblioteca glibc contiene una biblioteca
704 archivada (un fichero ar) compuesta de individuales objetos
705 compartidos. Es usado para crear una biblioteca que sea un subconjunto
706 más pequeño de la biblioteca libc compartida estándar.
708 %description pic -l pl
709 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
710 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
711 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
712 biblioteki wspó³dzielonej libc.
714 %package -n nss_compat
715 Summary: Old style NYS NSS glibc module
716 Summary(es): El antiguo módulo NYS NSS de glibc
717 Summary(pl): Stary modu³ NYS NSS glibc
719 Requires: %{name} = %{epoch}:%{version}-%{release}
721 %description -n nss_compat
722 Old style NYS NSS glibc module.
724 %description -n nss_compat -l es
725 El antiguo módulo NYS NSS de glibc
727 %description -n nss_compat -l pl
728 Stary modu³ NYS NSS glibc.
731 Summary: BIND NSS glibc module
732 Summary(es): Módulo BIND NSS de glibc
733 Summary(pl): Modu³ BIND NSS glibc
735 Requires: %{name} = %{epoch}:%{version}-%{release}
737 %description -n nss_dns
738 BIND NSS glibc module.
740 %description -n nss_dns -l es
741 Módulo BIND NSS de glibc.
743 %description -n nss_dns -l pl
744 Modu³ BIND NSS glibc.
746 %package -n nss_files
747 Summary: Traditional files databases NSS glibc module
748 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
749 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
751 Requires: %{name} = %{epoch}:%{version}-%{release}
753 %description -n nss_files
754 Traditional files databases NSS glibc module.
756 %description -n nss_files -l es
757 Módulo de tradicionales bases de datos en ficheros para glibc.
759 %description -n nss_files -l pl
760 Modu³ tradycyjnych plikowych baz danych NSS glibc.
762 %package -n nss_hesiod
763 Summary: hesiod NSS glibc module
764 Summary(es): Módulo hesiod NSS de glibc
765 Summary(pl): Modu³ hesiod NSS glibc
767 Requires: %{name} = %{epoch}:%{version}-%{release}
769 %description -n nss_hesiod
770 glibc NSS (Name Service Switch) module for databases access.
772 %description -n nss_hesiod -l es
773 Módulo hesiod NSS de glibc.
775 %description -n nss_hesiod -l pl
776 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
779 Summary: NIS(YP) NSS glibc module
780 Summary(es): Módulo NIS(YP) NSS de glibc
781 Summary(pl): Modu³ NIS(YP) NSS glibc
783 Requires: %{name} = %{epoch}:%{version}-%{release}
785 %description -n nss_nis
786 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
788 %description -n nss_nis -l es
789 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
791 %description -n nss_nis -l pl
792 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
794 %package -n nss_nisplus
795 Summary: NIS+ NSS module
796 Summary(es): Módulo NIS+ NSS
797 Summary(pl): Modu³ NIS+ NSS
799 Requires: %{name} = %{epoch}:%{version}-%{release}
801 %description -n nss_nisplus
802 glibc NSS (Name Service Switch) module for NIS+ databases access.
804 %description -n nss_nisplus -l es
805 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
808 %description -n nss_nisplus -l pl
809 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
813 Summary(es): Un juguete
816 Requires: %{name} = %{epoch}:%{version}-%{release}
818 %description memusage
821 %description memusage -l es
824 %description memusage -l pl
829 ln -s glibc-libidn-%{version} libidn
854 %{?with_cross:%patch25 -p1}
858 # i786 (aka pentium4) hack
859 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
860 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
863 cp -f /usr/share/automake/config.sub scripts
871 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
875 --enable-kernel="%{min_kernel}" \
877 --with-headers=%{_includedir} \
878 --with%{!?with_selinux:out}-selinux \
880 --enable-add-ons=nptl,libidn \
881 --enable-stackguard-randomization \
882 --enable-hidden-plt \
889 for d in builddir; do
891 env LANGUAGE=C LC_ALL=C \
892 %{__make} tests 2>&1 | awk '
895 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
897 gsub(/.*\[/, NIL, file);
898 gsub(/\].*/, NIL, file);
902 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
908 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
912 rm -rf $RPM_BUILD_ROOT
913 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
916 env LANGUAGE=C LC_ALL=C \
918 install_root=$RPM_BUILD_ROOT \
919 infodir=%{_infodir} \
923 env LANGUAGE=C LC_ALL=C \
924 %{__make} localedata/install-locales \
925 install_root=$RPM_BUILD_ROOT
928 PICFILES="libc_pic.a libc.map
929 math/libm_pic.a libm.map
930 resolv/libresolv_pic.a"
932 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
933 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
934 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
938 install glibc-postinst $RPM_BUILD_ROOT/sbin
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 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
945 # moved to tzdata package
946 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
948 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
950 # make symlinks across top-level directories absolute
951 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
952 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
953 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
956 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
957 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
958 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
959 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
960 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
961 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
963 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
964 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
965 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
966 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
967 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
969 :> $RPM_BUILD_ROOT/var/log/nscd
970 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
971 :> $RPM_BUILD_ROOT/var/lib/nscd/group
972 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
975 install -d documentation
977 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
978 cp -f nptl/$f documentation/$f.nptl
980 cp -f crypt/README.ufc-crypt ChangeLog* documentation
982 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
984 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
985 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
987 # Collect locale files and mark them with %%lang()
989 echo '%defattr(644,root,root,755)' > glibc.lang
990 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
992 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
994 # list of long %%lang values we do support
995 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
996 zh_CN zh_CN.gbk zh_HK zh_TW ; do
997 if [ $j = "$lang" ]; then
1001 if [ -n "$twochar" ]; then
1002 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1003 lang=`echo $lang | sed "s,\..*,,"`
1005 lang=`echo $lang | sed "s,_.*,,"`
1008 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1009 echo "%lang($lang) $dir" >> glibc.lang
1012 # XXX: to be added when become supported by glibc
1014 # dv, haw, kok, ps (iso-codes)
1018 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1021 # omitted here - already existing (with libc.mo):
1022 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1025 for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1026 en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1027 gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1028 lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1029 ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1030 tk tl tlh tt ug uk ur uz ve vi wa wal xh yi yo zh_HK zu ; do
1031 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1032 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1033 lang=`echo $i | sed -e 's/_.*//'`
1034 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1038 # localedb-gen infrastructure
1039 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1040 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1042 # shutup check-files
1043 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1044 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1045 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1046 # we don't support kernel without ptys support
1047 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1050 rm -rf $RPM_BUILD_ROOT
1052 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1053 # when %%postun is run
1055 %if %{without cross}
1056 %post -p /sbin/postshell
1057 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1061 %postun -p /sbin/postshell
1065 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1066 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1067 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1070 %post memusage -p /sbin/ldconfig
1071 %postun memusage -p /sbin/ldconfig
1073 %post -n iconv -p %{_sbindir}/iconvconfig
1076 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1079 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1082 %groupadd -P nscd -g 144 -r nscd
1083 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1086 /sbin/chkconfig --add nscd
1088 chmod 000 /var/log/nscd
1089 chown root:root /var/log/nscd
1090 chmod 640 /var/log/nscd
1091 %service nscd restart "nscd daemon"
1094 if [ "$1" = "0" ]; then
1096 /sbin/chkconfig --del nscd
1100 if [ "$1" = "0" ]; then
1106 %defattr(644,root,root,755)
1107 %doc README NEWS FAQ BUGS
1108 %if %{without cross}
1109 %attr(755,root,root) /sbin/glibc-postinst
1111 %attr(755,root,root) /sbin/ldconfig
1112 # ld* and libc.so.6 SONAME symlinks must be in package because of
1113 # chicken-egg problem (postshell is dynamically linked with libc);
1114 # NOTE: postshell is now linked statically with diet
1115 # ld-*.so SONAME is:
1117 # ld64.so.1 on ppc64,s390x
1118 # ld-linux-ia64.so.2 on ia64
1119 # ld-linux-x86-64.so.2 on x86_64
1120 # ld-linux.so.2 on other archs
1121 %attr(755,root,root) /%{_lib}/ld*
1122 %attr(755,root,root) /%{_lib}/libanl*
1123 %attr(755,root,root) /%{_lib}/libdl*
1124 %attr(755,root,root) /%{_lib}/libnsl*
1125 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1126 %{?with_localedb:%dir %{_libdir}/locale}
1127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1128 %dir %{_sysconfdir}/ld.so.conf.d
1129 %ghost %{_sysconfdir}/ld.so.cache
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1135 #%files -n nss_files
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1139 %files misc -f %{name}.lang
1140 %defattr(644,root,root,755)
1142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1143 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1145 %config %{_sysconfdir}/rpc
1147 %attr(755,root,root) /sbin/sln
1148 %attr(755,root,root) %{_bindir}/catchsegv
1149 %attr(755,root,root) %{_bindir}/getconf
1150 %attr(755,root,root) %{_bindir}/getent
1151 %attr(755,root,root) %{_bindir}/iconv
1152 %attr(755,root,root) %{_bindir}/ldd
1153 %ifarch %{ix86} m68k sparc sparcv9
1154 %attr(755,root,root) %{_bindir}/lddlibc4
1156 %attr(755,root,root) %{_bindir}/locale
1157 %attr(755,root,root) %{_bindir}/rpcgen
1158 %attr(755,root,root) %{_bindir}/tzselect
1160 %attr(755,root,root) %{_sbindir}/rpcinfo
1161 %attr(755,root,root) %{_sbindir}/zdump
1162 %attr(755,root,root) %{_sbindir}/zic
1164 %dir %{_libexecdir}/getconf
1165 %attr(755,root,root) %{_libexecdir}/getconf/*
1167 %dir %{_datadir}/locale
1168 %{_datadir}/locale/locale.alias
1170 %{_mandir}/man1/catchsegv.1*
1171 %{_mandir}/man1/getconf.1*
1172 %{_mandir}/man1/getent.1*
1173 %{_mandir}/man1/iconv.1*
1174 %{_mandir}/man1/ldd.1*
1175 %{_mandir}/man1/locale.1*
1176 %{_mandir}/man1/rpcgen.1*
1177 %{_mandir}/man5/locale.5*
1178 %{_mandir}/man5/nsswitch.conf.5*
1179 %{_mandir}/man5/tzfile.5*
1181 %{_mandir}/man8/ld*.8*
1182 %{_mandir}/man8/rpcinfo.8*
1183 %{_mandir}/man8/sln.8*
1184 %{_mandir}/man8/tzselect.8*
1185 %{_mandir}/man8/zdump.8*
1186 %{_mandir}/man8/zic.8*
1187 %lang(cs) %{_mandir}/cs/man7/*
1188 %lang(de) %{_mandir}/de/man5/tzfile.5*
1189 %lang(de) %{_mandir}/de/man7/*
1190 %lang(es) %{_mandir}/es/man1/ldd.1*
1191 %lang(es) %{_mandir}/es/man5/locale.5*
1192 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1193 %lang(es) %{_mandir}/es/man5/tzfile.5*
1194 %lang(es) %{_mandir}/es/man7/*
1195 %lang(es) %{_mandir}/es/man8/ld*.8*
1196 %lang(es) %{_mandir}/es/man8/tzselect.8*
1197 %lang(es) %{_mandir}/es/man8/zdump.8*
1198 %lang(es) %{_mandir}/es/man8/zic.8*
1199 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1200 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1201 %lang(fr) %{_mandir}/fr/man5/locale.5*
1202 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1203 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1204 %lang(fr) %{_mandir}/fr/man7/*
1205 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1206 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1207 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1208 %lang(fr) %{_mandir}/fr/man8/zic.8*
1209 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1210 %lang(hu) %{_mandir}/hu/man7/*
1211 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1212 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1213 %lang(it) %{_mandir}/it/man5/locale.5*
1214 %lang(it) %{_mandir}/it/man7/*
1215 %lang(it) %{_mandir}/it/man8/tzselect.8*
1216 %lang(it) %{_mandir}/it/man8/zdump.8*
1217 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1218 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1219 %lang(ja) %{_mandir}/ja/man5/locale.5*
1220 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1221 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1222 %lang(ja) %{_mandir}/ja/man7/*
1223 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1224 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1225 %lang(ja) %{_mandir}/ja/man8/sln.8*
1226 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1227 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1228 %lang(ja) %{_mandir}/ja/man8/zic.8*
1229 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1230 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1231 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1232 %lang(ko) %{_mandir}/ko/man7/*
1233 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1234 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1235 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1236 %lang(pl) %{_mandir}/pl/man5/locale.5*
1237 %lang(pl) %{_mandir}/pl/man7/*
1238 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1239 %lang(pt) %{_mandir}/pt/man5/locale.5*
1240 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1241 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1242 %lang(pt) %{_mandir}/pt/man7/*
1243 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1244 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1245 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1246 %lang(pt) %{_mandir}/pt/man8/zic.8*
1247 %lang(ru) %{_mandir}/ru/man1/getent.1*
1248 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1249 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1250 %lang(ru) %{_mandir}/ru/man1/locale.1*
1251 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1252 %lang(ru) %{_mandir}/ru/man5/locale.5*
1253 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1254 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1255 %lang(ru) %{_mandir}/ru/man7/*
1256 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1257 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1258 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1259 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1260 %lang(ru) %{_mandir}/ru/man8/zic.8*
1261 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1262 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1263 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1264 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1265 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1266 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1267 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1268 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1269 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1270 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1272 %files -n nss_compat
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1276 %files -n nss_hesiod
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1283 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1285 %files -n nss_nisplus
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1289 %if %{with memusage}
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_bindir}/memusage*
1293 %attr(755,root,root) %{_libdir}/libmemusage.so
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1299 %attr(755,root,root) %{_libdir}/libcrypt.so
1300 %attr(755,root,root) %{_libdir}/libm.so
1301 %attr(755,root,root) %{_libdir}/libpcprofile.so
1302 %attr(755,root,root) %{_libdir}/*crt*.o
1305 %{_libdir}/libpthread.so
1306 %{_libdir}/libbsd-compat.a
1308 %{_libdir}/libc_nonshared.a
1310 %{_libdir}/libieee.a
1311 %ifarch alpha ppc sparc
1312 %{_libdir}/libnldbl_nonshared.a
1314 %{_libdir}/libpthread_nonshared.a
1315 %{_libdir}/librpcsvc.a
1316 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1317 %{_includedir}/gnu/stubs-*.h
1321 %defattr(644,root,root,755)
1324 %{_includedir}/alpha
1328 %dir %{_includedir}/gnu
1329 %{_includedir}/gnu/lib*.h
1330 %{_includedir}/gnu/stubs.h
1332 %{_includedir}/netash
1333 %{_includedir}/netatalk
1334 %{_includedir}/netax25
1335 %{_includedir}/neteconet
1336 %{_includedir}/netinet
1337 %{_includedir}/netipx
1338 %{_includedir}/netpacket
1339 %{_includedir}/netrom
1340 %{_includedir}/netrose
1342 %{_includedir}/protocols
1344 %{_includedir}/rpcsvc
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_bindir}/gencat
1351 %attr(755,root,root) %{_bindir}/*prof*
1352 %attr(755,root,root) %{_bindir}/*trace
1355 %defattr(644,root,root,755)
1356 %doc documentation/* NOTES PROJECTS
1357 %{_infodir}/libc.info*
1359 %{_mandir}/man1/sprof.1*
1361 %lang(cs) %{_mandir}/cs/man3/*
1362 %lang(de) %{_mandir}/de/man3/*
1363 %lang(es) %{_mandir}/es/man3/*
1364 %lang(fr) %{_mandir}/fr/man3/*
1365 %lang(hu) %{_mandir}/hu/man3/*
1366 %lang(it) %{_mandir}/it/man3/*
1367 %lang(ja) %{_mandir}/ja/man3/*
1368 %lang(ko) %{_mandir}/ko/man3/*
1369 %lang(nl) %{_mandir}/nl/man3/*
1370 %lang(pl) %{_mandir}/pl/man3/*
1371 %lang(pt) %{_mandir}/pt/man3/*
1372 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1373 %lang(ru) %{_mandir}/ru/man3/*
1374 %lang(tr) %{_mandir}/tr/man3/*
1375 %lang(uk) %{_mandir}/uk/man3/*
1376 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1379 %defattr(644,root,root,755)
1380 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1381 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1382 %attr(754,root,root) /etc/rc.d/init.d/nscd
1383 %attr(755,root,root) %{_sbindir}/nscd*
1384 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1385 %attr(640,root,root) %ghost /var/log/nscd
1388 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1389 %attr(600,root,root) %ghost /var/lib/nscd/group
1390 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1391 %{_mandir}/man5/nscd.conf.5*
1392 %{_mandir}/man8/nscd.8*
1393 %{_mandir}/man8/nscd_nischeck.8*
1394 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1395 %lang(es) %{_mandir}/es/man8/nscd.8*
1396 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1397 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1398 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1399 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1400 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1401 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1402 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1403 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1404 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1406 %files -n localedb-src
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_bindir}/localedef
1409 %attr(755,root,root) %{_bindir}/localedb-gen
1411 %{_mandir}/man1/localedef.1*
1412 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1414 %if %{with localedb}
1416 %defattr(644,root,root,755)
1417 %{_libdir}/locale/locale-archive
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_sbindir}/iconvconfig
1423 %dir %{_libdir}/gconv
1424 %{_libdir}/gconv/gconv-modules
1425 %attr(755,root,root) %{_libdir}/gconv/*.so
1428 %defattr(644,root,root,755)
1430 %{_libdir}/libBrokenLocale.a
1432 %{_libdir}/libcrypt.a
1435 %{_libdir}/libmcheck.a
1437 %{_libdir}/libpthread.a
1438 %{_libdir}/libresolv.a
1440 %{_libdir}/libutil.a
1443 %defattr(644,root,root,755)
1447 %defattr(644,root,root,755)
1448 %{_libdir}/lib*_pic.a