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