3 # (debuggable libraries built with frame pointers - -debug package?)
4 # %{_libdir}/libBrokenLocale_g.a
5 # %{_libdir}/libanl_g.a
7 # %{_libdir}/libcrypt_g.a
10 # %{_libdir}/libnsl_g.a
11 # %{_libdir}/libpthread_g.a
12 # %{_libdir}/libresolv_g.a
13 # %{_libdir}/librpcsvc_g.a
14 # %{_libdir}/librt_g.a
15 # %{_libdir}/libutil_g.a
18 # min_kernel (default is 2.6.12)
19 %bcond_without memusage # don't build memusage utility
20 %bcond_without selinux # without SELinux support (in nscd)
21 %bcond_with tests # perform "make test"
22 %bcond_without localedb # don't build localedb-all (is time consuming)
23 %bcond_with cross # build using crossgcc (without libgcc_eh)
26 # - look at locale fixes/updates in bugzilla
27 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
29 # - localedb-gen man pages(?)
30 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
31 # debug/backtrace-tst(SEGV) fail on alpha
32 %{!?min_kernel:%global min_kernel 2.6.12}
35 %undefine with_memusage
38 %define llh_version 7:2.6.12.0-10
44 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
46 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
48 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
55 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
56 # Source0-md5: 1fb29764a6a650a4d5b409dda227ac9f
57 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
58 # Source1-md5: 8787868ba8962d9b125997ec2f25ac01
60 Source3: nscd.sysconfig
61 Source4: nscd.logrotate
62 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
63 Source5: http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2
64 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
65 Source6: %{name}-localedb-gen
66 Source7: %{name}-LD-path.c
67 Patch0: %{name}-info.patch
68 Patch1: %{name}-pl.po-update.patch
69 Patch2: %{name}-pld.patch
70 Patch3: %{name}-crypt-blowfish.patch
71 Patch4: %{name}-alpha-ev6-opcodes.patch
72 Patch5: %{name}-sparc-softfp-gcc.patch
73 Patch6: %{name}-paths.patch
74 Patch7: %{name}-sparc64-fixes.patch
75 Patch8: %{name}-missing-nls.patch
76 Patch9: %{name}-java-libc-wait.patch
78 Patch11: %{name}-no_opt_override.patch
79 Patch12: %{name}-includes.patch
80 Patch13: %{name}-ppc-inline-fsqrt.patch
81 Patch14: %{name}-sparc-errno_fix.patch
83 Patch17: %{name}-new-charsets.patch
85 Patch20: %{name}-tzfile-noassert.patch
86 Patch21: %{name}-morelocales.patch
87 Patch22: %{name}-locale_fixes.patch
88 Patch23: %{name}-ZA_collate.patch
89 Patch24: %{name}-iconvconfig-nxstack.patch
90 Patch25: %{name}-cross-gcc_eh.patch
92 #Patch30: %{name}-pax_dl-execstack.patch
93 URL: http://www.gnu.org/software/libc/
94 %{?with_selinux:BuildRequires: audit-libs-devel}
95 BuildRequires: autoconf
96 BuildRequires: automake
97 BuildRequires: binutils >= 2:2.15.90.0.3
98 BuildRequires: gcc >= 5:3.4
100 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
101 BuildRequires: gettext-devel >= 0.10.36
102 %{!?with_cross:BuildRequires: dietlibc-static}
103 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
104 BuildRequires: linux-libc-headers >= %{llh_version}
105 BuildRequires: perl-base
106 BuildRequires: rpm-build >= 4.3-0.20030610.28
107 BuildRequires: rpm-perlprov
108 BuildRequires: rpmbuild(macros) >= 1.315
109 BuildRequires: sed >= 4.0.5
110 BuildRequires: texinfo
112 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
114 Requires: uname(release) >= %{min_kernel}
115 Provides: /sbin/ldconfig
116 Provides: glibc(nptl)
120 Obsoletes: glibc-common
121 Obsoletes: glibc-debug
124 Conflicts: kernel < %{min_kernel}
126 Conflicts: kernel24-smp
127 Conflicts: ld.so < 1.9.9-10
128 Conflicts: man-pages < 1.43
129 Conflicts: poldek < 0.18.8-5
130 Conflicts: rc-scripts < 0.3.1-13
132 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
133 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
135 # avoid -s here (ld.so must not be stripped to allow any program debugging)
136 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
137 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
139 # -m from CFLAGS or even LDFLAGS is not propagated to some *.o linking
140 %ifarch sparc sparcv9
141 %{expand:%%define __cc %{__cc} -m32}
145 %define specflags_ia32 -mno-tls-direct-seg-refs
146 %define specflags_x86_64 -mno-tls-direct-seg-refs
147 %define specflags_amd64 -mno-tls-direct-seg-refs
148 %define specflags_ia32e -mno-tls-direct-seg-refs
150 # we don't want perl dependency in glibc-devel
151 %define _noautoreqfiles %{_bindir}/mtrace
152 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
153 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
154 # patched not to crash on partial hardlinks too)
155 %define _hack_dontneed_PartialHardlinkSets 1
156 %define _noautochrpath .*\\(ldconfig\\|sln\\)
159 Contains the standard libraries that are used by multiple programs on
160 the system. In order to save disk space and memory, as well as to ease
161 upgrades, common system code is kept in one place and shared between
162 programs. This package contains the most important sets of shared
163 libraries, the standard C library and the standard math library.
164 Without these, a Linux system will not function. It also contains
165 national language (locale) support.
167 Can be used on: Linux kernel >= %{min_kernel}.
170 Contiene las bibliotecas estándared que son usadas por varios
171 programas del sistema. Para ahorrar el espacio en el disco y la
172 memoria, igual que para facilitar actualizaciones, código común del
173 sistema se guarda en un sitio y es compartido entre los programas.
174 Este paquete contiene las bibliotecas compartidas más importantes, es
175 decir la biblioteca C estándar y la biblioteca estándar de matemática.
176 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
177 soporte de idiomas nacionales (locale).
179 Puede usarse con: núcleo Linux >= %{min_kernel}.
182 Enthält die Standard-Libraries, die von verschiedenen Programmen im
183 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
184 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
185 einer einzigen Stelle gespeichert und wird von den Programmen
186 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
187 shared Libraries, die Standard-C-Library und die
188 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
189 Ferner enthält es den Support für die verschiedenen Sprachgregionen
192 Can be used on: Linux kernel >= %{min_kernel}.
195 Contient les bibliothèques standards utilisées par de nombreux
196 programmes du système. Afin d'économiser l'espace disque et mémoire,
197 et de faciliter les mises à jour, le code commun au système est mis à
198 un endroit et partagé entre les programmes. Ce paquetage contient les
199 bibliothèques partagées les plus importantes, la bibliothèque standard
200 du C et la bibliothèque mathématique standard. Sans celles-ci, un
201 système Linux ne peut fonctionner. Il contient aussi la gestion des
202 langues nationales (locales).
204 Can be used on: Linux kernel >= %{min_kernel}.
208 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
209 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
210 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
211 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
212 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
213 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
214 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
215 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
217 Can be used on: Linux kernel >= %{min_kernel}.
220 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
221 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
222 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
223 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
224 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
225 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
226 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
227 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
230 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
233 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
234 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
235 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
236 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
237 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
238 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
239 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
240 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
242 Can be used on: Linux kernel >= %{min_kernel}.
245 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
246 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
247 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
248 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
249 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
250 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
251 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
253 Can be used on: Linux kernel >= %{min_kernel}.
256 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
257 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
258 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
259 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
260 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
261 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
262 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
263 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
265 Can be used on: Linux kernel >= %{min_kernel}.
268 Summary: Utilities and data used by glibc
269 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
270 Group: Applications/System
272 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
273 Requires: %{name} = %{epoch}:%{version}-%{release}
274 Requires: tzdata >= 2006g-2
277 Utilities and data used by glibc.
279 %description misc -l pl
280 Narzêdzia i dane u¿ywane przez glibc.
283 Summary: Additional libraries required to compile
284 Summary(de): Weitere Libraries zum Kompilieren
285 Summary(es): Bibliotecas adicionales necesarias para la compilación
286 Summary(fr): Librairies supplémentaires nécessaires à la compilation
287 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
288 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
289 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
290 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
291 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
292 Group: Development/Libraries
293 Requires: %{name} = %{epoch}:%{version}-%{release}
294 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
295 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
296 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
297 Obsoletes: libiconv-devel
300 To develop programs which use the standard C libraries (which nearly
301 all programs do), the system needs to have these standard header files
302 and object files available for creating the executables.
304 %description devel -l de
305 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
306 verwenden (also fast alle), benötigt das System diese Standard-Header-
307 und Objektdateien zum Erstellen der ausführbaren Programme.
309 %description devel -l es
310 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
311 cual hacen prácticamente todos los programas), el sistema necesita
312 disponer de estos ficheros de cabecera y de objetos para crear los
315 %description devel -l fr
316 Pour développer des programmes utilisant les bibliothèques standard du
317 C (ce que presque tous les programmes font), le système doit posséder
318 ces fichiers en-têtes et objets standards pour créer les exécutables.
320 %description devel -l ja
321 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
322 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
323 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
324 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
325 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
328 %description devel -l pl
329 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
330 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
331 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
332 wykonywalnych i innych bibliotek.
334 %description devel -l ru
335 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
336 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
337 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
340 %description devel -l tr
341 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
342 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
345 %description devel -l uk
346 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
347 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
348 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
352 Summary: Header files for development using standard C libraries
353 Summary(pl): Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
354 Group: Development/Building
355 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
357 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
358 # have to be installed, not ix86 one.
359 Obsoletes: %{name}-headers(i386)
360 Obsoletes: %{name}-headers(i486)
361 Obsoletes: %{name}-headers(i586)
362 Obsoletes: %{name}-headers(i686)
363 Obsoletes: %{name}-headers(athlon)
364 Obsoletes: %{name}-headers(pentium3)
365 Obsoletes: %{name}-headers(pentium4)
368 Obsoletes: %{name}-headers(ppc)
371 Obsoletes: %{name}-headers(s390)
374 Obsoletes: %{name}-headers(sparc)
376 Requires: linux-libc-headers >= %{llh_version}
379 The glibc-headers package contains the header files necessary for
380 developing programs which use the standard C libraries (which are used
381 by nearly all programs). If you are developing programs which will use
382 the standard C libraries, your system needs to have these standard
383 header files available in order to create the executables.
385 Install glibc-headers if you are going to develop programs which will
386 use the standard C libraries.
388 %description headers -l pl
389 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
390 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
391 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
392 standardowych bibliotek C, system wymaga dostêpno¶ci tych
393 standardowych plików nag³ówkowych do tworzenia programów
396 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
397 korzystaj±ce ze standardowych bibliotek C.
400 Summary: Utilities needed for development using standard C libraries
401 Summary(pl): Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
402 Group: Development/Libraries
403 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
405 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
406 # have to be installed, not ix86 one.
407 Obsoletes: %{name}-devel-utils(i386)
408 Obsoletes: %{name}-devel-utils(i486)
409 Obsoletes: %{name}-devel-utils(i586)
410 Obsoletes: %{name}-devel-utils(i686)
411 Obsoletes: %{name}-devel-utils(athlon)
412 Obsoletes: %{name}-devel-utils(pentium3)
413 Obsoletes: %{name}-devel-utils(pentium4)
416 Obsoletes: %{name}-devel-utils(ppc)
419 Obsoletes: %{name}-devel-utils(s390)
422 Obsoletes: %{name}-devel-utils(sparc)
425 %description devel-utils
426 The glibc-devel-utils package contains utilities necessary for
427 developing programs which use the standard C libraries (which are used
428 by nearly all programs). If you are developing programs which will use
429 the standard C libraries, your system needs to have these utilities
432 Install glibc-devel-utils if you are going to develop programs which
433 will use the standard C libraries.
435 %description devel-utils -l pl
436 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
437 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
438 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
439 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
440 tworzenia programów wykonywalnych.
442 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
443 korzystaj±ce ze standardowych bibliotek C.
446 Summary: Documentation needed for development using standard C libraries
447 Summary(pl): Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
449 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
451 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
452 # have to be installed, not ix86 one.
453 Obsoletes: %{name}-devel-doc(i386)
454 Obsoletes: %{name}-devel-doc(i486)
455 Obsoletes: %{name}-devel-doc(i586)
456 Obsoletes: %{name}-devel-doc(i686)
457 Obsoletes: %{name}-devel-doc(athlon)
458 Obsoletes: %{name}-devel-doc(pentium3)
459 Obsoletes: %{name}-devel-doc(pentium4)
462 Obsoletes: %{name}-devel-doc(ppc)
465 Obsoletes: %{name}-devel-doc(s390)
468 Obsoletes: %{name}-devel-doc(sparc)
471 %description devel-doc
472 The glibc-devel-doc package contains info and manual pages necessary
473 for developing programs which use the standard C libraries (which are
474 used by nearly all programs).
476 Install glibc-devel-doc if you are going to develop programs which
477 will use the standard C libraries.
479 %description devel-doc -l pl
480 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
481 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
482 przez prawie wszystkie programy).
484 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
485 korzystaj±ce ze standardowych bibliotek C.
488 Summary: Name Service Caching Daemon
489 Summary(es): Demonio de caché del servicio de nombres
490 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
491 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
492 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
493 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
494 Group: Networking/Daemons
495 Requires(post): fileutils
496 Requires(post,preun): /sbin/chkconfig
497 Requires(postun): /usr/sbin/groupdel
498 Requires(postun): /usr/sbin/userdel
499 Requires(pre): /bin/id
500 Requires(pre): /usr/bin/getgid
501 Requires(pre): /usr/sbin/groupadd
502 Requires(pre): /usr/sbin/useradd
503 Requires: %{name} = %{epoch}:%{version}-%{release}
504 %{?with_selinux:Requires: libselinux >= 1.18}
505 Requires: rc-scripts >= 0.2.0
506 Provides: group(nscd)
510 nscd caches name service lookups; it can dramatically improve
511 performance with NIS+, and may help with DNS as well.
513 %description -n nscd -l es
514 nscd guarda las peticiones del servicio de nombres en una caché; eso
515 puede aumentar drásticamente las prestaciones de NIS+, y también puede
518 %description -n nscd -l ja
519 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
520 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
522 %description -n nscd -l pl
523 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
524 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
526 %description -n nscd -l ru
527 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
528 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
531 %description -n nscd -l uk
532 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
533 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
535 %package -n localedb-src
536 Summary: locale database source code
537 Summary(es): Código fuente de la base de datos de los locales
538 Summary(pl): Kod ¼ród³owy bazy locale
540 Requires: %{name} = %{epoch}:%{version}-%{release}
544 %description -n localedb-src
545 This add-on package contains the data needed to build the locale data
546 files to use the internationalization features of the GNU libc.
548 %description -n localedb-src -l es
549 Este paquete adicional contiene los datos necesarios para construir
550 los ficheros de locale, imprescindibles para usar las cualidades de
551 internacionalización de GNU libc.
553 %description -n localedb-src -l pl
554 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
555 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
558 %package localedb-all
559 Summary: locale database for all locales supported by glibc
560 Summary(es): Base de datos de todos los locales soportados por glibc
561 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
563 Requires: %{name} = %{epoch}:%{version}-%{release}
564 Requires: iconv = %{epoch}:%{version}-%{release}
566 %description localedb-all
567 This package contains locale database for all locales supported by
568 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
569 something smaller with support for chosen locales only, consider
570 installing localedb-src and regenerating database using localedb-gen
571 script (when database is generated, localedb-src can be uninstalled).
573 %description localedb-all -l es
574 Este paquete contiene una base de datos de todos los locales
575 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
576 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
577 locales elegidos, considérese instalar localedb-src y regenerar la
578 base de datos usando el escript localedb-gen (una vez que la base de
579 datos esté creada, localedb-src se podrá desinstalar).
581 %description localedb-all -l pl
582 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
583 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
584 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
585 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
586 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
587 pakiet localedb-src mo¿na odinstalowaæ).
590 Summary: Convert encoding of given files from one encoding to another
591 Summary(es): Convierte entre varias codificaciones de los ficheros dados
592 Summary(pl): Modu³y do konwersji plików tekstowych z jednego kodowania do innego
594 Requires: %{name} = %{epoch}:%{version}-%{release}
596 %description -n iconv
597 Convert encoding of given files from one encoding to another. You need
598 this package if you want to convert some document from one encoding to
599 another or if you have installed some programs which use Generic
600 Character Set Conversion Interface.
602 %description -n iconv -l es
603 Convierte la codificación de dados ficheros. Necesita este paquete si
604 quiere convertir un documento entre una codificación (juego de
605 caracteres) y otra, o si tiene instalado algún programa que usa el
606 Generic Character Set Conversion Interface (interfaz genérica de
607 conversión de juegos de caracteres).
609 %description -n iconv -l pl
610 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
611 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
612 dokumentów z jednego kodowania do innego lub do u¿ywania programów
613 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
614 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
615 kodowania danych z poziomu dowolnego programu.
618 Summary: Static libraries
619 Summary(es): Bibliotecas estáticas
620 Summary(pl): Biblioteki statyczne
621 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
622 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
623 Group: Development/Libraries
624 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
625 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
626 Obsoletes: libiconv-static
629 GNU libc static libraries.
631 %description static -l es
632 Bibliotecas estáticas de GNU libc.
634 %description static -l pl
635 Biblioteki statyczne GNU libc.
637 %description static -l ru
638 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
639 ×ÈÏÄÑÔ × glibc-devel.
641 %description static -l uk
642 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
646 Summary: glibc with profiling support
647 Summary(de): glibc mit Profil-Unterstützung
648 Summary(es): glibc con soporte de perfilamiento
649 Summary(fr): glibc avec support pour profiling
650 Summary(pl): glibc ze wsparciem dla profilowania
651 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
652 Summary(tr): Ölçüm desteði olan glibc
653 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
654 Group: Development/Libraries/Libc
655 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
656 Obsoletes: libc-profile
659 When programs are being profiled using gprof, they must use these
660 libraries instead of the standard C libraries for gprof to be able to
661 profile them correctly.
663 %description profile -l de
664 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
665 Libraries anstelle der üblichen C-Libraries verwendet werden.
667 %description profile -l es
668 Cuando programas son perfilidas usando gprof, tienen que usar estas
669 biblioteces en vez de las estándares para que gprof pueda perfilarlas
672 %description profile -l pl
673 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
674 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
677 %description profile -l uk
678 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
679 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
680 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
681 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
684 %description profile -l tr
685 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
686 kitaplýðý kullanmak zorundadýrlar.
688 %description profile -l ru
689 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
690 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
691 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
692 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
696 Summary: glibc PIC archive
697 Summary(es): Archivo PIC de glibc
698 Summary(pl): Archiwum PIC glibc
699 Group: Development/Libraries/Libc
700 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
703 GNU C Library PIC archive contains an archive library (ar file)
704 composed of individual shared objects. This is used for creating a
705 library which is a smaller subset of the standard libc shared library.
707 %description pic -l es
708 El archivo PIC de la biblioteca glibc contiene una biblioteca
709 archivada (un fichero ar) compuesta de individuales objetos
710 compartidos. Es usado para crear una biblioteca que sea un subconjunto
711 más pequeño de la biblioteca libc compartida estándar.
713 %description pic -l pl
714 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
715 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
716 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
717 biblioteki wspó³dzielonej libc.
719 %package -n nss_compat
720 Summary: Old style NYS NSS glibc module
721 Summary(es): El antiguo módulo NYS NSS de glibc
722 Summary(pl): Stary modu³ NYS NSS glibc
724 Requires: %{name} = %{epoch}:%{version}-%{release}
726 %description -n nss_compat
727 Old style NYS NSS glibc module.
729 %description -n nss_compat -l es
730 El antiguo módulo NYS NSS de glibc
732 %description -n nss_compat -l pl
733 Stary modu³ NYS NSS glibc.
736 Summary: BIND NSS glibc module
737 Summary(es): Módulo BIND NSS de glibc
738 Summary(pl): Modu³ BIND NSS glibc
740 Requires: %{name} = %{epoch}:%{version}-%{release}
742 %description -n nss_dns
743 BIND NSS glibc module.
745 %description -n nss_dns -l es
746 Módulo BIND NSS de glibc.
748 %description -n nss_dns -l pl
749 Modu³ BIND NSS glibc.
751 %package -n nss_files
752 Summary: Traditional files databases NSS glibc module
753 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
754 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
756 Requires: %{name} = %{epoch}:%{version}-%{release}
758 %description -n nss_files
759 Traditional files databases NSS glibc module.
761 %description -n nss_files -l es
762 Módulo de tradicionales bases de datos en ficheros para glibc.
764 %description -n nss_files -l pl
765 Modu³ tradycyjnych plikowych baz danych NSS glibc.
767 %package -n nss_hesiod
768 Summary: hesiod NSS glibc module
769 Summary(es): Módulo hesiod NSS de glibc
770 Summary(pl): Modu³ hesiod NSS glibc
772 Requires: %{name} = %{epoch}:%{version}-%{release}
774 %description -n nss_hesiod
775 glibc NSS (Name Service Switch) module for databases access.
777 %description -n nss_hesiod -l es
778 Módulo hesiod NSS de glibc.
780 %description -n nss_hesiod -l pl
781 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
784 Summary: NIS(YP) NSS glibc module
785 Summary(es): Módulo NIS(YP) NSS de glibc
786 Summary(pl): Modu³ NIS(YP) NSS glibc
788 Requires: %{name} = %{epoch}:%{version}-%{release}
790 %description -n nss_nis
791 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
793 %description -n nss_nis -l es
794 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
796 %description -n nss_nis -l pl
797 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
799 %package -n nss_nisplus
800 Summary: NIS+ NSS module
801 Summary(es): Módulo NIS+ NSS
802 Summary(pl): Modu³ NIS+ NSS
804 Requires: %{name} = %{epoch}:%{version}-%{release}
806 %description -n nss_nisplus
807 glibc NSS (Name Service Switch) module for NIS+ databases access.
809 %description -n nss_nisplus -l es
810 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
813 %description -n nss_nisplus -l pl
814 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
818 Summary(es): Un juguete
821 Requires: %{name} = %{epoch}:%{version}-%{release}
823 %description memusage
826 %description memusage -l es
829 %description memusage -l pl
834 ln -s glibc-libidn-%{version} libidn
858 %{?with_cross:%patch25 -p1}
860 # these would be copied to localedb-src
861 rm -f localedata/locales/*{.orig,~}
865 # i786 (aka pentium4) hack
866 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
867 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
869 # Hack till glibc-kernheaders get updated, argh
870 %define min_kernel_ver %(echo %{min_kernel} | cut -f 1 -d .)
871 %define min_kernel_patc %(echo %{min_kernel} | cut -f 2 -d .)
872 %define min_kernel_subl %(echo %{min_kernel} | cut -f 3 -d .)
873 %define min_kernel_code %(expr %{min_kernel_ver} \\* 65536 + %{min_kernel_patc} \\* 256 + %{min_kernel_subl})
874 mkdir -p override_headers/linux
875 cat > override_headers/linux/version.h <<EOF
876 #define UTS_RELEASE "%{min_kernel}"
877 #define LINUX_VERSION_CODE %{min_kernel_code}
878 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
880 mkdir -p override_headers/asm
881 cat > override_headers/asm/unistd.h <<EOF
882 #ifndef _HACK_ASM_UNISTD_H
883 #include_next <asm/unistd.h>
886 #define __NR_stat64 425
887 #define __NR_lstat64 426
888 #define __NR_fstat64 427
891 #define __NR_mq_open 432
892 #define __NR_mq_unlink 433
893 #define __NR_mq_timedsend 434
894 #define __NR_mq_timedreceive 435
895 #define __NR_mq_notify 436
896 #define __NR_mq_getsetattr 437
899 #define __NR_waitid 438
901 #ifndef __NR_inotify_init
902 #define __NR_inotify_init 444
903 #define __NR_inotify_add_watch 445
904 #define __NR_inotify_rm_watch 446
909 #define __NR_mq_open 277
910 #define __NR_mq_unlink (__NR_mq_open+1)
911 #define __NR_mq_timedsend (__NR_mq_open+2)
912 #define __NR_mq_timedreceive (__NR_mq_open+3)
913 #define __NR_mq_notify (__NR_mq_open+4)
914 #define __NR_mq_getsetattr (__NR_mq_open+5)
917 #define __NR_waitid 284
919 #ifndef __NR_inotify_init
920 #define __NR_inotify_init 291
921 #define __NR_inotify_add_watch 292
922 #define __NR_inotify_rm_watch 293
925 #define __NR_openat 295
926 #define __NR_mkdirat 296
927 #define __NR_mknodat 297
928 #define __NR_fchownat 298
929 #define __NR_futimesat 299
930 #define __NR_unlinkat 301
931 #define __NR_renameat 302
932 #define __NR_linkat 303
933 #define __NR_symlinkat 304
934 #define __NR_readlinkat 305
935 #define __NR_fchmodat 306
936 #define __NR_faccessat 307
938 #ifndef __NR_fstatat64
939 #define __NR_fstatat64 300
941 #ifndef __NR_pselect6
942 #define __NR_pselect6 308
943 #define __NR_ppoll 309
946 #define __NR_unshare 310
948 #ifndef __NR_set_robust_list
949 #define __NR_set_robust_list 311
950 #define __NR_get_robust_list 312
953 #define __NR_splice 313
955 #ifndef __NR_sync_file_range
956 #define __NR_sync_file_range 314
961 #ifndef __NR_vmsplice
962 #define __NR_vmsplice 316
966 #ifndef __NR_timer_create
967 #define __NR_timer_create 1248
968 #define __NR_timer_settime 1249
969 #define __NR_timer_gettime 1250
970 #define __NR_timer_getoverrun 1251
971 #define __NR_timer_delete 1252
972 #define __NR_clock_settime 1253
973 #define __NR_clock_gettime 1254
974 #define __NR_clock_getres 1255
975 #define __NR_clock_nanosleep 1256
978 #define __NR_mq_open 1262
979 #define __NR_mq_unlink 1263
980 #define __NR_mq_timedsend 1264
981 #define __NR_mq_timedreceive 1265
982 #define __NR_mq_notify 1266
983 #define __NR_mq_getsetattr 1267
986 #define __NR_waitid 1270
988 #ifndef __NR_inotify_init
989 #define __NR_inotify_init 1277
990 #define __NR_inotify_add_watch 1278
991 #define __NR_inotify_rm_watch 1279
994 #define __NR_openat 1281
995 #define __NR_mkdirat 1282
996 #define __NR_mknodat 1283
997 #define __NR_fchownat 1284
998 #define __NR_futimesat 1285
999 #define __NR_newfstatat 1286
1000 #define __NR_unlinkat 1287
1001 #define __NR_renameat 1288
1002 #define __NR_linkat 1289
1003 #define __NR_symlinkat 1290
1004 #define __NR_readlinkat 1291
1005 #define __NR_fchmodat 1292
1006 #define __NR_faccessat 1293
1009 #ifndef __NR_pselect6
1010 #define __NR_pselect6 1294
1011 #define __NR_ppoll 1295
1014 #ifndef __NR_unshare
1015 #define __NR_unshare 1296
1018 #define __NR_splice 1297
1020 #ifndef __NR_set_robust_list
1021 #define __NR_set_robust_list 1298
1022 #define __NR_get_robust_list 1299
1024 #ifndef __NR_sync_file_range
1025 #define __NR_sync_file_range 1300
1028 #define __NR_tee 1301
1030 #ifndef __NR_vmsplice
1031 #define __NR_vmsplice 1302
1036 #define __NR_utimes 251
1038 #ifndef __NR_statfs64
1039 #define __NR_statfs64 252
1040 #define __NR_fstatfs64 253
1042 #ifndef __NR_fadvise64_64
1043 #define __NR_fadvise64_64 254
1045 #ifndef __NR_mq_open
1046 #define __NR_mq_open 262
1047 #define __NR_mq_unlink 263
1048 #define __NR_mq_timedsend 264
1049 #define __NR_mq_timedreceive 265
1050 #define __NR_mq_notify 266
1051 #define __NR_mq_getsetattr 267
1054 #define __NR_waitid 272
1056 #ifndef __NR_inotify_init
1057 #define __NR_inotify_init 275
1058 #define __NR_inotify_add_watch 276
1059 #define __NR_inotify_rm_watch 277
1061 #ifndef __NR_pselect6
1062 #define __NR_pselect6 280
1063 #define __NR_ppoll 281
1065 #ifndef __NR_unshare
1066 #define __NR_unshare 282
1069 #define __NR_splice 283
1072 #define __NR_tee 284
1074 #ifndef __NR_vmsplice
1075 #define __NR_vmsplice 285
1078 #define __NR_openat 286
1079 #define __NR_mkdirat 287
1080 #define __NR_mknodat 288
1081 #define __NR_fchownat 289
1082 #define __NR_futimesat 290
1083 #define __NR_fstatat64 291
1084 #define __NR_unlinkat 292
1085 #define __NR_renameat 293
1086 #define __NR_linkat 294
1087 #define __NR_symlinkat 295
1088 #define __NR_readlinkat 296
1089 #define __NR_fchmodat 297
1090 #define __NR_faccessat 298
1095 #define __NR_utimes 251
1097 #ifndef __NR_mq_open
1098 #define __NR_mq_open 262
1099 #define __NR_mq_unlink 263
1100 #define __NR_mq_timedsend 264
1101 #define __NR_mq_timedreceive 265
1102 #define __NR_mq_notify 266
1103 #define __NR_mq_getsetattr 267
1106 #define __NR_waitid 272
1108 #ifndef __NR_inotify_init
1109 #define __NR_inotify_init 275
1110 #define __NR_inotify_add_watch 276
1111 #define __NR_inotify_rm_watch 277
1113 #ifndef __NR_pselect6
1114 #define __NR_pselect6 280
1115 #define __NR_ppoll 281
1117 #ifndef __NR_unshare
1118 #define __NR_unshare 282
1121 #define __NR_splice 283
1124 #define __NR_tee 284
1126 #ifndef __NR_vmsplice
1127 #define __NR_vmsplice 285
1130 #define __NR_openat 286
1131 #define __NR_mkdirat 287
1132 #define __NR_mknodat 288
1133 #define __NR_fchownat 289
1134 #define __NR_futimesat 290
1135 #define __NR_newfstatat 291
1136 #define __NR_unlinkat 292
1137 #define __NR_renameat 293
1138 #define __NR_linkat 294
1139 #define __NR_symlinkat 295
1140 #define __NR_readlinkat 296
1141 #define __NR_fchmodat 297
1142 #define __NR_faccessat 298
1146 #ifndef __NR_timer_create
1147 #define __NR_timer_create 254
1148 #define __NR_timer_settime (__NR_timer_create+1)
1149 #define __NR_timer_gettime (__NR_timer_create+2)
1150 #define __NR_timer_getoverrun (__NR_timer_create+3)
1151 #define __NR_timer_delete (__NR_timer_create+4)
1152 #define __NR_clock_settime (__NR_timer_create+5)
1153 #define __NR_clock_gettime (__NR_timer_create+6)
1154 #define __NR_clock_getres (__NR_timer_create+7)
1155 #define __NR_clock_nanosleep (__NR_timer_create+8)
1157 #ifndef __NR_fadvise64_64
1158 #define __NR_fadvise64_64 264
1160 #ifndef __NR_statfs64
1161 #define __NR_statfs64 265
1162 #define __NR_fstatfs64 266
1164 #ifndef __NR_mq_open
1165 #define __NR_mq_open 271
1166 #define __NR_mq_unlink 272
1167 #define __NR_mq_timedsend 273
1168 #define __NR_mq_timedreceive 274
1169 #define __NR_mq_notify 275
1170 #define __NR_mq_getsetattr 276
1173 #define __NR_waitid 281
1175 #ifndef __NR_inotify_init
1176 #define __NR_inotify_init 284
1177 #define __NR_inotify_add_watch 285
1178 #define __NR_inotify_rm_watch 286
1181 #define __NR_openat 288
1182 #define __NR_mkdirat 289
1183 #define __NR_mknodat 290
1184 #define __NR_fchownat 291
1185 #define __NR_futimesat 292
1186 #define __NR_fstatat64 293
1187 #define __NR_unlinkat 294
1188 #define __NR_renameat 295
1189 #define __NR_linkat 296
1190 #define __NR_symlinkat 297
1191 #define __NR_readlinkat 298
1192 #define __NR_fchmodat 299
1193 #define __NR_faccessat 300
1195 #ifndef __NR_pselect6
1196 #define __NR_pselect6 301
1197 #define __NR_ppoll 302
1199 #ifndef __NR_unshare
1200 #define __NR_unshare 303
1204 #ifndef __NR_timer_create
1205 #define __NR_timer_create 254
1206 #define __NR_timer_settime (__NR_timer_create+1)
1207 #define __NR_timer_gettime (__NR_timer_create+2)
1208 #define __NR_timer_getoverrun (__NR_timer_create+3)
1209 #define __NR_timer_delete (__NR_timer_create+4)
1210 #define __NR_clock_settime (__NR_timer_create+5)
1211 #define __NR_clock_gettime (__NR_timer_create+6)
1212 #define __NR_clock_getres (__NR_timer_create+7)
1213 #define __NR_clock_nanosleep (__NR_timer_create+8)
1215 #ifndef __NR_mq_open
1216 #define __NR_mq_open 271
1217 #define __NR_mq_unlink 272
1218 #define __NR_mq_timedsend 273
1219 #define __NR_mq_timedreceive 274
1220 #define __NR_mq_notify 275
1221 #define __NR_mq_getsetattr 276
1224 #define __NR_waitid 281
1226 #ifndef __NR_inotify_init
1227 #define __NR_inotify_init 284
1228 #define __NR_inotify_add_watch 285
1229 #define __NR_inotify_rm_watch 286
1232 #define __NR_openat 288
1233 #define __NR_mkdirat 289
1234 #define __NR_mknodat 290
1235 #define __NR_fchownat 291
1236 #define __NR_futimesat 292
1237 #define __NR_newfstatat 293
1238 #define __NR_unlinkat 294
1239 #define __NR_renameat 295
1240 #define __NR_linkat 296
1241 #define __NR_symlinkat 297
1242 #define __NR_readlinkat 298
1243 #define __NR_fchmodat 299
1244 #define __NR_faccessat 300
1246 #ifndef __NR_pselect6
1247 #define __NR_pselect6 301
1248 #define __NR_ppoll 302
1250 #ifndef __NR_unshare
1251 #define __NR_unshare 303
1254 %ifarch sparc sparcv9 sparc64
1255 #ifndef __NR_mq_open
1256 #define __NR_mq_open 273
1257 #define __NR_mq_unlink 274
1258 #define __NR_mq_timedsend 275
1259 #define __NR_mq_timedreceive 276
1260 #define __NR_mq_notify 277
1261 #define __NR_mq_getsetattr 278
1264 #define __NR_waitid 279
1267 #define __NR_fstat64 63
1268 #define __NR_lstat64 132
1269 #define __NR_stat64 139
1271 #ifndef __NR_inotify_init
1272 #define __NR_inotify_init 151
1273 #define __NR_inotify_add_watch 152
1274 #define __NR_inotify_rm_watch 156
1277 #define __NR_openat 284
1278 #define __NR_mkdirat 285
1279 #define __NR_mknodat 286
1280 #define __NR_fchownat 287
1281 #define __NR_futimesat 288
1282 #define __NR_newfstatat 289
1283 #define __NR_unlinkat 290
1284 #define __NR_renameat 291
1285 #define __NR_linkat 292
1286 #define __NR_symlinkat 293
1287 #define __NR_readlinkat 294
1288 #define __NR_fchmodat 295
1289 #define __NR_faccessat 296
1291 #ifndef __NR_pselect6
1292 #define __NR_pselect6 297
1293 #define __NR_ppoll 298
1295 #ifndef __NR_unshare
1296 #define __NR_unshare 299
1300 #ifndef __NR_mq_open
1301 #define __NR_mq_open 240
1302 #define __NR_mq_unlink 241
1303 #define __NR_mq_timedsend 242
1304 #define __NR_mq_timedreceive 243
1305 #define __NR_mq_notify 244
1306 #define __NR_mq_getsetattr 245
1309 #define __NR_waitid 247
1311 #ifndef __NR_inotify_init
1312 #define __NR_inotify_init 253
1313 #define __NR_inotify_add_watch 254
1314 #define __NR_inotify_rm_watch 255
1317 #define __NR_openat 257
1318 #define __NR_mkdirat 258
1319 #define __NR_mknodat 259
1320 #define __NR_fchownat 260
1321 #define __NR_futimesat 261
1322 #define __NR_newfstatat 262
1323 #define __NR_unlinkat 263
1324 #define __NR_renameat 264
1325 #define __NR_linkat 265
1326 #define __NR_symlinkat 266
1327 #define __NR_readlinkat 267
1328 #define __NR_fchmodat 268
1329 #define __NR_faccessat 269
1331 #ifndef __NR_pselect6
1332 #define __NR_pselect6 270
1333 #define __NR_ppoll 271
1335 #ifndef __NR_unshare
1336 #define __NR_unshare 272
1338 #ifndef __NR_set_robust_list
1339 #define __NR_set_robust_list 273
1340 #define __NR_get_robust_list 274
1343 #define __NR_splice 275
1346 #define __NR_tee 276
1348 #ifndef __NR_sync_file_range
1349 #define __NR_sync_file_range 277
1351 #ifndef __NR_vmsplice
1352 #define __NR_vmsplice 278
1357 cat > override_headers/asm/errno.h <<EOF
1358 #ifndef _HACK_ASM_ERRNO_H
1359 #include_next <asm/errno.h>
1363 #define EKEYEXPIRED 133
1364 #define EKEYREVOKED 134
1365 #define EKEYREJECTED 135
1368 #define EOWNERDEAD 136
1369 #define ENOTRECOVERABLE 137
1372 %ifarch %{ix86} ia64 ppc ppc64 s390 s390x x86_64
1375 #define EKEYEXPIRED 127
1376 #define EKEYREVOKED 128
1377 #define EKEYREJECTED 129
1380 #define EOWNERDEAD 130
1381 #define ENOTRECOVERABLE 131
1384 %ifarch sparc sparcv9 sparc64
1387 #define EKEYEXPIRED 129
1388 #define EKEYREVOKED 130
1389 #define EKEYREJECTED 131
1392 #define EOWNERDEAD 132
1393 #define ENOTRECOVERABLE 133
1399 # A lot of programs still misuse memcpy when they have to use
1400 # memmove. The memcpy implementation below is not tolerant at
1402 rm -f sysdeps/alpha/alphaev6/memcpy.S
1405 # glibc has its own way to remove PLT relocations. / H. J. Lu.
1406 unset LD_SYMBOLIC_FUNCTIONS || :
1408 cp -f /usr/share/automake/config.sub scripts
1416 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
1420 --enable-kernel="%{min_kernel}" \
1422 --with-headers=`cd ..; pwd`/override_headers:%{_includedir} \
1423 --with%{!?with_selinux:out}-selinux \
1425 --enable-add-ons=nptl,libidn \
1426 --enable-stackguard-randomization \
1427 --enable-hidden-plt \
1434 for d in builddir; do
1436 env LANGUAGE=C LC_ALL=C \
1437 %{__make} tests 2>&1 | awk '
1440 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1442 gsub(/.*\[/, NIL, file);
1443 gsub(/\].*/, NIL, file);
1447 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1453 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
1457 rm -rf $RPM_BUILD_ROOT
1458 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
1461 env LANGUAGE=C LC_ALL=C \
1463 install_root=$RPM_BUILD_ROOT \
1464 infodir=%{_infodir} \
1467 %if %{with localedb}
1468 env LANGUAGE=C LC_ALL=C \
1469 %{__make} localedata/install-locales \
1470 install_root=$RPM_BUILD_ROOT
1473 PICFILES="libc_pic.a libc.map
1474 math/libm_pic.a libm.map
1475 resolv/libresolv_pic.a"
1477 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
1478 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
1479 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
1483 install glibc-postinst $RPM_BUILD_ROOT/sbin
1486 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
1487 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
1489 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1490 # moved to tzdata package
1491 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1493 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1495 # make symlinks across top-level directories absolute
1496 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
1497 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1498 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1501 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1502 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
1503 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1504 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
1505 sed -e 's#\([ \t]\)db\([ \t]\)#\1#g' nss/nsswitch.conf > $RPM_BUILD_ROOT%{_sysconfdir}/nsswitch.conf
1506 install posix/gai.conf $RPM_BUILD_ROOT%{_sysconfdir}
1508 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1509 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1510 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1511 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1512 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1514 :> $RPM_BUILD_ROOT/var/log/nscd
1515 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
1516 :> $RPM_BUILD_ROOT/var/lib/nscd/group
1517 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
1519 rm -rf documentation
1520 install -d documentation
1522 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
1523 cp -f nptl/$f documentation/$f.nptl
1525 cp -f crypt/README.ufc-crypt ChangeLog* documentation
1527 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1529 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1530 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1532 # Collect locale files and mark them with %%lang()
1534 echo '%defattr(644,root,root,755)' > glibc.lang
1535 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1537 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1539 # list of long %%lang values we do support
1540 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1541 zh_CN zh_CN.gbk zh_HK zh_TW ; do
1542 if [ $j = "$lang" ]; then
1546 if [ -n "$twochar" ]; then
1547 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1548 lang=`echo $lang | sed "s,\..*,,"`
1550 lang=`echo $lang | sed "s,_.*,,"`
1553 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1554 echo "%lang($lang) $dir" >> glibc.lang
1557 # XXX: to be added when become supported by glibc
1559 # gn (gn_BR in gnome, maybe gn_PY)
1560 # dv, haw, kok, ps (iso-codes)
1564 # what about sr@ije? it used to be sr_CS@ije (should be @[i]jekavian?), but
1565 # now this dialect uses sr_ME locale - rename dir to sr_ME?
1567 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1570 # omitted here - already existing (with libc.mo):
1571 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1574 for i in aa af am ang ar as az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1575 en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1576 gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1577 lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1578 ru rw sa se si sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1579 tk tl tlh tt ug uk ur uz ve vi wa wal wo xh yi yo zh_HK zu ; do
1580 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1581 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1582 lang=`echo $i | sed -e 's/_.*//'`
1583 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1587 # localedb-gen infrastructure
1588 sed -e 's,@localedir@,%{_libdir}/locale,' %{SOURCE6} > $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1589 chmod +x $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1590 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1592 # shutup check-files
1593 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1594 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1595 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1596 # we don't support kernel without ptys support
1597 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1600 rm -rf $RPM_BUILD_ROOT
1602 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1603 # when %%postun is run
1606 %post -p /sbin/postshell
1607 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1611 %postun -p /sbin/postshell
1615 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1616 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1617 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1620 %post memusage -p /sbin/ldconfig
1621 %postun memusage -p /sbin/ldconfig
1623 %post -n iconv -p %{_sbindir}/iconvconfig
1626 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1629 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1632 %groupadd -P nscd -g 144 -r nscd
1633 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1636 /sbin/chkconfig --add nscd
1638 chmod 000 /var/log/nscd
1639 chown root:root /var/log/nscd
1640 chmod 640 /var/log/nscd
1641 %service nscd restart "nscd daemon"
1644 if [ "$1" = "0" ]; then
1646 /sbin/chkconfig --del nscd
1650 if [ "$1" = "0" ]; then
1656 %defattr(644,root,root,755)
1657 %doc README NEWS FAQ BUGS
1659 %attr(755,root,root) /sbin/glibc-postinst
1661 %attr(755,root,root) /sbin/ldconfig
1662 # ld* and libc.so.6 SONAME symlinks must be in package because of
1663 # chicken-egg problem (postshell is dynamically linked with libc);
1664 # NOTE: postshell is now linked statically with diet
1665 # ld-*.so SONAME is:
1667 # ld64.so.1 on ppc64,s390x
1668 # ld-linux-ia64.so.2 on ia64
1669 # ld-linux-x86-64.so.2 on x86_64
1670 # ld-linux.so.2 on other archs
1671 %attr(755,root,root) /%{_lib}/ld*
1672 %attr(755,root,root) /%{_lib}/libanl*
1673 %attr(755,root,root) /%{_lib}/libdl*
1674 %attr(755,root,root) /%{_lib}/libnsl*
1675 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1676 %{?with_localedb:%dir %{_libdir}/locale}
1677 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1678 %dir %{_sysconfdir}/ld.so.conf.d
1679 %ghost %{_sysconfdir}/ld.so.cache
1682 %defattr(644,root,root,755)
1683 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1685 #%files -n nss_files
1686 %defattr(644,root,root,755)
1687 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1689 %files misc -f %{name}.lang
1690 %defattr(644,root,root,755)
1692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1693 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gai.conf
1695 %config %{_sysconfdir}/rpc
1697 %attr(755,root,root) /sbin/sln
1698 %attr(755,root,root) %{_bindir}/catchsegv
1699 %attr(755,root,root) %{_bindir}/getconf
1700 %attr(755,root,root) %{_bindir}/getent
1701 %attr(755,root,root) %{_bindir}/iconv
1702 %attr(755,root,root) %{_bindir}/ldd
1703 %ifarch %{ix86} m68k sparc sparcv9
1704 %attr(755,root,root) %{_bindir}/lddlibc4
1706 %attr(755,root,root) %{_bindir}/locale
1707 %attr(755,root,root) %{_bindir}/rpcgen
1708 %attr(755,root,root) %{_bindir}/tzselect
1710 %attr(755,root,root) %{_sbindir}/rpcinfo
1711 %attr(755,root,root) %{_sbindir}/zdump
1712 %attr(755,root,root) %{_sbindir}/zic
1714 %dir %{_libexecdir}/getconf
1715 %attr(755,root,root) %{_libexecdir}/getconf/*
1717 %dir %{_datadir}/locale
1718 %{_datadir}/locale/locale.alias
1720 %{_mandir}/man1/catchsegv.1*
1721 %{_mandir}/man1/getconf.1*
1722 %{_mandir}/man1/getent.1*
1723 %{_mandir}/man1/iconv.1*
1724 %{_mandir}/man1/ldd.1*
1725 %{_mandir}/man1/locale.1*
1726 %{_mandir}/man1/rpcgen.1*
1727 %{_mandir}/man5/locale.5*
1728 %{_mandir}/man5/nsswitch.conf.5*
1729 %{_mandir}/man5/tzfile.5*
1731 %{_mandir}/man8/ld*.8*
1732 %{_mandir}/man8/rpcinfo.8*
1733 %{_mandir}/man8/sln.8*
1734 %{_mandir}/man8/tzselect.8*
1735 %{_mandir}/man8/zdump.8*
1736 %{_mandir}/man8/zic.8*
1737 %lang(cs) %{_mandir}/cs/man7/*
1738 %lang(de) %{_mandir}/de/man5/tzfile.5*
1739 %lang(de) %{_mandir}/de/man7/*
1740 %lang(es) %{_mandir}/es/man1/ldd.1*
1741 %lang(es) %{_mandir}/es/man5/locale.5*
1742 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1743 %lang(es) %{_mandir}/es/man5/tzfile.5*
1744 %lang(es) %{_mandir}/es/man7/*
1745 %lang(es) %{_mandir}/es/man8/ld*.8*
1746 %lang(es) %{_mandir}/es/man8/tzselect.8*
1747 %lang(es) %{_mandir}/es/man8/zdump.8*
1748 %lang(es) %{_mandir}/es/man8/zic.8*
1749 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1750 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1751 %lang(fr) %{_mandir}/fr/man5/locale.5*
1752 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1753 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1754 %lang(fr) %{_mandir}/fr/man7/*
1755 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1756 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1757 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1758 %lang(fr) %{_mandir}/fr/man8/zic.8*
1759 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1760 %lang(hu) %{_mandir}/hu/man7/*
1761 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1762 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1763 %lang(it) %{_mandir}/it/man5/locale.5*
1764 %lang(it) %{_mandir}/it/man7/*
1765 %lang(it) %{_mandir}/it/man8/tzselect.8*
1766 %lang(it) %{_mandir}/it/man8/zdump.8*
1767 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1768 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1769 %lang(ja) %{_mandir}/ja/man5/locale.5*
1770 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1771 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1772 %lang(ja) %{_mandir}/ja/man7/*
1773 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1774 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1775 %lang(ja) %{_mandir}/ja/man8/sln.8*
1776 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1777 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1778 %lang(ja) %{_mandir}/ja/man8/zic.8*
1779 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1780 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1781 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1782 %lang(ko) %{_mandir}/ko/man7/*
1783 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1784 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1785 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1786 %lang(pl) %{_mandir}/pl/man5/locale.5*
1787 %lang(pl) %{_mandir}/pl/man7/*
1788 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1789 %lang(pt) %{_mandir}/pt/man5/locale.5*
1790 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1791 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1792 %lang(pt) %{_mandir}/pt/man7/*
1793 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1794 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1795 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1796 %lang(pt) %{_mandir}/pt/man8/zic.8*
1797 %lang(ru) %{_mandir}/ru/man1/getent.1*
1798 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1799 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1800 %lang(ru) %{_mandir}/ru/man1/locale.1*
1801 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1802 %lang(ru) %{_mandir}/ru/man5/locale.5*
1803 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1804 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1805 %lang(ru) %{_mandir}/ru/man7/*
1806 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1807 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1808 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1809 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1810 %lang(ru) %{_mandir}/ru/man8/zic.8*
1811 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1812 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1813 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1814 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1815 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1816 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1817 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1818 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1819 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1820 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1822 %files -n nss_compat
1823 %defattr(644,root,root,755)
1824 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1826 %files -n nss_hesiod
1827 %defattr(644,root,root,755)
1828 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1831 %defattr(644,root,root,755)
1832 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1833 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1835 %files -n nss_nisplus
1836 %defattr(644,root,root,755)
1837 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1839 %if %{with memusage}
1841 %defattr(644,root,root,755)
1842 %attr(755,root,root) %{_bindir}/memusage*
1843 %attr(755,root,root) %{_libdir}/libmemusage.so
1847 %defattr(644,root,root,755)
1848 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1849 %attr(755,root,root) %{_libdir}/libcrypt.so
1850 %attr(755,root,root) %{_libdir}/libm.so
1851 %attr(755,root,root) %{_libdir}/libpcprofile.so
1852 %attr(755,root,root) %{_libdir}/*crt*.o
1855 %{_libdir}/libpthread.so
1856 %{_libdir}/libbsd-compat.a
1858 %{_libdir}/libc_nonshared.a
1860 %{_libdir}/libieee.a
1861 %ifarch alpha ppc sparc
1862 %{_libdir}/libnldbl_nonshared.a
1864 %{_libdir}/libpthread_nonshared.a
1865 %{_libdir}/librpcsvc.a
1866 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1867 %{_includedir}/gnu/stubs-*.h
1871 %defattr(644,root,root,755)
1874 %{_includedir}/alpha
1878 %dir %{_includedir}/gnu
1879 %{_includedir}/gnu/lib*.h
1880 %{_includedir}/gnu/stubs.h
1882 %{_includedir}/netash
1883 %{_includedir}/netatalk
1884 %{_includedir}/netax25
1885 %{_includedir}/neteconet
1886 %{_includedir}/netinet
1887 %{_includedir}/netipx
1888 %{_includedir}/netpacket
1889 %{_includedir}/netrom
1890 %{_includedir}/netrose
1892 %{_includedir}/protocols
1894 %{_includedir}/rpcsvc
1899 %defattr(644,root,root,755)
1900 %attr(755,root,root) %{_bindir}/gencat
1901 %attr(755,root,root) %{_bindir}/*prof*
1902 %attr(755,root,root) %{_bindir}/*trace
1905 %defattr(644,root,root,755)
1906 %doc documentation/* NOTES PROJECTS
1907 %{_infodir}/libc.info*
1909 %{_mandir}/man1/sprof.1*
1911 %lang(cs) %{_mandir}/cs/man3/*
1912 %lang(de) %{_mandir}/de/man3/*
1913 %lang(es) %{_mandir}/es/man3/*
1914 %lang(fr) %{_mandir}/fr/man3/*
1915 %lang(hu) %{_mandir}/hu/man3/*
1916 %lang(it) %{_mandir}/it/man3/*
1917 %lang(ja) %{_mandir}/ja/man3/*
1918 %lang(ko) %{_mandir}/ko/man3/*
1919 %lang(nl) %{_mandir}/nl/man3/*
1920 %lang(pl) %{_mandir}/pl/man3/*
1921 %lang(pt) %{_mandir}/pt/man3/*
1922 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1923 %lang(ru) %{_mandir}/ru/man3/*
1924 %lang(tr) %{_mandir}/tr/man3/*
1925 %lang(uk) %{_mandir}/uk/man3/*
1926 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1929 %defattr(644,root,root,755)
1930 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1931 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1932 %attr(754,root,root) /etc/rc.d/init.d/nscd
1933 %attr(755,root,root) %{_sbindir}/nscd*
1934 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1935 %attr(640,root,root) %ghost /var/log/nscd
1938 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1939 %attr(600,root,root) %ghost /var/lib/nscd/group
1940 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1941 %{_mandir}/man5/nscd.conf.5*
1942 %{_mandir}/man8/nscd.8*
1943 %{_mandir}/man8/nscd_nischeck.8*
1944 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1945 %lang(es) %{_mandir}/es/man8/nscd.8*
1946 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1947 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1948 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1949 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1950 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1951 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1952 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1953 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1954 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1956 %files -n localedb-src
1957 %defattr(644,root,root,755)
1958 %attr(755,root,root) %{_bindir}/localedef
1959 %attr(755,root,root) %{_bindir}/localedb-gen
1961 %{_mandir}/man1/localedef.1*
1962 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1964 %if %{with localedb}
1966 %defattr(644,root,root,755)
1967 %{_libdir}/locale/locale-archive
1971 %defattr(644,root,root,755)
1972 %attr(755,root,root) %{_sbindir}/iconvconfig
1973 %dir %{_libdir}/gconv
1974 %{_libdir}/gconv/gconv-modules
1975 %attr(755,root,root) %{_libdir}/gconv/*.so
1978 %defattr(644,root,root,755)
1980 %{_libdir}/libBrokenLocale.a
1982 %{_libdir}/libcrypt.a
1985 %{_libdir}/libmcheck.a
1987 %{_libdir}/libpthread.a
1988 %{_libdir}/libresolv.a
1990 %{_libdir}/libutil.a
1993 %defattr(644,root,root,755)
1997 %defattr(644,root,root,755)
1998 %{_libdir}/lib*_pic.a