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
71 Patch5: %{name}-sparc-softfp-gcc.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-inline-fsqrt.patch
80 Patch14: %{name}-sparc-errno_fix.patch
82 Patch17: %{name}-new-charsets.patch
84 Patch20: %{name}-tzfile-noassert.patch
85 Patch21: %{name}-morelocales.patch
86 Patch22: %{name}-locale_fixes.patch
87 Patch23: %{name}-ZA_collate.patch
88 Patch24: %{name}-iconvconfig-nxstack.patch
89 Patch25: %{name}-cross-gcc_eh.patch
91 #Patch30: %{name}-pax_dl-execstack.patch
92 URL: http://www.gnu.org/software/libc/
93 %{?with_selinux:BuildRequires: audit-libs-devel}
94 BuildRequires: autoconf
95 BuildRequires: automake
96 BuildRequires: binutils >= 2:2.15.90.0.3
97 BuildRequires: gcc >= 5:3.4
99 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
100 BuildRequires: gettext-devel >= 0.10.36
101 %{!?with_cross:BuildRequires: dietlibc-static}
102 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
103 BuildRequires: linux-libc-headers >= %{llh_version}
104 BuildRequires: perl-base
105 BuildRequires: rpm-build >= 4.3-0.20030610.28
106 BuildRequires: rpm-perlprov
107 BuildRequires: rpmbuild(macros) >= 1.315
108 BuildRequires: sed >= 4.0.5
109 BuildRequires: texinfo
111 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
113 Requires: uname(release) >= %{min_kernel}
114 Provides: /sbin/ldconfig
115 Provides: glibc(nptl)
119 Obsoletes: glibc-common
120 Obsoletes: glibc-debug
123 Conflicts: kernel < %{min_kernel}
125 Conflicts: kernel24-smp
126 Conflicts: ld.so < 1.9.9-10
127 Conflicts: man-pages < 1.43
128 Conflicts: poldek < 0.18.8-5
129 Conflicts: rc-scripts < 0.3.1-13
131 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
132 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
134 # avoid -s here (ld.so must not be stripped to allow any program debugging)
135 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
136 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
139 %define specflags_ia32 -mno-tls-direct-seg-refs
140 %define specflags_x86_64 -mno-tls-direct-seg-refs
141 %define specflags_amd64 -mno-tls-direct-seg-refs
142 %define specflags_ia32e -mno-tls-direct-seg-refs
144 # we don't want perl dependency in glibc-devel
145 %define _noautoreqfiles %{_bindir}/mtrace
146 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
147 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
148 # patched not to crash on partial hardlinks too)
149 %define _hack_dontneed_PartialHardlinkSets 1
150 %define _noautochrpath .*\\(ldconfig\\|sln\\)
153 Contains the standard libraries that are used by multiple programs on
154 the system. In order to save disk space and memory, as well as to ease
155 upgrades, common system code is kept in one place and shared between
156 programs. This package contains the most important sets of shared
157 libraries, the standard C library and the standard math library.
158 Without these, a Linux system will not function. It also contains
159 national language (locale) support.
161 Can be used on: Linux kernel >= %{min_kernel}.
164 Contiene las bibliotecas estándared que son usadas por varios
165 programas del sistema. Para ahorrar el espacio en el disco y la
166 memoria, igual que para facilitar actualizaciones, código común del
167 sistema se guarda en un sitio y es compartido entre los programas.
168 Este paquete contiene las bibliotecas compartidas más importantes, es
169 decir la biblioteca C estándar y la biblioteca estándar de matemática.
170 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
171 soporte de idiomas nacionales (locale).
173 Puede usarse con: núcleo Linux >= %{min_kernel}.
176 Enthält die Standard-Libraries, die von verschiedenen Programmen im
177 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
178 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
179 einer einzigen Stelle gespeichert und wird von den Programmen
180 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
181 shared Libraries, die Standard-C-Library und die
182 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
183 Ferner enthält es den Support für die verschiedenen Sprachgregionen
186 Can be used on: Linux kernel >= %{min_kernel}.
189 Contient les bibliothèques standards utilisées par de nombreux
190 programmes du système. Afin d'économiser l'espace disque et mémoire,
191 et de faciliter les mises à jour, le code commun au système est mis à
192 un endroit et partagé entre les programmes. Ce paquetage contient les
193 bibliothèques partagées les plus importantes, la bibliothèque standard
194 du C et la bibliothèque mathématique standard. Sans celles-ci, un
195 système Linux ne peut fonctionner. Il contient aussi la gestion des
196 langues nationales (locales).
198 Can be used on: Linux kernel >= %{min_kernel}.
202 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
203 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
204 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
205 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
206 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
207 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
208 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
209 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
211 Can be used on: Linux kernel >= %{min_kernel}.
214 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
215 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
216 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
217 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
218 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
219 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
220 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
221 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
224 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
227 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
228 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
229 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
230 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
231 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
232 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
233 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
234 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
236 Can be used on: Linux kernel >= %{min_kernel}.
239 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
240 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
241 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
242 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
243 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
244 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
245 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
247 Can be used on: Linux kernel >= %{min_kernel}.
250 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
251 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
252 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
253 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
254 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
255 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
256 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
257 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
259 Can be used on: Linux kernel >= %{min_kernel}.
262 Summary: Utilities and data used by glibc
263 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
264 Group: Applications/System
266 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
267 Requires: %{name} = %{epoch}:%{version}-%{release}
268 Requires: tzdata >= 2006g-2
271 Utilities and data used by glibc.
273 %description misc -l pl
274 Narzêdzia i dane u¿ywane przez glibc.
277 Summary: Additional libraries required to compile
278 Summary(de): Weitere Libraries zum Kompilieren
279 Summary(es): Bibliotecas adicionales necesarias para la compilación
280 Summary(fr): Librairies supplémentaires nécessaires à la compilation
281 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
282 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
283 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
284 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
285 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
286 Group: Development/Libraries
287 Requires: %{name} = %{epoch}:%{version}-%{release}
288 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
289 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
290 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
291 Obsoletes: libiconv-devel
294 To develop programs which use the standard C libraries (which nearly
295 all programs do), the system needs to have these standard header files
296 and object files available for creating the executables.
298 %description devel -l de
299 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
300 verwenden (also fast alle), benötigt das System diese Standard-Header-
301 und Objektdateien zum Erstellen der ausführbaren Programme.
303 %description devel -l es
304 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
305 cual hacen prácticamente todos los programas), el sistema necesita
306 disponer de estos ficheros de cabecera y de objetos para crear los
309 %description devel -l fr
310 Pour développer des programmes utilisant les bibliothèques standard du
311 C (ce que presque tous les programmes font), le système doit posséder
312 ces fichiers en-têtes et objets standards pour créer les exécutables.
314 %description devel -l ja
315 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
316 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
317 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
318 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
319 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
322 %description devel -l pl
323 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
324 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
325 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
326 wykonywalnych i innych bibliotek.
328 %description devel -l ru
329 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
330 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
331 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
334 %description devel -l tr
335 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
336 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
339 %description devel -l uk
340 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
341 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
342 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
346 Summary: Header files for development using standard C libraries
347 Summary(pl): Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
348 Group: Development/Building
349 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
351 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
352 # have to be installed, not ix86 one.
353 Obsoletes: %{name}-headers(i386)
354 Obsoletes: %{name}-headers(i486)
355 Obsoletes: %{name}-headers(i586)
356 Obsoletes: %{name}-headers(i686)
357 Obsoletes: %{name}-headers(athlon)
358 Obsoletes: %{name}-headers(pentium3)
359 Obsoletes: %{name}-headers(pentium4)
362 Obsoletes: %{name}-headers(ppc)
365 Obsoletes: %{name}-headers(s390)
368 Obsoletes: %{name}-headers(sparc)
370 Requires: linux-libc-headers >= %{llh_version}
373 The glibc-headers package contains the header files necessary for
374 developing programs which use the standard C libraries (which are used
375 by nearly all programs). If you are developing programs which will use
376 the standard C libraries, your system needs to have these standard
377 header files available in order to create the executables.
379 Install glibc-headers if you are going to develop programs which will
380 use the standard C libraries.
382 %description headers -l pl
383 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
384 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
385 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
386 standardowych bibliotek C, system wymaga dostêpno¶ci tych
387 standardowych plików nag³ówkowych do tworzenia programów
390 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
391 korzystaj±ce ze standardowych bibliotek C.
394 Summary: Utilities needed for development using standard C libraries
395 Summary(pl): Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
396 Group: Development/Libraries
397 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
399 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
400 # have to be installed, not ix86 one.
401 Obsoletes: %{name}-devel-utils(i386)
402 Obsoletes: %{name}-devel-utils(i486)
403 Obsoletes: %{name}-devel-utils(i586)
404 Obsoletes: %{name}-devel-utils(i686)
405 Obsoletes: %{name}-devel-utils(athlon)
406 Obsoletes: %{name}-devel-utils(pentium3)
407 Obsoletes: %{name}-devel-utils(pentium4)
410 Obsoletes: %{name}-devel-utils(ppc)
413 Obsoletes: %{name}-devel-utils(s390)
416 Obsoletes: %{name}-devel-utils(sparc)
419 %description devel-utils
420 The glibc-devel-utils package contains utilities necessary for
421 developing programs which use the standard C libraries (which are used
422 by nearly all programs). If you are developing programs which will use
423 the standard C libraries, your system needs to have these utilities
426 Install glibc-devel-utils if you are going to develop programs which
427 will use the standard C libraries.
429 %description devel-utils -l pl
430 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
431 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
432 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
433 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
434 tworzenia programów wykonywalnych.
436 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
437 korzystaj±ce ze standardowych bibliotek C.
440 Summary: Documentation needed for development using standard C libraries
441 Summary(pl): Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
443 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
445 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
446 # have to be installed, not ix86 one.
447 Obsoletes: %{name}-devel-doc(i386)
448 Obsoletes: %{name}-devel-doc(i486)
449 Obsoletes: %{name}-devel-doc(i586)
450 Obsoletes: %{name}-devel-doc(i686)
451 Obsoletes: %{name}-devel-doc(athlon)
452 Obsoletes: %{name}-devel-doc(pentium3)
453 Obsoletes: %{name}-devel-doc(pentium4)
456 Obsoletes: %{name}-devel-doc(ppc)
459 Obsoletes: %{name}-devel-doc(s390)
462 Obsoletes: %{name}-devel-doc(sparc)
465 %description devel-doc
466 The glibc-devel-doc package contains info and manual pages necessary
467 for developing programs which use the standard C libraries (which are
468 used by nearly all programs).
470 Install glibc-devel-doc if you are going to develop programs which
471 will use the standard C libraries.
473 %description devel-doc -l pl
474 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
475 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
476 przez prawie wszystkie programy).
478 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
479 korzystaj±ce ze standardowych bibliotek C.
482 Summary: Name Service Caching Daemon
483 Summary(es): Demonio de caché del servicio de nombres
484 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
485 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
486 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
487 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
488 Group: Networking/Daemons
489 Requires(post): fileutils
490 Requires(post,preun): /sbin/chkconfig
491 Requires(postun): /usr/sbin/groupdel
492 Requires(postun): /usr/sbin/userdel
493 Requires(pre): /bin/id
494 Requires(pre): /usr/bin/getgid
495 Requires(pre): /usr/sbin/groupadd
496 Requires(pre): /usr/sbin/useradd
497 Requires: %{name} = %{epoch}:%{version}-%{release}
498 %{?with_selinux:Requires: libselinux >= 1.18}
499 Requires: rc-scripts >= 0.2.0
500 Provides: group(nscd)
504 nscd caches name service lookups; it can dramatically improve
505 performance with NIS+, and may help with DNS as well.
507 %description -n nscd -l es
508 nscd guarda las peticiones del servicio de nombres en una caché; eso
509 puede aumentar drásticamente las prestaciones de NIS+, y también puede
512 %description -n nscd -l ja
513 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
514 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
516 %description -n nscd -l pl
517 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
518 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
520 %description -n nscd -l ru
521 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
522 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
525 %description -n nscd -l uk
526 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
527 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
529 %package -n localedb-src
530 Summary: locale database source code
531 Summary(es): Código fuente de la base de datos de los locales
532 Summary(pl): Kod ¼ród³owy bazy locale
534 Requires: %{name} = %{epoch}:%{version}-%{release}
538 %description -n localedb-src
539 This add-on package contains the data needed to build the locale data
540 files to use the internationalization features of the GNU libc.
542 %description -n localedb-src -l es
543 Este paquete adicional contiene los datos necesarios para construir
544 los ficheros de locale, imprescindibles para usar las cualidades de
545 internacionalización de GNU libc.
547 %description -n localedb-src -l pl
548 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
549 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
552 %package localedb-all
553 Summary: locale database for all locales supported by glibc
554 Summary(es): Base de datos de todos los locales soportados por glibc
555 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
557 Requires: %{name} = %{epoch}:%{version}-%{release}
558 Requires: iconv = %{epoch}:%{version}-%{release}
560 %description localedb-all
561 This package contains locale database for all locales supported by
562 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
563 something smaller with support for chosen locales only, consider
564 installing localedb-src and regenerating database using localedb-gen
565 script (when database is generated, localedb-src can be uninstalled).
567 %description localedb-all -l es
568 Este paquete contiene una base de datos de todos los locales
569 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
570 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
571 locales elegidos, considérese instalar localedb-src y regenerar la
572 base de datos usando el escript localedb-gen (una vez que la base de
573 datos esté creada, localedb-src se podrá desinstalar).
575 %description localedb-all -l pl
576 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
577 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
578 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
579 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
580 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
581 pakiet localedb-src mo¿na odinstalowaæ).
584 Summary: Convert encoding of given files from one encoding to another
585 Summary(es): Convierte entre varias codificaciones de los ficheros dados
586 Summary(pl): Modu³y do konwersji plików tekstowych z jednego kodowania do innego
588 Requires: %{name} = %{epoch}:%{version}-%{release}
590 %description -n iconv
591 Convert encoding of given files from one encoding to another. You need
592 this package if you want to convert some document from one encoding to
593 another or if you have installed some programs which use Generic
594 Character Set Conversion Interface.
596 %description -n iconv -l es
597 Convierte la codificación de dados ficheros. Necesita este paquete si
598 quiere convertir un documento entre una codificación (juego de
599 caracteres) y otra, o si tiene instalado algún programa que usa el
600 Generic Character Set Conversion Interface (interfaz genérica de
601 conversión de juegos de caracteres).
603 %description -n iconv -l pl
604 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
605 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
606 dokumentów z jednego kodowania do innego lub do u¿ywania programów
607 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
608 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
609 kodowania danych z poziomu dowolnego programu.
612 Summary: Static libraries
613 Summary(es): Bibliotecas estáticas
614 Summary(pl): Biblioteki statyczne
615 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
616 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
617 Group: Development/Libraries
618 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
619 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
620 Obsoletes: libiconv-static
623 GNU libc static libraries.
625 %description static -l es
626 Bibliotecas estáticas de GNU libc.
628 %description static -l pl
629 Biblioteki statyczne GNU libc.
631 %description static -l ru
632 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
633 ×ÈÏÄÑÔ × glibc-devel.
635 %description static -l uk
636 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
640 Summary: glibc with profiling support
641 Summary(de): glibc mit Profil-Unterstützung
642 Summary(es): glibc con soporte de perfilamiento
643 Summary(fr): glibc avec support pour profiling
644 Summary(pl): glibc ze wsparciem dla profilowania
645 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
646 Summary(tr): Ölçüm desteði olan glibc
647 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
648 Group: Development/Libraries/Libc
649 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
650 Obsoletes: libc-profile
653 When programs are being profiled using gprof, they must use these
654 libraries instead of the standard C libraries for gprof to be able to
655 profile them correctly.
657 %description profile -l de
658 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
659 Libraries anstelle der üblichen C-Libraries verwendet werden.
661 %description profile -l es
662 Cuando programas son perfilidas usando gprof, tienen que usar estas
663 biblioteces en vez de las estándares para que gprof pueda perfilarlas
666 %description profile -l pl
667 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
668 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
671 %description profile -l uk
672 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
673 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
674 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
675 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
678 %description profile -l tr
679 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
680 kitaplýðý kullanmak zorundadýrlar.
682 %description profile -l ru
683 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
684 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
685 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
686 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
690 Summary: glibc PIC archive
691 Summary(es): Archivo PIC de glibc
692 Summary(pl): Archiwum PIC glibc
693 Group: Development/Libraries/Libc
694 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
697 GNU C Library PIC archive contains an archive library (ar file)
698 composed of individual shared objects. This is used for creating a
699 library which is a smaller subset of the standard libc shared library.
701 %description pic -l es
702 El archivo PIC de la biblioteca glibc contiene una biblioteca
703 archivada (un fichero ar) compuesta de individuales objetos
704 compartidos. Es usado para crear una biblioteca que sea un subconjunto
705 más pequeño de la biblioteca libc compartida estándar.
707 %description pic -l pl
708 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
709 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
710 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
711 biblioteki wspó³dzielonej libc.
713 %package -n nss_compat
714 Summary: Old style NYS NSS glibc module
715 Summary(es): El antiguo módulo NYS NSS de glibc
716 Summary(pl): Stary modu³ NYS NSS glibc
718 Requires: %{name} = %{epoch}:%{version}-%{release}
720 %description -n nss_compat
721 Old style NYS NSS glibc module.
723 %description -n nss_compat -l es
724 El antiguo módulo NYS NSS de glibc
726 %description -n nss_compat -l pl
727 Stary modu³ NYS NSS glibc.
730 Summary: BIND NSS glibc module
731 Summary(es): Módulo BIND NSS de glibc
732 Summary(pl): Modu³ BIND NSS glibc
734 Requires: %{name} = %{epoch}:%{version}-%{release}
736 %description -n nss_dns
737 BIND NSS glibc module.
739 %description -n nss_dns -l es
740 Módulo BIND NSS de glibc.
742 %description -n nss_dns -l pl
743 Modu³ BIND NSS glibc.
745 %package -n nss_files
746 Summary: Traditional files databases NSS glibc module
747 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
748 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
750 Requires: %{name} = %{epoch}:%{version}-%{release}
752 %description -n nss_files
753 Traditional files databases NSS glibc module.
755 %description -n nss_files -l es
756 Módulo de tradicionales bases de datos en ficheros para glibc.
758 %description -n nss_files -l pl
759 Modu³ tradycyjnych plikowych baz danych NSS glibc.
761 %package -n nss_hesiod
762 Summary: hesiod NSS glibc module
763 Summary(es): Módulo hesiod NSS de glibc
764 Summary(pl): Modu³ hesiod NSS glibc
766 Requires: %{name} = %{epoch}:%{version}-%{release}
768 %description -n nss_hesiod
769 glibc NSS (Name Service Switch) module for databases access.
771 %description -n nss_hesiod -l es
772 Módulo hesiod NSS de glibc.
774 %description -n nss_hesiod -l pl
775 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
778 Summary: NIS(YP) NSS glibc module
779 Summary(es): Módulo NIS(YP) NSS de glibc
780 Summary(pl): Modu³ NIS(YP) NSS glibc
782 Requires: %{name} = %{epoch}:%{version}-%{release}
784 %description -n nss_nis
785 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
787 %description -n nss_nis -l es
788 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
790 %description -n nss_nis -l pl
791 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
793 %package -n nss_nisplus
794 Summary: NIS+ NSS module
795 Summary(es): Módulo NIS+ NSS
796 Summary(pl): Modu³ NIS+ NSS
798 Requires: %{name} = %{epoch}:%{version}-%{release}
800 %description -n nss_nisplus
801 glibc NSS (Name Service Switch) module for NIS+ databases access.
803 %description -n nss_nisplus -l es
804 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
807 %description -n nss_nisplus -l pl
808 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
812 Summary(es): Un juguete
815 Requires: %{name} = %{epoch}:%{version}-%{release}
817 %description memusage
820 %description memusage -l es
823 %description memusage -l pl
828 ln -s glibc-libidn-%{version} libidn
852 %{?with_cross:%patch25 -p1}
854 # these would be copied to localedb-src
855 rm -f localedata/locales/*{.orig,~}
859 # i786 (aka pentium4) hack
860 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
861 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
864 cp -f /usr/share/automake/config.sub scripts
872 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
876 --enable-kernel="%{min_kernel}" \
878 --with-headers=%{_includedir} \
879 --with%{!?with_selinux:out}-selinux \
881 --enable-add-ons=nptl,libidn \
882 --enable-stackguard-randomization \
883 --enable-hidden-plt \
890 for d in builddir; do
892 env LANGUAGE=C LC_ALL=C \
893 %{__make} tests 2>&1 | awk '
896 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
898 gsub(/.*\[/, NIL, file);
899 gsub(/\].*/, NIL, file);
903 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
909 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
913 rm -rf $RPM_BUILD_ROOT
914 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
917 env LANGUAGE=C LC_ALL=C \
919 install_root=$RPM_BUILD_ROOT \
920 infodir=%{_infodir} \
924 env LANGUAGE=C LC_ALL=C \
925 %{__make} localedata/install-locales \
926 install_root=$RPM_BUILD_ROOT
929 PICFILES="libc_pic.a libc.map
930 math/libm_pic.a libm.map
931 resolv/libresolv_pic.a"
933 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
934 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
935 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
939 install glibc-postinst $RPM_BUILD_ROOT/sbin
942 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
943 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
945 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
946 # moved to tzdata package
947 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
949 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
951 # make symlinks across top-level directories absolute
952 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
953 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
954 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
957 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
958 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
959 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
960 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
961 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
962 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
964 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
965 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
966 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
967 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
968 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
970 :> $RPM_BUILD_ROOT/var/log/nscd
971 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
972 :> $RPM_BUILD_ROOT/var/lib/nscd/group
973 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
976 install -d documentation
978 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
979 cp -f nptl/$f documentation/$f.nptl
981 cp -f crypt/README.ufc-crypt ChangeLog* documentation
983 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
985 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
986 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
988 # Collect locale files and mark them with %%lang()
990 echo '%defattr(644,root,root,755)' > glibc.lang
991 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
993 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
995 # list of long %%lang values we do support
996 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
997 zh_CN zh_CN.gbk zh_HK zh_TW ; do
998 if [ $j = "$lang" ]; then
1002 if [ -n "$twochar" ]; then
1003 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1004 lang=`echo $lang | sed "s,\..*,,"`
1006 lang=`echo $lang | sed "s,_.*,,"`
1009 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1010 echo "%lang($lang) $dir" >> glibc.lang
1013 # XXX: to be added when become supported by glibc
1015 # gn (gn_BR in gnome, maybe gn_PY)
1016 # dv, haw, kok, ps (iso-codes)
1020 # what about sr@ije? it used to be sr_CS@ije (should be @[i]jekavian?), but
1021 # now this dialect uses sr_ME locale - rename dir to sr_ME?
1023 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1026 # omitted here - already existing (with libc.mo):
1027 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1030 for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1031 en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1032 gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1033 lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1034 ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1035 tk tl tlh tt ug uk ur uz ve vi wa wal xh yi yo zh_HK zu ; do
1036 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1037 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1038 lang=`echo $i | sed -e 's/_.*//'`
1039 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1043 # localedb-gen infrastructure
1044 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1045 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1047 # shutup check-files
1048 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1049 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1050 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1051 # we don't support kernel without ptys support
1052 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1055 rm -rf $RPM_BUILD_ROOT
1057 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1058 # when %%postun is run
1061 %post -p /sbin/postshell
1062 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1066 %postun -p /sbin/postshell
1070 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1071 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1072 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1075 %post memusage -p /sbin/ldconfig
1076 %postun memusage -p /sbin/ldconfig
1078 %post -n iconv -p %{_sbindir}/iconvconfig
1081 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1084 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1087 %groupadd -P nscd -g 144 -r nscd
1088 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1091 /sbin/chkconfig --add nscd
1093 chmod 000 /var/log/nscd
1094 chown root:root /var/log/nscd
1095 chmod 640 /var/log/nscd
1096 %service nscd restart "nscd daemon"
1099 if [ "$1" = "0" ]; then
1101 /sbin/chkconfig --del nscd
1105 if [ "$1" = "0" ]; then
1111 %defattr(644,root,root,755)
1112 %doc README NEWS FAQ BUGS
1114 %attr(755,root,root) /sbin/glibc-postinst
1116 %attr(755,root,root) /sbin/ldconfig
1117 # ld* and libc.so.6 SONAME symlinks must be in package because of
1118 # chicken-egg problem (postshell is dynamically linked with libc);
1119 # NOTE: postshell is now linked statically with diet
1120 # ld-*.so SONAME is:
1122 # ld64.so.1 on ppc64,s390x
1123 # ld-linux-ia64.so.2 on ia64
1124 # ld-linux-x86-64.so.2 on x86_64
1125 # ld-linux.so.2 on other archs
1126 %attr(755,root,root) /%{_lib}/ld*
1127 %attr(755,root,root) /%{_lib}/libanl*
1128 %attr(755,root,root) /%{_lib}/libdl*
1129 %attr(755,root,root) /%{_lib}/libnsl*
1130 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1131 %{?with_localedb:%dir %{_libdir}/locale}
1132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1133 %dir %{_sysconfdir}/ld.so.conf.d
1134 %ghost %{_sysconfdir}/ld.so.cache
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1140 #%files -n nss_files
1141 %defattr(644,root,root,755)
1142 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1144 %files misc -f %{name}.lang
1145 %defattr(644,root,root,755)
1147 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1148 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1150 %config %{_sysconfdir}/rpc
1152 %attr(755,root,root) /sbin/sln
1153 %attr(755,root,root) %{_bindir}/catchsegv
1154 %attr(755,root,root) %{_bindir}/getconf
1155 %attr(755,root,root) %{_bindir}/getent
1156 %attr(755,root,root) %{_bindir}/iconv
1157 %attr(755,root,root) %{_bindir}/ldd
1158 %ifarch %{ix86} m68k sparc sparcv9
1159 %attr(755,root,root) %{_bindir}/lddlibc4
1161 %attr(755,root,root) %{_bindir}/locale
1162 %attr(755,root,root) %{_bindir}/rpcgen
1163 %attr(755,root,root) %{_bindir}/tzselect
1165 %attr(755,root,root) %{_sbindir}/rpcinfo
1166 %attr(755,root,root) %{_sbindir}/zdump
1167 %attr(755,root,root) %{_sbindir}/zic
1169 %dir %{_libexecdir}/getconf
1170 %attr(755,root,root) %{_libexecdir}/getconf/*
1172 %dir %{_datadir}/locale
1173 %{_datadir}/locale/locale.alias
1175 %{_mandir}/man1/catchsegv.1*
1176 %{_mandir}/man1/getconf.1*
1177 %{_mandir}/man1/getent.1*
1178 %{_mandir}/man1/iconv.1*
1179 %{_mandir}/man1/ldd.1*
1180 %{_mandir}/man1/locale.1*
1181 %{_mandir}/man1/rpcgen.1*
1182 %{_mandir}/man5/locale.5*
1183 %{_mandir}/man5/nsswitch.conf.5*
1184 %{_mandir}/man5/tzfile.5*
1186 %{_mandir}/man8/ld*.8*
1187 %{_mandir}/man8/rpcinfo.8*
1188 %{_mandir}/man8/sln.8*
1189 %{_mandir}/man8/tzselect.8*
1190 %{_mandir}/man8/zdump.8*
1191 %{_mandir}/man8/zic.8*
1192 %lang(cs) %{_mandir}/cs/man7/*
1193 %lang(de) %{_mandir}/de/man5/tzfile.5*
1194 %lang(de) %{_mandir}/de/man7/*
1195 %lang(es) %{_mandir}/es/man1/ldd.1*
1196 %lang(es) %{_mandir}/es/man5/locale.5*
1197 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1198 %lang(es) %{_mandir}/es/man5/tzfile.5*
1199 %lang(es) %{_mandir}/es/man7/*
1200 %lang(es) %{_mandir}/es/man8/ld*.8*
1201 %lang(es) %{_mandir}/es/man8/tzselect.8*
1202 %lang(es) %{_mandir}/es/man8/zdump.8*
1203 %lang(es) %{_mandir}/es/man8/zic.8*
1204 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1205 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1206 %lang(fr) %{_mandir}/fr/man5/locale.5*
1207 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1208 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1209 %lang(fr) %{_mandir}/fr/man7/*
1210 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1211 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1212 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1213 %lang(fr) %{_mandir}/fr/man8/zic.8*
1214 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1215 %lang(hu) %{_mandir}/hu/man7/*
1216 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1217 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1218 %lang(it) %{_mandir}/it/man5/locale.5*
1219 %lang(it) %{_mandir}/it/man7/*
1220 %lang(it) %{_mandir}/it/man8/tzselect.8*
1221 %lang(it) %{_mandir}/it/man8/zdump.8*
1222 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1223 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1224 %lang(ja) %{_mandir}/ja/man5/locale.5*
1225 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1226 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1227 %lang(ja) %{_mandir}/ja/man7/*
1228 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1229 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1230 %lang(ja) %{_mandir}/ja/man8/sln.8*
1231 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1232 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1233 %lang(ja) %{_mandir}/ja/man8/zic.8*
1234 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1235 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1236 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1237 %lang(ko) %{_mandir}/ko/man7/*
1238 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1239 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1240 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1241 %lang(pl) %{_mandir}/pl/man5/locale.5*
1242 %lang(pl) %{_mandir}/pl/man7/*
1243 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1244 %lang(pt) %{_mandir}/pt/man5/locale.5*
1245 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1246 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1247 %lang(pt) %{_mandir}/pt/man7/*
1248 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1249 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1250 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1251 %lang(pt) %{_mandir}/pt/man8/zic.8*
1252 %lang(ru) %{_mandir}/ru/man1/getent.1*
1253 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1254 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1255 %lang(ru) %{_mandir}/ru/man1/locale.1*
1256 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1257 %lang(ru) %{_mandir}/ru/man5/locale.5*
1258 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1259 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1260 %lang(ru) %{_mandir}/ru/man7/*
1261 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1262 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1263 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1264 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1265 %lang(ru) %{_mandir}/ru/man8/zic.8*
1266 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1267 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1268 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1269 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1270 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1271 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1272 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1273 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1274 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1275 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1277 %files -n nss_compat
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1281 %files -n nss_hesiod
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1288 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1290 %files -n nss_nisplus
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1294 %if %{with memusage}
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_bindir}/memusage*
1298 %attr(755,root,root) %{_libdir}/libmemusage.so
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1304 %attr(755,root,root) %{_libdir}/libcrypt.so
1305 %attr(755,root,root) %{_libdir}/libm.so
1306 %attr(755,root,root) %{_libdir}/libpcprofile.so
1307 %attr(755,root,root) %{_libdir}/*crt*.o
1310 %{_libdir}/libpthread.so
1311 %{_libdir}/libbsd-compat.a
1313 %{_libdir}/libc_nonshared.a
1315 %{_libdir}/libieee.a
1316 %ifarch alpha ppc sparc
1317 %{_libdir}/libnldbl_nonshared.a
1319 %{_libdir}/libpthread_nonshared.a
1320 %{_libdir}/librpcsvc.a
1321 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1322 %{_includedir}/gnu/stubs-*.h
1326 %defattr(644,root,root,755)
1329 %{_includedir}/alpha
1333 %dir %{_includedir}/gnu
1334 %{_includedir}/gnu/lib*.h
1335 %{_includedir}/gnu/stubs.h
1337 %{_includedir}/netash
1338 %{_includedir}/netatalk
1339 %{_includedir}/netax25
1340 %{_includedir}/neteconet
1341 %{_includedir}/netinet
1342 %{_includedir}/netipx
1343 %{_includedir}/netpacket
1344 %{_includedir}/netrom
1345 %{_includedir}/netrose
1347 %{_includedir}/protocols
1349 %{_includedir}/rpcsvc
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_bindir}/gencat
1356 %attr(755,root,root) %{_bindir}/*prof*
1357 %attr(755,root,root) %{_bindir}/*trace
1360 %defattr(644,root,root,755)
1361 %doc documentation/* NOTES PROJECTS
1362 %{_infodir}/libc.info*
1364 %{_mandir}/man1/sprof.1*
1366 %lang(cs) %{_mandir}/cs/man3/*
1367 %lang(de) %{_mandir}/de/man3/*
1368 %lang(es) %{_mandir}/es/man3/*
1369 %lang(fr) %{_mandir}/fr/man3/*
1370 %lang(hu) %{_mandir}/hu/man3/*
1371 %lang(it) %{_mandir}/it/man3/*
1372 %lang(ja) %{_mandir}/ja/man3/*
1373 %lang(ko) %{_mandir}/ko/man3/*
1374 %lang(nl) %{_mandir}/nl/man3/*
1375 %lang(pl) %{_mandir}/pl/man3/*
1376 %lang(pt) %{_mandir}/pt/man3/*
1377 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1378 %lang(ru) %{_mandir}/ru/man3/*
1379 %lang(tr) %{_mandir}/tr/man3/*
1380 %lang(uk) %{_mandir}/uk/man3/*
1381 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1384 %defattr(644,root,root,755)
1385 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1386 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1387 %attr(754,root,root) /etc/rc.d/init.d/nscd
1388 %attr(755,root,root) %{_sbindir}/nscd*
1389 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1390 %attr(640,root,root) %ghost /var/log/nscd
1393 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1394 %attr(600,root,root) %ghost /var/lib/nscd/group
1395 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1396 %{_mandir}/man5/nscd.conf.5*
1397 %{_mandir}/man8/nscd.8*
1398 %{_mandir}/man8/nscd_nischeck.8*
1399 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1400 %lang(es) %{_mandir}/es/man8/nscd.8*
1401 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1402 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1403 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1404 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1405 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1406 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1407 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1408 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1409 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1411 %files -n localedb-src
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_bindir}/localedef
1414 %attr(755,root,root) %{_bindir}/localedb-gen
1416 %{_mandir}/man1/localedef.1*
1417 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1419 %if %{with localedb}
1421 %defattr(644,root,root,755)
1422 %{_libdir}/locale/locale-archive
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_sbindir}/iconvconfig
1428 %dir %{_libdir}/gconv
1429 %{_libdir}/gconv/gconv-modules
1430 %attr(755,root,root) %{_libdir}/gconv/*.so
1433 %defattr(644,root,root,755)
1435 %{_libdir}/libBrokenLocale.a
1437 %{_libdir}/libcrypt.a
1440 %{_libdir}/libmcheck.a
1442 %{_libdir}/libpthread.a
1443 %{_libdir}/libresolv.a
1445 %{_libdir}/libutil.a
1448 %defattr(644,root,root,755)
1452 %defattr(644,root,root,755)
1453 %{_libdir}/lib*_pic.a