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