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
73 Patch7: %{name}-sparc64-fixes.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
138 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
139 %ifarch sparc sparcv9
140 %{expand:%%define __cc %{__cc} -m32}
144 %define specflags_ia32 -mno-tls-direct-seg-refs
145 %define specflags_x86_64 -mno-tls-direct-seg-refs
146 %define specflags_amd64 -mno-tls-direct-seg-refs
147 %define specflags_ia32e -mno-tls-direct-seg-refs
149 # we don't want perl dependency in glibc-devel
150 %define _noautoreqfiles %{_bindir}/mtrace
151 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
152 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
153 # patched not to crash on partial hardlinks too)
154 %define _hack_dontneed_PartialHardlinkSets 1
155 %define _noautochrpath .*\\(ldconfig\\|sln\\)
158 Contains the standard libraries that are used by multiple programs on
159 the system. In order to save disk space and memory, as well as to ease
160 upgrades, common system code is kept in one place and shared between
161 programs. This package contains the most important sets of shared
162 libraries, the standard C library and the standard math library.
163 Without these, a Linux system will not function. It also contains
164 national language (locale) support.
166 Can be used on: Linux kernel >= %{min_kernel}.
169 Contiene las bibliotecas estándared que son usadas por varios
170 programas del sistema. Para ahorrar el espacio en el disco y la
171 memoria, igual que para facilitar actualizaciones, código común del
172 sistema se guarda en un sitio y es compartido entre los programas.
173 Este paquete contiene las bibliotecas compartidas más importantes, es
174 decir la biblioteca C estándar y la biblioteca estándar de matemática.
175 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
176 soporte de idiomas nacionales (locale).
178 Puede usarse con: núcleo Linux >= %{min_kernel}.
181 Enthält die Standard-Libraries, die von verschiedenen Programmen im
182 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
183 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
184 einer einzigen Stelle gespeichert und wird von den Programmen
185 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
186 shared Libraries, die Standard-C-Library und die
187 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
188 Ferner enthält es den Support für die verschiedenen Sprachgregionen
191 Can be used on: Linux kernel >= %{min_kernel}.
194 Contient les bibliothèques standards utilisées par de nombreux
195 programmes du système. Afin d'économiser l'espace disque et mémoire,
196 et de faciliter les mises à jour, le code commun au système est mis à
197 un endroit et partagé entre les programmes. Ce paquetage contient les
198 bibliothèques partagées les plus importantes, la bibliothèque standard
199 du C et la bibliothèque mathématique standard. Sans celles-ci, un
200 système Linux ne peut fonctionner. Il contient aussi la gestion des
201 langues nationales (locales).
203 Can be used on: Linux kernel >= %{min_kernel}.
207 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
208 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
209 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
210 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
211 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
212 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
213 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
214 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
216 Can be used on: Linux kernel >= %{min_kernel}.
219 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
220 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
221 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
222 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
223 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
224 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
225 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
226 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
229 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
232 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
233 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
234 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
235 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
236 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
237 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
238 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
239 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
241 Can be used on: Linux kernel >= %{min_kernel}.
244 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
245 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
246 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
247 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
248 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
249 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
250 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
252 Can be used on: Linux kernel >= %{min_kernel}.
255 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
256 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
257 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
258 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
259 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
260 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
261 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
262 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
264 Can be used on: Linux kernel >= %{min_kernel}.
267 Summary: Utilities and data used by glibc
268 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
269 Group: Applications/System
271 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
272 Requires: %{name} = %{epoch}:%{version}-%{release}
273 Requires: tzdata >= 2006g-2
276 Utilities and data used by glibc.
278 %description misc -l pl
279 Narzêdzia i dane u¿ywane przez glibc.
282 Summary: Additional libraries required to compile
283 Summary(de): Weitere Libraries zum Kompilieren
284 Summary(es): Bibliotecas adicionales necesarias para la compilación
285 Summary(fr): Librairies supplémentaires nécessaires à la compilation
286 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
287 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
288 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
289 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
290 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
291 Group: Development/Libraries
292 Requires: %{name} = %{epoch}:%{version}-%{release}
293 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
294 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
295 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
296 Obsoletes: libiconv-devel
299 To develop programs which use the standard C libraries (which nearly
300 all programs do), the system needs to have these standard header files
301 and object files available for creating the executables.
303 %description devel -l de
304 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
305 verwenden (also fast alle), benötigt das System diese Standard-Header-
306 und Objektdateien zum Erstellen der ausführbaren Programme.
308 %description devel -l es
309 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
310 cual hacen prácticamente todos los programas), el sistema necesita
311 disponer de estos ficheros de cabecera y de objetos para crear los
314 %description devel -l fr
315 Pour développer des programmes utilisant les bibliothèques standard du
316 C (ce que presque tous les programmes font), le système doit posséder
317 ces fichiers en-têtes et objets standards pour créer les exécutables.
319 %description devel -l ja
320 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
321 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
322 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
323 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
324 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
327 %description devel -l pl
328 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
329 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
330 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
331 wykonywalnych i innych bibliotek.
333 %description devel -l ru
334 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
335 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
336 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
339 %description devel -l tr
340 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
341 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
344 %description devel -l uk
345 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
346 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
347 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
351 Summary: Header files for development using standard C libraries
352 Summary(pl): Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
353 Group: Development/Building
354 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
356 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
357 # have to be installed, not ix86 one.
358 Obsoletes: %{name}-headers(i386)
359 Obsoletes: %{name}-headers(i486)
360 Obsoletes: %{name}-headers(i586)
361 Obsoletes: %{name}-headers(i686)
362 Obsoletes: %{name}-headers(athlon)
363 Obsoletes: %{name}-headers(pentium3)
364 Obsoletes: %{name}-headers(pentium4)
367 Obsoletes: %{name}-headers(ppc)
370 Obsoletes: %{name}-headers(s390)
373 Obsoletes: %{name}-headers(sparc)
375 Requires: linux-libc-headers >= %{llh_version}
378 The glibc-headers package contains the header files necessary for
379 developing programs which use the standard C libraries (which are used
380 by nearly all programs). If you are developing programs which will use
381 the standard C libraries, your system needs to have these standard
382 header files available in order to create the executables.
384 Install glibc-headers if you are going to develop programs which will
385 use the standard C libraries.
387 %description headers -l pl
388 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
389 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
390 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
391 standardowych bibliotek C, system wymaga dostêpno¶ci tych
392 standardowych plików nag³ówkowych do tworzenia programów
395 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
396 korzystaj±ce ze standardowych bibliotek C.
399 Summary: Utilities needed for development using standard C libraries
400 Summary(pl): Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
401 Group: Development/Libraries
402 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
404 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
405 # have to be installed, not ix86 one.
406 Obsoletes: %{name}-devel-utils(i386)
407 Obsoletes: %{name}-devel-utils(i486)
408 Obsoletes: %{name}-devel-utils(i586)
409 Obsoletes: %{name}-devel-utils(i686)
410 Obsoletes: %{name}-devel-utils(athlon)
411 Obsoletes: %{name}-devel-utils(pentium3)
412 Obsoletes: %{name}-devel-utils(pentium4)
415 Obsoletes: %{name}-devel-utils(ppc)
418 Obsoletes: %{name}-devel-utils(s390)
421 Obsoletes: %{name}-devel-utils(sparc)
424 %description devel-utils
425 The glibc-devel-utils package contains utilities necessary for
426 developing programs which use the standard C libraries (which are used
427 by nearly all programs). If you are developing programs which will use
428 the standard C libraries, your system needs to have these utilities
431 Install glibc-devel-utils if you are going to develop programs which
432 will use the standard C libraries.
434 %description devel-utils -l pl
435 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
436 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
437 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
438 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
439 tworzenia programów wykonywalnych.
441 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
442 korzystaj±ce ze standardowych bibliotek C.
445 Summary: Documentation needed for development using standard C libraries
446 Summary(pl): Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
448 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
450 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
451 # have to be installed, not ix86 one.
452 Obsoletes: %{name}-devel-doc(i386)
453 Obsoletes: %{name}-devel-doc(i486)
454 Obsoletes: %{name}-devel-doc(i586)
455 Obsoletes: %{name}-devel-doc(i686)
456 Obsoletes: %{name}-devel-doc(athlon)
457 Obsoletes: %{name}-devel-doc(pentium3)
458 Obsoletes: %{name}-devel-doc(pentium4)
461 Obsoletes: %{name}-devel-doc(ppc)
464 Obsoletes: %{name}-devel-doc(s390)
467 Obsoletes: %{name}-devel-doc(sparc)
470 %description devel-doc
471 The glibc-devel-doc package contains info and manual pages necessary
472 for developing programs which use the standard C libraries (which are
473 used by nearly all programs).
475 Install glibc-devel-doc if you are going to develop programs which
476 will use the standard C libraries.
478 %description devel-doc -l pl
479 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
480 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
481 przez prawie wszystkie programy).
483 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
484 korzystaj±ce ze standardowych bibliotek C.
487 Summary: Name Service Caching Daemon
488 Summary(es): Demonio de caché del servicio de nombres
489 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
490 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
491 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
492 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
493 Group: Networking/Daemons
494 Requires(post): fileutils
495 Requires(post,preun): /sbin/chkconfig
496 Requires(postun): /usr/sbin/groupdel
497 Requires(postun): /usr/sbin/userdel
498 Requires(pre): /bin/id
499 Requires(pre): /usr/bin/getgid
500 Requires(pre): /usr/sbin/groupadd
501 Requires(pre): /usr/sbin/useradd
502 Requires: %{name} = %{epoch}:%{version}-%{release}
503 %{?with_selinux:Requires: libselinux >= 1.18}
504 Requires: rc-scripts >= 0.2.0
505 Provides: group(nscd)
509 nscd caches name service lookups; it can dramatically improve
510 performance with NIS+, and may help with DNS as well.
512 %description -n nscd -l es
513 nscd guarda las peticiones del servicio de nombres en una caché; eso
514 puede aumentar drásticamente las prestaciones de NIS+, y también puede
517 %description -n nscd -l ja
518 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
519 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
521 %description -n nscd -l pl
522 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
523 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
525 %description -n nscd -l ru
526 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
527 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
530 %description -n nscd -l uk
531 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
532 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
534 %package -n localedb-src
535 Summary: locale database source code
536 Summary(es): Código fuente de la base de datos de los locales
537 Summary(pl): Kod ¼ród³owy bazy locale
539 Requires: %{name} = %{epoch}:%{version}-%{release}
543 %description -n localedb-src
544 This add-on package contains the data needed to build the locale data
545 files to use the internationalization features of the GNU libc.
547 %description -n localedb-src -l es
548 Este paquete adicional contiene los datos necesarios para construir
549 los ficheros de locale, imprescindibles para usar las cualidades de
550 internacionalización de GNU libc.
552 %description -n localedb-src -l pl
553 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
554 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
557 %package localedb-all
558 Summary: locale database for all locales supported by glibc
559 Summary(es): Base de datos de todos los locales soportados por glibc
560 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
562 Requires: %{name} = %{epoch}:%{version}-%{release}
563 Requires: iconv = %{epoch}:%{version}-%{release}
565 %description localedb-all
566 This package contains locale database for all locales supported by
567 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
568 something smaller with support for chosen locales only, consider
569 installing localedb-src and regenerating database using localedb-gen
570 script (when database is generated, localedb-src can be uninstalled).
572 %description localedb-all -l es
573 Este paquete contiene una base de datos de todos los locales
574 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
575 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
576 locales elegidos, considérese instalar localedb-src y regenerar la
577 base de datos usando el escript localedb-gen (una vez que la base de
578 datos esté creada, localedb-src se podrá desinstalar).
580 %description localedb-all -l pl
581 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
582 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
583 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
584 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
585 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
586 pakiet localedb-src mo¿na odinstalowaæ).
589 Summary: Convert encoding of given files from one encoding to another
590 Summary(es): Convierte entre varias codificaciones de los ficheros dados
591 Summary(pl): Modu³y do konwersji plików tekstowych z jednego kodowania do innego
593 Requires: %{name} = %{epoch}:%{version}-%{release}
595 %description -n iconv
596 Convert encoding of given files from one encoding to another. You need
597 this package if you want to convert some document from one encoding to
598 another or if you have installed some programs which use Generic
599 Character Set Conversion Interface.
601 %description -n iconv -l es
602 Convierte la codificación de dados ficheros. Necesita este paquete si
603 quiere convertir un documento entre una codificación (juego de
604 caracteres) y otra, o si tiene instalado algún programa que usa el
605 Generic Character Set Conversion Interface (interfaz genérica de
606 conversión de juegos de caracteres).
608 %description -n iconv -l pl
609 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
610 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
611 dokumentów z jednego kodowania do innego lub do u¿ywania programów
612 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
613 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
614 kodowania danych z poziomu dowolnego programu.
617 Summary: Static libraries
618 Summary(es): Bibliotecas estáticas
619 Summary(pl): Biblioteki statyczne
620 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
621 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
622 Group: Development/Libraries
623 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
624 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
625 Obsoletes: libiconv-static
628 GNU libc static libraries.
630 %description static -l es
631 Bibliotecas estáticas de GNU libc.
633 %description static -l pl
634 Biblioteki statyczne GNU libc.
636 %description static -l ru
637 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
638 ×ÈÏÄÑÔ × glibc-devel.
640 %description static -l uk
641 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
645 Summary: glibc with profiling support
646 Summary(de): glibc mit Profil-Unterstützung
647 Summary(es): glibc con soporte de perfilamiento
648 Summary(fr): glibc avec support pour profiling
649 Summary(pl): glibc ze wsparciem dla profilowania
650 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
651 Summary(tr): Ölçüm desteði olan glibc
652 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
653 Group: Development/Libraries/Libc
654 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
655 Obsoletes: libc-profile
658 When programs are being profiled using gprof, they must use these
659 libraries instead of the standard C libraries for gprof to be able to
660 profile them correctly.
662 %description profile -l de
663 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
664 Libraries anstelle der üblichen C-Libraries verwendet werden.
666 %description profile -l es
667 Cuando programas son perfilidas usando gprof, tienen que usar estas
668 biblioteces en vez de las estándares para que gprof pueda perfilarlas
671 %description profile -l pl
672 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
673 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
676 %description profile -l uk
677 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
678 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
679 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
680 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
683 %description profile -l tr
684 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
685 kitaplýðý kullanmak zorundadýrlar.
687 %description profile -l ru
688 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
689 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
690 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
691 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
695 Summary: glibc PIC archive
696 Summary(es): Archivo PIC de glibc
697 Summary(pl): Archiwum PIC glibc
698 Group: Development/Libraries/Libc
699 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
702 GNU C Library PIC archive contains an archive library (ar file)
703 composed of individual shared objects. This is used for creating a
704 library which is a smaller subset of the standard libc shared library.
706 %description pic -l es
707 El archivo PIC de la biblioteca glibc contiene una biblioteca
708 archivada (un fichero ar) compuesta de individuales objetos
709 compartidos. Es usado para crear una biblioteca que sea un subconjunto
710 más pequeño de la biblioteca libc compartida estándar.
712 %description pic -l pl
713 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
714 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
715 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
716 biblioteki wspó³dzielonej libc.
718 %package -n nss_compat
719 Summary: Old style NYS NSS glibc module
720 Summary(es): El antiguo módulo NYS NSS de glibc
721 Summary(pl): Stary modu³ NYS NSS glibc
723 Requires: %{name} = %{epoch}:%{version}-%{release}
725 %description -n nss_compat
726 Old style NYS NSS glibc module.
728 %description -n nss_compat -l es
729 El antiguo módulo NYS NSS de glibc
731 %description -n nss_compat -l pl
732 Stary modu³ NYS NSS glibc.
735 Summary: BIND NSS glibc module
736 Summary(es): Módulo BIND NSS de glibc
737 Summary(pl): Modu³ BIND NSS glibc
739 Requires: %{name} = %{epoch}:%{version}-%{release}
741 %description -n nss_dns
742 BIND NSS glibc module.
744 %description -n nss_dns -l es
745 Módulo BIND NSS de glibc.
747 %description -n nss_dns -l pl
748 Modu³ BIND NSS glibc.
750 %package -n nss_files
751 Summary: Traditional files databases NSS glibc module
752 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
753 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
755 Requires: %{name} = %{epoch}:%{version}-%{release}
757 %description -n nss_files
758 Traditional files databases NSS glibc module.
760 %description -n nss_files -l es
761 Módulo de tradicionales bases de datos en ficheros para glibc.
763 %description -n nss_files -l pl
764 Modu³ tradycyjnych plikowych baz danych NSS glibc.
766 %package -n nss_hesiod
767 Summary: hesiod NSS glibc module
768 Summary(es): Módulo hesiod NSS de glibc
769 Summary(pl): Modu³ hesiod NSS glibc
771 Requires: %{name} = %{epoch}:%{version}-%{release}
773 %description -n nss_hesiod
774 glibc NSS (Name Service Switch) module for databases access.
776 %description -n nss_hesiod -l es
777 Módulo hesiod NSS de glibc.
779 %description -n nss_hesiod -l pl
780 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
783 Summary: NIS(YP) NSS glibc module
784 Summary(es): Módulo NIS(YP) NSS de glibc
785 Summary(pl): Modu³ NIS(YP) NSS glibc
787 Requires: %{name} = %{epoch}:%{version}-%{release}
789 %description -n nss_nis
790 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
792 %description -n nss_nis -l es
793 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
795 %description -n nss_nis -l pl
796 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
798 %package -n nss_nisplus
799 Summary: NIS+ NSS module
800 Summary(es): Módulo NIS+ NSS
801 Summary(pl): Modu³ NIS+ NSS
803 Requires: %{name} = %{epoch}:%{version}-%{release}
805 %description -n nss_nisplus
806 glibc NSS (Name Service Switch) module for NIS+ databases access.
808 %description -n nss_nisplus -l es
809 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
812 %description -n nss_nisplus -l pl
813 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
817 Summary(es): Un juguete
820 Requires: %{name} = %{epoch}:%{version}-%{release}
822 %description memusage
825 %description memusage -l es
828 %description memusage -l pl
833 ln -s glibc-libidn-%{version} libidn
857 %{?with_cross:%patch25 -p1}
859 # these would be copied to localedb-src
860 rm -f localedata/locales/*{.orig,~}
864 # i786 (aka pentium4) hack
865 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
866 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
869 cp -f /usr/share/automake/config.sub scripts
877 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
881 --enable-kernel="%{min_kernel}" \
883 --with-headers=%{_includedir} \
884 --with%{!?with_selinux:out}-selinux \
886 --enable-add-ons=nptl,libidn \
887 --enable-stackguard-randomization \
888 --enable-hidden-plt \
895 for d in builddir; do
897 env LANGUAGE=C LC_ALL=C \
898 %{__make} tests 2>&1 | awk '
901 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
903 gsub(/.*\[/, NIL, file);
904 gsub(/\].*/, NIL, file);
908 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
914 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
918 rm -rf $RPM_BUILD_ROOT
919 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
922 env LANGUAGE=C LC_ALL=C \
924 install_root=$RPM_BUILD_ROOT \
925 infodir=%{_infodir} \
929 env LANGUAGE=C LC_ALL=C \
930 %{__make} localedata/install-locales \
931 install_root=$RPM_BUILD_ROOT
934 PICFILES="libc_pic.a libc.map
935 math/libm_pic.a libm.map
936 resolv/libresolv_pic.a"
938 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
939 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
940 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
944 install glibc-postinst $RPM_BUILD_ROOT/sbin
947 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
948 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
950 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
951 # moved to tzdata package
952 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
954 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
956 # make symlinks across top-level directories absolute
957 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
958 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
959 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
962 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
963 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
964 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
965 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
966 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
967 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
969 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
970 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
971 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
972 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
973 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
975 :> $RPM_BUILD_ROOT/var/log/nscd
976 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
977 :> $RPM_BUILD_ROOT/var/lib/nscd/group
978 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
981 install -d documentation
983 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
984 cp -f nptl/$f documentation/$f.nptl
986 cp -f crypt/README.ufc-crypt ChangeLog* documentation
988 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
990 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
991 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
993 # Collect locale files and mark them with %%lang()
995 echo '%defattr(644,root,root,755)' > glibc.lang
996 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
998 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1000 # list of long %%lang values we do support
1001 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1002 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1003 if [ $j = "$lang" ]; then
1007 if [ -n "$twochar" ]; then
1008 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1009 lang=`echo $lang | sed "s,\..*,,"`
1011 lang=`echo $lang | sed "s,_.*,,"`
1014 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1015 echo "%lang($lang) $dir" >> glibc.lang
1018 # XXX: to be added when become supported by glibc
1020 # gn (gn_BR in gnome, maybe gn_PY)
1021 # dv, haw, kok, ps (iso-codes)
1025 # what about sr@ije? it used to be sr_CS@ije (should be @[i]jekavian?), but
1026 # now this dialect uses sr_ME locale - rename dir to sr_ME?
1028 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1031 # omitted here - already existing (with libc.mo):
1032 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1035 for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1036 en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1037 gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1038 lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1039 ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1040 tk tl tlh tt ug uk ur uz ve vi wa wal xh yi yo zh_HK zu ; do
1041 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1042 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1043 lang=`echo $i | sed -e 's/_.*//'`
1044 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1048 # localedb-gen infrastructure
1049 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1050 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1052 # shutup check-files
1053 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1054 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1055 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1056 # we don't support kernel without ptys support
1057 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1060 rm -rf $RPM_BUILD_ROOT
1062 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1063 # when %%postun is run
1066 %post -p /sbin/postshell
1067 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1071 %postun -p /sbin/postshell
1075 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1076 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1077 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1080 %post memusage -p /sbin/ldconfig
1081 %postun memusage -p /sbin/ldconfig
1083 %post -n iconv -p %{_sbindir}/iconvconfig
1086 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1089 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1092 %groupadd -P nscd -g 144 -r nscd
1093 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1096 /sbin/chkconfig --add nscd
1098 chmod 000 /var/log/nscd
1099 chown root:root /var/log/nscd
1100 chmod 640 /var/log/nscd
1101 %service nscd restart "nscd daemon"
1104 if [ "$1" = "0" ]; then
1106 /sbin/chkconfig --del nscd
1110 if [ "$1" = "0" ]; then
1116 %defattr(644,root,root,755)
1117 %doc README NEWS FAQ BUGS
1119 %attr(755,root,root) /sbin/glibc-postinst
1121 %attr(755,root,root) /sbin/ldconfig
1122 # ld* and libc.so.6 SONAME symlinks must be in package because of
1123 # chicken-egg problem (postshell is dynamically linked with libc);
1124 # NOTE: postshell is now linked statically with diet
1125 # ld-*.so SONAME is:
1127 # ld64.so.1 on ppc64,s390x
1128 # ld-linux-ia64.so.2 on ia64
1129 # ld-linux-x86-64.so.2 on x86_64
1130 # ld-linux.so.2 on other archs
1131 %attr(755,root,root) /%{_lib}/ld*
1132 %attr(755,root,root) /%{_lib}/libanl*
1133 %attr(755,root,root) /%{_lib}/libdl*
1134 %attr(755,root,root) /%{_lib}/libnsl*
1135 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1136 %{?with_localedb:%dir %{_libdir}/locale}
1137 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1138 %dir %{_sysconfdir}/ld.so.conf.d
1139 %ghost %{_sysconfdir}/ld.so.cache
1142 %defattr(644,root,root,755)
1143 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1145 #%files -n nss_files
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1149 %files misc -f %{name}.lang
1150 %defattr(644,root,root,755)
1152 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1153 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1155 %config %{_sysconfdir}/rpc
1157 %attr(755,root,root) /sbin/sln
1158 %attr(755,root,root) %{_bindir}/catchsegv
1159 %attr(755,root,root) %{_bindir}/getconf
1160 %attr(755,root,root) %{_bindir}/getent
1161 %attr(755,root,root) %{_bindir}/iconv
1162 %attr(755,root,root) %{_bindir}/ldd
1163 %ifarch %{ix86} m68k sparc sparcv9
1164 %attr(755,root,root) %{_bindir}/lddlibc4
1166 %attr(755,root,root) %{_bindir}/locale
1167 %attr(755,root,root) %{_bindir}/rpcgen
1168 %attr(755,root,root) %{_bindir}/tzselect
1170 %attr(755,root,root) %{_sbindir}/rpcinfo
1171 %attr(755,root,root) %{_sbindir}/zdump
1172 %attr(755,root,root) %{_sbindir}/zic
1174 %dir %{_libexecdir}/getconf
1175 %attr(755,root,root) %{_libexecdir}/getconf/*
1177 %dir %{_datadir}/locale
1178 %{_datadir}/locale/locale.alias
1180 %{_mandir}/man1/catchsegv.1*
1181 %{_mandir}/man1/getconf.1*
1182 %{_mandir}/man1/getent.1*
1183 %{_mandir}/man1/iconv.1*
1184 %{_mandir}/man1/ldd.1*
1185 %{_mandir}/man1/locale.1*
1186 %{_mandir}/man1/rpcgen.1*
1187 %{_mandir}/man5/locale.5*
1188 %{_mandir}/man5/nsswitch.conf.5*
1189 %{_mandir}/man5/tzfile.5*
1191 %{_mandir}/man8/ld*.8*
1192 %{_mandir}/man8/rpcinfo.8*
1193 %{_mandir}/man8/sln.8*
1194 %{_mandir}/man8/tzselect.8*
1195 %{_mandir}/man8/zdump.8*
1196 %{_mandir}/man8/zic.8*
1197 %lang(cs) %{_mandir}/cs/man7/*
1198 %lang(de) %{_mandir}/de/man5/tzfile.5*
1199 %lang(de) %{_mandir}/de/man7/*
1200 %lang(es) %{_mandir}/es/man1/ldd.1*
1201 %lang(es) %{_mandir}/es/man5/locale.5*
1202 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1203 %lang(es) %{_mandir}/es/man5/tzfile.5*
1204 %lang(es) %{_mandir}/es/man7/*
1205 %lang(es) %{_mandir}/es/man8/ld*.8*
1206 %lang(es) %{_mandir}/es/man8/tzselect.8*
1207 %lang(es) %{_mandir}/es/man8/zdump.8*
1208 %lang(es) %{_mandir}/es/man8/zic.8*
1209 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1210 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1211 %lang(fr) %{_mandir}/fr/man5/locale.5*
1212 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1213 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1214 %lang(fr) %{_mandir}/fr/man7/*
1215 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1216 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1217 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1218 %lang(fr) %{_mandir}/fr/man8/zic.8*
1219 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1220 %lang(hu) %{_mandir}/hu/man7/*
1221 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1222 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1223 %lang(it) %{_mandir}/it/man5/locale.5*
1224 %lang(it) %{_mandir}/it/man7/*
1225 %lang(it) %{_mandir}/it/man8/tzselect.8*
1226 %lang(it) %{_mandir}/it/man8/zdump.8*
1227 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1228 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1229 %lang(ja) %{_mandir}/ja/man5/locale.5*
1230 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1231 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1232 %lang(ja) %{_mandir}/ja/man7/*
1233 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1234 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1235 %lang(ja) %{_mandir}/ja/man8/sln.8*
1236 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1237 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1238 %lang(ja) %{_mandir}/ja/man8/zic.8*
1239 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1240 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1241 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1242 %lang(ko) %{_mandir}/ko/man7/*
1243 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1244 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1245 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1246 %lang(pl) %{_mandir}/pl/man5/locale.5*
1247 %lang(pl) %{_mandir}/pl/man7/*
1248 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1249 %lang(pt) %{_mandir}/pt/man5/locale.5*
1250 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1251 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1252 %lang(pt) %{_mandir}/pt/man7/*
1253 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1254 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1255 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1256 %lang(pt) %{_mandir}/pt/man8/zic.8*
1257 %lang(ru) %{_mandir}/ru/man1/getent.1*
1258 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1259 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1260 %lang(ru) %{_mandir}/ru/man1/locale.1*
1261 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1262 %lang(ru) %{_mandir}/ru/man5/locale.5*
1263 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1264 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1265 %lang(ru) %{_mandir}/ru/man7/*
1266 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1267 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1268 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1269 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1270 %lang(ru) %{_mandir}/ru/man8/zic.8*
1271 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1272 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1273 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1274 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1275 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1276 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1277 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1278 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1279 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1280 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1282 %files -n nss_compat
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1286 %files -n nss_hesiod
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1293 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1295 %files -n nss_nisplus
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1299 %if %{with memusage}
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/memusage*
1303 %attr(755,root,root) %{_libdir}/libmemusage.so
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1309 %attr(755,root,root) %{_libdir}/libcrypt.so
1310 %attr(755,root,root) %{_libdir}/libm.so
1311 %attr(755,root,root) %{_libdir}/libpcprofile.so
1312 %attr(755,root,root) %{_libdir}/*crt*.o
1315 %{_libdir}/libpthread.so
1316 %{_libdir}/libbsd-compat.a
1318 %{_libdir}/libc_nonshared.a
1320 %{_libdir}/libieee.a
1321 %ifarch alpha ppc sparc
1322 %{_libdir}/libnldbl_nonshared.a
1324 %{_libdir}/libpthread_nonshared.a
1325 %{_libdir}/librpcsvc.a
1326 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1327 %{_includedir}/gnu/stubs-*.h
1331 %defattr(644,root,root,755)
1334 %{_includedir}/alpha
1338 %dir %{_includedir}/gnu
1339 %{_includedir}/gnu/lib*.h
1340 %{_includedir}/gnu/stubs.h
1342 %{_includedir}/netash
1343 %{_includedir}/netatalk
1344 %{_includedir}/netax25
1345 %{_includedir}/neteconet
1346 %{_includedir}/netinet
1347 %{_includedir}/netipx
1348 %{_includedir}/netpacket
1349 %{_includedir}/netrom
1350 %{_includedir}/netrose
1352 %{_includedir}/protocols
1354 %{_includedir}/rpcsvc
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_bindir}/gencat
1361 %attr(755,root,root) %{_bindir}/*prof*
1362 %attr(755,root,root) %{_bindir}/*trace
1365 %defattr(644,root,root,755)
1366 %doc documentation/* NOTES PROJECTS
1367 %{_infodir}/libc.info*
1369 %{_mandir}/man1/sprof.1*
1371 %lang(cs) %{_mandir}/cs/man3/*
1372 %lang(de) %{_mandir}/de/man3/*
1373 %lang(es) %{_mandir}/es/man3/*
1374 %lang(fr) %{_mandir}/fr/man3/*
1375 %lang(hu) %{_mandir}/hu/man3/*
1376 %lang(it) %{_mandir}/it/man3/*
1377 %lang(ja) %{_mandir}/ja/man3/*
1378 %lang(ko) %{_mandir}/ko/man3/*
1379 %lang(nl) %{_mandir}/nl/man3/*
1380 %lang(pl) %{_mandir}/pl/man3/*
1381 %lang(pt) %{_mandir}/pt/man3/*
1382 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1383 %lang(ru) %{_mandir}/ru/man3/*
1384 %lang(tr) %{_mandir}/tr/man3/*
1385 %lang(uk) %{_mandir}/uk/man3/*
1386 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1389 %defattr(644,root,root,755)
1390 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1391 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1392 %attr(754,root,root) /etc/rc.d/init.d/nscd
1393 %attr(755,root,root) %{_sbindir}/nscd*
1394 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1395 %attr(640,root,root) %ghost /var/log/nscd
1398 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1399 %attr(600,root,root) %ghost /var/lib/nscd/group
1400 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1401 %{_mandir}/man5/nscd.conf.5*
1402 %{_mandir}/man8/nscd.8*
1403 %{_mandir}/man8/nscd_nischeck.8*
1404 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1405 %lang(es) %{_mandir}/es/man8/nscd.8*
1406 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1407 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1408 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1409 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1410 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1411 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1412 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1413 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1414 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1416 %files -n localedb-src
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_bindir}/localedef
1419 %attr(755,root,root) %{_bindir}/localedb-gen
1421 %{_mandir}/man1/localedef.1*
1422 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1424 %if %{with localedb}
1426 %defattr(644,root,root,755)
1427 %{_libdir}/locale/locale-archive
1431 %defattr(644,root,root,755)
1432 %attr(755,root,root) %{_sbindir}/iconvconfig
1433 %dir %{_libdir}/gconv
1434 %{_libdir}/gconv/gconv-modules
1435 %attr(755,root,root) %{_libdir}/gconv/*.so
1438 %defattr(644,root,root,755)
1440 %{_libdir}/libBrokenLocale.a
1442 %{_libdir}/libcrypt.a
1445 %{_libdir}/libmcheck.a
1447 %{_libdir}/libpthread.a
1448 %{_libdir}/libresolv.a
1450 %{_libdir}/libutil.a
1453 %defattr(644,root,root,755)
1457 %defattr(644,root,root,755)
1458 %{_libdir}/lib*_pic.a