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
52 Patch0: %{name}-info.patch
53 Patch1: %{name}-pl.po-update.patch
54 Patch2: %{name}-pld.patch
55 Patch3: %{name}-crypt-blowfish.patch
56 Patch4: %{name}-alpha-ev6-opcodes.patch
58 Patch6: %{name}-paths.patch
60 Patch8: %{name}-missing-nls.patch
61 Patch9: %{name}-java-libc-wait.patch
63 Patch11: %{name}-no_opt_override.patch
64 Patch12: %{name}-includes.patch
65 Patch14: %{name}-sparc-errno_fix.patch
67 Patch17: %{name}-new-charsets.patch
68 Patch18: %{name}-sr_CS.patch
70 Patch20: %{name}-tzfile-noassert.patch
71 Patch21: %{name}-morelocales.patch
72 Patch22: %{name}-locale_fixes.patch
73 Patch23: %{name}-ZA_collate.patch
74 Patch24: %{name}-iconvconfig-nxstack.patch
75 Patch25: %{name}-cross-gcc_eh.patch
77 #Patch30: %{name}-pax_dl-execstack.patch
78 URL: http://www.gnu.org/software/libc/
79 %{?with_selinux:BuildRequires: audit-libs-devel}
80 BuildRequires: autoconf
81 BuildRequires: automake
82 BuildRequires: binutils >= 2:2.15.90.0.3
83 BuildRequires: gcc >= 5:3.4
85 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
86 BuildRequires: gettext-devel >= 0.10.36
87 %{!?with_cross:BuildRequires: dietlibc-static}
88 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
89 BuildRequires: linux-libc-headers >= %{llh_version}
90 BuildRequires: perl-base
91 BuildRequires: rpm-build >= 4.3-0.20030610.28
92 BuildRequires: rpm-perlprov
93 BuildRequires: rpmbuild(macros) >= 1.315
94 BuildRequires: sed >= 4.0.5
95 BuildRequires: texinfo
97 Requires: %{name}-misc = %{epoch}:%{version}-%{release}
99 Requires: uname(release) >= %{min_kernel}
100 Provides: /sbin/ldconfig
101 Provides: glibc(nptl)
105 Obsoletes: glibc-common
106 Obsoletes: glibc-debug
109 Conflicts: kernel < %{min_kernel}
111 Conflicts: kernel24-smp
112 Conflicts: ld.so < 1.9.9-10
113 Conflicts: man-pages < 1.43
114 Conflicts: poldek < 0.18.8-5
115 Conflicts: rc-scripts < 0.3.1-13
117 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc sparc64 sparcv9 ppc ppc64
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120 # avoid -s here (ld.so must not be stripped to allow any program debugging)
121 %define filterout_ld (-Wl,)?-[sS] (-Wl,)?--strip.*
122 %define specflags_sparc64 -mcpu=ultrasparc -mvis -fcall-used-g6
125 %define specflags_ia32 -mno-tls-direct-seg-refs
126 %define specflags_x86_64 -mno-tls-direct-seg-refs
127 %define specflags_amd64 -mno-tls-direct-seg-refs
128 %define specflags_ia32e -mno-tls-direct-seg-refs
130 # we don't want perl dependency in glibc-devel
131 %define _noautoreqfiles %{_bindir}/mtrace
132 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
133 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
134 # patched not to crash on partial hardlinks too)
135 %define _hack_dontneed_PartialHardlinkSets 1
136 %define _noautochrpath .*\\(ldconfig\\|sln\\)
139 Contains the standard libraries that are used by multiple programs on
140 the system. In order to save disk space and memory, as well as to ease
141 upgrades, common system code is kept in one place and shared between
142 programs. This package contains the most important sets of shared
143 libraries, the standard C library and the standard math library.
144 Without these, a Linux system will not function. It also contains
145 national language (locale) support.
147 Can be used on: Linux kernel >= %{min_kernel}.
150 Contiene las bibliotecas estándared que son usadas por varios
151 programas del sistema. Para ahorrar el espacio en el disco y la
152 memoria, igual que para facilitar actualizaciones, código común del
153 sistema se guarda en un sitio y es compartido entre los programas.
154 Este paquete contiene las bibliotecas compartidas más importantes, es
155 decir la biblioteca C estándar y la biblioteca estándar de matemática.
156 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
157 soporte de idiomas nacionales (locale).
159 Puede usarse con: núcleo Linux >= %{min_kernel}.
162 Enthält die Standard-Libraries, die von verschiedenen Programmen im
163 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
164 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
165 einer einzigen Stelle gespeichert und wird von den Programmen
166 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
167 shared Libraries, die Standard-C-Library und die
168 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
169 Ferner enthält es den Support für die verschiedenen Sprachgregionen
172 Can be used on: Linux kernel >= %{min_kernel}.
175 Contient les bibliothèques standards utilisées par de nombreux
176 programmes du système. Afin d'économiser l'espace disque et mémoire,
177 et de faciliter les mises à jour, le code commun au système est mis à
178 un endroit et partagé entre les programmes. Ce paquetage contient les
179 bibliothèques partagées les plus importantes, la bibliothèque standard
180 du C et la bibliothèque mathématique standard. Sans celles-ci, un
181 système Linux ne peut fonctionner. Il contient aussi la gestion des
182 langues nationales (locales).
184 Can be used on: Linux kernel >= %{min_kernel}.
188 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
189 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
190 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
191 ´Ö¤Ç¶¦Í¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
192 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
193 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
194 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
195 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
197 Can be used on: Linux kernel >= %{min_kernel}.
200 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
201 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
202 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
203 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
204 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
205 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
206 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
207 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
210 Pakiet jest przeznaczony dla j±dra Linuksa >= %{min_kernel}.
213 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
214 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
215 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
216 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
217 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
218 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
219 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
220 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale).
222 Can be used on: Linux kernel >= %{min_kernel}.
225 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
226 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
227 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
228 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
229 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
230 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
231 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
233 Can be used on: Linux kernel >= %{min_kernel}.
236 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
237 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
238 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
239 ÓЦÌØÎÉÊ ÄÌÑ ×Ó¦È ÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍÕ Í¦Óæ ¦ ËÏÌÅËÔÉ×ÎÏ
240 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
241 Ú ÄÉÎÁͦÞÎÉÈ Â¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎÕ Â¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
242 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉÈ Â¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
243 ôÁËÏÖ ÐÁËÅÔ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale).
245 Can be used on: Linux kernel >= %{min_kernel}.
248 Summary: Utilities and data used by glibc
249 Summary(pl): Narzêdzia i dane u¿ywane przez glibc
250 Group: Applications/System
252 Requires(pre): %{name} = %{epoch}:%{version}-%{release}
253 Requires: %{name} = %{epoch}:%{version}-%{release}
254 Requires: tzdata >= 2006g-2
257 Utilities and data used by glibc.
259 %description misc -l pl
260 Narzêdzia i dane u¿ywane przez glibc.
263 Summary: Additional libraries required to compile
264 Summary(de): Weitere Libraries zum Kompilieren
265 Summary(es): Bibliotecas adicionales necesarias para la compilación
266 Summary(fr): Librairies supplémentaires nécessaires à la compilation
267 Summary(ja): ɸ½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
268 Summary(pl): Dodatkowe biblioteki wymagane podczas kompilacji
269 Summary(ru): äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
270 Summary(tr): Geliþtirme için gerekli diðer kitaplýklar
271 Summary(uk): äÏÄÁÔËÏצ ¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
272 Group: Development/Libraries
273 Requires: %{name} = %{epoch}:%{version}-%{release}
274 Requires: %{name}-devel-utils = %{epoch}:%{version}-%{release}
275 Requires: %{name}-headers = %{epoch}:%{version}-%{release}
276 Provides: %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
277 Obsoletes: libiconv-devel
280 To develop programs which use the standard C libraries (which nearly
281 all programs do), the system needs to have these standard header files
282 and object files available for creating the executables.
284 %description devel -l de
285 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
286 verwenden (also fast alle), benötigt das System diese Standard-Header-
287 und Objektdateien zum Erstellen der ausführbaren Programme.
289 %description devel -l es
290 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
291 cual hacen prácticamente todos los programas), el sistema necesita
292 disponer de estos ficheros de cabecera y de objetos para crear los
295 %description devel -l fr
296 Pour développer des programmes utilisant les bibliothèques standard du
297 C (ce que presque tous les programmes font), le système doit posséder
298 ces fichiers en-têtes et objets standards pour créer les exécutables.
300 %description devel -l ja
301 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
302 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
303 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
304 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
305 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
308 %description devel -l pl
309 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
310 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
311 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
312 wykonywalnych i innych bibliotek.
314 %description devel -l ru
315 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
316 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
317 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
320 %description devel -l tr
321 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
322 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
325 %description devel -l uk
326 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ ¦Â̦ÏÔÅËÉ C
327 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äî¶ ÈÅÄÅÒÉ
328 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝÏ Í¦ÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
332 Summary: Header files for development using standard C libraries
333 Summary(pl): Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
334 Group: Development/Building
335 Provides: %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
337 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
338 # have to be installed, not ix86 one.
339 Obsoletes: %{name}-headers(i386)
340 Obsoletes: %{name}-headers(i486)
341 Obsoletes: %{name}-headers(i586)
342 Obsoletes: %{name}-headers(i686)
343 Obsoletes: %{name}-headers(athlon)
344 Obsoletes: %{name}-headers(pentium3)
345 Obsoletes: %{name}-headers(pentium4)
348 Obsoletes: %{name}-headers(ppc)
351 Obsoletes: %{name}-headers(s390)
354 Obsoletes: %{name}-headers(sparc)
356 Requires: linux-libc-headers >= %{llh_version}
359 The glibc-headers package contains the header files necessary for
360 developing programs which use the standard C libraries (which are used
361 by nearly all programs). If you are developing programs which will use
362 the standard C libraries, your system needs to have these standard
363 header files available in order to create the executables.
365 Install glibc-headers if you are going to develop programs which will
366 use the standard C libraries.
368 %description headers -l pl
369 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
370 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
371 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
372 standardowych bibliotek C, system wymaga dostêpno¶ci tych
373 standardowych plików nag³ówkowych do tworzenia programów
376 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
377 korzystaj±ce ze standardowych bibliotek C.
380 Summary: Utilities needed for development using standard C libraries
381 Summary(pl): Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
382 Group: Development/Libraries
383 Provides: %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
385 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
386 # have to be installed, not ix86 one.
387 Obsoletes: %{name}-devel-utils(i386)
388 Obsoletes: %{name}-devel-utils(i486)
389 Obsoletes: %{name}-devel-utils(i586)
390 Obsoletes: %{name}-devel-utils(i686)
391 Obsoletes: %{name}-devel-utils(athlon)
392 Obsoletes: %{name}-devel-utils(pentium3)
393 Obsoletes: %{name}-devel-utils(pentium4)
396 Obsoletes: %{name}-devel-utils(ppc)
399 Obsoletes: %{name}-devel-utils(s390)
402 Obsoletes: %{name}-devel-utils(sparc)
405 %description devel-utils
406 The glibc-devel-utils package contains utilities necessary for
407 developing programs which use the standard C libraries (which are used
408 by nearly all programs). If you are developing programs which will use
409 the standard C libraries, your system needs to have these utilities
412 Install glibc-devel-utils if you are going to develop programs which
413 will use the standard C libraries.
415 %description devel-utils -l pl
416 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
417 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
418 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
419 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
420 tworzenia programów wykonywalnych.
422 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
423 korzystaj±ce ze standardowych bibliotek C.
426 Summary: Documentation needed for development using standard C libraries
427 Summary(pl): Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
429 Provides: %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
431 # If both -m32 and -m64 is to be supported on x86_64, x86_64 package
432 # have to be installed, not ix86 one.
433 Obsoletes: %{name}-devel-doc(i386)
434 Obsoletes: %{name}-devel-doc(i486)
435 Obsoletes: %{name}-devel-doc(i586)
436 Obsoletes: %{name}-devel-doc(i686)
437 Obsoletes: %{name}-devel-doc(athlon)
438 Obsoletes: %{name}-devel-doc(pentium3)
439 Obsoletes: %{name}-devel-doc(pentium4)
442 Obsoletes: %{name}-devel-doc(ppc)
445 Obsoletes: %{name}-devel-doc(s390)
448 Obsoletes: %{name}-devel-doc(sparc)
451 %description devel-doc
452 The glibc-devel-doc package contains info and manual pages necessary
453 for developing programs which use the standard C libraries (which are
454 used by nearly all programs).
456 Install glibc-devel-doc if you are going to develop programs which
457 will use the standard C libraries.
459 %description devel-doc -l pl
460 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
461 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
462 przez prawie wszystkie programy).
464 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
465 korzystaj±ce ze standardowych bibliotek C.
468 Summary: Name Service Caching Daemon
469 Summary(es): Demonio de caché del servicio de nombres
470 Summary(ja): ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
471 Summary(pl): Demon zapamiêtuj±cy odpowiedzi serwisów nazw
472 Summary(ru): ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏÎ ÓÅÒ×ÉÓÏ× ÉÍÅÎ
473 Summary(uk): ëÅÛÕÀÞÉÊ ÄÅÍÏÎ ÓÅ×¦Ó¦× ¦ÍÅÎ
474 Group: Networking/Daemons
475 Requires(post): fileutils
476 Requires(post,preun): /sbin/chkconfig
477 Requires(postun): /usr/sbin/groupdel
478 Requires(postun): /usr/sbin/userdel
479 Requires(pre): /bin/id
480 Requires(pre): /usr/bin/getgid
481 Requires(pre): /usr/sbin/groupadd
482 Requires(pre): /usr/sbin/useradd
483 Requires: %{name} = %{epoch}:%{version}-%{release}
484 %{?with_selinux:Requires: libselinux >= 1.18}
485 Requires: rc-scripts >= 0.2.0
486 Provides: group(nscd)
490 nscd caches name service lookups; it can dramatically improve
491 performance with NIS+, and may help with DNS as well.
493 %description -n nscd -l es
494 nscd guarda las peticiones del servicio de nombres en una caché; eso
495 puede aumentar drásticamente las prestaciones de NIS+, y también puede
498 %description -n nscd -l ja
499 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
500 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
502 %description -n nscd -l pl
503 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
504 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
506 %description -n nscd -l ru
507 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
508 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
511 %description -n nscd -l uk
512 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏÓ¦× ÄÏ ÓÅÒ×¦Ó¦× ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
513 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
515 %package -n localedb-src
516 Summary: locale database source code
517 Summary(es): Código fuente de la base de datos de los locales
518 Summary(pl): Kod ¼ród³owy bazy locale
520 Requires: %{name} = %{epoch}:%{version}-%{release}
524 %description -n localedb-src
525 This add-on package contains the data needed to build the locale data
526 files to use the internationalization features of the GNU libc.
528 %description -n localedb-src -l es
529 Este paquete adicional contiene los datos necesarios para construir
530 los ficheros de locale, imprescindibles para usar las cualidades de
531 internacionalización de GNU libc.
533 %description -n localedb-src -l pl
534 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
535 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
538 %package localedb-all
539 Summary: locale database for all locales supported by glibc
540 Summary(es): Base de datos de todos los locales soportados por glibc
541 Summary(pl): Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
543 Requires: %{name} = %{epoch}:%{version}-%{release}
544 Requires: iconv = %{epoch}:%{version}-%{release}
546 %description localedb-all
547 This package contains locale database for all locales supported by
548 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
549 something smaller with support for chosen locales only, consider
550 installing localedb-src and regenerating database using localedb-gen
551 script (when database is generated, localedb-src can be uninstalled).
553 %description localedb-all -l es
554 Este paquete contiene una base de datos de todos los locales
555 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
556 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
557 locales elegidos, considérese instalar localedb-src y regenerar la
558 base de datos usando el escript localedb-gen (una vez que la base de
559 datos esté creada, localedb-src se podrá desinstalar).
561 %description localedb-all -l pl
562 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
563 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
564 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
565 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
566 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
567 pakiet localedb-src mo¿na odinstalowaæ).
570 Summary: Convert encoding of given files from one encoding to another
571 Summary(es): Convierte entre varias codificaciones de los ficheros dados
572 Summary(pl): Modu³y do konwersji plików tekstowych z jednego kodowania do innego
574 Requires: %{name} = %{epoch}:%{version}-%{release}
576 %description -n iconv
577 Convert encoding of given files from one encoding to another. You need
578 this package if you want to convert some document from one encoding to
579 another or if you have installed some programs which use Generic
580 Character Set Conversion Interface.
582 %description -n iconv -l es
583 Convierte la codificación de dados ficheros. Necesita este paquete si
584 quiere convertir un documento entre una codificación (juego de
585 caracteres) y otra, o si tiene instalado algún programa que usa el
586 Generic Character Set Conversion Interface (interfaz genérica de
587 conversión de juegos de caracteres).
589 %description -n iconv -l pl
590 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
591 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
592 dokumentów z jednego kodowania do innego lub do u¿ywania programów
593 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
594 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
595 kodowania danych z poziomu dowolnego programu.
598 Summary: Static libraries
599 Summary(es): Bibliotecas estáticas
600 Summary(pl): Biblioteki statyczne
601 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
602 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ glibc
603 Group: Development/Libraries
604 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
605 Provides: %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
606 Obsoletes: libiconv-static
609 GNU libc static libraries.
611 %description static -l es
612 Bibliotecas estáticas de GNU libc.
614 %description static -l pl
615 Biblioteki statyczne GNU libc.
617 %description static -l ru
618 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
619 ×ÈÏÄÑÔ × glibc-devel.
621 %description static -l uk
622 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
626 Summary: glibc with profiling support
627 Summary(de): glibc mit Profil-Unterstützung
628 Summary(es): glibc con soporte de perfilamiento
629 Summary(fr): glibc avec support pour profiling
630 Summary(pl): glibc ze wsparciem dla profilowania
631 Summary(ru): GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
632 Summary(tr): Ölçüm desteði olan glibc
633 Summary(uk): GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
634 Group: Development/Libraries/Libc
635 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
636 Obsoletes: libc-profile
639 When programs are being profiled using gprof, they must use these
640 libraries instead of the standard C libraries for gprof to be able to
641 profile them correctly.
643 %description profile -l de
644 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
645 Libraries anstelle der üblichen C-Libraries verwendet werden.
647 %description profile -l es
648 Cuando programas son perfilidas usando gprof, tienen que usar estas
649 biblioteces en vez de las estándares para que gprof pueda perfilarlas
652 %description profile -l pl
653 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
654 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
657 %description profile -l uk
658 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
659 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË Â¦Â̦ÏÔÅËÉ, ÝÏ Í¦ÓÔÑÔØÓÑ
660 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉÈ Â¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
661 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁÔ¦× ÂÕÄÅ ÐÏËÁÚÕ×ÁÔÉ Ã¦ÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
664 %description profile -l tr
665 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
666 kitaplýðý kullanmak zorundadýrlar.
668 %description profile -l ru
669 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
670 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
671 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
672 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
676 Summary: glibc PIC archive
677 Summary(es): Archivo PIC de glibc
678 Summary(pl): Archiwum PIC glibc
679 Group: Development/Libraries/Libc
680 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
683 GNU C Library PIC archive contains an archive library (ar file)
684 composed of individual shared objects. This is used for creating a
685 library which is a smaller subset of the standard libc shared library.
687 %description pic -l es
688 El archivo PIC de la biblioteca glibc contiene una biblioteca
689 archivada (un fichero ar) compuesta de individuales objetos
690 compartidos. Es usado para crear una biblioteca que sea un subconjunto
691 más pequeño de la biblioteca libc compartida estándar.
693 %description pic -l pl
694 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
695 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
696 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
697 biblioteki wspó³dzielonej libc.
699 %package -n nss_compat
700 Summary: Old style NYS NSS glibc module
701 Summary(es): El antiguo módulo NYS NSS de glibc
702 Summary(pl): Stary modu³ NYS NSS glibc
704 Requires: %{name} = %{epoch}:%{version}-%{release}
706 %description -n nss_compat
707 Old style NYS NSS glibc module.
709 %description -n nss_compat -l es
710 El antiguo módulo NYS NSS de glibc
712 %description -n nss_compat -l pl
713 Stary modu³ NYS NSS glibc.
716 Summary: BIND NSS glibc module
717 Summary(es): Módulo BIND NSS de glibc
718 Summary(pl): Modu³ BIND NSS glibc
720 Requires: %{name} = %{epoch}:%{version}-%{release}
722 %description -n nss_dns
723 BIND NSS glibc module.
725 %description -n nss_dns -l es
726 Módulo BIND NSS de glibc.
728 %description -n nss_dns -l pl
729 Modu³ BIND NSS glibc.
731 %package -n nss_files
732 Summary: Traditional files databases NSS glibc module
733 Summary(es): Módulo de tradicionales bases de datos en ficheros para glibc
734 Summary(pl): Modu³ tradycyjnych plikowych baz danych NSS glibc
736 Requires: %{name} = %{epoch}:%{version}-%{release}
738 %description -n nss_files
739 Traditional files databases NSS glibc module.
741 %description -n nss_files -l es
742 Módulo de tradicionales bases de datos en ficheros para glibc.
744 %description -n nss_files -l pl
745 Modu³ tradycyjnych plikowych baz danych NSS glibc.
747 %package -n nss_hesiod
748 Summary: hesiod NSS glibc module
749 Summary(es): Módulo hesiod NSS de glibc
750 Summary(pl): Modu³ hesiod NSS glibc
752 Requires: %{name} = %{epoch}:%{version}-%{release}
754 %description -n nss_hesiod
755 glibc NSS (Name Service Switch) module for databases access.
757 %description -n nss_hesiod -l es
758 Módulo hesiod NSS de glibc.
760 %description -n nss_hesiod -l pl
761 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
764 Summary: NIS(YP) NSS glibc module
765 Summary(es): Módulo NIS(YP) NSS de glibc
766 Summary(pl): Modu³ NIS(YP) NSS glibc
768 Requires: %{name} = %{epoch}:%{version}-%{release}
770 %description -n nss_nis
771 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
773 %description -n nss_nis -l es
774 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
776 %description -n nss_nis -l pl
777 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
779 %package -n nss_nisplus
780 Summary: NIS+ NSS module
781 Summary(es): Módulo NIS+ NSS
782 Summary(pl): Modu³ NIS+ NSS
784 Requires: %{name} = %{epoch}:%{version}-%{release}
786 %description -n nss_nisplus
787 glibc NSS (Name Service Switch) module for NIS+ databases access.
789 %description -n nss_nisplus -l es
790 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
793 %description -n nss_nisplus -l pl
794 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
798 Summary(es): Un juguete
801 Requires: %{name} = %{epoch}:%{version}-%{release}
803 %description memusage
806 %description memusage -l es
809 %description memusage -l pl
814 ln -s glibc-libidn-%{version} libidn
838 %{?with_cross:%patch25 -p1}
842 # i786 (aka pentium4) hack
843 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
844 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
847 cp -f /usr/share/automake/config.sub scripts
855 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
859 --enable-kernel="%{min_kernel}" \
861 --with-headers=%{_includedir} \
862 --with%{!?with_selinux:out}-selinux \
864 --enable-add-ons=nptl,libidn \
865 --enable-stackguard-randomization \
866 --enable-hidden-plt \
873 for d in builddir; do
875 env LANGUAGE=C LC_ALL=C \
876 %{__make} tests 2>&1 | awk '
879 if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
881 gsub(/.*\[/, NIL, file);
882 gsub(/\].*/, NIL, file);
886 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
892 diet %{__cc} %{SOURCE7} %{rpmcflags} -Os -static -o glibc-postinst
896 rm -rf $RPM_BUILD_ROOT
897 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
900 env LANGUAGE=C LC_ALL=C \
902 install_root=$RPM_BUILD_ROOT \
903 infodir=%{_infodir} \
907 env LANGUAGE=C LC_ALL=C \
908 %{__make} localedata/install-locales \
909 install_root=$RPM_BUILD_ROOT
912 PICFILES="libc_pic.a libc.map
913 math/libm_pic.a libm.map
914 resolv/libresolv_pic.a"
916 install $PICFILES $RPM_BUILD_ROOT%{_libdir}
917 install elf/soinit.os $RPM_BUILD_ROOT%{_libdir}/soinit.o
918 install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
922 install glibc-postinst $RPM_BUILD_ROOT/sbin
925 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so $RPM_BUILD_ROOT%{_libdir}}
926 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so $RPM_BUILD_ROOT%{_libdir}
928 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
929 # moved to tzdata package
930 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo
932 ln -sf libbsd-compat.a $RPM_BUILD_ROOT%{_libdir}/libbsd.a
934 # make symlinks across top-level directories absolute
935 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
936 rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
937 ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
940 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
941 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/nscd
942 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/nscd
943 install nscd/nscd.conf $RPM_BUILD_ROOT%{_sysconfdir}
944 install nss/nsswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}
946 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
947 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
948 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
949 echo 'include ld.so.conf.d/*.conf' > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
950 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
952 :> $RPM_BUILD_ROOT/var/log/nscd
953 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
954 :> $RPM_BUILD_ROOT/var/lib/nscd/group
955 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
958 install -d documentation
960 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing}; do
961 cp -f nptl/$f documentation/$f.nptl
963 cp -f crypt/README.ufc-crypt ChangeLog* documentation
965 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
967 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
968 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
970 # Collect locale files and mark them with %%lang()
972 echo '%defattr(644,root,root,755)' > glibc.lang
973 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
975 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
977 # list of long %%lang values we do support
978 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
979 zh_CN zh_CN.gbk zh_HK zh_TW ; do
980 if [ $j = "$lang" ]; then
984 if [ -n "$twochar" ]; then
985 if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
986 lang=`echo $lang | sed "s,\..*,,"`
988 lang=`echo $lang | sed "s,_.*,,"`
991 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
992 echo "%lang($lang) $dir" >> glibc.lang
995 # XXX: to be added when become supported by glibc
998 # dv, haw, kok, ps (iso-codes)
1000 # tk, ug, yo (used by GNOME)
1003 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1006 # omitted here - already existing (with libc.mo):
1007 # be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1010 for i in aa af am ang ar az bg bn bn_IN br bs byn cy de_AT dz en en@boldquot \
1011 en@quot en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga \
1012 gez gu gv he hi hsb hy ia id is it_CH iu ka kk kl km kn ku kw ky leet lg li \
1013 lo lt lv mg mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro \
1014 ru rw sa se sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig \
1015 tl tlh tt uk ur uz ve vi wa wal xh yi zh_HK zu ; do
1016 if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1017 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1018 lang=`echo $i | sed -e 's/_.*//'`
1019 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1023 # localedb-gen infrastructure
1024 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1025 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1027 # shutup check-files
1028 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1029 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1030 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1031 # we don't support kernel without ptys support
1032 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1035 rm -rf $RPM_BUILD_ROOT
1037 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1038 # when %%postun is run
1040 %if %{without cross}
1041 %post -p /sbin/postshell
1042 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1046 %postun -p /sbin/postshell
1050 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.5-7.6
1051 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1052 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1055 %post memusage -p /sbin/ldconfig
1056 %postun memusage -p /sbin/ldconfig
1058 %post -n iconv -p %{_sbindir}/iconvconfig
1061 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1064 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1067 %groupadd -P nscd -g 144 -r nscd
1068 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1071 /sbin/chkconfig --add nscd
1073 chmod 000 /var/log/nscd
1074 chown root:root /var/log/nscd
1075 chmod 640 /var/log/nscd
1076 %service nscd restart "nscd daemon"
1079 if [ "$1" = "0" ]; then
1081 /sbin/chkconfig --del nscd
1085 if [ "$1" = "0" ]; then
1091 %defattr(644,root,root,755)
1092 %doc README NEWS FAQ BUGS
1093 %if %{without cross}
1094 %attr(755,root,root) /sbin/glibc-postinst
1096 %attr(755,root,root) /sbin/ldconfig
1097 # ld* and libc.so.6 SONAME symlinks must be in package because of
1098 # chicken-egg problem (postshell is dynamically linked with libc);
1099 # NOTE: postshell is now linked statically with diet
1100 # ld-*.so SONAME is:
1102 # ld64.so.1 on ppc64,s390x
1103 # ld-linux-ia64.so.2 on ia64
1104 # ld-linux-x86-64.so.2 on x86_64
1105 # ld-linux.so.2 on other archs
1106 %attr(755,root,root) /%{_lib}/ld*
1107 %attr(755,root,root) /%{_lib}/libanl*
1108 %attr(755,root,root) /%{_lib}/libdl*
1109 %attr(755,root,root) /%{_lib}/libnsl*
1110 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1111 %{?with_localedb:%dir %{_libdir}/locale}
1112 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1113 %dir %{_sysconfdir}/ld.so.conf.d
1114 %ghost %{_sysconfdir}/ld.so.cache
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1120 #%files -n nss_files
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1124 %files misc -f %{name}.lang
1125 %defattr(644,root,root,755)
1127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1128 %config %{_sysconfdir}/rpc
1130 %attr(755,root,root) /sbin/sln
1131 %attr(755,root,root) %{_bindir}/catchsegv
1132 %attr(755,root,root) %{_bindir}/getconf
1133 %attr(755,root,root) %{_bindir}/getent
1134 %attr(755,root,root) %{_bindir}/iconv
1135 %attr(755,root,root) %{_bindir}/ldd
1136 %ifarch %{ix86} m68k sparc sparcv9
1137 %attr(755,root,root) %{_bindir}/lddlibc4
1139 %attr(755,root,root) %{_bindir}/locale
1140 %attr(755,root,root) %{_bindir}/rpcgen
1141 %attr(755,root,root) %{_bindir}/tzselect
1143 %attr(755,root,root) %{_sbindir}/rpcinfo
1144 %attr(755,root,root) %{_sbindir}/zdump
1145 %attr(755,root,root) %{_sbindir}/zic
1147 %dir %{_libexecdir}/getconf
1148 %attr(755,root,root) %{_libexecdir}/getconf/*
1150 %dir %{_datadir}/locale
1151 %{_datadir}/locale/locale.alias
1153 %{_mandir}/man1/catchsegv.1*
1154 %{_mandir}/man1/getconf.1*
1155 %{_mandir}/man1/getent.1*
1156 %{_mandir}/man1/iconv.1*
1157 %{_mandir}/man1/ldd.1*
1158 %{_mandir}/man1/locale.1*
1159 %{_mandir}/man1/rpcgen.1*
1160 %{_mandir}/man5/locale.5*
1161 %{_mandir}/man5/nsswitch.conf.5*
1162 %{_mandir}/man5/tzfile.5*
1164 %{_mandir}/man8/ld*.8*
1165 %{_mandir}/man8/rpcinfo.8*
1166 %{_mandir}/man8/sln.8*
1167 %{_mandir}/man8/tzselect.8*
1168 %{_mandir}/man8/zdump.8*
1169 %{_mandir}/man8/zic.8*
1170 %lang(cs) %{_mandir}/cs/man7/*
1171 %lang(de) %{_mandir}/de/man5/tzfile.5*
1172 %lang(de) %{_mandir}/de/man7/*
1173 %lang(es) %{_mandir}/es/man1/ldd.1*
1174 %lang(es) %{_mandir}/es/man5/locale.5*
1175 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1176 %lang(es) %{_mandir}/es/man5/tzfile.5*
1177 %lang(es) %{_mandir}/es/man7/*
1178 %lang(es) %{_mandir}/es/man8/ld*.8*
1179 %lang(es) %{_mandir}/es/man8/tzselect.8*
1180 %lang(es) %{_mandir}/es/man8/zdump.8*
1181 %lang(es) %{_mandir}/es/man8/zic.8*
1182 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1183 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1184 %lang(fr) %{_mandir}/fr/man5/locale.5*
1185 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1186 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1187 %lang(fr) %{_mandir}/fr/man7/*
1188 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1189 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1190 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1191 %lang(fr) %{_mandir}/fr/man8/zic.8*
1192 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1193 %lang(hu) %{_mandir}/hu/man7/*
1194 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1195 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1196 %lang(it) %{_mandir}/it/man5/locale.5*
1197 %lang(it) %{_mandir}/it/man7/*
1198 %lang(it) %{_mandir}/it/man8/tzselect.8*
1199 %lang(it) %{_mandir}/it/man8/zdump.8*
1200 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1201 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1202 %lang(ja) %{_mandir}/ja/man5/locale.5*
1203 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1204 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1205 %lang(ja) %{_mandir}/ja/man7/*
1206 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1207 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1208 %lang(ja) %{_mandir}/ja/man8/sln.8*
1209 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1210 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1211 %lang(ja) %{_mandir}/ja/man8/zic.8*
1212 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1213 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1214 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1215 %lang(ko) %{_mandir}/ko/man7/*
1216 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1217 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1218 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1219 %lang(pl) %{_mandir}/pl/man5/locale.5*
1220 %lang(pl) %{_mandir}/pl/man7/*
1221 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1222 %lang(pt) %{_mandir}/pt/man5/locale.5*
1223 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1224 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1225 %lang(pt) %{_mandir}/pt/man7/*
1226 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1227 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1228 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1229 %lang(pt) %{_mandir}/pt/man8/zic.8*
1230 %lang(ru) %{_mandir}/ru/man1/getent.1*
1231 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1232 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1233 %lang(ru) %{_mandir}/ru/man1/locale.1*
1234 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1235 %lang(ru) %{_mandir}/ru/man5/locale.5*
1236 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1237 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1238 %lang(ru) %{_mandir}/ru/man7/*
1239 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1240 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1241 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1242 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1243 %lang(ru) %{_mandir}/ru/man8/zic.8*
1244 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1245 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1246 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1247 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1248 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1249 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1250 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1251 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1252 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1253 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1255 %files -n nss_compat
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1259 %files -n nss_hesiod
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1266 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1268 %files -n nss_nisplus
1269 %defattr(644,root,root,755)
1270 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1272 %if %{with memusage}
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) %{_bindir}/memusage*
1276 %attr(755,root,root) %{_libdir}/libmemusage.so
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1282 %attr(755,root,root) %{_libdir}/libcrypt.so
1283 %attr(755,root,root) %{_libdir}/libm.so
1284 %attr(755,root,root) %{_libdir}/libpcprofile.so
1285 %attr(755,root,root) %{_libdir}/*crt*.o
1288 %{_libdir}/libpthread.so
1289 %{_libdir}/libbsd-compat.a
1291 %{_libdir}/libc_nonshared.a
1293 %{_libdir}/libieee.a
1294 %ifarch alpha ppc sparc
1295 %{_libdir}/libnldbl_nonshared.a
1297 %{_libdir}/libpthread_nonshared.a
1298 %{_libdir}/librpcsvc.a
1299 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1300 %{_includedir}/gnu/stubs-*.h
1304 %defattr(644,root,root,755)
1307 %{_includedir}/alpha
1311 %dir %{_includedir}/gnu
1312 %{_includedir}/gnu/lib*.h
1313 %{_includedir}/gnu/stubs.h
1315 %{_includedir}/netash
1316 %{_includedir}/netatalk
1317 %{_includedir}/netax25
1318 %{_includedir}/neteconet
1319 %{_includedir}/netinet
1320 %{_includedir}/netipx
1321 %{_includedir}/netpacket
1322 %{_includedir}/netrom
1323 %{_includedir}/netrose
1325 %{_includedir}/protocols
1327 %{_includedir}/rpcsvc
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_bindir}/gencat
1334 %attr(755,root,root) %{_bindir}/*prof*
1335 %attr(755,root,root) %{_bindir}/*trace
1338 %defattr(644,root,root,755)
1339 %doc documentation/* NOTES PROJECTS
1340 %{_infodir}/libc.info*
1342 %{_mandir}/man1/sprof.1*
1344 %lang(cs) %{_mandir}/cs/man3/*
1345 %lang(de) %{_mandir}/de/man3/*
1346 %lang(es) %{_mandir}/es/man3/*
1347 %lang(fr) %{_mandir}/fr/man3/*
1348 %lang(hu) %{_mandir}/hu/man3/*
1349 %lang(it) %{_mandir}/it/man3/*
1350 %lang(ja) %{_mandir}/ja/man3/*
1351 %lang(ko) %{_mandir}/ko/man3/*
1352 %lang(nl) %{_mandir}/nl/man3/*
1353 %lang(pl) %{_mandir}/pl/man3/*
1354 %lang(pt) %{_mandir}/pt/man3/*
1355 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1356 %lang(ru) %{_mandir}/ru/man3/*
1357 %lang(tr) %{_mandir}/tr/man3/*
1358 %lang(uk) %{_mandir}/uk/man3/*
1359 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1362 %defattr(644,root,root,755)
1363 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1364 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1365 %attr(754,root,root) /etc/rc.d/init.d/nscd
1366 %attr(755,root,root) %{_sbindir}/nscd*
1367 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1368 %attr(640,root,root) %ghost /var/log/nscd
1371 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1372 %attr(600,root,root) %ghost /var/lib/nscd/group
1373 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1374 %{_mandir}/man5/nscd.conf.5*
1375 %{_mandir}/man8/nscd.8*
1376 %{_mandir}/man8/nscd_nischeck.8*
1377 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1378 %lang(es) %{_mandir}/es/man8/nscd.8*
1379 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1380 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1381 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1382 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1383 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1384 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1385 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1386 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1387 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1389 %files -n localedb-src
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_bindir}/localedef
1392 %attr(755,root,root) %{_bindir}/localedb-gen
1394 %{_mandir}/man1/localedef.1*
1395 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1397 %if %{with localedb}
1399 %defattr(644,root,root,755)
1400 %{_libdir}/locale/locale-archive
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_sbindir}/iconvconfig
1406 %dir %{_libdir}/gconv
1407 %{_libdir}/gconv/gconv-modules
1408 %attr(755,root,root) %{_libdir}/gconv/*.so
1411 %defattr(644,root,root,755)
1413 %{_libdir}/libBrokenLocale.a
1415 %{_libdir}/libcrypt.a
1418 %{_libdir}/libmcheck.a
1420 %{_libdir}/libpthread.a
1421 %{_libdir}/libresolv.a
1423 %{_libdir}/libutil.a
1426 %defattr(644,root,root,755)
1430 %defattr(644,root,root,755)
1431 %{_libdir}/lib*_pic.a