3 # min_kernel (default is 2.6.12)
4 %bcond_without memusage # don't build memusage utility
5 %bcond_without selinux # without SELinux support (in nscd)
6 %bcond_with tests # perform "make test"
7 %bcond_without localedb # don't build localedb-all (is time consuming)
8 %bcond_with cross # build using crossgcc (without libgcc_eh)
11 # - look at locale fixes/updates in bugzilla
12 # - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
14 # - localedb-gen man pages(?)
15 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
16 # debug/backtrace-tst(SEGV) fail on alpha
17 %{!?min_kernel:%global min_kernel 2.6.12}
20 %undefine with_memusage
23 %define llh_version 7:2.6.12.0-10
29 Summary(ja): GNU libc ¥é¥¤¥Ö¥é¥ê
31 Summary(ru): GNU libc ×ÅÒÓÉÉ 2.3
33 Summary(uk): GNU libc ×ÅÒÓ¦§ 2.3
40 Source0: ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
41 # Source0-md5: 7e9a88dcd41fbc53801dbe5bdacaf245
42 Source1: ftp://sources.redhat.com/pub/glibc/releases/%{name}-libidn-%{version}.tar.bz2
43 # Source1-md5: e2d892b40d654c523ab26a26b7dd86a1
45 Source3: nscd.sysconfig
46 Source4: nscd.logrotate
47 #Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
48 Source5: http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2
49 # Source5-md5: f464eadf3cf06761f65639e44a179e6b
50 Source6: %{name}-localedb-gen
51 Source7: %{name}-LD-path.c
53 Patch0: %{name}-info.patch
54 Patch1: %{name}-pl.po-update.patch
55 Patch2: %{name}-pld.patch
56 Patch3: %{name}-crypt-blowfish.patch
57 Patch4: %{name}-alpha-ev6-opcodes.patch
59 Patch6: %{name}-paths.patch
61 Patch8: %{name}-missing-nls.patch
62 Patch9: %{name}-java-libc-wait.patch
64 Patch11: %{name}-no_opt_override.patch
65 Patch12: %{name}-includes.patch
66 Patch14: %{name}-sparc-errno_fix.patch
68 Patch17: %{name}-new-charsets.patch
69 Patch18: %{name}-sr_CS.patch
71 Patch20: %{name}-tzfile-noassert.patch
72 Patch21: %{name}-morelocales.patch
73 Patch22: %{name}-locale_fixes.patch
74 Patch23: %{name}-ZA_collate.patch
75 Patch24: %{name}-iconvconfig-nxstack.patch
76 Patch25: %{name}-cross-gcc_eh.patch
78 #Patch30: %{name}-pax_dl-execstack.patch
79 URL: http://www.gnu.org/software/libc/
80 %{?with_selinux:BuildRequires: audit-libs-devel}
81 BuildRequires: autoconf
82 BuildRequires: automake
83 BuildRequires: binutils >= 2:2.15.90.0.3
84 BuildRequires: gcc >= 5:3.4
86 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
87 BuildRequires: gettext-devel >= 0.10.36
88 %{?without_cross:BuildRequires: dietlibc-static}
89 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
90 BuildRequires: linux-libc-headers >= %{llh_version}
91 BuildRequires: perl-base
92 BuildRequires: rpm-build >= 4.3-0.20030610.28
93 BuildRequires: rpm-perlprov
94 BuildRequires: rpmbuild(macros) >= 1.268
95 BuildRequires: sed >= 4.0.5
96 BuildRequires: texinfo
98 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
100 Requires: uname(release) >= %{min_kernel}
101 Provides: /sbin/ldconfig
102 Provides: glibc(nptl)
106 Obsoletes: glibc-common
107 Obsoletes: glibc-debug
110 Conflicts: kernel < %{min_kernel}
112 Conflicts: kernel24-smp
113 Conflicts: ld.so < 1.9.9-10
114 Conflicts: man-pages < 1.43
115 Conflicts: poldek < 0.18.8-5
116 Conflicts: rc-scripts < 0.3.1-13
118 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
119 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
121 # avoid -s here (ld.so must not be stripped to allow any program debugging)
122 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
123 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
126 %define specflags_ia32 -mno-tls-direct-seg-refs
127 %define specflags_x86_64 -mno-tls-direct-seg-refs
128 %define specflags_amd64 -mno-tls-direct-seg-refs
129 %define specflags_ia32e -mno-tls-direct-seg-refs
131 # we don't want perl dependency in glibc-devel
132 %define _noautoreqfiles %{_bindir}/mtrace
133 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
134 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
135 # patched not to crash on partial hardlinks too)
136 %define _hack_dontneed_PartialHardlinkSets 1
137 %define _noautochrpath .*\\(ldconfig\\|sln\\)
140 Contains the standard libraries that are used by multiple programs on
141 the system. In order to save disk space and memory, as well as to ease
142 upgrades, common system code is kept in one place and shared between
143 programs. This package contains the most important sets of shared
144 libraries, the standard C library and the standard math library.
145 Without these, a Linux system will not function. It also contains
146 national language (locale) support.
148 Can be used on: Linux kernel >= %{min_kernel}.
151 Contiene las bibliotecas estándared que son usadas por varios
152 programas del sistema. Para ahorrar el espacio en el disco y la
153 memoria, igual que para facilitar actualizaciones, código común del
154 sistema se guarda en un sitio y es compartido entre los programas.
155 Este paquete contiene las bibliotecas compartidas más importantes, es
156 decir la biblioteca C estándar y la biblioteca estándar de matemática.
157 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
158 soporte de idiomas nacionales (locale).
160 Puede usarse con: núcleo Linux >= %{min_kernel}.
163 Enthält die Standard-Libraries, die von verschiedenen Programmen im
164 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
165 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
166 einer einzigen Stelle gespeichert und wird von den Programmen
167 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
168 shared Libraries, die Standard-C-Library und die
169 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
170 Ferner enthält es den Support für die verschiedenen Sprachgregionen
173 Can be used on: Linux kernel >= %{min_kernel}.
176 Contient les bibliothèques standards utilisées par de nombreux
177 programmes du système. Afin d'économiser l'espace disque et mémoire,
178 et de faciliter les mises à jour, le code commun au système est mis à
179 un endroit et partagé entre les programmes. Ce paquetage contient les
180 bibliothèques partagées les plus importantes, la bibliothèque standard
181 du C et la bibliothèque mathématique standard. Sans celles-ci, un
182 système Linux ne peut fonctionner. Il contient aussi la gestion des
183 langues nationales (locales).
185 Can be used on: Linux kernel >= %{min_kernel}.
189 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
190 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
191 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
192 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
193 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
194 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
195 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
196 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
198 Can be used on: Linux kernel >= %{min_kernel}.
201 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
202 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
203 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
204 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
205 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
206 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
207 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
208 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
211 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
214 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
215 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
216 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
217 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
218 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
219 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
220 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
221 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
223 Can be used on: Linux kernel >= %{min_kernel}.
226 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
227 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
228 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
229 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
230 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
231 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
232 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
234 Can be used on: Linux kernel >= %{min_kernel}.
237 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
238 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
239 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
240 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
241 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
242 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
243 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
244 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
246 Can be used on: Linux kernel >= %{min_kernel}.
249 Summary: Utilities and data used by glibc
250 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
251 Group: Applications/System
253 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
254 Requires: %{name} = %{epoch}:%{version}-%{release}
255 Requires: tzdata >= 2006g-2
258 Utilities and data used by glibc.
260 %description misc -l pl
261 Narzêdzia i dane u¿ywane przez glibc.
264 Summary: Additional libraries required to compile
265 Summary(de): Weitere Libraries zum Kompilieren
266 Summary(es): Bibliotecas adicionales necesarias para la compilación
267 Summary(fr): Librairies supplémentaires nécessaires à la compilation
268 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
269 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
270 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
271 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
272 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
273 Group: Development/Libraries
274 Requires: %{name} = %{epoch}:%{version}-%{release}
275 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
276 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
277 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
278 Obsoletes: libiconv-devel
281 To develop programs which use the standard C libraries (which nearly
282 all programs do), the system needs to have these standard header files
283 and object files available for creating the executables.
285 %description devel -l de
286 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
287 verwenden (also fast alle), benötigt das System diese Standard-Header-
288 und Objektdateien zum Erstellen der ausführbaren Programme.
290 %description devel -l es
291 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
292 cual hacen prácticamente todos los programas), el sistema necesita
293 disponer de estos ficheros de cabecera y de objetos para crear los
296 %description devel -l fr
297 Pour développer des programmes utilisant les bibliothèques standard du
298 C (ce que presque tous les programmes font), le système doit posséder
299 ces fichiers en-têtes et objets standards pour créer les exécutables.
301 %description devel -l ja
302 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
303 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
304 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
305 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
306 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
309 %description devel -l pl
310 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
311 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
312 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
313 wykonywalnych i innych bibliotek.
315 %description devel -l ru
316 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
317 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
318 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
321 %description devel -l tr
322 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
323 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
326 %description devel -l uk
327 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
328 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
329 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
333 Summary: Header files for development using standard C libraries
334 Summary(pl): Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
335 Group: Development/Building
336 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
338 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
339 # have to be installed, not ix86 one.
340 Obsoletes: %{name}-headers(i386)
341 Obsoletes: %{name}-headers(i486)
342 Obsoletes: %{name}-headers(i586)
343 Obsoletes: %{name}-headers(i686)
344 Obsoletes: %{name}-headers(athlon)
345 Obsoletes: %{name}-headers(pentium3)
346 Obsoletes: %{name}-headers(pentium4)
349 Obsoletes: %{name}-headers(ppc)
352 Obsoletes: %{name}-headers(s390)
355 Obsoletes: %{name}-headers(sparc)
357 Requires: linux-libc-headers >= %{llh_version}
360 The glibc-headers package contains the header files necessary for
361 developing programs which use the standard C libraries (which are used
362 by nearly all programs). If you are developing programs which will use
363 the standard C libraries, your system needs to have these standard
364 header files available in order to create the executables.
366 Install glibc-headers if you are going to develop programs which will
367 use the standard C libraries.
369 %description headers -l pl
370 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
371 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
372 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
373 standardowych bibliotek C, system wymaga dostêpno¶ci tych
374 standardowych plików nag³ówkowych do tworzenia programów
377 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
378 korzystaj±ce ze standardowych bibliotek C.
381 Summary: Utilities needed for development using standard C libraries
382 Summary(pl): Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
383 Group: Development/Libraries
384 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
386 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
387 # have to be installed, not ix86 one.
388 Obsoletes: %{name}-devel-utils(i386)
389 Obsoletes: %{name}-devel-utils(i486)
390 Obsoletes: %{name}-devel-utils(i586)
391 Obsoletes: %{name}-devel-utils(i686)
392 Obsoletes: %{name}-devel-utils(athlon)
393 Obsoletes: %{name}-devel-utils(pentium3)
394 Obsoletes: %{name}-devel-utils(pentium4)
397 Obsoletes: %{name}-devel-utils(ppc)
400 Obsoletes: %{name}-devel-utils(s390)
403 Obsoletes: %{name}-devel-utils(sparc)
406 %description devel-utils
407 The glibc-devel-utils package contains utilities necessary for
408 developing programs which use the standard C libraries (which are used
409 by nearly all programs). If you are developing programs which will use
410 the standard C libraries, your system needs to have these utilities
413 Install glibc-devel-utils if you are going to develop programs which
414 will use the standard C libraries.
416 %description devel-utils -l pl
417 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
418 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
419 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
420 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
421 tworzenia programów wykonywalnych.
423 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
424 korzystaj±ce ze standardowych bibliotek C.
427 Summary: Documentation needed for development using standard C libraries
428 Summary(pl): Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
430 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
432 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
433 # have to be installed, not ix86 one.
434 Obsoletes: %{name}-devel-doc(i386)
435 Obsoletes: %{name}-devel-doc(i486)
436 Obsoletes: %{name}-devel-doc(i586)
437 Obsoletes: %{name}-devel-doc(i686)
438 Obsoletes: %{name}-devel-doc(athlon)
439 Obsoletes: %{name}-devel-doc(pentium3)
440 Obsoletes: %{name}-devel-doc(pentium4)
443 Obsoletes: %{name}-devel-doc(ppc)
446 Obsoletes: %{name}-devel-doc(s390)
449 Obsoletes: %{name}-devel-doc(sparc)
452 %description devel-doc
453 The glibc-devel-doc package contains info and manual pages necessary
454 for developing programs which use the standard C libraries (which are
455 used by nearly all programs).
457 Install glibc-devel-doc if you are going to develop programs which
458 will use the standard C libraries.
460 %description devel-doc -l pl
461 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
462 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
463 przez prawie wszystkie programy).
465 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
466 korzystaj±ce ze standardowych bibliotek C.
469 Summary: Name Service Caching Daemon
470 Summary(es): Demonio de caché del servicio de nombres
471 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
472 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
473 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
474 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
475 Group: Networking/Daemons
476 Requires(post): fileutils
477 Requires(post,preun): /sbin/chkconfig
478 Requires(postun): /usr/sbin/groupdel
479 Requires(postun): /usr/sbin/userdel
480 Requires(pre): /bin/id
481 Requires(pre): /usr/bin/getgid
482 Requires(pre): /usr/sbin/groupadd
483 Requires(pre): /usr/sbin/useradd
484 Requires: %{name} = %{epoch}:%{version}-%{release}
485 %{?with_selinux:Requires: libselinux >= 1.18}
486 Requires: rc-scripts >= 0.2.0
487 Provides: group(nscd)
491 nscd caches name service lookups; it can dramatically improve
492 performance with NIS+, and may help with DNS as well.
494 %description -n nscd -l es
495 nscd guarda las peticiones del servicio de nombres en una caché; eso
496 puede aumentar drásticamente las prestaciones de NIS+, y también puede
499 %description -n nscd -l ja
500 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
501 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
503 %description -n nscd -l pl
504 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
505 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
507 %description -n nscd -l ru
508 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
509 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
512 %description -n nscd -l uk
513 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
514 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
516 %package -n localedb-src
517 Summary: locale database source code
518 Summary(es): Código fuente de la base de datos de los locales
519 Summary(pl): Kod ¼ród³owy bazy locale
521 Requires: %{name} = %{epoch}:%{version}-%{release}
525 %description -n localedb-src
526 This add-on package contains the data needed to build the locale data
527 files to use the internationalization features of the GNU libc.
529 %description -n localedb-src -l es
530 Este paquete adicional contiene los datos necesarios para construir
531 los ficheros de locale, imprescindibles para usar las cualidades de
532 internacionalización de GNU libc.
534 %description -n localedb-src -l pl
535 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
536 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
539 %package localedb-all
540 Summary: locale database for all locales supported by glibc
541 Summary(es): Base de datos de todos los locales soportados por glibc
542 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
544 Requires: %{name} = %{epoch}:%{version}-%{release}
545 Requires: iconv = %{epoch}:%{version}-%{release}
547 %description localedb-all
548 This package contains locale database for all locales supported by
549 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
550 something smaller with support for chosen locales only, consider
551 installing localedb-src and regenerating database using localedb-gen
552 script (when database is generated, localedb-src can be uninstalled).
554 %description localedb-all -l es
555 Este paquete contiene una base de datos de todos los locales
556 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
557 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
558 locales elegidos, considérese instalar localedb-src y regenerar la
559 base de datos usando el escript localedb-gen (una vez que la base de
560 datos esté creada, localedb-src se podrá desinstalar).
562 %description localedb-all -l pl
563 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
564 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
565 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
566 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
567 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
568 pakiet localedb-src mo¿na odinstalowaæ).
571 Summary: Convert encoding of given files from one encoding to another
572 Summary(es): Convierte entre varias codificaciones de los ficheros dados
573 Summary(pl): Modu³y do konwersji plików tekstowych z jednego kodowania do innego
575 Requires: %{name} = %{epoch}:%{version}-%{release}
577 %description -n iconv
578 Convert encoding of given files from one encoding to another. You need
579 this package if you want to convert some document from one encoding to
580 another or if you have installed some programs which use Generic
581 Character Set Conversion Interface.
583 %description -n iconv -l es
584 Convierte la codificación de dados ficheros. Necesita este paquete si
585 quiere convertir un documento entre una codificación (juego de
586 caracteres) y otra, o si tiene instalado algún programa que usa el
587 Generic Character Set Conversion Interface (interfaz genérica de
588 conversión de juegos de caracteres).
590 %description -n iconv -l pl
591 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
592 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
593 dokumentów z jednego kodowania do innego lub do u¿ywania programów
594 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
595 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
596 kodowania danych z poziomu dowolnego programu.
599 Summary: Static libraries
600 Summary(es): Bibliotecas estáticas
601 Summary(pl): Biblioteki statyczne
602 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
603 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
604 Group: Development/Libraries
605 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
606 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
607 Obsoletes: libiconv-static
610 GNU libc static libraries.
612 %description static -l es
613 Bibliotecas estáticas de GNU libc.
615 %description static -l pl
616 Biblioteki statyczne GNU libc.
618 %description static -l ru
619 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
620 ×ÈÏÄÑÔ × glibc-devel.
622 %description static -l uk
623 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
627 Summary: glibc with profiling support
628 Summary(de): glibc mit Profil-Unterstützung
629 Summary(es): glibc con soporte de perfilamiento
630 Summary(fr): glibc avec support pour profiling
631 Summary(pl): glibc ze wsparciem dla profilowania
632 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
633 Summary(tr): Ölçüm desteði olan glibc
634 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
635 Group: Development/Libraries/Libc
636 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
637 Obsoletes: libc-profile
640 When programs are being profiled using gprof, they must use these
641 libraries instead of the standard C libraries for gprof to be able to
642 profile them correctly.
644 %description profile -l de
645 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
646 Libraries anstelle der üblichen C-Libraries verwendet werden.
648 %description profile -l es
649 Cuando programas son perfilidas usando gprof, tienen que usar estas
650 biblioteces en vez de las estándares para que gprof pueda perfilarlas
653 %description profile -l pl
654 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
655 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
658 %description profile -l uk
659 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
660 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
661 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
662 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
665 %description profile -l tr
666 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
667 kitaplýðý kullanmak zorundadýrlar.
669 %description profile -l ru
670 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
671 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
672 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
673 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
677 Summary: glibc PIC archive
678 Summary(es): Archivo PIC de glibc
679 Summary(pl): Archiwum PIC glibc
680 Group: Development/Libraries/Libc
681 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
684 GNU C Library PIC archive contains an archive library (ar file)
685 composed of individual shared objects. This is used for creating a
686 library which is a smaller subset of the standard libc shared library.
688 %description pic -l es
689 El archivo PIC de la biblioteca glibc contiene una biblioteca
690 archivada (un fichero ar) compuesta de individuales objetos
691 compartidos. Es usado para crear una biblioteca que sea un subconjunto
692 más pequeño de la biblioteca libc compartida estándar.
694 %description pic -l pl
695 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
696 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
697 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
698 biblioteki wspó³dzielonej libc.
700 %package -n nss_compat
701 Summary: Old style NYS NSS glibc module
702 Summary(es): El antiguo módulo NYS NSS de glibc
703 Summary(pl): Stary modu³ NYS NSS glibc
705 Requires: %{name} = %{epoch}:%{version}-%{release}
707 %description -n nss_compat
708 Old style NYS NSS glibc module.
710 %description -n nss_compat -l es
711 El antiguo módulo NYS NSS de glibc
713 %description -n nss_compat -l pl
714 Stary modu³ NYS NSS glibc.
717 Summary: BIND NSS glibc module
718 Summary(es): Módulo BIND NSS de glibc
719 Summary(pl): Modu³ BIND NSS glibc
721 Requires: %{name} = %{epoch}:%{version}-%{release}
723 %description -n nss_dns
724 BIND NSS glibc module.
726 %description -n nss_dns -l es
727 Módulo BIND NSS de glibc.
729 %description -n nss_dns -l pl
730 Modu³ BIND NSS glibc.
732 %package -n nss_files
733 Summary: Traditional files databases NSS glibc module
734 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
735 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
737 Requires: %{name} = %{epoch}:%{version}-%{release}
739 %description -n nss_files
740 Traditional files databases NSS glibc module.
742 %description -n nss_files -l es
743 Módulo de tradicionales bases de datos en ficheros para glibc.
745 %description -n nss_files -l pl
746 Modu³ tradycyjnych plikowych baz danych NSS glibc.
748 %package -n nss_hesiod
749 Summary: hesiod NSS glibc module
750 Summary(es): Módulo hesiod NSS de glibc
751 Summary(pl): Modu³ hesiod NSS glibc
753 Requires: %{name} = %{epoch}:%{version}-%{release}
755 %description -n nss_hesiod
756 glibc NSS (Name Service Switch) module for databases access.
758 %description -n nss_hesiod -l es
759 Módulo hesiod NSS de glibc.
761 %description -n nss_hesiod -l pl
762 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
765 Summary: NIS(YP) NSS glibc module
766 Summary(es): Módulo NIS(YP) NSS de glibc
767 Summary(pl): Modu³ NIS(YP) NSS glibc
769 Requires: %{name} = %{epoch}:%{version}-%{release}
771 %description -n nss_nis
772 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
774 %description -n nss_nis -l es
775 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
777 %description -n nss_nis -l pl
778 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
780 %package -n nss_nisplus
781 Summary: NIS+ NSS module
782 Summary(es): Módulo NIS+ NSS
783 Summary(pl): Modu³ NIS+ NSS
785 Requires: %{name} = %{epoch}:%{version}-%{release}
787 %description -n nss_nisplus
788 glibc NSS (Name Service Switch) module for NIS+ databases access.
790 %description -n nss_nisplus -l es
791 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
794 %description -n nss_nisplus -l pl
795 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
799 Summary(es): Un juguete
802 Requires: %{name} = %{epoch}:%{version}-%{release}
804 %description memusage
807 %description memusage -l es
810 %description memusage -l pl
815 ln -s glibc-libidn-%{version} libidn
839 %{?with_cross:%patch25 -p1}
843 # i786 (aka pentium4) hack
844 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
845 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
848 cp -f /usr/share/automake/config.sub scripts
856 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
860 --enable-kernel="%{min_kernel}" \
862 --with-headers=%{_includedir} \
863 --with%{!?with_selinux:out}-selinux \
865 --enable-add-ons=nptl,libidn \
866 --enable-stackguard-randomization \
867 --enable-hidden-plt \
874 for d in builddir; do
876 env LANGUAGE=C LC_ALL=C \
877 %{__make} tests 2>&1 | awk '
880 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
882 gsub(/.*\[/, NIL, file);
883 gsub(/\].*/, NIL, file);
887 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
893 # create 5.4k postshell binary (7k unstripped) with diet instead of 412k glibc static binary (467k unstripped)
894 diet -Os %{__cc} %{SOURCE8} %{rpmcflags} -static -o postshell
895 diet -Os %{__cc} %{SOURCE7} %{rpmcflags} -static -o glibc-postinst
899 rm -rf $RPM_BUILD_ROOT
900 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
903 env LANGUAGE=C LC_ALL=C \
905 install_root=$RPM_BUILD_ROOT \
906 infodir=%{_infodir} \
910 env LANGUAGE=C LC_ALL=C \
911 %{__make} localedata/install-locales \
912 install_root=$RPM_BUILD_ROOT
915 PICFILES="libc_pic.a libc.map
916 math/libm_pic.a libm.map
917 resolv/libresolv_pic.a"
919 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
920 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
921 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
925 install postshell $RPM_BUILD_ROOT/sbin
926 install glibc-postinst $RPM_BUILD_ROOT/sbin
929 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
930 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
932 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
933 # moved to tzdata package
934 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
936 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
938 # make symlinks across top-level directories absolute
939 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
940 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
941 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
944 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
945 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
946 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
947 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
948 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
950 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
951 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
952 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
953 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
954 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
956 :> $RPM_BUILD_ROOT/var/log/nscd
957 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
958 :> $RPM_BUILD_ROOT/var/lib/nscd/group
959 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
962 install -d documentation
964 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
965 cp -f nptl/$f documentation/$f.nptl
967 cp -f crypt/README.ufc-crypt ChangeLog* documentation
969 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
971 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
972 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
974 # Collect locale files and mark them with %%lang()
976 echo '%defattr(644,root,root,755)' > glibc.lang
977 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
979 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
981 # list of long %%lang values we do support
982 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
983 zh_CN zh_CN.gbk zh_HK zh_TW ; do
984 if [ $j = "$lang" ]; then
988 if [ -n "$twochar" ]; then
989 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
990 lang=`echo $lang | sed "s,\..*,,"`
992 lang=`echo $lang | sed "s,_.*,,"`
995 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
996 echo "%lang($lang) $dir" >> glibc.lang
999 # XXX: to be added when become supported by glibc
1002 # dv, haw, kok, ps (iso-codes)
1004 # tk, ug, yo (used by GNOME)
1007 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1010 # omitted here - already existing (with libc.mo):
1011 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1014 for i in aa af am ang ar az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1015 en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1016 gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1017 lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1018 ru rw sa se sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1019 tl tlh tt uk ur uz ve vi wa wal xh yi zh_HK zu ; do
1020 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1021 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1022 lang=`echo $i | sed -e 's/_.*//'`
1023 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1027 # localedb-gen infrastructure
1028 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1029 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1031 # shutup check-files
1032 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1033 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1034 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1035 # we don't support kernel without ptys support
1036 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1039 rm -rf $RPM_BUILD_ROOT
1041 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1042 # when %%postun is run
1044 %if %{without cross}
1045 %post -p /sbin/postshell
1046 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1050 %postun -p /sbin/postshell
1054 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1055 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1056 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1059 %post memusage -p /sbin/ldconfig
1060 %postun memusage -p /sbin/ldconfig
1062 %post -n iconv -p %{_sbindir}/iconvconfig
1065 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1068 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1071 %groupadd -P nscd -g 144 -r nscd
1072 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1075 /sbin/chkconfig --add nscd
1077 chmod 000 /var/log/nscd
1078 chown root:root /var/log/nscd
1079 chmod 640 /var/log/nscd
1080 %service nscd restart "nscd daemon"
1083 if [ "$1" = "0" ]; then
1085 /sbin/chkconfig --del nscd
1089 if [ "$1" = "0" ]; then
1095 %defattr(644,root,root,755)
1096 %doc README NEWS FAQ BUGS
1097 %if %{without cross}
1098 %attr(755,root,root) /sbin/postshell
1099 %attr(755,root,root) /sbin/glibc-postinst
1101 %attr(755,root,root) /sbin/ldconfig
1102 # ld* and libc.so.6 SONAME symlinks must be in package because of
1103 # chicken-egg problem (postshell is dynamically linked with libc);
1104 # NOTE: postshell is now linked statically with diet
1105 # ld-*.so SONAME is:
1107 # ld64.so.1 on ppc64,s390x
1108 # ld-linux-ia64.so.2 on ia64
1109 # ld-linux-x86-64.so.2 on x86_64
1110 # ld-linux.so.2 on other archs
1111 %attr(755,root,root) /%{_lib}/ld*
1112 %attr(755,root,root) /%{_lib}/libanl*
1113 %attr(755,root,root) /%{_lib}/libdl*
1114 %attr(755,root,root) /%{_lib}/libnsl*
1115 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1116 %{?with_localedb:%dir %{_libdir}/locale}
1117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1118 %dir %{_sysconfdir}/ld.so.conf.d
1119 %ghost %{_sysconfdir}/ld.so.cache
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1125 #%files -n nss_files
1126 %defattr(644,root,root,755)
1127 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1129 %files misc -f %{name}.lang
1130 %defattr(644,root,root,755)
1132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1133 %config %{_sysconfdir}/rpc
1135 %attr(755,root,root) /sbin/sln
1136 %attr(755,root,root) %{_bindir}/catchsegv
1137 %attr(755,root,root) %{_bindir}/getconf
1138 %attr(755,root,root) %{_bindir}/getent
1139 %attr(755,root,root) %{_bindir}/iconv
1140 %attr(755,root,root) %{_bindir}/ldd
1141 %ifarch %{ix86} m68k sparc sparcv9
1142 %attr(755,root,root) %{_bindir}/lddlibc4
1144 %attr(755,root,root) %{_bindir}/locale
1145 %attr(755,root,root) %{_bindir}/rpcgen
1146 %attr(755,root,root) %{_bindir}/tzselect
1148 %attr(755,root,root) %{_sbindir}/rpcinfo
1149 %attr(755,root,root) %{_sbindir}/zdump
1150 %attr(755,root,root) %{_sbindir}/zic
1152 %dir %{_libexecdir}/getconf
1153 %attr(755,root,root) %{_libexecdir}/getconf/*
1155 %dir %{_datadir}/locale
1156 %{_datadir}/locale/locale.alias
1158 %{_mandir}/man1/catchsegv.1*
1159 %{_mandir}/man1/getconf.1*
1160 %{_mandir}/man1/getent.1*
1161 %{_mandir}/man1/iconv.1*
1162 %{_mandir}/man1/ldd.1*
1163 %{_mandir}/man1/locale.1*
1164 %{_mandir}/man1/rpcgen.1*
1165 %{_mandir}/man5/locale.5*
1166 %{_mandir}/man5/nsswitch.conf.5*
1167 %{_mandir}/man5/tzfile.5*
1169 %{_mandir}/man8/ld*.8*
1170 %{_mandir}/man8/rpcinfo.8*
1171 %{_mandir}/man8/sln.8*
1172 %{_mandir}/man8/tzselect.8*
1173 %{_mandir}/man8/zdump.8*
1174 %{_mandir}/man8/zic.8*
1175 %lang(cs) %{_mandir}/cs/man7/*
1176 %lang(de) %{_mandir}/de/man5/tzfile.5*
1177 %lang(de) %{_mandir}/de/man7/*
1178 %lang(es) %{_mandir}/es/man1/ldd.1*
1179 %lang(es) %{_mandir}/es/man5/locale.5*
1180 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1181 %lang(es) %{_mandir}/es/man5/tzfile.5*
1182 %lang(es) %{_mandir}/es/man7/*
1183 %lang(es) %{_mandir}/es/man8/ld*.8*
1184 %lang(es) %{_mandir}/es/man8/tzselect.8*
1185 %lang(es) %{_mandir}/es/man8/zdump.8*
1186 %lang(es) %{_mandir}/es/man8/zic.8*
1187 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1188 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1189 %lang(fr) %{_mandir}/fr/man5/locale.5*
1190 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1191 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1192 %lang(fr) %{_mandir}/fr/man7/*
1193 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1194 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1195 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1196 %lang(fr) %{_mandir}/fr/man8/zic.8*
1197 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1198 %lang(hu) %{_mandir}/hu/man7/*
1199 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1200 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1201 %lang(it) %{_mandir}/it/man5/locale.5*
1202 %lang(it) %{_mandir}/it/man7/*
1203 %lang(it) %{_mandir}/it/man8/tzselect.8*
1204 %lang(it) %{_mandir}/it/man8/zdump.8*
1205 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1206 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1207 %lang(ja) %{_mandir}/ja/man5/locale.5*
1208 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1209 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1210 %lang(ja) %{_mandir}/ja/man7/*
1211 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1212 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1213 %lang(ja) %{_mandir}/ja/man8/sln.8*
1214 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1215 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1216 %lang(ja) %{_mandir}/ja/man8/zic.8*
1217 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1218 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1219 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1220 %lang(ko) %{_mandir}/ko/man7/*
1221 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1222 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1223 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1224 %lang(pl) %{_mandir}/pl/man5/locale.5*
1225 %lang(pl) %{_mandir}/pl/man7/*
1226 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1227 %lang(pt) %{_mandir}/pt/man5/locale.5*
1228 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1229 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1230 %lang(pt) %{_mandir}/pt/man7/*
1231 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1232 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1233 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1234 %lang(pt) %{_mandir}/pt/man8/zic.8*
1235 %lang(ru) %{_mandir}/ru/man1/getent.1*
1236 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1237 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1238 %lang(ru) %{_mandir}/ru/man1/locale.1*
1239 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1240 %lang(ru) %{_mandir}/ru/man5/locale.5*
1241 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1242 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1243 %lang(ru) %{_mandir}/ru/man7/*
1244 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1245 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1246 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1247 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1248 %lang(ru) %{_mandir}/ru/man8/zic.8*
1249 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1250 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1251 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1252 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1253 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1254 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1255 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1256 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1257 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1258 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1260 %files -n nss_compat
1261 %defattr(644,root,root,755)
1262 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1264 %files -n nss_hesiod
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1269 %defattr(644,root,root,755)
1270 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1271 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1273 %files -n nss_nisplus
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1277 %if %{with memusage}
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_bindir}/memusage*
1281 %attr(755,root,root) %{_libdir}/libmemusage.so
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1287 %attr(755,root,root) %{_libdir}/libcrypt.so
1288 %attr(755,root,root) %{_libdir}/libm.so
1289 %attr(755,root,root) %{_libdir}/libpcprofile.so
1290 %attr(755,root,root) %{_libdir}/*crt*.o
1293 %{_libdir}/libpthread.so
1294 %{_libdir}/libbsd-compat.a
1296 %{_libdir}/libc_nonshared.a
1298 %{_libdir}/libieee.a
1299 %ifarch alpha ppc sparc
1300 %{_libdir}/libnldbl_nonshared.a
1302 %{_libdir}/libpthread_nonshared.a
1303 %{_libdir}/librpcsvc.a
1304 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1305 %{_includedir}/gnu/stubs-*.h
1309 %defattr(644,root,root,755)
1312 %{_includedir}/alpha
1316 %dir %{_includedir}/gnu
1317 %{_includedir}/gnu/lib*.h
1318 %{_includedir}/gnu/stubs.h
1320 %{_includedir}/netash
1321 %{_includedir}/netatalk
1322 %{_includedir}/netax25
1323 %{_includedir}/neteconet
1324 %{_includedir}/netinet
1325 %{_includedir}/netipx
1326 %{_includedir}/netpacket
1327 %{_includedir}/netrom
1328 %{_includedir}/netrose
1330 %{_includedir}/protocols
1332 %{_includedir}/rpcsvc
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_bindir}/gencat
1339 %attr(755,root,root) %{_bindir}/*prof*
1340 %attr(755,root,root) %{_bindir}/*trace
1343 %defattr(644,root,root,755)
1344 %doc documentation/* NOTES PROJECTS
1345 %{_infodir}/libc.info*
1347 %{_mandir}/man1/sprof.1*
1349 %lang(cs) %{_mandir}/cs/man3/*
1350 %lang(de) %{_mandir}/de/man3/*
1351 %lang(es) %{_mandir}/es/man3/*
1352 %lang(fr) %{_mandir}/fr/man3/*
1353 %lang(hu) %{_mandir}/hu/man3/*
1354 %lang(it) %{_mandir}/it/man3/*
1355 %lang(ja) %{_mandir}/ja/man3/*
1356 %lang(ko) %{_mandir}/ko/man3/*
1357 %lang(nl) %{_mandir}/nl/man3/*
1358 %lang(pl) %{_mandir}/pl/man3/*
1359 %lang(pt) %{_mandir}/pt/man3/*
1360 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1361 %lang(ru) %{_mandir}/ru/man3/*
1362 %lang(tr) %{_mandir}/tr/man3/*
1363 %lang(uk) %{_mandir}/uk/man3/*
1364 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1367 %defattr(644,root,root,755)
1368 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1369 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1370 %attr(754,root,root) /etc/rc.d/init.d/nscd
1371 %attr(755,root,root) %{_sbindir}/nscd*
1372 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1373 %attr(640,root,root) %ghost /var/log/nscd
1376 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1377 %attr(600,root,root) %ghost /var/lib/nscd/group
1378 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1379 %{_mandir}/man5/nscd.conf.5*
1380 %{_mandir}/man8/nscd.8*
1381 %{_mandir}/man8/nscd_nischeck.8*
1382 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1383 %lang(es) %{_mandir}/es/man8/nscd.8*
1384 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1385 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1386 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1387 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1388 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1389 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1390 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1391 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1392 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1394 %files -n localedb-src
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_bindir}/localedef
1397 %attr(755,root,root) %{_bindir}/localedb-gen
1399 %{_mandir}/man1/localedef.1*
1400 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1402 %if %{with localedb}
1404 %defattr(644,root,root,755)
1405 %{_libdir}/locale/locale-archive
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_sbindir}/iconvconfig
1411 %dir %{_libdir}/gconv
1412 %{_libdir}/gconv/gconv-modules
1413 %attr(755,root,root) %{_libdir}/gconv/*.so
1416 %defattr(644,root,root,755)
1418 %{_libdir}/libBrokenLocale.a
1420 %{_libdir}/libcrypt.a
1423 %{_libdir}/libmcheck.a
1425 %{_libdir}/libpthread.a
1426 %{_libdir}/libresolv.a
1428 %{_libdir}/libutil.a
1431 %defattr(644,root,root,755)
1435 %defattr(644,root,root,755)
1436 %{_libdir}/lib*_pic.a