]> git.pld-linux.org Git - packages/glibc.git/blob - glibc.spec
0d1481dab64867fb0e9662fdba5e9dd96332d015
[packages/glibc.git] / glibc.spec
1 #
2 # You can define min_kernel macro by "rpm --define 'min_kernel version'"
3 # default is 2.4.6 for linuxthreads, 2.6.0 for NPTL
4 #
5 # Conditional build:
6 %bcond_with     omitfp          # build without frame pointer (pass \--enable-omitfp)
7 %bcond_without  memusage        # don't build memusage utility
8 %bcond_with     kernelheaders   # use headers from %{_kernelsrcdir} instead of
9                                 # linux-libc-headers (evil, breakage etc., don't use)
10 %bcond_without  linuxthreads    # don't build linuxthreads version (NPTL only)
11 %bcond_without  nptl            # don't build NPTL version (linuxthreads only)
12 %bcond_without  tls             # don't support TLS at all (implies no NPTL)
13 %bcond_with     __thread        # use TLS in linuxthreads
14 %bcond_without  selinux         # without SELinux support (in nscd)
15 %bcond_with     tests           # perform "make test"
16 %bcond_with     tests_nptl      # perform NPTL tests on dual build (requires 2.6.x kernel)
17 %bcond_without  localedb        # don't build localedb-all (is time consuming)
18 %bcond_with     cross           # build using crossgcc (without libgcc_eh)
19 %bcond_with     pax             # apply PaX hack
20 #
21 # TODO:
22 # - look at locale fixes/updates in bugzilla
23 # [OLD]
24 # - localedb-gen man pages(?)
25 # - fix what trojan broke while upgreading (getaddrinfo-workaround)
26 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
27 #   linuxthreads/tst-cancel8, debug/backtrace-tst(SEGV)  fail on alpha
28 # - problem compiling with --enable-bounded (must be reported to libc-alpha)
29 #   (is this comment still valid???)
30 #
31
32 %{!?min_kernel:%global          min_kernel      2.4.6}
33 %if "%{min_kernel}" < "2.6.0"
34 %global         nptl_min_kernel 2.6.0
35 %else
36 %global         nptl_min_kernel %{min_kernel}
37 %endif
38
39 %if %{with tls}
40 # sparc temporarily removed (broken)
41 %ifnarch %{ix86} %{x8664} ia64 alpha s390 s390x sparc64 sparcv9 ppc ppc64
42 %undefine       with_tls
43 %endif
44 %endif
45
46 %if %{with nptl}
47 # on x86 uses cmpxchgl (available since i486)
48 # on sparc only sparcv9 is supported
49 %ifnarch i486 i586 i686 pentium3 pentium4 athlon %{x8664} ia64 alpha s390 s390x sparc64 sparcv9 ppc ppc64
50 %undefine       with_nptl
51 %else
52 %if %{without tls}
53 %undefine       with_nptl
54 %endif
55 %endif
56 %endif
57
58 %ifarch sparc64
59 %undefine       with_memusage
60 %endif
61
62 %if %{with linuxthreads} && %{with nptl}
63 %define         with_dual       1
64 %endif
65
66 %define         llh_version     7:2.6.10.0-3
67
68 Summary:        GNU libc
69 Summary(de):    GNU libc
70 Summary(es):    GNU libc
71 Summary(fr):    GNU libc
72 Summary(ja):    GNU libc ¥é¥¤¥Ö¥é¥ê
73 Summary(pl):    GNU libc
74 Summary(ru):    GNU libc ×ÅÒÓÉÉ 2.3
75 Summary(tr):    GNU libc
76 Summary(uk):    GNU libc ×ÅÒÓ¦§ 2.3
77 Name:           glibc
78 Version:        2.3.6
79 Release:        4.1
80 Epoch:          6
81 License:        LGPL
82 Group:          Libraries
83 Source0:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-%{version}.tar.bz2
84 # Source0-md5:  bfdce99f82d6dbcb64b7f11c05d6bc96
85 Source1:        ftp://sources.redhat.com/pub/glibc/releases/%{name}-linuxthreads-%{version}.tar.bz2
86 # Source1-md5:  d4eeda37472666a15cc1f407e9c987a9
87 Source2:        nscd.init
88 Source3:        nscd.sysconfig
89 Source4:        nscd.logrotate
90 #Source5:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
91 Source5:        http://qboosh.cs.net.pl/man/%{name}-man-pages.tar.bz2
92 # Source5-md5:  f464eadf3cf06761f65639e44a179e6b
93 Source6:        %{name}-localedb-gen
94 Source7:        %{name}-LD-path.c
95 Source8:        postshell.c
96 Patch0:         %{name}-info.patch
97 Patch1:         %{name}-pl.po-update.patch
98 Patch2:         %{name}-pld.patch
99 Patch3:         %{name}-crypt-blowfish.patch
100 Patch4:         %{name}-linuxthreads-lock.patch
101 Patch5:         %{name}-pthread_create-manpage.patch
102 Patch6:         %{name}-paths.patch
103 Patch7:         %{name}-dl-execstack.patch
104 Patch8:         %{name}-missing-nls.patch
105 Patch9:         %{name}-java-libc-wait.patch
106 Patch10:        %{name}-lthrds_noomit.patch
107 Patch11:        %{name}-no_opt_override.patch
108 Patch12:        %{name}-includes.patch
109 Patch13:        %{name}-soinit-EH_FRAME.patch
110 Patch14:        %{name}-sparc-errno_fix.patch
111 Patch15:        %{name}-csu-quotes.patch
112 Patch16:        %{name}-tests-noproc.patch
113 Patch17:        %{name}-new-charsets.patch
114 Patch18:        %{name}-sr_CS.patch
115 Patch19:        %{name}-sparc64-dl-machine.patch
116 Patch20:        %{name}-tzfile-noassert.patch
117 Patch21:        %{name}-morelocales.patch
118 Patch22:        %{name}-locale_ZA.patch
119 Patch23:        %{name}-locale_fixes.patch
120 Patch24:        %{name}-ZA_collate.patch
121 Patch25:        %{name}-tls_fix.patch
122 Patch26:        %{name}-iconvconfig-nxstack.patch
123 Patch27:        %{name}-sys-kd.patch
124 Patch28:        %{name}-cross-gcc_eh.patch
125 Patch29:        %{name}-pax_dl-execstack.patch
126 Patch30:        %{name}-large_collate_tables.patch
127 Patch31:        %{name}-ctype-compat.patch
128 Patch32:        %{name}-sparc-mman.h.patch
129 URL:            http://www.gnu.org/software/libc/
130 %{?with_selinux:BuildRequires:  audit-libs-devel}
131 BuildRequires:  autoconf
132 BuildRequires:  automake
133 BuildRequires:  binutils >= 2:2.15.90.0.3
134 %{!?with_cross:BuildRequires:   dietlibc-static}
135 BuildRequires:  gcc >= 5:3.2
136 %ifarch ppc ppc64 sparc sparcv9 sparc64
137 %if %{with nptl} || %{with __thread}
138 BuildRequires:  gcc >= 5:3.4
139 %endif
140 %endif
141 %{?with_memusage:BuildRequires: gd-devel >= 2.0.1}
142 BuildRequires:  gettext-devel >= 0.10.36
143 %if %{without kernelheaders}
144 BuildRequires:  linux-libc-headers >= %{llh_version}
145 %endif
146 %{?with_selinux:BuildRequires:  libselinux-devel >= 1.18}
147 BuildRequires:  perl-base
148 BuildRequires:  rpm-build >= 4.3-0.20030610.28
149 BuildRequires:  rpm-perlprov
150 BuildRequires:  rpmbuild(macros) >= 1.213
151 BuildRequires:  sed >= 4.0.5
152 BuildRequires:  texinfo
153 AutoReq:        false
154 Requires:       %{name}-misc = %{epoch}:%{version}-%{release}
155 Requires:       basesystem
156 %{?with_tls:Provides:   glibc(tls)}
157 Provides:       ldconfig
158 Provides:       /sbin/ldconfig
159 Obsoletes:      glibc-common
160 Obsoletes:      glibc-debug
161 Obsoletes:      ldconfig
162 Conflicts:      kernel < %{min_kernel}
163 Conflicts:      ld.so < 1.9.9-10
164 Conflicts:      man-pages < 1.43
165 Conflicts:      poldek < 0.18.8-5
166 Conflicts:      rc-scripts < 0.3.1-13
167 Conflicts:      rpm < 4.1
168 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
169
170 %define         debugcflags     -O1 -g
171 # avoid -s here (ld.so must not be stripped to allow any program debugging)
172 %define         rpmldflags      %{nil}
173 %define         specflags_sparc64       -mcpu=ultrasparc -mvis -fcall-used-g6
174 # we don't want perl dependency in glibc-devel
175 %define         _noautoreqfiles         %{_bindir}/mtrace
176 # hack: don't depend on rpmlib(PartialHardlinkSets) for easier upgrade from Ra
177 # (hardlinks here are unlikely to be "partial"... and rpm 4.0.2 from Ra was
178 # patched not to crash on partial hardlinks too)
179 %define         _hack_dontneed_PartialHardlinkSets      1
180 %define         _noautochrpath          .*\\(ldconfig\\|sln\\)
181 %if %{with kernelheaders}
182 %define         sysheaders      %{_kernelsrcdir}/include
183 %else
184 %define         sysheaders      %{_includedir}
185 %endif
186
187 %description
188 Contains the standard libraries that are used by multiple programs on
189 the system. In order to save disk space and memory, as well as to ease
190 upgrades, common system code is kept in one place and shared between
191 programs. This package contains the most important sets of shared
192 libraries, the standard C library and the standard math library.
193 Without these, a Linux system will not function. It also contains
194 national language (locale) support and timezone databases.
195
196 Can be used on: Linux kernel >= %{min_kernel}.
197
198 %description -l es
199 Contiene las bibliotecas estándared que son usadas por varios
200 programas del sistema. Para ahorrar el espacio en el disco y la
201 memoria, igual que para facilitar actualizaciones, código común del
202 sistema se guarda en un sitio y es compartido entre los programas.
203 Este paquete contiene las bibliotecas compartidas más importantes, es
204 decir la biblioteca C estándar y la biblioteca estándar de matemática.
205 Sin éstas, un sistema Linux no podrá funcionar. También está incluido
206 soporte de idiomas nacionales (locale) y bases de datos de zona de
207 tiempo.
208
209 Puede usarse con: núcleo Linux >= %{min_kernel}.
210
211 %description -l de
212 Enthält die Standard-Libraries, die von verschiedenen Programmen im
213 System benutzt werden. Um Festplatten- und Arbeitsspeicher zu sparen
214 und zur Vereinfachung von Upgrades ist der gemeinsame Systemcode an
215 einer einzigen Stelle gespeichert und wird von den Programmen
216 gemeinsam genutzt. Dieses Paket enthält die wichtigsten Sets der
217 shared Libraries, die Standard-C-Library und die
218 Standard-Math-Library, ohne die das Linux-System nicht funktioniert.
219 Ferner enthält es den Support für die verschiedenen Sprachgregionen
220 (locale) und die Zeitzonen-Datenbank.
221
222 Can be used on: Linux kernel >= %{min_kernel}.
223
224 %description -l fr
225 Contient les bibliothèques standards utilisées par de nombreux
226 programmes du système. Afin d'économiser l'espace disque et mémoire,
227 et de faciliter les mises à jour, le code commun au système est mis à
228 un endroit et partagé entre les programmes. Ce paquetage contient les
229 bibliothèques partagées les plus importantes, la bibliothèque standard
230 du C et la bibliothèque mathématique standard. Sans celles-ci, un
231 système Linux ne peut fonctionner. Il contient aussi la gestion des
232 langues nationales (locales) et les bases de données des zones
233 horaires.
234
235 Can be used on: Linux kernel >= %{min_kernel}.
236
237 %description -l ja
238 glibc
239 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥¹¥Æ¥à¾å¤ÎÊ£¿ô¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ëɸ½à¥é¥¤¥Ö¥é¥ê¤ò
240 ¤Õ¤¯¤ß¤Þ¤¹¡£¥Ç¥£¥¹¥¯¥¹¥Ú¡¼¥¹¤È¥á¥â¥ê¤òÀáÌó¤·¤¿¤ê¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò
241 ÍѰդˤ¹¤ë¤¿¤á¤Ë¡¢¶¦Ä̤Υ·¥¹¥Æ¥à¥³¡¼¥É¤Ï°ì¤Ä¤Î¾ì½ê¤Ë¤ª¤«¤ì¡¢¥×¥í¥°¥é¥à
242 ´Ö¤Ç¶¦Í­¤µ¤ì¤Þ¤¹¡£¤³¤ÎÉôʬŪ¤Ê¥Ñ¥Ã¥±¡¼¥¸¤Ï¥·¥§¥¢¥É¥é¥¤¥Ö¥é¥ê¤Î¤«¤Ê¤ê
243 ½ÅÍפʥ»¥Ã¥È¤ò¤Õ¤¯¤ß¤Þ¤¹: É¸½à C ¥é¥¤¥Ö¥é¥ê¤Èɸ½à¿ôÃͥ饤¥Ö¥é¥ê¤Ç¤¹¡£
244 ¤³¤ÎÆó¤Ä¤Î¥é¥¤¥Ö¥é¥êÈ´¤­¤Ç¤Ï¡¢Linux ¥·¥¹¥Æ¥à¤Ïµ¡Ç½¤·¤Þ¤»¤ó¡£ glibc
245 ¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤¿ÃÏ°è¸À¸ì (locale) ¥µ¥Ý¡¼¥È¤È¥¿¥¤¥à¥¾¡¼¥ó¥Ç¡¼¥¿¥Ù¡¼¥¹
246 ¥µ¥Ý¡¼¥È¤ò¤Õ¤¯¤ß¤Þ¤¹¡£
247
248 Can be used on: Linux kernel >= %{min_kernel}.
249
250 %description -l pl
251 W pakiecie znajduj± siê podstawowe biblioteki, u¿ywane przez ró¿ne
252 programy w Twoim systemie. U¿ywanie przez programy bibliotek z tego
253 pakietu oszczêdza miejsce na dysku i pamiêæ. Wiêkszo¶æ kodu
254 systemowego jest usytuowane w jednym miejscu i dzielone miêdzy wieloma
255 programami. Pakiet ten zawiera bardzo wa¿ny zbiór bibliotek
256 standardowych, wspó³dzielonych (dynamicznych) bibliotek C i
257 matematycznych. Bez glibc system Linux nie jest w stanie funkcjonowaæ.
258 Znajduj± siê tutaj równie¿ definicje ró¿nych informacji dla wielu
259 jêzyków (locale) oraz definicje stref czasowych.
260
261 Przeznaczony dla j±dra Linux >= %{min_kernel}.
262
263 %description -l ru
264 óÏÄÅÒÖÉÔ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÍÎÏÇÏÞÉÓÌÅÎÎÙÍÉ
265 ÐÒÏÇÒÁÍÍÁÍÉ × ÓÉÓÔÅÍÅ. äÌÑ ÔÏÇÏ, ÞÔÏÂÙ ÓÏÈÒÁÎÉÔØ ÄÉÓËÏ×ÏÅ ÐÒÏÓÔÒÁÎÓÔ×Ï
266 É ÐÁÍÑÔØ, Á ÔÁËÖÅ ÄÌÑ ÐÒÏÓÔÏÔÙ ÏÂÎÏ×ÌÅÎÉÑ, ÓÉÓÔÅÍÎÙÊ ËÏÄ, ÏÂÝÉÊ ÄÌÑ
267 ×ÓÅÈ ÐÒÏÇÒÁÍÍ, ÈÒÁÎÉÔÓÑ × ÏÄÎÏÍ ÍÅÓÔÅ É ËÏÌÌÅËÔÉ×ÎÏ ÉÓÐÏÌØÚÕÅÔÓÑ ×ÓÅÍÉ
268 ÐÒÏÇÒÁÍÍÁÍÉ. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÁÉÂÏÌÅÅ ×ÁÖÎÙÅ ÉÚ ÒÁÚÄÅÌÑÅÍÙÈ
269 ÂÉÂÌÉÏÔÅË - ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ C É ÓÔÁÎÄÁÒÔÎÕÀ ÂÉÂÌÉÏÔÅËÕ
270 ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÜÔÉÈ ÂÉÂÌÉÏÔÅË Linux ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÎÅ ÂÕÄÅÔ. ôÁËÖÅ
271 ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÏÄÄÅÒÖËÕ ÎÁÃÉÏÎÁÌØÎÙÈ ÑÚÙËÏ× (locale) É ÂÁÚÙ ÄÁÎÎÙÈ
272 ×ÒÅÍÅÎÎÙÈ ÚÏΠ(timezone databases).
273
274 Can be used on: Linux kernel >= %{min_kernel}.
275
276 %description -l tr
277 Bu paket, birçok programýn kullandýðý standart kitaplýklarý içerir.
278 Disk alaný ve bellek kullanýmýný azaltmak ve ayný zamanda güncelleme
279 iþlemlerini kolaylaþtýrmak için ortak sistem kodlarý tek bir yerde
280 tutulup programlar arasýnda paylaþtýrýlýr. Bu paket en önemli ortak
281 kitaplýklarý, standart C kitaplýðýný ve standart matematik kitaplýðýný
282 içerir. Bu kitaplýklar olmadan Linux sistemi çalýþmayacaktýr. Yerel
283 dil desteði ve zaman dilimi veri tabaný da bu pakette yer alýr.
284
285 Can be used on: Linux kernel >= %{min_kernel}.
286
287 %description -l uk
288 í¦ÓÔÉÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ, ËÏÔÒ¦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÞÉÓÌÅÎÎÉÍÉ
289 ÐÒÏÇÒÁÍÁÍÉ × ÓÉÓÔÅͦ. äÌÑ ÔÏÇÏ, ÝÏ ÚÂÅÒÅÇÔÉ ÄÉÓËÏ×ÉÊ ÐÒÏÓÔ¦Ò ÔÁ
290 ÐÁÍ'ÑÔØ, Á ÔÁËÏÖ ÄÌÑ ÐÒÏÓÔÏÔÉ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ, ÓÉÓÔÅÍÎÉÊ ËÏÄ,
291 ÓЦÌØÎÉÊ ÄÌÑ ×ӦȠÐÒÏÇÒÁÍ, ÚÂÅÒ¦ÇÁ¤ÔØÓÑ × ÏÄÎÏÍՠͦÓæ ¦ ËÏÌÅËÔÉ×ÎÏ
292 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ×Ó¦ÍÁ ÐÒÏÇÒÁÍÁÍÉ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÎÁʦÌØÛ ×ÁÖÌÉצ
293 Ú ÄÉÎÁͦÞÎÉȠ¦Â̦ÏÔÅË - ÓÔÁÎÄÁÒÔÎՠ¦Â̦ÏÔÅËÕ ó ÔÁ ÓÔÁÎÄÁÒÔÎÕ
294 ¦Â̦ÏÔÅËÕ ÍÁÔÅÍÁÔÉËÉ. âÅÚ ÃÉȠ¦Â̦ÏÔÅË Linux ÆÕÎËæÏÎÕ×ÁÔÉ ÎÅ ÂÕÄÅ.
295 ôÁËÏÖ ÐÁËÅԠͦÓÔÉÔؠЦÄÔÒÉÍËÕ ÎÁæÏÎÁÌØÎÉÈ ÍÏ× (locale) ÔÁ ÂÁÚÉ ÄÁÎÎÉÈ
296 ÞÁÓÏ×ÉÈ ÚÏΠ(timezone databases).
297
298 Can be used on: Linux kernel >= %{min_kernel}.
299
300 %package misc
301 Summary:        Utilities and data used by glibc
302 Summary(pl):    Narzêdzia i dane u¿ywane przez glibc
303 Group:          Applications/System
304 AutoReq:        false
305 Requires(pre):  %{name} = %{epoch}:%{version}-%{release}
306 Requires:       %{name} = %{epoch}:%{version}-%{release}
307
308 %description misc
309 Utilities and data used by glibc.
310
311 %description misc -l pl
312 Narzêdzia i dane u¿ywane przez glibc.
313
314 %package devel
315 Summary:        Additional libraries required to compile
316 Summary(de):    Weitere Libraries zum Kompilieren
317 Summary(es):    Bibliotecas adicionales necesarias para la compilación
318 Summary(fr):    Librairies supplémentaires nécessaires à la compilation
319 Summary(ja):    É¸½à C ¥é¥¤¥Ö¥é¥ê¤Ç»È¤ï¤ì¤ë¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
320 Summary(pl):    Dodatkowe biblioteki wymagane podczas kompilacji
321 Summary(ru):    äÏÐÏÌÎÉÔÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ
322 Summary(tr):    Geliþtirme için gerekli diðer kitaplýklar
323 Summary(uk):    äÏÄÁÔËÏצ Â¦Â̦ÏÔÅËÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§
324 Group:          Development/Libraries
325 Requires:       %{name} = %{epoch}:%{version}-%{release}
326 Requires:       %{name}-headers = %{epoch}:%{version}-%{release}
327 Requires:       %{name}-devel-utils = %{epoch}:%{version}-%{release}
328 Provides:       %{name}-devel(%{_target_cpu}) = %{epoch}:%{version}-%{release}
329 Obsoletes:      libiconv-devel
330
331 %description devel
332 To develop programs which use the standard C libraries (which nearly
333 all programs do), the system needs to have these standard header files
334 and object files available for creating the executables.
335
336 %description devel -l de
337 Bei der Entwicklung von Programmen, die die Standard-C-Libraries
338 verwenden (also fast alle), benötigt das System diese Standard-Header-
339 und Objektdateien zum Erstellen der ausführbaren Programme.
340
341 %description devel -l es
342 Para desarrollar programas que utilizan las bibliotecas C estándar (lo
343 cual hacen prácticamente todos los programas), el sistema necesita
344 disponer de estos ficheros de cabecera y de objetos para crear los
345 ejecutables.
346
347 %description devel -l fr
348 Pour développer des programmes utilisant les bibliothèques standard du
349 C (ce que presque tous les programmes font), le système doit posséder
350 ces fichiers en-têtes et objets standards pour créer les exécutables.
351
352 %description devel -l ja
353 glibc-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï(¤Û¤È¤ó¤É¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤ë)ɸ½à C
354 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¤¿¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡¼¤È¥ª¥Ö¥¸¥§¥¯¥È
355 ¥Õ¥¡¥¤¥ë¤ò´Þ¤ß¤Þ¤¹¡£¤â¤·É¸½à C
356 ¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ¹¤ë¥×¥í¥°¥é¥à¤ò³«È¯¤¹¤ë¤Ê¤é
357 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ëÌÜŪ¤Ç¤³¤ì¤é¤Îɸ½à¥Ø¥Ã¥À¤È¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë
358 ¤¬»ÈÍѤǤ­¤Þ¤¹¡£
359
360 %description devel -l pl
361 Pakiet ten jest niezbêdny przy tworzeniu w³asnych programów
362 korzystaj±cych ze standardowej biblioteki C. Znajduj± siê tutaj pliki
363 nag³ówkowe oraz pliki obiektowe, niezbêdne do kompilacji programów
364 wykonywalnych i innych bibliotek.
365
366 %description devel -l ru
367 äÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ÓÔÁÎÄÁÒÔÎÙÅ ÂÉÂÌÉÏÔÅËÉ C (Á
368 ÐÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ ÉÈ ÉÓÐÏÌØÚÕÀÔ), ÓÉÓÔÅÍÅ îåïâèïäéíù ÈÅÄÅÒÙ É
369 ÏÂßÅËÔÎÙÅ ÆÁÊÌÙ, ÓÏÄÅÒÖÁÝÉÅÓÑ × ÜÔÏÍ ÐÁËÅÔÅ, ÞÔÏÂÙ ÓÏÚÄÁ×ÁÔØ
370 ÉÓÐÏÌÎÑÅÍÙÅ ÆÁÊÌÙ.
371
372 %description devel -l tr
373 C kitaplýðýný kullanan (ki hemen hemen hepsi kullanýyor) programlar
374 geliþtirmek için gereken standart baþlýk dosyalarý ve statik
375 kitaplýklar.
376
377 %description devel -l uk
378 äÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÓÔÁÎÄÁÒÔΦ Â¦Â̦ÏÔÅËÉ C
379 (ÐÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ §È ×ÉËÏÒÉÓÔÏ×ÕÀÔØ), ÓÉÓÔÅͦ îåïâè¶äÈÅÄÅÒÉ
380 ÔÁ ÏÂ'¤ËÔΦ ÆÁÊÌÉ, ÝϠͦÓÔÑÔØÓÑ × ÃØÏÍÕ ÐÁËÅÔ¦, ÃÏ ÓÔ×ÏÒÀ×ÁÔÉ
381 ×ÉËÏÎÕ×ÁΦ ÆÁÊÌÉ.
382
383 %package headers
384 Summary:        Header files for development using standard C libraries
385 Summary(pl):    Pliki nag³ówkowe do tworzenia programów przy u¿yciu standardowych bibliotek C
386 Group:          Development/Building
387 Provides:       %{name}-headers(%{_target_cpu}) = %{epoch}:%{version}-%{release}
388 %ifarch %{x8664}
389 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
390 # have to be installed, not ix86 one.
391 Obsoletes:      %{name}-headers(i386)
392 Obsoletes:      %{name}-headers(i486)
393 Obsoletes:      %{name}-headers(i586)
394 Obsoletes:      %{name}-headers(i686)
395 Obsoletes:      %{name}-headers(athlon)
396 Obsoletes:      %{name}-headers(pentium3)
397 Obsoletes:      %{name}-headers(pentium4)
398 %endif
399 %ifarch ppc64
400 Obsoletes:      %{name}-headers(ppc)
401 %endif
402 %ifarch s390x
403 Obsoletes:      %{name}-headers(s390)
404 %endif
405 %ifarch sparc64
406 Obsoletes:      %{name}-headers(sparc)
407 %endif
408 %{!?with_kernelheaders:Requires:        linux-libc-headers >= %{llh_version}}
409
410 %description headers
411 The glibc-headers package contains the header files necessary for
412 developing programs which use the standard C libraries (which are used
413 by nearly all programs). If you are developing programs which will use
414 the standard C libraries, your system needs to have these standard
415 header files available in order to create the executables.
416
417 Install glibc-headers if you are going to develop programs which will
418 use the standard C libraries.
419
420 %description headers -l pl
421 Pakiet glibc-headers zawiera pliki nag³ówkowe niezbêdne do rozwijania
422 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
423 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
424 standardowych bibliotek C, system wymaga dostêpno¶ci tych
425 standardowych plików nag³ówkowych do tworzenia programów
426 wykonywalnych.
427
428 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
429 korzystaj±ce ze standardowych bibliotek C.
430
431 %package devel-utils
432 Summary:        Utilities needed for development using standard C libraries
433 Summary(pl):    Narzêdzia do tworzenia programów przy u¿yciu standardowych bibliotek C
434 Group:          Development/Libraries
435 Provides:       %{name}-devel-utils(%{_target_cpu}) = %{epoch}:%{version}-%{release}
436 %ifarch %{x8664}
437 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
438 # have to be installed, not ix86 one.
439 Obsoletes:      %{name}-devel-utils(i386)
440 Obsoletes:      %{name}-devel-utils(i486)
441 Obsoletes:      %{name}-devel-utils(i586)
442 Obsoletes:      %{name}-devel-utils(i686)
443 Obsoletes:      %{name}-devel-utils(athlon)
444 Obsoletes:      %{name}-devel-utils(pentium3)
445 Obsoletes:      %{name}-devel-utils(pentium4)
446 %endif
447 %ifarch ppc64
448 Obsoletes:      %{name}-devel-utils(ppc)
449 %endif
450 %ifarch s390x
451 Obsoletes:      %{name}-devel-utils(s390)
452 %endif
453 %ifarch sparc64
454 Obsoletes:      %{name}-devel-utils(sparc)
455 %endif
456
457 %description devel-utils
458 The glibc-devel-utils package contains utilities necessary for
459 developing programs which use the standard C libraries (which are used
460 by nearly all programs). If you are developing programs which will use
461 the standard C libraries, your system needs to have these utilities
462 available.
463
464 Install glibc-devel-utils if you are going to develop programs which
465 will use the standard C libraries.
466
467 %description devel-utils -l pl
468 Pakiet glibc-devel-utils zawiera narzêdzia niezbêdne do rozwijania
469 programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych przez
470 prawie wszystkie programy). Je¶li tworzymy programy korzystaj±ce ze
471 standardowych bibliotek C, system wymaga dostêpno¶ci tych narzêdzi do
472 tworzenia programów wykonywalnych.
473
474 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
475 korzystaj±ce ze standardowych bibliotek C.
476
477 %package devel-doc
478 Summary:        Documentation needed for development using standard C libraries
479 Summary(pl):    Dokumentacja do tworzenia programów przy u¿yciu standardowych bibliotek C
480 Group:          Documentation
481 Provides:       %{name}-devel-doc(%{_target_cpu}) = %{epoch}:%{version}-%{release}
482 %ifarch %{x8664}
483 # If both -m32 and -m64 is to be supported on AMD64, x86_64 package
484 # have to be installed, not ix86 one.
485 Obsoletes:      %{name}-devel-doc(i386)
486 Obsoletes:      %{name}-devel-doc(i486)
487 Obsoletes:      %{name}-devel-doc(i586)
488 Obsoletes:      %{name}-devel-doc(i686)
489 Obsoletes:      %{name}-devel-doc(athlon)
490 Obsoletes:      %{name}-devel-doc(pentium3)
491 Obsoletes:      %{name}-devel-doc(pentium4)
492 %endif
493 %ifarch ppc64
494 Obsoletes:      %{name}-devel-doc(ppc)
495 %endif
496 %ifarch s390x
497 Obsoletes:      %{name}-devel-doc(s390)
498 %endif
499 %ifarch sparc64
500 Obsoletes:      %{name}-devel-doc(sparc)
501 %endif
502
503 %description devel-doc
504 The glibc-devel-doc package contains info and manual pages necessary
505 for developing programs which use the standard C libraries (which are
506 used by nearly all programs).
507
508 Install glibc-devel-doc if you are going to develop programs which
509 will use the standard C libraries.
510
511 %description devel-doc -l pl
512 Pakiet glibc-devel-doc zawiera strony info i manuala przydatne do
513 rozwijania programów u¿ywaj±cych standardowych bibliotek C (u¿ywanych
514 przez prawie wszystkie programy).
515
516 Ten pakiet nale¿y zainstalowaæ je¶li zamierzamy tworzyæ programy
517 korzystaj±ce ze standardowych bibliotek C.
518
519 %package -n nscd
520 Summary:        Name Service Caching Daemon
521 Summary(es):    Demonio de caché del servicio de nombres
522 Summary(ja):    ¥Í¡¼¥à¥µ¡¼¥Ó¥¹¥­¥ã¥Ã¥·¥ó¥°¥Ç¡¼¥â¥ó (nacd)
523 Summary(pl):    Demon zapamiêtuj±cy odpowiedzi serwisów nazw
524 Summary(ru):    ëÜÛÉÒÕÀÝÉÊ ÄÅÍÏΠÓÅÒ×ÉÓÏ× ÉÍÅÎ
525 Summary(uk):    ëÅÛÕÀÞÉÊ ÄÅÍÏΠÓÅצӦנ¦ÍÅÎ
526 Group:          Networking/Daemons
527 Requires(pre):  /bin/id
528 Requires(pre):  /usr/bin/getgid
529 Requires(pre):  /usr/sbin/groupadd
530 Requires(pre):  /usr/sbin/useradd
531 Requires(post,preun):   /sbin/chkconfig
532 Requires(post): fileutils
533 Requires(postun):       /usr/sbin/groupdel
534 Requires(postun):       /usr/sbin/userdel
535 Requires:       %{name} = %{epoch}:%{version}-%{release}
536 %{?with_selinux:Requires:       libselinux >= 1.18}
537 Requires:       rc-scripts >= 0.2.0
538 Provides:       group(nscd)
539 Provides:       user(nscd)
540
541 %description -n nscd
542 nscd caches name service lookups; it can dramatically improve
543 performance with NIS+, and may help with DNS as well.
544
545 %description -n nscd -l es
546 nscd guarda las peticiones del servicio de nombres en una caché; eso
547 puede aumentar drásticamente las prestaciones de NIS+, y también puede
548 ayudar con DNS.
549
550 %description -n nscd -l ja
551 Nscd ¤Ï¥Í¡¼¥à¥µ¡¼¥Ó¥¹»²¾È¤ò¥­¥ã¥Ã¥·¥å¤·¡¢NIS+ ¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤ò
552 ¥É¥é¥Þ¥Æ¥£¥Ã¥¯¤Ë²þÁ±¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢DNS ¤òƱÍͤËÊä½õ¤·¤Þ¤¹¡£
553
554 %description -n nscd -l pl
555 nscd zapamiêtuje zapytania i odpowiedzi NIS oraz DNS. Pozwala
556 drastycznie poprawiæ szybko¶æ dzia³ania NIS+.
557
558 %description -n nscd -l ru
559 nscd ËÜÛÉÒÕÅÔ ÒÅÚÕÌØÔÁÔÙ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÉÓÁÍ ÉÍÅÎ; ÜÔÏ ÍÏÖÅÔ ÒÅÚËÏ
560 Õ×ÅÌÉÞÉÔØ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÒÁÂÏÔÙ Ó NIS+ É, ÔÁËÖÅ, ÍÏÖÅÔ ÐÏÍÏÞØ Ó
561 DNS.
562
563 %description -n nscd -l uk
564 nscd ËÅÛÕ¤ ÒÅÚÕÌØÔÁÔÉ ÚÁÐÒÏӦנÄÏ ÓÅÒצӦנ¦ÍÅÎ; ÃÅ ÍÏÖÅ ÓÉÌØÎÏ
565 Ú¦ÌØÛÉÔÉ Û×ÉÄ˦ÓÔØ ÒÏÂÏÔÉ Ú NIS+ ¦, ÔÁËÏÖ, ÍÏÖÅ ÄÏÐÏÍÏÇÔÉ Ú DNS.
566
567 %package -n localedb-src
568 Summary:        locale database source code
569 Summary(es):    Código fuente de la base de datos de los locales
570 Summary(pl):    Kod ¼ród³owy bazy locale
571 Group:          Libraries
572 Requires:       %{name} = %{epoch}:%{version}-%{release}
573 Requires:       gzip
574 Requires:       sed
575
576 %description -n localedb-src
577 This add-on package contains the data needed to build the locale data
578 files to use the internationalization features of the GNU libc.
579
580 %description -n localedb-src -l es
581 Este paquete adicional contiene los datos necesarios para construir
582 los ficheros de locale, imprescindibles para usar las cualidades de
583 internacionalización de GNU libc.
584
585 %description -n localedb-src -l pl
586 Pakiet ten zawiera dane niezbêdne do zbudowania binarnych plików
587 lokalizacyjnych, by móc wykorzystaæ mo¿liwo¶ci oferowane przez GNU
588 libc.
589
590 %package localedb-all
591 Summary:        locale database for all locales supported by glibc
592 Summary(es):    Base de datos de todos los locales soportados por glibc
593 Summary(pl):    Baza danych locale dla wszystkich lokalizacji obs³ugiwanych przez glibc
594 Group:          Libraries
595 Requires:       iconv = %{epoch}:%{version}-%{release}
596 Requires:       %{name} = %{epoch}:%{version}-%{release}
597
598 %description localedb-all
599 This package contains locale database for all locales supported by
600 glibc. In glibc 2.3.x it's one large file (about 39MB) - if you want
601 something smaller with support for chosen locales only, consider
602 installing localedb-src and regenerating database using localedb-gen
603 script (when database is generated, localedb-src can be uninstalled).
604
605 %description localedb-all -l es
606 Este paquete contiene una base de datos de todos los locales
607 soportados por glibc. En glibc 2.3.x ése es un fichero grande (aprox.
608 39 MB) -- si prefiere algo más pequeño, sólo con soporte de unos
609 locales elegidos, considérese instalar localedb-src y regenerar la
610 base de datos usando el escript localedb-gen (una vez que la base de
611 datos esté creada, localedb-src se podrá desinstalar).
612
613 %description localedb-all -l pl
614 Ten pakiet zawiera bazê danych locale dla wszystkich lokalizacji
615 obs³ugiwanych przez glibc. W glibc 2.3.x jest to jeden du¿y plik
616 (oko³o 39MB); aby mieæ co¶ mniejszego, z obs³ug± tylko wybranych
617 lokalizacji, nale¿y zainstalowaæ pakiet localedb-src i przegenerowaæ
618 bazê danych przy u¿yciu skryptu localedb-gen (po wygenerowaniu bazy
619 pakiet localedb-src mo¿na odinstalowaæ).
620
621 %package -n iconv
622 Summary:        Convert encoding of given files from one encoding to another
623 Summary(es):    Convierte entre varias codificaciones de los ficheros dados
624 Summary(pl):    Modu³y do konwersji plików tekstowych z jednego kodowania do innego
625 Group:          Libraries
626 Requires:       %{name} = %{epoch}:%{version}-%{release}
627
628 %description -n iconv
629 Convert encoding of given files from one encoding to another. You need
630 this package if you want to convert some document from one encoding to
631 another or if you have installed some programs which use Generic
632 Character Set Conversion Interface.
633
634 %description -n iconv -l es
635 Convierte la codificación de dados ficheros. Necesita este paquete si
636 quiere convertir un documento entre una codificación (juego de
637 caracteres) y otra, o si tiene instalado algún programa que usa el
638 Generic Character Set Conversion Interface (interfaz genérica de
639 conversión de juegos de caracteres).
640
641 %description -n iconv -l pl
642 Modu³y do konwersji plików tekstowych z jednego kodowania do innego.
643 Trzeba mieæ zainstalowany ten pakiet, aby wykonywaæ konwersjê
644 dokumentów z jednego kodowania do innego lub do u¿ywania programów
645 korzystaj±cych z Generic Character Set Conversion Interface w glibc,
646 czyli z zestawu funkcji z tej biblioteki, które umo¿liwiaj± konwersjê
647 kodowania danych z poziomu dowolnego programu.
648
649 %package static
650 Summary:        Static libraries
651 Summary(es):    Bibliotecas estáticas
652 Summary(pl):    Biblioteki statyczne
653 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ glibc
654 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ glibc
655 Group:          Development/Libraries
656 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
657 Provides:       %{name}-static(%{_target_cpu}) = %{epoch}:%{version}-%{release}
658 Obsoletes:      libiconv-static
659
660 %description static
661 GNU libc static libraries.
662
663 %description static -l es
664 Bibliotecas estáticas de GNU libc.
665
666 %description static -l pl
667 Biblioteki statyczne GNU libc.
668
669 %description static -l ru
670 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
671 ×ÈÏÄÑÔ × glibc-devel.
672
673 %description static -l uk
674 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ×
675 ÓËÌÁÄ glibc-devel.
676
677 %package profile
678 Summary:        glibc with profiling support
679 Summary(de):    glibc mit Profil-Unterstützung
680 Summary(es):    glibc con soporte de perfilamiento
681 Summary(fr):    glibc avec support pour profiling
682 Summary(pl):    glibc ze wsparciem dla profilowania
683 Summary(ru):    GNU libc Ó ÐÏÄÄÅÒÖËÏÊ ÐÒÏÆÁÊÌÅÒÁ
684 Summary(tr):    Ölçüm desteði olan glibc
685 Summary(uk):    GNU libc Ú Ð¦ÄÔÒÉÍËÏÀ ÐÒÏÆÁÊÌÅÒÁ
686 Group:          Development/Libraries/Libc
687 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
688 Obsoletes:      libc-profile
689
690 %description profile
691 When programs are being profiled using gprof, they must use these
692 libraries instead of the standard C libraries for gprof to be able to
693 profile them correctly.
694
695 %description profile -l de
696 Damit Programmprofile mit gprof richtig erstellt werden, müssen diese
697 Libraries anstelle der üblichen C-Libraries verwendet werden.
698
699 %description profile -l es
700 Cuando programas son perfilidas usando gprof, tienen que usar estas
701 biblioteces en vez de las estándares para que gprof pueda perfilarlas
702 correctamente.
703
704 %description profile -l pl
705 Programy profilowane za pomoc± gprof musz± u¿ywaæ tych bibliotek
706 zamiast standardowych bibliotek C, aby gprof móg³ odpowiednio je
707 wyprofilowaæ.
708
709 %description profile -l uk
710 ëÏÌÉ ÐÒÏÇÒÁÍÉ ÄÏÓ̦ÄÖÕÀÔØÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ×ÏÎÉ ÐÏ×ÉÎΦ
711 ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÚÁͦÓÔØ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅˠ¦Â̦ÏÔÅËÉ, ÝϠͦÓÔÑÔØÓÑ
712 × ÃØÏÍÕ ÐÁËÅÔ¦. ðÒÉ ×ÉËÏÒÉÓÔÁÎΦ ÓÔÁÎÄÁÒÔÎÉȠ¦Â̦ÏÔÅË gprof ÚÁͦÓÔØ
713 ÒÅÁÌØÎÉÈ ÒÅÚÕÌØÔÁԦנÂÕÄÅ ÐÏËÁÚÕ×ÁÔɠæÎÉ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
714 ÐÏÚÁÍÉÎÕÌÏÍÕ ÒÏæ...
715
716 %description profile -l tr
717 gprof kullanýlarak ölçülen programlar standart C kitaplýðý yerine bu
718 kitaplýðý kullanmak zorundadýrlar.
719
720 %description profile -l ru
721 ëÏÇÄÁ ÐÒÏÇÒÁÍÍÙ ÉÓÓÌÅÄÕÀÔÓÑ ÐÒÏÆÁÊÌÅÒÏÍ gprof, ÏÎÉ ÄÏÌÖÎÙ
722 ÉÓÐÏÌØÚÏ×ÁÔØ, ×ÍÅÓÔÏ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË, ÂÉÂÌÉÏÔÅËÉ, ×ËÌÀÞÅÎÎÙÅ ×
723 ÜÔÏÔ ÐÁËÅÔ. ðÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÓÔÁÎÄÁÒÔÎÙÈ ÂÉÂÌÉÏÔÅË gprof ×ÍÅÓÔÏ
724 ÒÅÁÌØÎÙÈ ÒÅÚÕÌØÔÁÔÏ× ÂÕÄÅÔ ÐÏËÁÚÙ×ÁÔØ ÃÅÎÙ ÎÁ ÐÁÐÁÊÀ × çÏÎÏÌÕÌÕ ×
725 ÐÏÚÁÐÒÏÛÌÏÍ ÇÏÄÕ...
726
727 %package pic
728 Summary:        glibc PIC archive
729 Summary(es):    Archivo PIC de glibc
730 Summary(pl):    Archiwum PIC glibc
731 Group:          Development/Libraries/Libc
732 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
733
734 %description pic
735 GNU C Library PIC archive contains an archive library (ar file)
736 composed of individual shared objects. This is used for creating a
737 library which is a smaller subset of the standard libc shared library.
738
739 %description pic -l es
740 El archivo PIC de la biblioteca glibc contiene una biblioteca
741 archivada (un fichero ar) compuesta de individuales objetos
742 compartidos. Es usado para crear una biblioteca que sea un subconjunto
743 más pequeño de la biblioteca libc compartida estándar.
744
745 %description pic -l pl
746 Archiwum PIC biblioteki GNU C zawiera archiwaln± bibliotekê (plik ar)
747 z³o¿on± z pojedynczych obiektów wspó³dzielonych. U¿ywana jest do
748 tworzenia biblioteki bêd±cej mniejszym podzestawem standardowej
749 biblioteki wspó³dzielonej libc.
750
751 %package -n nss_compat
752 Summary:        Old style NYS NSS glibc module
753 Summary(es):    El antiguo módulo NYS NSS de glibc
754 Summary(pl):    Stary modu³ NYS NSS glibc
755 Group:          Base
756 Requires:       %{name} = %{epoch}:%{version}-%{release}
757
758 %description -n nss_compat
759 Old style NYS NSS glibc module.
760
761 %description -n nss_compat -l es
762 El antiguo módulo NYS NSS de glibc
763
764 %description -n nss_compat -l pl
765 Stary modu³ NYS NSS glibc.
766
767 %package -n nss_dns
768 Summary:        BIND NSS glibc module
769 Summary(es):    Módulo BIND NSS de glibc
770 Summary(pl):    Modu³ BIND NSS glibc
771 Group:          Base
772 Requires:       %{name} = %{epoch}:%{version}-%{release}
773
774 %description -n nss_dns
775 BIND NSS glibc module.
776
777 %description -n nss_dns -l es
778 Módulo BIND NSS de glibc.
779
780 %description -n nss_dns -l pl
781 Modu³ BIND NSS glibc.
782
783 %package -n nss_files
784 Summary:        Traditional files databases NSS glibc module
785 Summary(es):    Módulo de tradicionales bases de datos en ficheros para glibc
786 Summary(pl):    Modu³ tradycyjnych plikowych baz danych NSS glibc
787 Group:          Base
788 Requires:       %{name} = %{epoch}:%{version}-%{release}
789
790 %description -n nss_files
791 Traditional files databases NSS glibc module.
792
793 %description -n nss_files -l es
794 Módulo de tradicionales bases de datos en ficheros para glibc.
795
796 %description -n nss_files -l pl
797 Modu³ tradycyjnych plikowych baz danych NSS glibc.
798
799 %package -n nss_hesiod
800 Summary:        hesiod NSS glibc module
801 Summary(es):    Módulo hesiod NSS de glibc
802 Summary(pl):    Modu³ hesiod NSS glibc
803 Group:          Base
804 Requires:       %{name} = %{epoch}:%{version}-%{release}
805
806 %description -n nss_hesiod
807 glibc NSS (Name Service Switch) module for databases access.
808
809 %description -n nss_hesiod -l es
810 Módulo hesiod NSS de glibc.
811
812 %description -n nss_hesiod -l pl
813 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych.
814
815 %package -n nss_nis
816 Summary:        NIS(YP) NSS glibc module
817 Summary(es):    Módulo NIS(YP) NSS de glibc
818 Summary(pl):    Modu³ NIS(YP) NSS glibc
819 Group:          Base
820 Requires:       %{name} = %{epoch}:%{version}-%{release}
821
822 %description -n nss_nis
823 glibc NSS (Name Service Switch) module for NIS(YP) databases access.
824
825 %description -n nss_nis -l es
826 Módulo NSS de glibc para acceder las bases de datos NIS(YP).
827
828 %description -n nss_nis -l pl
829 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS(YP).
830
831 %package -n nss_nisplus
832 Summary:        NIS+ NSS module
833 Summary(es):    Módulo NIS+ NSS
834 Summary(pl):    Modu³ NIS+ NSS
835 Group:          Base
836 Requires:       %{name} = %{epoch}:%{version}-%{release}
837
838 %description -n nss_nisplus
839 glibc NSS (Name Service Switch) module for NIS+ databases access.
840
841 %description -n nss_nisplus -l es
842 Módulo NSS (Name Service Switch) de glibc para acceder las bases de
843 datos NIS+.
844
845 %description -n nss_nisplus -l pl
846 Modu³ glibc NSS (Name Service Switch) dostêpu do baz danych NIS+.
847
848 %package memusage
849 Summary:        A toy
850 Summary(es):    Un juguete
851 Summary(pl):    Zabawka
852 Group:          Applications
853 Requires:       %{name} = %{epoch}:%{version}-%{release}
854
855 %description memusage
856 A toy.
857
858 %description memusage -l es
859 Un juguete.
860
861 %description memusage -l pl
862 Zabawka.
863
864 %package zoneinfo_right
865 Summary:        Non-POSIX (real) time zones
866 Summary(es):    Zonas de tiempo reales (no de POSIX)
867 Summary(pl):    Nie-POSIX-owe (prawdziwe) strefy czasowe
868 Group:          Libraries
869 Requires:       %{name} = %{epoch}:%{version}-%{release}
870
871 %description zoneinfo_right
872 You don't want this. Details at:
873 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
874
875 %description zoneinfo_right -l es
876 No lo necesita. Encontrará los detalles en:
877 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
878
879 %description zoneinfo_right -l pl
880 Nie potrzebujesz tego. Szczegó³y pod:
881 http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html
882
883 %package -n %{name}64
884 Summary:        GNU libc - 64-bit libraries
885 Summary(es):    GNU libc - bibliotecas de 64 bits
886 Summary(pl):    GNU libc - biblioteki 64-bitowe
887 Group:          Libraries
888 Requires:       %{name}-misc = %{epoch}:%{version}-%{release}
889 Requires:       basesystem
890 Provides:       glibc = %{epoch}:%{version}-%{release}
891 %{?with_tls:Provides:   glibc(tls)}
892 Provides:       ldconfig
893 Obsoletes:      glibc-common
894 Obsoletes:      glibc-debug
895 Obsoletes:      ldconfig
896 Conflicts:      kernel < %{min_kernel}
897 Conflicts:      ld.so < 1.9.9-10
898 Conflicts:      man-pages < 1.43
899 Conflicts:      rc-scripts < 0.3.1-13
900 Conflicts:      rpm < 4.1
901 Conflicts:      poldek < 0.18.8-4
902
903 %description -n %{name}64
904 64-bit GNU libc libraries for 64bit architecture.
905
906 %description -n %{name}64 -l es
907 Bibliotecas GNU libc de 64 bits para la arquitectura 64bit.
908
909 %description -n %{name}64 -l pl
910 Biblioteki 64-bitowe GNU libc dla architektury 64bit.
911
912 %prep
913 %setup -q -a1
914 %patch0 -p1
915 %patch1 -p1
916 %patch2 -p1
917 %patch3 -p1
918 %patch4 -p1
919 %patch5 -p1
920 %patch6 -p1
921 #%patch7 -p1 UPDATE/DROP (which kernels cause problems?)
922 %patch8 -p1
923 %patch9 -p1
924 %patch10 -p1
925 # don't know, if it is good idea, for brave ones
926 #%patch11 -p1
927 %{!?with_kernelheaders:%patch12 -p1}
928 %patch13 -p1
929 %patch14 -p0
930 %patch15 -p1
931 %patch16 -p1
932 %patch17 -p1
933 %patch18 -p1
934 %patch19 -p1
935 %patch20 -p1
936 %patch21 -p1
937 %patch22 -p1
938 %patch23 -p1
939 %patch24 -p1
940 %patch25 -p1
941 %patch26 -p1
942 %patch27 -p1
943 %{?with_cross:%patch28 -p1}
944 %{?with_pax:%patch29 -p1}
945 %patch30 -p1
946 %patch31 -p1
947 %patch32 -p1
948
949 chmod +x scripts/cpp
950
951 # i786 (aka pentium4) hack
952 cd nptl/sysdeps/i386 && ln -s i686 i786 && cd -
953 cd nptl/sysdeps/unix/sysv/linux/i386 && ln -s i686 i786 && cd -
954
955 %build
956 # Build glibc
957 cp -f /usr/share/automake/config.sub scripts
958 %{__aclocal}
959 %{__autoconf}
960 rm -rf builddir
961 install -d builddir
962 cd builddir
963 %ifarch sparc64
964 CC="%{__cc} -m64 -mcpu=ultrasparc -mvis -fcall-used-g6"
965 %endif
966 %if %{with linuxthreads}
967 ../%configure \
968         --enable-kernel="%{min_kernel}" \
969         --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
970         --with%{!?with___thread:out}-__thread \
971         --with-headers=%{sysheaders} \
972         --with%{!?with_selinux:out}-selinux \
973         --with%{!?with_tls:out}-tls \
974         --enable-add-ons=linuxthreads \
975         --enable-profile
976 %{__make}
977 %endif
978 %if %{with nptl}
979 %if %{with dual}
980 cd ..
981 rm -rf builddir-nptl
982 install -d builddir-nptl
983 cd builddir-nptl
984 %endif
985 ../%configure \
986         --enable-kernel="%{nptl_min_kernel}" \
987         --%{?with_omitfp:en}%{!?with_omitfp:dis}able-omitfp \
988         --with-headers=%{sysheaders} \
989         --with%{!?with_selinux:out}-selinux \
990         --with-tls \
991         --enable-add-ons=nptl \
992         --enable-profile
993 # simulate cross-compiling so we can perform dual builds on 2.4.x kernel
994 %{__make} \
995         %{?with_dual:cross-compiling=yes}
996 %endif
997 cd ..
998
999 %if %{with linuxthreads}
1000 %{__make} -C linuxthreads/man
1001 %endif
1002
1003 %if %{with tests}
1004 for d in builddir %{?with_tests_nptl:builddir-nptl} ; do
1005 cd $d
1006 env LANGUAGE=C LC_ALL=C \
1007 %{__make} tests 2>&1 | awk '
1008 BEGIN { file = "" }
1009 {
1010         if (($0 ~ /\*\*\* \[.*\.out\] Error/) && ($0 !~ /annexc/) && (file == "")) {
1011                 file=$0;
1012                 gsub(/.*\[/, NIL, file);
1013                 gsub(/\].*/, NIL, file);
1014         }
1015         print $0;
1016 }
1017 END { if (file != "") { print "ERROR OUTPUT FROM " file; system("cat " file); exit(1); } }'
1018 cd ..
1019 done
1020 %endif
1021
1022 %if %{without cross}
1023 # compiling static using diet vs glibc saves 400k
1024 diet -Os %{__cc} %{SOURCE8} %{rpmcflags} -static -o postshell
1025 diet -Os %{__cc} %{SOURCE7} %{rpmcflags} -static -o glibc-postinst
1026 %endif
1027
1028 %install
1029 rm -rf $RPM_BUILD_ROOT
1030 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
1031
1032 cd builddir
1033 env LANGUAGE=C LC_ALL=C \
1034 %{__make} install \
1035         install_root=$RPM_BUILD_ROOT \
1036         infodir=%{_infodir} \
1037         mandir=%{_mandir}
1038
1039 %if %{with localedb}
1040 env LANGUAGE=C LC_ALL=C \
1041 %{__make} localedata/install-locales \
1042         install_root=$RPM_BUILD_ROOT
1043 %endif
1044
1045 PICFILES="libc_pic.a libc.map
1046         math/libm_pic.a libm.map
1047         resolv/libresolv_pic.a"
1048
1049 install $PICFILES                               $RPM_BUILD_ROOT%{_libdir}
1050 install elf/soinit.os                           $RPM_BUILD_ROOT%{_libdir}/soinit.o
1051 install elf/sofini.os                           $RPM_BUILD_ROOT%{_libdir}/sofini.o
1052 cd ..
1053
1054 %if %{without cross}
1055 install postshell                                       $RPM_BUILD_ROOT/sbin
1056 install glibc-postinst                          $RPM_BUILD_ROOT/sbin
1057 %endif
1058
1059 %if %{with dual}
1060 env LANGUAGE=C LC_ALL=C \
1061 %{__make} -C builddir-nptl install \
1062         cross-compiling=yes \
1063         install_root=$RPM_BUILD_ROOT/nptl
1064
1065 install -d $RPM_BUILD_ROOT{/%{_lib}/tls,%{_libdir}/nptl,%{_includedir}/nptl}
1066 for f in libc libm libpthread libthread_db librt; do
1067         mv -f $RPM_BUILD_ROOT/nptl/%{_lib}/${f}[-.]* $RPM_BUILD_ROOT/%{_lib}/tls
1068 done
1069 $RPM_BUILD_ROOT/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/tls
1070
1071 for f in libc.so libpthread.so ; do
1072         cat $RPM_BUILD_ROOT/nptl%{_libdir}/$f | sed \
1073                 -e "s|/libc.so.6|/tls/libc.so.6|g" \
1074                 -e "s|/libpthread.so.0|/tls/libpthread.so.0|g" \
1075                 -e "s|/libpthread_nonshared.a|/nptl/libpthread_nonshared.a|g" \
1076                 > $RPM_BUILD_ROOT%{_libdir}/nptl/$f
1077 done
1078 for f in libc.a libpthread.a libpthread_nonshared.a; do
1079         mv -f $RPM_BUILD_ROOT/nptl%{_libdir}/$f $RPM_BUILD_ROOT%{_libdir}/nptl
1080 done
1081 cd $RPM_BUILD_ROOT/nptl%{_prefix}/include
1082         for f in `find . -type f`; do
1083                 if ! [ -f $RPM_BUILD_ROOT%{_prefix}/include/$f ] \
1084                    || ! cmp -s $f $RPM_BUILD_ROOT%{_prefix}/include/$f ; then
1085                         install -d $RPM_BUILD_ROOT%{_prefix}/include/nptl/`dirname $f`
1086                         cp -a $f $RPM_BUILD_ROOT%{_prefix}/include/nptl/$f
1087                 fi
1088         done
1089 cd -
1090 rm -rf $RPM_BUILD_ROOT/nptl
1091 %endif
1092
1093 %{?with_memusage:mv -f $RPM_BUILD_ROOT/%{_lib}/libmemusage.so   $RPM_BUILD_ROOT%{_libdir}}
1094 mv -f $RPM_BUILD_ROOT/%{_lib}/libpcprofile.so   $RPM_BUILD_ROOT%{_libdir}
1095
1096 %if %{with linuxthreads}
1097 install linuxthreads/man/*.3thr         $RPM_BUILD_ROOT%{_mandir}/man3
1098 %endif
1099
1100 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/{localtime,posixtime,posixrules,posix/*}
1101
1102 #cd $RPM_BUILD_ROOT%{_datadir}/zoneinfo
1103 #for i in [A-Z]*; do
1104 #       ln -s ../$i posix
1105 #done
1106 #cd -
1107
1108 %ifarch %{ix86} ppc s390 sparc sparcv9
1109 mv $RPM_BUILD_ROOT%{_includedir}/gnu/stubs.h $RPM_BUILD_ROOT%{_includedir}/gnu/stubs-32.h
1110 %endif
1111
1112 %ifarch %{x8664} ppc64 s390x sparc64
1113 mv $RPM_BUILD_ROOT%{_includedir}/gnu/stubs.h $RPM_BUILD_ROOT%{_includedir}/gnu/stubs-64.h
1114 %endif
1115
1116 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1117 cat <<EOF >$RPM_BUILD_ROOT%{_includedir}/gnu/stubs.h
1118 /* This file selects the right generated file of '__stub_FUNCTION' macros
1119    based on the architecture being compiled for.  */
1120
1121 #include <bits/wordsize.h>
1122
1123 #if __WORDSIZE == 32
1124 # include <gnu/stubs-32.h>
1125 #elif __WORDSIZE == 64
1126 # include <gnu/stubs-64.h>
1127 #else
1128 # error "unexpected value for __WORDSIZE macro"
1129 #endif
1130 EOF
1131 %endif
1132
1133 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
1134 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
1135 ln -sf localtime                $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
1136 ln -sf libbsd-compat.a          $RPM_BUILD_ROOT%{_libdir}/libbsd.a
1137
1138 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/localtime
1139
1140 # make symlinks across top-level directories absolute
1141 for l in anl BrokenLocale crypt dl m nsl resolv rt thread_db util ; do
1142         rm -f $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1143         ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo lib${l}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib${l}.so
1144 done
1145
1146 install %{SOURCE2}              $RPM_BUILD_ROOT/etc/rc.d/init.d/nscd
1147 install %{SOURCE3}              $RPM_BUILD_ROOT/etc/sysconfig/nscd
1148 install %{SOURCE4}              $RPM_BUILD_ROOT/etc/logrotate.d/nscd
1149 install nscd/nscd.conf  $RPM_BUILD_ROOT%{_sysconfdir}
1150 install nss/nsswitch.conf       $RPM_BUILD_ROOT%{_sysconfdir}
1151
1152 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1153 > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
1154 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
1155 echo 'include ld.so.conf.d/*.conf'> $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
1156 rm -f $RPM_BUILD_ROOT%{_mandir}/hu/man7/man.7
1157
1158 :> $RPM_BUILD_ROOT/var/log/nscd
1159 :> $RPM_BUILD_ROOT/var/lib/nscd/passwd
1160 :> $RPM_BUILD_ROOT/var/lib/nscd/group
1161 :> $RPM_BUILD_ROOT/var/lib/nscd/hosts
1162
1163 rm -rf documentation
1164 install -d documentation
1165
1166 %if %{with linuxthreads}
1167 for f in ChangeLog Changes README ; do
1168         cp -f linuxthreads/$f documentation/${f}.linuxthreads
1169 done
1170 %endif
1171 %if %{with nptl}
1172 for f in ANNOUNCE ChangeLog DESIGN-{barrier,condvar,rwlock,sem}.txt TODO{,-kernel,-testing} ;  do
1173         cp -f nptl/$f documentation/${f}.nptl
1174 done
1175 %endif
1176 cp -f crypt/README.ufc-crypt documentation
1177
1178 cp -f ChangeLog* documentation
1179
1180 rm -f $RPM_BUILD_ROOT%{_libdir}/libnss_*.so
1181
1182 # strip ld.so with --strip-debug only (other ELFs are stripped by rpm):
1183 %{!?debug:strip -g -R .comment -R .note $RPM_BUILD_ROOT/%{_lib}/ld-*.so}
1184
1185 # Collect locale files and mark them with %%lang()
1186 rm -f glibc.lang
1187 echo '%defattr(644,root,root,755)' > glibc.lang
1188 for i in $RPM_BUILD_ROOT%{_datadir}/locale/* $RPM_BUILD_ROOT%{_libdir}/locale/* ; do
1189         if [ -d $i ]; then
1190                 lang=`echo $i | sed -e 's/.*locale\///' -e 's/\/.*//'`
1191                 twochar=1
1192                 # list of long %%lang values we do support
1193                 for j in de_AT de_BE de_CH de_LU es_AR es_MX pt_BR \
1194                          zh_CN zh_CN.gbk zh_HK zh_TW ; do
1195                         if [ $j = "$lang" ]; then
1196                                 twochar=
1197                         fi
1198                 done
1199                 if [ -n "$twochar" ]; then
1200                         if [ `echo $lang | sed "s,_.*,,"` = "zh" ]; then
1201                                 lang=`echo $lang | sed "s,\..*,,"`
1202                         else
1203                                 lang=`echo $lang | sed "s,_.*,,"`
1204                         fi
1205                 fi
1206                 dir=`echo $i | sed "s#$RPM_BUILD_ROOT##"`
1207                 echo "%lang($lang) $dir" >> glibc.lang
1208         fi
1209 done
1210 # XXX: to be added when become supported by glibc
1211 # as (atk, gail)
1212 # az_IR (gtk+)
1213 # dv, kok, ps (iso-codes)
1214 # my (gaim)
1215 # tk, ug, yo (used by GNOME)
1216 #
1217 # NOTES:
1218 # bn is used for bn_BD or bn_IN? Assume bn_IN as nothing for bn_BD appeared
1219 #   till now
1220 #
1221 # omitted here - already existing (with libc.mo):
1222 #   be,ca,cs,da,de,el,en_GB,es,fi,fr,gl,hr,hu,it,ja,ko,nb,nl,pl,pt_BR,sk,sv,
1223 #   tr,zh_CN,zh_TW
1224 #
1225 for i in aa af am ang ar az bg bn br bs byn cy de_AT en en@boldquot en@quot \
1226     en_AU en_CA en_US eo es_AR es_MX es_NI et eu fa fo fr_BE fy ga gez gu gv \
1227     he hi hsb hy ia id is it_CH iu ka kk kl kn ku kw ky leet lg li lo lt lv \
1228     mi mk ml mn mr ms mt nds ne nl_BE nn nso oc om or pa pt rm ro ru rw sa \
1229     se sid sl so sq sr sr@Latn sr@ije ss syr sw ta te tg th ti tig tl tlh tt \
1230     uk ur uz ve vi wa wal xh yi zu ; do
1231         if [ ! -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES ]; then
1232                 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES
1233                 lang=`echo $i | sed -e 's/_.*//'`
1234                 echo "%lang($lang) %{_datadir}/locale/$i" >> glibc.lang
1235         fi
1236 done
1237 cd $RPM_BUILD_ROOT%{_datadir}/locale
1238 ln -s zh_CN zh_SG
1239 ln -s zh_CN zh_HK
1240 cd -
1241
1242 # localedb-gen infrastructure
1243 install %{SOURCE6} $RPM_BUILD_ROOT%{_bindir}/localedb-gen
1244 install localedata/SUPPORTED $RPM_BUILD_ROOT%{_datadir}/i18n
1245
1246 # shutup check-files
1247 rm -f $RPM_BUILD_ROOT%{_mandir}/README.*
1248 rm -f $RPM_BUILD_ROOT%{_mandir}/diff.*
1249 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1250 # we don't support kernel without ptys support
1251 rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
1252
1253 %clean
1254 rm -rf $RPM_BUILD_ROOT
1255
1256 # don't run iconvconfig in %%postun -n iconv because iconvconfig doesn't exist
1257 # when %%postun is run
1258
1259 %if %{without cross}
1260 %ifarch %{x8664} ppc64 s390x sparc64
1261 %post   -n %{name}64 -p /sbin/postshell
1262 %else
1263 %post   -p /sbin/postshell
1264 %endif
1265 /sbin/glibc-postinst /%{_lib}/%{_host_cpu}
1266 /sbin/ldconfig
1267 -/sbin/telinit u
1268
1269 %ifarch %{x8664} ppc64 s390x sparc64
1270 %postun -n %{name}64 -p /sbin/postshell
1271 %else
1272 %postun -p /sbin/postshell
1273 %endif
1274 /sbin/ldconfig
1275 -/sbin/telinit u
1276
1277 %ifarch %{x8664} ppc64 s390x sparc64
1278 %triggerpostun -n %{name}64 -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1279 %else
1280 %triggerpostun -p /sbin/postshell -- glibc-misc < 6:2.3.4-0.20040505.1
1281 %endif
1282 -/bin/mv %{_sysconfdir}/ld.so.conf.rpmsave %{_sysconfdir}/ld.so.conf
1283
1284 %ifarch %{x8664} ppc64 s390x sparc64
1285 %triggerpostun -n %{name}64 -p /sbin/postshell -- %{name}64 < 6:2.3.5-7.6
1286 %else
1287 %triggerpostun -p /sbin/postshell -- %{name} < 6:2.3.5-7.6
1288 %endif
1289 -/bin/cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
1290 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
1291 %endif
1292
1293 %post   memusage -p /sbin/ldconfig
1294 %postun memusage -p /sbin/ldconfig
1295
1296 %post -n iconv -p %{_sbindir}/iconvconfig
1297
1298 %post devel
1299 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1300
1301 %postun devel
1302 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1303
1304 %pre -n nscd
1305 %groupadd -P nscd -g 144 -r nscd
1306 %useradd -P nscd -u 144 -r -d /tmp -s /bin/false -c "nscd" -g nscd nscd
1307
1308 %post -n nscd
1309 /sbin/chkconfig --add nscd
1310 touch /var/log/nscd
1311 chmod 000 /var/log/nscd
1312 chown root:root /var/log/nscd
1313 chmod 640 /var/log/nscd
1314 if [ -f /var/lock/subsys/nscd ]; then
1315         /etc/rc.d/init.d/nscd restart 1>&2
1316 else
1317         echo "Run \"/etc/rc.d/init.d/nscd start\" to start nscd daemon." 1>&2
1318 fi
1319
1320 %preun -n nscd
1321 if [ "$1" = "0" ]; then
1322         if [ -f /var/lock/subsys/nscd ]; then
1323                 /etc/rc.d/init.d/nscd stop 1>&2
1324         fi
1325         /sbin/chkconfig --del nscd
1326 fi
1327
1328 %postun -n nscd
1329 if [ "$1" = "0" ]; then
1330         %userremove nscd
1331         %groupremove nscd
1332 fi
1333
1334 %ifarch %{x8664} ppc64 s390x sparc64
1335 %files -n %{name}64
1336 %defattr(644,root,root,755)
1337 %else
1338 %files
1339 %defattr(644,root,root,755)
1340 %endif
1341 %defattr(644,root,root,755)
1342 %doc README NEWS FAQ BUGS
1343 %if %{without cross}
1344 %attr(755,root,root) /sbin/postshell
1345 %attr(755,root,root) /sbin/glibc-postinst
1346 %endif
1347 %attr(755,root,root) /sbin/ldconfig
1348 # ld* and libc.so.6 SONAME symlinks must be in package because of
1349 # chicken-egg problem (postshell is dynamically linked with libc);
1350 # ld-*.so SONAME is:
1351 #   ld.so.1 on ppc
1352 #   ld64.so.1 on ppc64,s390x
1353 #   ld-linux-ia64.so.2 on ia64
1354 #   ld-linux-x86-64.so.2 on x86_64
1355 #   ld-linux.so.2 on other archs
1356 %attr(755,root,root) /%{_lib}/ld*
1357 %attr(755,root,root) /%{_lib}/libanl*
1358 %attr(755,root,root) /%{_lib}/libdl*
1359 %attr(755,root,root) /%{_lib}/libnsl*
1360 %attr(755,root,root) /%{_lib}/lib[BScmprtu]*
1361 %if %{with dual}
1362 %dir /%{_lib}/tls
1363 %attr(755,root,root) /%{_lib}/tls/lib[cmprt]*
1364 %endif
1365 %{?with_localedb:%dir %{_libdir}/locale}
1366 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf
1367 %dir %{_sysconfdir}/ld.so.conf.d
1368 %ghost %{_sysconfdir}/ld.so.cache
1369
1370 #%files -n nss_dns
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) /%{_lib}/libnss_dns*.so*
1373
1374 #%files -n nss_files
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) /%{_lib}/libnss_files*.so*
1377
1378 %files misc -f %{name}.lang
1379 %defattr(644,root,root,755)
1380
1381 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nsswitch.conf
1382 %config %{_sysconfdir}/rpc
1383
1384 %attr(755,root,root) /sbin/sln
1385 %attr(755,root,root) %{_bindir}/catchsegv
1386 %attr(755,root,root) %{_bindir}/getconf
1387 %attr(755,root,root) %{_bindir}/getent
1388 %attr(755,root,root) %{_bindir}/iconv
1389 %attr(755,root,root) %{_bindir}/ldd
1390 %ifarch %{ix86} m68k sparc sparcv9
1391 %attr(755,root,root) %{_bindir}/lddlibc4
1392 %endif
1393 %attr(755,root,root) %{_bindir}/locale
1394 %attr(755,root,root) %{_bindir}/rpcgen
1395 %attr(755,root,root) %{_bindir}/tzselect
1396
1397 %attr(755,root,root) %{_sbindir}/rpcinfo
1398 %attr(755,root,root) %{_sbindir}/zdump
1399 %attr(755,root,root) %{_sbindir}/zic
1400
1401 %dir %{_libexecdir}/getconf
1402 %attr(755,root,root) %{_libexecdir}/getconf/*
1403
1404 %dir %{_datadir}/locale
1405 %{_datadir}/locale/locale.alias
1406 %{_datadir}/zoneinfo
1407 %exclude %{_datadir}/zoneinfo/right
1408
1409 %{_mandir}/man1/catchsegv.1*
1410 %{_mandir}/man1/getconf.1*
1411 %{_mandir}/man1/getent.1*
1412 %{_mandir}/man1/iconv.1*
1413 %{_mandir}/man1/ldd.1*
1414 %{_mandir}/man1/locale.1*
1415 %{_mandir}/man1/rpcgen.1*
1416 %{_mandir}/man5/locale.5*
1417 %{_mandir}/man5/nsswitch.conf.5*
1418 %{_mandir}/man5/tzfile.5*
1419 %{_mandir}/man7/*
1420 %{_mandir}/man8/ld*.8*
1421 %{_mandir}/man8/rpcinfo.8*
1422 %{_mandir}/man8/sln.8*
1423 %{_mandir}/man8/tzselect.8*
1424 %{_mandir}/man8/zdump.8*
1425 %{_mandir}/man8/zic.8*
1426 %lang(cs) %{_mandir}/cs/man7/*
1427 %lang(de) %{_mandir}/de/man5/tzfile.5*
1428 %lang(de) %{_mandir}/de/man7/*
1429 %lang(es) %{_mandir}/es/man1/ldd.1*
1430 %lang(es) %{_mandir}/es/man5/locale.5*
1431 %lang(es) %{_mandir}/es/man5/nsswitch.conf.5*
1432 %lang(es) %{_mandir}/es/man5/tzfile.5*
1433 %lang(es) %{_mandir}/es/man7/*
1434 %lang(es) %{_mandir}/es/man8/ld*.8*
1435 %lang(es) %{_mandir}/es/man8/tzselect.8*
1436 %lang(es) %{_mandir}/es/man8/zdump.8*
1437 %lang(es) %{_mandir}/es/man8/zic.8*
1438 %lang(fi) %{_mandir}/fi/man1/ldd.1*
1439 %lang(fr) %{_mandir}/fr/man1/ldd.1*
1440 %lang(fr) %{_mandir}/fr/man5/locale.5*
1441 %lang(fr) %{_mandir}/fr/man5/nsswitch.conf.5*
1442 %lang(fr) %{_mandir}/fr/man5/tzfile.5*
1443 %lang(fr) %{_mandir}/fr/man7/*
1444 %lang(fr) %{_mandir}/fr/man8/ld*.8*
1445 %lang(fr) %{_mandir}/fr/man8/tzselect.8*
1446 %lang(fr) %{_mandir}/fr/man8/zdump.8*
1447 %lang(fr) %{_mandir}/fr/man8/zic.8*
1448 %lang(hu) %{_mandir}/hu/man1/ldd.1*
1449 %lang(hu) %{_mandir}/hu/man7/*
1450 %lang(hu) %{_mandir}/hu/man8/ld*.8*
1451 %lang(hu) %{_mandir}/hu/man8/zdump.8*
1452 %lang(it) %{_mandir}/it/man5/locale.5*
1453 %lang(it) %{_mandir}/it/man7/*
1454 %lang(it) %{_mandir}/it/man8/tzselect.8*
1455 %lang(it) %{_mandir}/it/man8/zdump.8*
1456 %lang(ja) %{_mandir}/ja/man1/ldd.1*
1457 %lang(ja) %{_mandir}/ja/man1/rpcgen.1*
1458 %lang(ja) %{_mandir}/ja/man5/locale.5*
1459 %lang(ja) %{_mandir}/ja/man5/nsswitch.conf.5*
1460 %lang(ja) %{_mandir}/ja/man5/tzfile.5*
1461 %lang(ja) %{_mandir}/ja/man7/*
1462 %lang(ja) %{_mandir}/ja/man8/ld*.8*
1463 %lang(ja) %{_mandir}/ja/man8/rpcinfo.8*
1464 %lang(ja) %{_mandir}/ja/man8/sln.8*
1465 %lang(ja) %{_mandir}/ja/man8/tzselect.8*
1466 %lang(ja) %{_mandir}/ja/man8/zdump.8*
1467 %lang(ja) %{_mandir}/ja/man8/zic.8*
1468 %lang(ko) %{_mandir}/ko/man1/ldd.1*
1469 %lang(ko) %{_mandir}/ko/man5/nsswitch.conf.5*
1470 %lang(ko) %{_mandir}/ko/man5/tzfile.5*
1471 %lang(ko) %{_mandir}/ko/man7/*
1472 %lang(ko) %{_mandir}/ko/man8/tzselect.8*
1473 %lang(ko) %{_mandir}/ko/man8/zdump.8*
1474 %lang(pl) %{_mandir}/pl/man1/ldd.1*
1475 %lang(pl) %{_mandir}/pl/man5/locale.5*
1476 %lang(pl) %{_mandir}/pl/man7/*
1477 %lang(pl) %{_mandir}/pl/man8/ld*.8*
1478 %lang(pt) %{_mandir}/pt/man5/locale.5*
1479 %lang(pt) %{_mandir}/pt/man5/nsswitch.conf.5*
1480 %lang(pt) %{_mandir}/pt/man5/tzfile.5*
1481 %lang(pt) %{_mandir}/pt/man7/*
1482 %lang(pt) %{_mandir}/pt/man8/ld*.8*
1483 %lang(pt) %{_mandir}/pt/man8/tzselect.8*
1484 %lang(pt) %{_mandir}/pt/man8/zdump.8*
1485 %lang(pt) %{_mandir}/pt/man8/zic.8*
1486 %lang(ru) %{_mandir}/ru/man1/getent.1*
1487 %lang(ru) %{_mandir}/ru/man1/iconv.1*
1488 %lang(ru) %{_mandir}/ru/man1/ldd.1*
1489 %lang(ru) %{_mandir}/ru/man1/locale.1*
1490 %lang(ru) %{_mandir}/ru/man1/rpcgen.1*
1491 %lang(ru) %{_mandir}/ru/man5/locale.5*
1492 %lang(ru) %{_mandir}/ru/man5/nsswitch.conf.5*
1493 %lang(ru) %{_mandir}/ru/man5/tzfile.5*
1494 %lang(ru) %{_mandir}/ru/man7/*
1495 %lang(ru) %{_mandir}/ru/man8/ld*.8*
1496 %lang(ru) %{_mandir}/ru/man8/rpcinfo.8*
1497 %lang(ru) %{_mandir}/ru/man8/tzselect.8*
1498 %lang(ru) %{_mandir}/ru/man8/zdump.8*
1499 %lang(ru) %{_mandir}/ru/man8/zic.8*
1500 %lang(tr) %{_mandir}/tr/man1/iconv.1*
1501 %lang(tr) %{_mandir}/tr/man1/ldd.1*
1502 %lang(zh_CN) %{_mandir}/zh_CN/man1/iconv.1*
1503 %lang(zh_CN) %{_mandir}/zh_CN/man1/ldd.1*
1504 %lang(zh_CN) %{_mandir}/zh_CN/man5/locale.5*
1505 %lang(zh_CN) %{_mandir}/zh_CN/man5/tzfile.5*
1506 %lang(zh_CN) %{_mandir}/zh_CN/man7/*
1507 %lang(zh_CN) %{_mandir}/zh_CN/man8/tzselect.8*
1508 %lang(zh_CN) %{_mandir}/zh_CN/man8/zdump.8*
1509 %lang(zh_CN) %{_mandir}/zh_CN/man8/zic.8*
1510
1511 %files zoneinfo_right
1512 %defattr(644,root,root,755)
1513 %{_datadir}/zoneinfo/right
1514
1515 %files -n nss_compat
1516 %defattr(644,root,root,755)
1517 %attr(755,root,root) /%{_lib}/libnss_compat*.so*
1518
1519 %files -n nss_hesiod
1520 %defattr(644,root,root,755)
1521 %attr(755,root,root) /%{_lib}/libnss_hesiod*.so*
1522
1523 %files -n nss_nis
1524 %defattr(644,root,root,755)
1525 %attr(755,root,root) /%{_lib}/libnss_nis.so.*
1526 %attr(755,root,root) /%{_lib}/libnss_nis-*.so
1527
1528 %files -n nss_nisplus
1529 %defattr(644,root,root,755)
1530 %attr(755,root,root) /%{_lib}/libnss_nisplus*.so*
1531
1532 %if %{with memusage}
1533 %files memusage
1534 %defattr(644,root,root,755)
1535 %attr(755,root,root) %{_bindir}/memusage*
1536 %attr(755,root,root) %{_libdir}/libmemusage.so
1537 %endif
1538
1539 %files devel
1540 %defattr(644,root,root,755)
1541 %attr(755,root,root) %{_libdir}/lib[!cmp]*.so
1542 %attr(755,root,root) %{_libdir}/libcrypt.so
1543 %attr(755,root,root) %{_libdir}/libm.so
1544 %attr(755,root,root) %{_libdir}/libpcprofile.so
1545 %attr(755,root,root) %{_libdir}/*crt*.o
1546 # ld scripts
1547 %{_libdir}/libc.so
1548 %{_libdir}/libpthread.so
1549
1550 %{_libdir}/libbsd-compat.a
1551 %{_libdir}/libbsd.a
1552 %{_libdir}/libc_nonshared.a
1553 %{_libdir}/libg.a
1554 %{_libdir}/libieee.a
1555 %{_libdir}/libpthread_nonshared.a
1556 %{_libdir}/librpcsvc.a
1557
1558 %if %{with dual}
1559 %dir %{_libdir}/nptl
1560 # ld scripts
1561 %{_libdir}/nptl/libc.so
1562 %{_libdir}/nptl/libpthread.so
1563 %{_libdir}/nptl/libpthread_nonshared.a
1564 %endif
1565
1566 %ifarch %{ix86} %{x8664} ppc ppc64 s390 s390x sparc sparcv9 sparc64
1567 %{_includedir}/gnu/stubs-*.h
1568 %endif
1569
1570 %files headers
1571 %defattr(644,root,root,755)
1572 %{_includedir}/*.h
1573 %ifarch alpha
1574 %{_includedir}/alpha
1575 %endif
1576 %{_includedir}/arpa
1577 %{_includedir}/bits
1578 %dir %{_includedir}/gnu
1579 %{_includedir}/gnu/lib*.h
1580 %{_includedir}/gnu/stubs.h
1581 %{_includedir}/net
1582 %{_includedir}/netash
1583 %{_includedir}/netatalk
1584 %{_includedir}/netax25
1585 %{_includedir}/neteconet
1586 %{_includedir}/netinet
1587 %{_includedir}/netipx
1588 %{_includedir}/netpacket
1589 %{_includedir}/netrom
1590 %{_includedir}/netrose
1591 %{_includedir}/nfs
1592 %{_includedir}/protocols
1593 %{_includedir}/rpc
1594 %{_includedir}/rpcsvc
1595 %{_includedir}/scsi
1596 %{_includedir}/sys
1597
1598 %if %{with dual}
1599 %{_includedir}/nptl
1600 %endif
1601
1602 %files devel-utils
1603 %defattr(644,root,root,755)
1604 %attr(755,root,root) %{_bindir}/gencat
1605 %attr(755,root,root) %{_bindir}/*prof*
1606 %attr(755,root,root) %{_bindir}/*trace
1607
1608 %files devel-doc
1609 %defattr(644,root,root,755)
1610 %doc documentation/* NOTES PROJECTS
1611 %{_infodir}/libc.info*
1612
1613 %{_mandir}/man1/sprof.1*
1614 %{_mandir}/man3/*
1615 %lang(cs) %{_mandir}/cs/man3/*
1616 %lang(de) %{_mandir}/de/man3/*
1617 %lang(es) %{_mandir}/es/man3/*
1618 %lang(fr) %{_mandir}/fr/man3/*
1619 %lang(hu) %{_mandir}/hu/man3/*
1620 %lang(it) %{_mandir}/it/man3/*
1621 %lang(ja) %{_mandir}/ja/man3/*
1622 %lang(ko) %{_mandir}/ko/man3/*
1623 %lang(nl) %{_mandir}/nl/man3/*
1624 %lang(pl) %{_mandir}/pl/man3/*
1625 %lang(pt) %{_mandir}/pt/man3/*
1626 %lang(ru) %{_mandir}/ru/man1/sprof.1*
1627 %lang(ru) %{_mandir}/ru/man3/*
1628 %lang(tr) %{_mandir}/tr/man3/*
1629 %lang(uk) %{_mandir}/uk/man3/*
1630 %lang(zh_CN) %{_mandir}/zh_CN/man3/*
1631
1632 %files -n nscd
1633 %defattr(644,root,root,755)
1634 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/nscd
1635 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nscd.*
1636 %attr(754,root,root) /etc/rc.d/init.d/nscd
1637 %attr(755,root,root) %{_sbindir}/nscd*
1638 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
1639 %attr(640,root,root) %ghost /var/log/nscd
1640 %dir /var/run/nscd
1641 %dir /var/lib/nscd
1642 %attr(600,root,root) %ghost /var/lib/nscd/passwd
1643 %attr(600,root,root) %ghost /var/lib/nscd/group
1644 %attr(600,root,root) %ghost /var/lib/nscd/hosts
1645 %{_mandir}/man5/nscd.conf.5*
1646 %{_mandir}/man8/nscd.8*
1647 %{_mandir}/man8/nscd_nischeck.8*
1648 %lang(es) %{_mandir}/es/man5/nscd.conf.5*
1649 %lang(es) %{_mandir}/es/man8/nscd.8*
1650 %lang(fr) %{_mandir}/fr/man5/nscd.conf.5*
1651 %lang(fr) %{_mandir}/fr/man8/nscd.8*
1652 %lang(ja) %{_mandir}/ja/man5/nscd.conf.5*
1653 %lang(ja) %{_mandir}/ja/man8/nscd.8*
1654 %lang(pt) %{_mandir}/pt/man5/nscd.conf.5*
1655 %lang(pt) %{_mandir}/pt/man8/nscd.8*
1656 %lang(ru) %{_mandir}/ru/man5/nscd.conf.5*
1657 %lang(ru) %{_mandir}/ru/man8/nscd.8*
1658 %lang(zh_CN) %{_mandir}/zh_CN/man5/nscd.conf.5*
1659
1660 %files -n localedb-src
1661 %defattr(644,root,root,755)
1662 %attr(755,root,root) %{_bindir}/localedef
1663 %attr(755,root,root) %{_bindir}/localedb-gen
1664 %{_datadir}/i18n
1665 %{_mandir}/man1/localedef.1*
1666 %lang(ru) %{_mandir}/ru/man1/localedef.1*
1667
1668 %if %{with localedb}
1669 %files localedb-all
1670 %defattr(644,root,root,755)
1671 %{_libdir}/locale/locale-archive
1672 %endif
1673
1674 %files -n iconv
1675 %defattr(644,root,root,755)
1676 %attr(755,root,root) %{_sbindir}/iconvconfig
1677 %dir %{_libdir}/gconv
1678 %{_libdir}/gconv/gconv-modules
1679 %attr(755,root,root) %{_libdir}/gconv/*.so
1680
1681 %files static
1682 %defattr(644,root,root,755)
1683 %{_libdir}/libanl.a
1684 %{_libdir}/libBrokenLocale.a
1685 %{_libdir}/libc.a
1686 %{_libdir}/libcrypt.a
1687 %{_libdir}/libdl.a
1688 %{_libdir}/libm.a
1689 %{_libdir}/libmcheck.a
1690 %{_libdir}/libnsl.a
1691 %{_libdir}/libpthread.a
1692 %{_libdir}/libresolv.a
1693 %{_libdir}/librt.a
1694 %{_libdir}/libutil.a
1695 %if %{with dual}
1696 %{_libdir}/nptl/libc.a
1697 %{_libdir}/nptl/libpthread.a
1698 %endif
1699
1700 %files profile
1701 %defattr(644,root,root,755)
1702 #{?with_dual:%{_libdir}/nptl/lib*_p.a}
1703 %{_libdir}/lib*_p.a
1704
1705 %files pic
1706 %defattr(644,root,root,755)
1707 %{_libdir}/lib*_pic.a
1708 %{_libdir}/lib*.map
1709 %{_libdir}/soinit.o
1710 %{_libdir}/sofini.o
This page took 0.213209 seconds and 3 git commands to generate.