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